on 03-22-2009 2:26 PM
Hi specialists!
I try to take file name from one of the payload fields. But it didn't work.
Here is my message:
<InputMT>
<Message>
<data1> </data1>
<data1> </data1>
<data1> </data1>
<FileName> </FileName>
</Message>
<Row>
.
.
.
</Row>
<Line>
.
.
.
</Line>
</InputMT>
Here is my variable substitution:
var1 payload:ImportOrderFileMT,1,FileName,1
My File Name Scheme in CC:
ERRBED120%var1%.txt
The error is:
The following variable was not found in the message payload: var1
What's wrong?
Jani,
the filename field whose content u want to use in the filename should be there in the target structure and not in the source structure.
suppose my target structure is
Shipmentdeliveryorder_ID
Record
Material number
Material text
filename
then
var1------>Shipmentdeliveryorder_ID,1,Record,1,filename,1
Also as michal suggested if u dont wanna go for variable substituion u can go for Adapter spec message attr.
hope this would help
Edited by: Tarang Shah on Mar 22, 2009 4:23 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
please don't use variable susbstitution
use adapter specific identifiers
they allow to se the filename in a much better way (in a mapping)
and they work for all adapters in the same way
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dani,
Please refer
http://help.sap.com/saphelp_nw04/Helpdata/EN/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
Cheers
Sunil.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.