Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Accessing the filename in the payload

Hii

I want to process the filename (eg:sample.xml) from the payload of the message.

<Message>
      <Method/>
      <Source>sample.xml</Source>
      <Target/>
   </Message>

And use the filename in other scenario.

Regards,

Varun

Former Member
Former Member replied

Hi Varun

Use variable substitution

File name : %FileName%

Enable variable substitution in Receiver File adapter.

Variable name = FileName
Reference = payload:Message,1,Method,1,Source,1

For more info refer

http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm

Thanks

Gaurav

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question