Showing results for 
Search instead for 
Did you mean: 

Inspection lot change/update after creation of inspection lot , BAPI commit not working

Former Member
0 Kudos

Hi Everyone ,

In the transaction QA01 I am using BADI inspectionlot_update  method create_at_save to register the handler of class cl_system_transaction_state event raise_transaction_ finished (this event is fired on commit or completion of the transaction). The event is being fired as desired (inpspection lot and inspection points have been created at this point of time )and I have all the data in my class attributes . The problem at hand is when I try to update/change the inspection point data using the data I have by calling the BAPI_INSPOPER_RECORDRESULTS  and doing a commit after that, it won't update the database. I tried updating a Z table in the same method and that works fine. I am guessing the transaction might be still locking the tables.

The BAPI works fine when I execute it in a test sequence with BAPI_TRANSACTION_COMMIT or follow the same sequence in a custom program.

Can you please suggest a solution.Please let me know if further details are required.

Thanks and Regards,


Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos


Could you explain your business requirement,for better understanding & also kinldy check the BAPIs details with Tech.consultant.