Mentor SAP
If you call a program by using SUBMIT <program> or LEAVE TO TRANSACTION '<TCODE>' , the system terminates the calling program immediately and deletes all locks set up to that point. This ensures that no lock conflicts arise between the calling and the called program.

 

The system treats lock requests from the same user in different main sessions or terminal sessions as lock requests from different users. As shown in the figure, this is also the case for the same user, main session, and different INTERNAL sessions that are created by CALL TA or SUBMIT AND RETURN. This starts a new LUW and therefore, the accumulation is not possible, for example, for an E lock. In other words, accumulation, that is, to receive the same lock again, only works within the same LUW.