Skip to Content
May 21, 2014 at 08:53 AM

How to get Inspection Lot from BAdI WORKORDER_CONFIRM


I'm doing an enhancement in BAdI WORKORDER_CONFIRM. The parameters that are available in the BAdI are structure AFRUD and CAUFVD, how to get inspection lot using these parameters?

Tried to read inspection lot from CAUFVD-PRUEFLOS or to use material document (AFRUD-WABLNR) to read inspection lot from table QALS, but the value for CAUFVD-PRUEFLOS or AFRUD-WABLNR is not always populated in the BAdI.

Please help, thank you.