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

Extracting IDOC data from DB

Former Member
0 Likes
985

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

Former Member
0 Likes
917

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

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?

3 REPLIES 3
Read only

Former Member
0 Likes
915

Hi Chris,

Also check table EDIDD.

All table starting with EDI are useful to you.

Regards,

Atish

Read only

Former Member
0 Likes
918

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

Read only

0 Likes
915

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