SAP ABAP Question:
Download Questions PDF

Explain What are lock objects?

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 Interview Questions And Answers PDF

Previous QuestionNext Question
What is the difference between tables and structures?What are the events we use in dialog programming and explain them?