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> <EmpId>1</EmpId> <Name>sds</Name> <Designation>ABAP</Designation> </Details> </ns0:MT_Employee_Src>
And my configurations are like this
File Name Scheme : res_%vars%.xml
I gone through the blogs ,but not succeeded.
Would you please give your assistance on this.
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
vars : payload:MT_Employee_Target,1,Details,1,EmpId,1