Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

read values from segment

Former Member
0 Kudos

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

2 REPLIES 2

franois_henrotte
Active Contributor
0 Kudos

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)

Former Member
0 Kudos

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.