Question:
HI everybody:
I created an extension for idoc type orders01 (ZEXT).
Placed its segment (Z1TEST) under segment E1EDK01.
Put the following coding into EXIT_SAPLVEDC_003:
MOVE sy-uname TO z1name-uname.
LOOP AT dint_edidd.
segment = dint_edidd-segnam.
CASE segment.
WHEN 'E1EDK01'. "parent
CLEAR dint_edidd.
dint_edidd-segnam = 'Z1NAME'.
dint_edidd-sdata = z1name.
APPEND dint_edidd.
ENDCASE.
ENDLOOP.
and properly maintained we20.. we82..
BUT the new segment is created at the very bottom of the idoc, instead of being under segment E1EDK01, so the idoc is wrong...
If anyone has already experienced that, please advice..
Thank you
Answer:
Check under Idoc type whether Parent segment and Hierarchy level is showing correct or not.
Answer:
Yes, they look right... In the basic type orders01 I can't see anything, but when I open the extension, it looks hieratcally correct..
Answer:
..solved.. thanks