Hello All,
My requirement is to extend outbound IDOC for ORDERS05 as follow
-->E1EDP01 (item level)
----------> under E1EDP01 segment add new custom segment.
In order to achieve this, I have completed the needful steps in WE30, WE31, partner profile maintenance, etc.
I have added below logic in EXIT_SAPLVEDC_002
IF int_edidd-segnam = 'E1EDP01'.
CLEAR int_edidd.
int_edidd-segnam = 'ZEX_ORDERS05'.
int_edidd-sdata = ls_orders05.
APPEND int_edidd.
ENDIF. " At this point, INT_EDIDD is appended with custom segment details.
However, when IDOC is generated, the structure is flat.
I have tried searching in the forum but none of the suggestion worked. Your help will be greatly appreciated and the right answer would be rewarded.
TIA.