![]() ![]() Please note some of the newer syntax such as the is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example. Setting SAP Locks Releasing SAP Locks More details can be found under SAP Lock Concept in the SAP Help Portal. This will allow you to compare and fully understand the new inline method. When a lock object is created, two lock function modules are generated whose names consist of the prefixes ENQUEUE and DEQUEUE and the name of the lock object. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. _COLLECT - Initially only collect lockData type: DDENQ_LIKE-COLLECTĬopy and paste ABAP code example for DEQUEUE_E_TABLE Function Module The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. X_VARKEY - Fill argument 02 with initial value?Data type: X_TABNAME - Fill argument 01 with initial value?Data type: VARKEY - 02th enqueue argumentData type: RSTABLE-VARKEY TABNAME - 01th enqueue argumentData type: RSTABLE-TABNAME IMPORTING Parameters details for DEQUEUE_E_TABLE MODE_RSTABLE - Lock mode for table RSTABLEData type: DD26E-ENQMODEĬall by Reference: No ( called with pass by value option) 1 Answer Sort by: Vote up 3 Vote down Tapomay Sanyal at 12:50 PM Hi Kiran, IMO you should use, as more than the reason its standard or custom table the reason for good lock mechanism is to ensure sync in your application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |