Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Custom extension Idoc hierarchic - MATMAS

Hi Experts,

I'm facing with big trouble.

I'd created the extension from Idoc MATMAS. I putted 2 segments child of E1MBEWM and E1MARMM.

I'm implement the user-exit to fetch the customs segments, until this point everything OK.

Althrought when I check the Idoc generated by BD10 I got problem. The child segment is shown on the same level that their parents. Like this:



Instead of




I thought this problem was about the two field of IDOC_DATA ( PSGNUM and HLEVEL ). Even I fetch them the result keep the same.

Anybody knows how solve this?


Paulo Afonso Cordeiro.

Former Member

Hi Paulo,

zsegments must insert into internall table..if you append it will append yo last line..

in the coding read the above segment of the Zsegment and catch the index and insert(not append) the Zsegment at the index captured then only your seegment appears under the parent segemnt.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question