on 09-30-2009 11:18 AM
Hi All,
I am working on File to IDOC scenario where I am getting error in Sender File CC. I see the payload contains recordset where in my DT,MT I didnt mentioned any recordset in my strcuture:
DT is as below:
DT_DATA
--Row
-
Field1
-
Field2
In payload it shows as below:
<?xml version="1.0" encoding="utf-8" ?>
- <ns:MT_Data xmlns:ns="http://sap.com/interface">
- <Recordset>
- <Row>
<Field1>ZOR</Field1>
<Field2>2030009716</Field2>
In my FCC I have the following parameters:
Document Name MT_DATA
Document Name Space http://sap.com/interface
Document Offset <BLANK>
Recordset Name <BLANK>
Recordset Namespace <BLANK>
Recordset Strcuture Row,*
Recordset Sequence Asending
Recordset per message <BLANK>
KeyFiledName <BLANK>
KeyFieldType <BLANK>
How can I get rid of <Recordset> tag in payload???
Thanks
Rajeev
Hi Rajeev,
Under Content Conversion tad in FCC add following name value details and it should emit the recordset tad in payload
ignoreRecordsetName true
Hope this helps.
Thanks
Santosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see the payload contains recordset where in my DT,MT I didnt mentioned any recordset in my strcuture:
How can I get rid of <Recordset> tag in payload???
If not seen already have a read of this help section:
http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/6713ec3f914ddee10000000a1553f7/content.htm
From the above section:
u25CB ignoreRecordsetName
A <Recordset> element is inserted in the XML structure for each recordset structure. This level is not always required, particularly
if the recordset only contains one structure definition.
If you set the parameter to true, the <Recordset> element is not inserted.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.