cancel
Showing results for 
Search instead for 
Did you mean: 

Need to debug IDoc creation from BAPI - BAPI_INB_DELIVERY_CONFIRM_DEC

former_member199670
Participant
0 Kudos
525

Hello All,

During inbound delivery verification the BAPI - BAPI_INB_DELIVERY_CONFIRM_DEC is creating an outbound IDoc with message type SHP_IBDLV_CONFIRM_DECENTRAL which will be send to ECC.

I would like to debug to know how the IDocs are getting created and segments are filled during the BAPI process.

The issue is I am not able to debug that particular piece of logic where IDocs details are populated and created.

I tried by putting internal/external/update/system break point but still not able to figure out.

Please provide your suggestions on how to debug the IDoc creation.

Thanks

Manimaran K

Sandra_Rossi
Active Contributor

Look at SQL trace with call stack, for INSERT on tables EDIDC, EDID4 (or EDI40 before S/4HANA).

It's likely to happen inside the update task, in that case add a statement break-point on CALL FUNCTION IN UPDATE TASK till you reach the update function module.

View Entire Topic
venkateswaran_k
Active Contributor
0 Kudos
former_member199670
Participant
0 Kudos

Hello Venkat,

Thanks for your time and response.

I followed the same kind of procedure. I can debug through BAPI but i am not able to debug that IDoc creation part alone.

Thanks

Manimaran K