2014 Jul 06 7:13 AM
Hi Experts,
I have created two screens 100 and 200.
In 100,i have button 'CHANGE'.When i click on change button called 200 screen.
My question is ,when multiple user using same Z-Transaction ,first user doing changes in 200 screen so second user need to call 200 screen in display mode when first user making changes.
How to do this?
i had created lock object and called FM in my program but i am not getting it.
Please give me any solution.
Thanks and Regards,
Ravi Teja
2014 Jul 06 8:28 AM
Hi,
Please search for "record level record lock in sap abap"
Based on the result of calling the generated Enqueue function you can set the screen in PBO .
2014/07/07 : Please look at DEMO_TRANSACTION_ENQUEUE
Regards.
2014 Jul 06 8:28 AM
Hi,
Please search for "record level record lock in sap abap"
Based on the result of calling the generated Enqueue function you can set the screen in PBO .
2014/07/07 : Please look at DEMO_TRANSACTION_ENQUEUE
Regards.
2014 Jul 07 7:35 AM
Hi Eitan,
In demo program DEMO_TRANSACTION_ENQUEUE they given that
CALL TRANSACTION 'TCODE NAME' AND SKIP FIRST SCREEN.
Same syntax i written in my module pool program ,it is not working but
if i give CALL SCREEN 'screen number' it is working .
Any reason.
Thanks and regrads,
Ravi.
2014 Jul 07 7:44 AM
Hi,
This is the code of DEMO_TRANSACTION_ENQUEUE here:
I do not see "CALL TRANSACTION 'TCODE NAME' AND SKIP FIRST SCREEN."
Regards.
2014 Jul 07 7:59 AM
Hi,
sorry,it is CALL TRANSACTION 'SM12' AT 43 line and i need to use
CALL TRANSACTION 'TCODE NAME' AND SKIP FIRST SCREEN and i need to display data in display
mode.
2014 Jul 07 8:08 AM
Hi,
If you want just to display data why lock it ?
For example use MM03 and not MM02 .
In your original question you were talking about screen 100 and 200 in the same program ?
regards.
2014 Jul 07 8:34 AM
Hi,
DEMO_TRANSACTION_ENQUEUE is used to demonstrate record level locking and only that
Regards.
2014 Jul 07 8:35 AM
we have only one tcode for all display ,change and create,so if one user change data and another
user trying to change same record ,need get message RECORD and data should be display
in display mode for same record.
i have done it by using call screen screen number but
call transaction tcode name and skip first screen is not working in module pool?
can you give any information for above one .
2014 Jul 07 8:37 AM
2014 Jul 07 8:53 AM
Hi,
If the called program is a Z* program I suggest that you add to it "record level locking" .
Also add to the called program "Display" mode using a different transaction code like many SAP program do (I did mention MM02 and MM03 )
Regards.