on 01-27-2009 3:51 PM
I have an inbound field mapping that contains the name of the file that needs to be generated on the outbound side... Sender is ABAP Proxy (client side) with the field correctly loaded, but am unable to map this successfully to an outbound FileName (Adapter-Specific Attributes) on the target location
Any ideas?
Dear ALL
Thank you for all your input on this... the issue was resolved. Here were the key findings:
1. Need to create a target node on the target MT and then add an element 'filename' under it
2. Map the inbound source filename field to the target filenode.filename
3. To suppress the 'unwanted' filename on the target payload/file:
- I had to explicitly describe the recordset structure fully under the content conversion tab i.e in my case -> rownode, filenode
- Use 'filenode.fieldFixedLengths = 0' and 'filenode.fixedLengthTooShortHandling = Cut'
Hope this saves time and is useful to others in the future.
Mustafa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For ASMA Dynamic Configuration,
http://help.sap.com/saphelp_nw70/helpdata/EN/43/03612cdecc6e76e10000000a422035/frameset.htm
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Here is a sample configuration needed for implementing the Variable substitution :
File Name Schema: test%var1%.xml
Variable Substitution: Check the Enable Box
Variable name: var1
Reference: payload: Your_Source_MT,1,FirstNode,1,FileNameField,1
Thanks,
Pooja Pandey
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pooja
Thanks for your response
I ran into error -> "The following variable was not found in the message payload: ..."
Here's my payload from SXMB_MONI
<?xml version="1.0" encoding="utf-8" ?>
- <ns1:MT_Label_File_SAP xmlns:ns1="http://xxx"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<plant>3916</plant>
<filename>INPROCESS.PAS</filename>
- <recordset>
<line>*FORMAT,INPROCESS.LWL</line>
<line>quantity,10.000</line>
...
</recordset>
</ns1:MT_Label_File_SAP>
The 'Reference' I use is to arrive at the filename value in the above is -> payload:MT_Label_File_SAP,1,filename,1
Is this correct? do you notice anything...
Thanks much,
Mustafa
You need to use Variable Substitution to get the filename from the payload to the receiver side.
http://help.sap.com/saphelp_nw04s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.