Application Development and Automation 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 only

read values from segment

Former Member
0 Likes
635

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
Read only

franois_henrotte
Active Contributor
0 Likes
551

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)

Read only

Former Member
0 Likes
551

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.