cancel
Showing results for 
Search instead for 
Did you mean: 

How write the Outbound file name in the Inbound file

Former Member
0 Kudos

Friends,

I have a scenario like this.

Outbout filename - sample.txt

In sample.txt, i have having data like 20

Inbound filename - vivek.txt

i need data the like sample, 20

(NOTE: sample is the outbound file)

How to get this scenario.

Thanks in advance.

regards,

Vivek.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member750652
Contributor
0 Kudos

Hi Vivek,

If your PI is of SP14 and more you have an option called Adapter Specific Message Attributes.(ASMA) in communicatoin channel configurtaion, Which will help you in capturing the Sender file name during runtime.

So you will have to enable that option (ASMA) in Commchannel and capture file name in UDF using Java Code with the help of sap related API and map it to the target field which u would like to get populated.

follow the thread it has the discussion about acessing the Source file name.

Thanks,

Ram.