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

IDOC Segments data?

Former Member
0 Likes
1,120

Hi,

Can anyone tell in which tables is the IDOC segments data is stored?

Rgds,

Kanwar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,053

Check the EDID3 and EDID4 tables

6 REPLIES 6
Read only

Former Member
0 Likes
1,054

Check the EDID3 and EDID4 tables

Read only

0 Likes
1,053

But I am not able to read the data inside the segment E1DEP01 in the table EDID4

Please help?

Read only

0 Likes
1,053

Hi,

access field from e1edp01 using below code.

LOOP AT IDOC_DATA.

CASE IDOC_DATA-SEGNAM.

WHEN 'E1EDP01'.

MOVE IDOC_DATA-SDATA TO E1EDP01.

***Here e1edp01 structure will give you details of ***individual field.

if e1edp01-posex eq ....

endif.

if e1edp01-PSTYP eq ......

endif.

ENDCASE.

ENDLOOP.

Thanks.

Read only

Former Member
0 Likes
1,053

Check <b>EDID3</b> table ..

Regards,

Santosh

Read only

Former Member
0 Likes
1,053

Hi,

IDoc segment data is stored in strcuture like EDIDD.

Suppose you have created IDoc,then the function module export parameter for Idoc data is IDOC_data(defined as IDOC_DATA STRUCTURE EDIDD).

then you can access data as below.

LOOP AT IDOC_DATA.

CASE IDOC_DATA-SEGNAM.

WHEN 'E1EDP01'.

MOVE IDOC_DATA-SDATA TO E1EDP01.

***Here e1edp01 structure will give you details of ***individual field.

ENDCASE.

ENDLOOP.

Similarly you can access data for all segments.

Thanks.

Mark points if helpful.

Read only

Former Member
0 Likes
1,053

Hi,

what i understood from your query is, you are looking for the data record of the IDOC...

See the list below of tables

1. EDIDC -- Control record (IDoc)

2. EDIDD -- Data Record (IDoc)

3. EDID4 -- Data Record

4. EDIDS -- Status Record (IDoc)

for all the above tables the common field is IDOC number.

i hope the above info will serve your need.

Rewards with points if suits your requirement.

-satish