cancel
Showing results for 
Search instead for 
Did you mean: 

Re:Remove Recordset in FCC?

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

former_member200962
Active Contributor
0 Kudos

Posting the question and answering it with the same User-Id?

I hope you are not violating Basic Rule of SDN!

Regards,

Abhishek.

Answers (1)

Answers (1)

former_member200962
Active Contributor
0 Kudos

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.