SAP ABAP Question: Download SAP ABAP PDF

Explain What are lock objects?

Tweet Share WhatsApp

Answer:

Reason for Setting Lock: Suppose a travel agent want to book a flight. The customer wants to fly to a particular city with a certain airline on a certain day. The booking must only be possible if there are still free places on the flight. To avoid the possibility of overbooking, the database entry corresponding to the flight must be locked against access from other transactions. This ensures that one user can find out the number of free places, make the booking, and change the number of free places without the data being changed in the meantime by another transaction.

Download SAP ABAP PDF Read All 161 SAP ABAP Questions
Previous QuestionNext Question
What is the difference between tables and structures?What are the events we use in dialog programming and explain them?