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: 

Extracting IDOC data from DB

Former Member
0 Kudos

I've got a requirement to list the material numbers of some failed IDOCs, but am struggling to get to the data.

I've tried doing a SQL trace, but this only gets me as far as being able to identify the IDOC numbers through EDIDC, and I need to be able to retrieve the segment data as well.

Does anyone know of a FM that would do the job?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Chris,

After getting the IDOC numbers from EDIDC then you can use FM : IDOC_READ_COMPLETELY to read the IDOC segment.

[pls see in table parameter : INT_EDIDD-SDATA]

Regards,

Hendy

3 REPLIES 3

Former Member
0 Kudos

Hi Chris,

Also check table EDIDD.

All table starting with EDI are useful to you.

Regards,

Atish

Former Member
0 Kudos

Hi Chris,

After getting the IDOC numbers from EDIDC then you can use FM : IDOC_READ_COMPLETELY to read the IDOC segment.

[pls see in table parameter : INT_EDIDD-SDATA]

Regards,

Hendy

0 Kudos

Thanks Hendy, that's exactly what I was looking for.