Skip to Content

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

Variable Substituion

Hi Experts,

I am doing variable substitution in order to get any element of source payload and to create target file name based on that.

My payload is like this:-

<ns0:MT_Employee_Src xmlns:ns0="urn://FileToFile_ERD">
- <Details>

And my configurations are like this

File Name Scheme  :   res_%vars%.xml

vars :payload:MT_Employee_Src,1,Details,1

I gone through the blogs ,but not succeeded.

Would you please give your assistance on this.



Former Member
Former Member replied

Hi Rabipanda,

I think you are applying the variable subtitution to the Source Structure..

you have to do this using target structure.

Try this Once,

vars : payload : TargetMessageType,1,Rootelement,1,Element,1

Example :

vars : payload:MT_Employee_Target,1,Details,1,EmpId,1

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