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: 

IDOC related TABLES

Former Member
0 Kudos

Hi ALL

Each IDOC having Data records.I want the tables for Idoc data records for genarating report.

Ex : W.r.t 10001 idoc ,we forwarded the following information likke sold toparty, material, qty,---

Regards

Raj

9 REPLIES 9

Former Member

Hi,

EDIDC Stores the Control information an IDOC

EDID4 Stores the Data Records from 4.0 onwards

EDIDS Stores the Status of an IDOC

Regards

Kiran Sure

Former Member

Hi,

Filling control record information in a structured variable of

type EDIDC

Filling Data record information in an internal table of type

EDIDD.

Filling of control information in an internal table of type EDIDC.

Where each record of a table contains information of each

receiver.( multiple records in case of multiple receivers ) .

Database table

EDIDC – Stores Control records

EDID4 – Stores Data records

EDIDS – Stores status records

TBDLS- stores logical systems.

EDIDD_OLD IDoc Data Record

Regards,

Raj.

Former Member

Hi,

Table for Control Record : EDIDC

Table for Data Records : EDID4

Table for Status Records : EDIDS

Regards,

Farheen

0 Kudos

HI Fathima

In EDID4 ,total information is not there.It is having few data only!

Regards

RAj

0 Kudos

Hello Raj,

Whatever has been said is true. EDIDD-SDATA has limitations by way of number of characters. It cannot exceed 1000. Segment structures are to be paid attention to.

Warm Regards,

Indu Shekar

0 Kudos

Hi Shekar

Thanks for ur reply

EDIDD is the Structure,how cen we pick the data!

Regards

Raj

0 Kudos

Hello,

EDID2 holds data from 3.0 onwards. EDID4 holds data from 4.0 onwards.

Delcare an internal table record structure simial to EDIDD.

Read records into the table through a simple select comparing the idoc number.

You can then loop through the internal table to access the segments.

Here is the sample code:

For populating internal table idoc_data with data from the IDoc:

-


SELECT * FROM EDID4 INTO CORRESPONDING

FIELDS OF TABLE T_IDOC_DATA

FOR ALL ENTRIES IN T_IDOC_CONTROL

WHERE DOCNUM = T_IDOC_CONTROL-DOCNUM.

Looping through to access segments:

-


LOOP AT idoc_contrl.

LOOP AT idoc_data WHERE docnum = idoc_contrl-docnum.

CASE idoc_data-segnam.

WHEN 'E1EDK14'.

<Whatever you want to do>

WHEN 'E1EDKA1'.

<Whatever you want to do>

WHEN OTHERS.

<Whatever you want to do>

ENDCASE.

ENDLOOP.

ENDLOOP.

manubhutani
Active Contributor
0 Kudos

in a program

u use only two structures

edidd - to store data information

edidc - to store control information

edidd-sdata stores data in a string form

edids - has status information..

Please reward points

Former Member
0 Kudos

This is not answered