cancel
Showing results for 
Search instead for 
Did you mean: 

File name to be read in mapping - File to SOAP Scenario

Former Member
0 Kudos

Hi all,

its a file to soap scenario. i need to send the file name also to target system. how can i get the file name in the mapping? is there a way to read the header information in mapping?

Regards,

Rashmi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You need to check for Adapeter specific Message Attributes of your File adapter.Then write user defined function to set Dynamic_configuration. So that you can get the file name in the header(u can chk this in SXMB_MONI after implementing the UDF, it will create one section for dynamic_configuration.)

Manisha

Answers (3)

Answers (3)

Shabarish_Nair
Active Contributor
0 Kudos

easiest way is to use dynamic configuration - /people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name

former_member181962
Active Contributor
0 Kudos

Hi,

YOu can also see SAP Note 819761

Regards,

Ravi

Former Member
0 Kudos

Very common requirement.

Go through

/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14