SAP Reports / Programs | Financial Accounting | Contract Accounts Receivable and Payable(FI-CA) SAP FI

SAP_LOCKS_LIST SAP ABAP Report - INTERNAL: ALV List of Business Locks







SAP_LOCKS_LIST is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter SAP_LOCKS_LIST into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT SAP_LOCKS_LIST. "Basic submit
SUBMIT SAP_LOCKS_LIST AND RETURN. "Return to original report after report execution complete
SUBMIT SAP_LOCKS_LIST VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_LOTYP = D .
Selection Text: SO_VKONT = D .
Title: INTERNAL: ALV List of Business Locks
Text Symbol: 001 = Lock object number
Text Symbol: 002 = Display locks
Text Symbol: 003 = Proc.
Text Symbol: 004 = Reasn
Text Symbol: 005 = Fr.
Text Symbol: 006 = To
Text Symbol: 007 = Processor
Text Symbol: 008 = Activ
Text Symbol: 009 = Deleted
Text Symbol: 010 = Dependent locks
Text Symbol: 011 = LockCat.
Text Symbol: 012 = Dependent locks only


INCLUDES used within this REPORT SAP_LOCKS_LIST

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' i_callback_program = l_repid * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' is_layout = gs_layout_main it_fieldcat = it_fieldcat[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = ' ' * IT_EVENTS = * IT_EVENT_EXIT = i_tabname_header = c_tabname_header i_tabname_item = c_tabname_item * I_STRUCTURE_NAME_HEADER = * I_STRUCTURE_NAME_ITEM = is_keyinfo = ls_keyinfo * IS_PRINT = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab_header = gt_header_tab t_outtab_item = gt_item_tab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = l_repid i_internal_tabname = c_tabname_header i_structure_name = 'FKKVK' i_client_never_display = 'X' CHANGING ct_fieldcat = it_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = l_repid i_internal_tabname = c_tabname_item i_structure_name = 'DFKKLOCKS' i_client_never_display = 'X' CHANGING ct_fieldcat = it_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

FKK_S_LOCK_GET CALL FUNCTION 'FKK_S_LOCK_GET' EXPORTING i_keystructure = gt_header_tab i_lotyp = p_lotyp i_proid = '1' * I_LOCKDATE = SY-DATUM i_x_mass_access = ' ' i_x_dependant_locktypes = 'X' * IMPORTING * E_X_LOCK_EXIST = * E_X_DEPENDANT_LOCK_EXIST = TABLES * IT_LOCKREASON = et_locks = it_locks et_dependant_locks = it_dependant_locks EXCEPTIONS OTHERS = 1.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SAP_LOCKS_LIST or its description.