on 09-25-2008 1:56 PM
Hi gurus
I sem to have a really silly problem
I'm only getting the FIRST field on file content conversion and no new line
here's a part of the XML file from the payload manifest
<?xml version="1.0" encoding="UTF-8" ?>
- <rfc:Z_XI_005_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <IP_CUSTOMER_HEADER>
- <item>
<CUSTOMERID>100853</CUSTOMERID>
<COMPANY>Bram Van Tuyl Coldstore</COMPANY>
<SHORT_NAME>VAN TUYL</SHORT_NAME>
.....
<SALES_REGION>EUROP</SALES_REGION>
</item>
</IP_CUSTOMER_HEADER>
</rfc:Z_XI_005_RFC>
I've defined the following parameters in the content conversion
Recordset sructure item
content conversion parameters
item.fieldSeparator ; (a semi colon)
item.endSeparator 'nl'
if I look in my file all i get is
100853
where's the rest of the data ????
When I don't use content conversion xml file is generated correctly.
Any ideas
I am at 100% loss to see what's wrong here as this should be an EASY automatic conversion.
(the input structure is all character)..
Max pts to anyone who solves this
Cheers
jimbo
Your payload after Mapping (you can check the payload under Request Message Mapping step in SXMB_MONI) should look something like this
<?xml version="1.0" encoding="UTF-8" ?>
<ns1:YourMessage Type Name xmlns:ns1=Your name space>
<item>
<field1>val1</field1>
<field2>val1</field2>
<field3>val1</field3>
</item>
<item>
<field1>val2</field1>
<field2>val2</field2>
<field3>val2</field3>
</item>
</YourMessage Type>
Regards
Jaishankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There is nothing wrong in you FCC. Just remove 'nl' and put '0x0D''0x0A' as endSeparator and it will work.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The payload u provided here is the RFC payload. Check the payload after mapping to get a clear picture of the file that is required at output. Then let us know what is the output requirement for txt file.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the file is identical
payload from inbound message
for example
<rfc:Z_XI_005_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <IP_CUSTOMER_HEADER>
- <item>
<CUSTOMERID>1000001</CUSTOMERID>
<COMPANY>One-time ship-to</COMPANY>
<SHORT_NAME>ONE-TIME</SHORT_NAME>
<STREET />
<STREET2 /> .......
Paylioad under Receiver Grouping
<rfc:Z_XI_005_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <IP_CUSTOMER_HEADER>
- <item>
<CUSTOMERID>1000001</CUSTOMERID>
<COMPANY>One-time ship-to</COMPANY>
<SHORT_NAME>ONE-TIME</SHORT_NAME>
<STREET />
<STREET2 />
......
etc
text file 100001;1000001........ etc
There's no Payload that I can see under the response (checkered flag) where it says processed successfully.
cheers
jimbo
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.