cancel
Showing results for 
Search instead for 
Did you mean: 

File to idoc mapping error

Former Member
0 Kudos

Hi,

I am also getting some errors in my mapping from file to idoc. The xml that I got is like this:

<?xml version="1.0" encoding="utf-8" ?>

<ns:MT_Pay>

<Recordset>

<ST_Pay>

...

</ST_Pay>

</Recordset>

</ns:MT_Pay>

If I remove the <Recordset> tags and test mapping, it works fine. I have already modified the xsd file for my idoc to change the occurance to 1..unbounded so that it can create multiple idocs from a file. Am I missing some step in file to idoc mapping or how to take care of this <Recordset> tag ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks guys.

Former Member
0 Kudos

Hi jassi,

Hey r u using file conent conversion...in tht case probably u hv provide the parameter 'ignoreRecordsetname = true'.....I guess i hv understood u correctly....

Regards,

Akshay

Former Member
0 Kudos

Hi Akshay,

Yes. I am using file content conversion. But I have not provided this parameter. Are you asking me to to provide this parameter ??

The only things supplied in my content conversion are:

document namespace: http:.....

recordset structure: ST_Pay,*

recordset sequence: Ascending

key field type: String(case-sensitive)

ST_Pay.fieldSeparator: ;

ST_Pay.fieldNames: .......

Pl. let me know if I have to provide any other parameters.

Thanks,

Jassi

Former Member
0 Kudos

Hi Jassi,

Yes add tht parameter and try workin out...

Regards,

Akshay

Former Member
0 Kudos

Hi Akshay,

I tried doing that but still the <Recordset> tag is appearing in xml. Can you pl. check the exact syntax and let me know if it is correct.

Former Member
0 Kudos

Hi Jassi,

ignoreRecordsetName = true...for more details....check the following link

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm</a>

Regards,

Akshay

Former Member
0 Kudos

The mapping error is gone now. The correct syntax is :

ignoreRecordsetName = true.

Former Member
0 Kudos

Hi jassi,

I guess thts wht i hv given in my earlier reply...:-)

Regards,

Akshay

Former Member
0 Kudos

Akshay,

Thanks for you suggestion. It worked well and I got rid of recordset mapping error. Actually in your initial post, you had mentioned N as lowercase in name. That's why it did not work initially.

Thanks again.