Hi Sasidhar,
As you have mentioned in your above comments "After correcting the code, I could see next logs in green and now I can see inspection lot# in inspection document of EWM."
I have integrated the ERP QM with EWM.
The inspection lots gets created in SAP ECC.
But after that the inspection lots are not getting transferred to EWM (may be bcoz of issues in the code for BADI).
Please find the application log in SAP ECC.
Could you please let me know the code for the BADI(changed code by you).
I have already copied the code from the sap note, but that is not working perfectly.
Regards,
Ankush