STU3_GET_LOCKING_CONFLICTS is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name STU3_GET_LOCKING_CONFLICTS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
STU3
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'STU3_GET_LOCKING_CONFLICTS' "
EXPORTING
fb_my_user = " sy-subrc
fb_datatype = " sy-subrc
fb_db2threads = " db2threads
* get_old_data = " int4 Get new data from RFCOSCOL?
* ds_member_spec = " db2dsmem-memb_name Name of the data sharing group member
IMPORTING
fb_dsecprocd = " db2qclreq-dsecprocd number of data sections processed
fb_dsecnprocd = " db2qclreq-dsecnprocd number of data sections not processed
TABLES
fb_thrds_tab = " db2threads
fb_lock_tab = " db2locksh Resources locked by a thread
EXCEPTIONS
RS_AUTH_FAILURE = 1 "
RS_START_TRACE = 2 "
RS_INTERNAL_ERROR = 3 "
RS_NO_LOCKCONFS_SYSWIDE = 4 "
RS_NO_SQLSTMT_THREAD = 5 "
RS_NO_LOCKS_HELD_THREAD = 6 "
RS_INVALID_ACE_THREAD = 7 "
RS_NO_LOCKCONFS_THREAD = 8 "
RS_NO_BUFFERS_THREAD = 9 "
RS_NO_LOCKING_THREAD = 10 "
RS_NO_SQLCOUNTER_THREAD = 11 "
REQUEST_TO_OLD = 12 "
NO_BUFFER_SPACE_IN_SHM = 13 "
UNVALID_REQUEST_ID = 14 "
ANSWER_IS_NOT_YET_AVAILABLE = 15 "
COMMUNICATION_ERROR = 16 "
ANSWER_NOT_POSSIBLE = 17 "
COMMUNICATION_BUFFER_TO_SMALL = 18 "
UNKNOWN_ERROR = 19 "
ILLEGAL_PARAMETER = 20 "
IFI_ERROR = 21 "
. " STU3_GET_LOCKING_CONFLICTS
The ABAP code below is a full code listing to execute function module STU3_GET_LOCKING_CONFLICTS including all data declarations. The code uses 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 original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_fb_dsecprocd | TYPE DB2QCLREQ-DSECPROCD , |
| ld_fb_dsecnprocd | TYPE DB2QCLREQ-DSECNPROCD , |
| it_fb_thrds_tab | TYPE STANDARD TABLE OF DB2THREADS,"TABLES PARAM |
| wa_fb_thrds_tab | LIKE LINE OF it_fb_thrds_tab , |
| it_fb_lock_tab | TYPE STANDARD TABLE OF DB2LOCKSH,"TABLES PARAM |
| wa_fb_lock_tab | LIKE LINE OF it_fb_lock_tab . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_fb_dsecprocd | TYPE DB2QCLREQ-DSECPROCD , |
| ld_fb_my_user | TYPE SY-SUBRC , |
| it_fb_thrds_tab | TYPE STANDARD TABLE OF DB2THREADS , |
| wa_fb_thrds_tab | LIKE LINE OF it_fb_thrds_tab, |
| ld_fb_dsecnprocd | TYPE DB2QCLREQ-DSECNPROCD , |
| ld_fb_datatype | TYPE SY-SUBRC , |
| it_fb_lock_tab | TYPE STANDARD TABLE OF DB2LOCKSH , |
| wa_fb_lock_tab | LIKE LINE OF it_fb_lock_tab, |
| ld_fb_db2threads | TYPE DB2THREADS , |
| ld_get_old_data | TYPE INT4 , |
| ld_ds_member_spec | TYPE DB2DSMEM-MEMB_NAME . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name STU3_GET_LOCKING_CONFLICTS or its description.