Custom extension Idoc hierarchic - MATMAS
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:
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.
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.