Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Re: Pick up File from Shared Directory

$
0
0

Hi Abhishek,

 

Your scenario is going to be like below:

 

 

File (Sender Adapter without Content Conversion) -->  Message Mapping (UDF to read FileName + RFC Lookup [Request + Response]) --> Email (File as Attachment).

 

You can follow the below blog for File to Email Scenario (Renaming Email Attachment with input File Name). You don't need the Module creation. Skip that part.

 

Use the UDF Code provided by Ramesh.

 

Refer this blog for RFC Lookup: SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups

 

If you want to use RFC Lookup from UDF: How to Lookup Data Via a RFC User Defined Function?

 

Can you please guide me do I need to build IR componet for sender as I am not reading the file contents and how will I read the file name (I know we have to create UDF for the same) and pass it to RFC look up.

 

 

You are not reading the File (not using FCC) but it has to be File --> Mail Scenario.

 

So you need to build all the required configuration for this flow.

 

Regards,

Nabendu.


Viewing all articles
Browse latest Browse all 8944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>