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:

E1MBEWM

ZE1MBEWM

Instead of

E1MBEWM

-


ZE1MBEWM

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?

Thanks;

Paulo Afonso Cordeiro.

Former Member
replied

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.

regards,

Prabhuds

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