2023 Jul 20 12:07 PM
Hi, In continuation of my previous question now i want to also check the conditions before locking object. The requirement is the user cannot open two sessions with same values. I have added locks as per last help material but now my problem is in order to compare values of first session with other session in same user, how do i save the values? I used import export for SAP values but it is still not working as expected. Sample code is->
* Define a constant for the memory ID<br>* Export relevant data to memory only if it's the first interaction with the section<br>IF sy-modno = 1 " Track session number<br>Export values.<br>endif.<br><br>import values<br>if condition.<br>sy-subrc = 0<br>locking procedure<br>endif.
.