‎2006 Oct 17 4:54 PM
Hi,
Can anyone tell in which tables is the IDOC segments data is stored?
Rgds,
Kanwar
‎2006 Oct 17 5:00 PM
‎2006 Oct 17 5:00 PM
‎2006 Oct 17 5:07 PM
But I am not able to read the data inside the segment E1DEP01 in the table EDID4
Please help?
‎2006 Oct 17 5:10 PM
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.
‎2006 Oct 17 5:04 PM
‎2006 Oct 17 5:04 PM
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.
‎2006 Oct 17 6:02 PM
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