‎2007 Aug 31 1:55 PM
hi friends,
i want read values from segment. i want get the order type from segment 'E1EDk14'
how to do this please help me.
it very important .
regards,
jai
‎2007 Aug 31 2:56 PM
you have to loop on EDIDD and check the segment name
when the name corresponds, you map the data part into a structure having the right type (usually the same as the segment name)
‎2007 Aug 31 4:41 PM
Hi,
The table EDIDD has the information realted to the IDOC segments.
try this :
data : int_edidd type edidd.
data : v_e1edk14 type e1edk14.
IF INT_EDIDD-SEGNAM = 'E1EDK14'.
MOVE INT_EDIDD-SDATA TO V_E1EDK14.
v_e1edk14-auart = 'LZ'.
add your necessary code
MOVE v_E1EDK14 TO INT_EDIDD-SDATA.
APPEND INT_EDIDD.
Hope this is useful to you.
SUKI.