Skip to Content
Dec 14, 2007 at 05:18 AM

Problem in the IDoc structure, Getting IDoc status 26 (Syntax check error)



I am using Stand-alone method to transfer IDoc from SAP to legacy system.

I defined custom IDoc, with 1 header segment (For multiple header and item details of the Document) and 2 child segments at the same level as per the requirement.

the structure like this,

->. Header_Seg (H. Level - 1)

-> child_seg_1 (H.Level - 2)

-> child_seg_2 (H.level - 2)

I am populating segments by passing header record out side of the loop and for child segments inside the loop. But I am getting syntax error status 26.

If I change the structure like,

->. Header_Seg (H. Level - 1)

-> child_seg_1 (H.Level - 2)

-> child_seg_2 (H.level - 3)

I am getting result successfully with status 30 or 03.

But I need the first IDoc strcuture only.

Please help me to solve this problem.

thank you,