Skip to Content
Former Member
Jul 31, 2006 at 10:58 AM

How to read data of an idoc from IDOC table EDI**



I am using a BADI VENDOR_ADD_DATA_BI while processing my Vendor master idoc OILCRE04(IS-OIL).

I wish to update the status of the IDOC within the BADI and hence need the IDOC number within the BADI.

Since this BADI does not pass the control parameters segment in the methods, I am unable to get the Idoc number.

My questions:

1. Is there any BADi for Vendor master(or a generic one) which can be used to get the Control segment for the idoc <b>while it is being processed</b>.

2. Using my Vendor number, can I locate the IDOC from SAP tables, which actually is creating this Vendor number at runtime.

Kind regards