on 11-02-2017 9:42 AM
Hi Guys,
Scenario Idoc--File
I am using same idoc in sender and receiver and i have done mapping
I am trying to generate a .xml file on FTP by using field(STAPA1) from idoc target structure and generate file name dynamically using variable substitution
i am getting below error
Exception caught by adapter framework: Error during variable substitution:
com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: var1
I have used
var1 payload:ALEAUD01,1,IDOC,1,EDI_DC40 ,1,E1ADHDR,1,E1STATE,1,STAPA1,1
Please suggest how to solve this issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gurudatta!
EDI_DC40 segment is not the parent segment for E1ADHDR.
var1 payload:ALEAUD01,1,IDOC,1,E1ADHDR,1,E1STATE,1,STAPA1,1
Check your expression once again.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes I remember this in my past experience, atleast the first character should be capital Var1. Not sure if this was fixed on later SP's/Patch. But it's worth trying.
Try removing the space after
EDI_DC40 ,
and check once.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Guru,
check the below link(second approach)
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.