SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | License Measurement(BC-SRV-LIM) SAP BC

RSLAW_USER_GROUPING_ALV SAP ABAP Report - Combine Users Manually







RSLAW_USER_GROUPING_ALV 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 RSLAW_USER_GROUPING_ALV 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 RSLAW_USER_GROUPING_ALV. "Basic submit
SUBMIT RSLAW_USER_GROUPING_ALV AND RETURN. "Return to original report after report execution complete
SUBMIT RSLAW_USER_GROUPING_ALV 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: S_TELNR = Telephone Number
Selection Text: S_SYSNO = System Number
Selection Text: S_SYSID = System ID
Selection Text: S_INSTNO = Installation Number
Selection Text: S_HWKEY = Hardware Key
Selection Text: S_EMAIL = E-Mail Address
Selection Text: S_BNAME = User Name
Selection Text: S_ADRESS = Last Name, First Name
Selection Text: S_ACCNT = Accounting Number
Selection Text: P_GROUP = Automatically Assign By
Title: Combine Users Manually
Text Symbol: 027 = E-Mail Addresses
Text Symbol: 028 = Telephone Nos
Text Symbol: 029 = Group Name
Text Symbol: 030 = Number of Users
Text Symbol: 031 = Client
Text Symbol: 032 = F. name
Text Symbol: 033 = LastName
Text Symbol: 034 = Telephone No.
Text Symbol: 035 = Surchrge
Text Symbol: 036 = Accounting Number
Text Symbol: 037 = Data is being read
Text Symbol: 038 = Last Logged On
Text Symbol: F01 = Restrict Data Range
Text Symbol: F02 = Select a Specific System?
Text Symbol: F03 = New Users
Text Symbol: 026 = Accounting Numbers
Text Symbol: 001 = Data has been changed
Text Symbol: 002 = End User Grouping
Text Symbol: 003 = Do you want to save the data before leaving the overview?
Text Symbol: 004 = Preparing Data
Text Symbol: 005 = Saving Data
Text Symbol: 006 = Data was saved
Text Symbol: 007 = Expand User Group
Text Symbol: 008 = Are you sure
Text Symbol: 009 = that you want to completely reset the grouping?
Text Symbol: 010 = User Name
Text Symbol: 011 = First Name





Text Symbol: 012 = Last Name
Text Symbol: 013 = Inst No.
Text Symbol: 014 = Sys
Text Symbol: 015 = HW Key
Text Symbol: 016 = Client
Text Symbol: 017 = User Type
Text Symbol: 018 = Surcharge
Text Symbol: 019 = Account No.
Text Symbol: 020 = Created
Text Symbol: 021 = Logged On
Text Symbol: 022 = Group Name
Text Symbol: 023 = Number of Users
Text Symbol: 024 = Logon Name
Text Symbol: 025 = Last Names and First Names
001 | User Name First Name Last Name InstNo SysID HwKey Clnt User Type Special Vers. Account ID Creat.Date Logon Date |


INCLUDES used within this REPORT RSLAW_USER_GROUPING_ALV

INCLUDE RSLAWTOP01.
INCLUDE RSLAWCONST.
INCLUDE RSLAW_INIT_KEYREFS .
INCLUDE RSUVMIN3.


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:

LAW_F4_FOR_INSTNO call function 'LAW_F4_FOR_INSTNO' importing selected_value_instno = selected_value_instno selected_value_sysid = selected_value_sysid selected_value_hwkey = selected_value_hwkey selected_value_sysno = selected_value_sysno exceptions nothing_selected = 1 others = 2.

DYNP_VALUES_UPDATE call function 'DYNP_VALUES_UPDATE' exporting dyname = sy-cprog dynumb = sy-dynnr tables dynpfields = userdata.

REUSE_ALV_HIERSEQ_LIST_DISPLAY call function 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' exporting i_callback_program = g_repid i_callback_pf_status_set = 'SET_PF_STATUS' i_tabname_header = 'SORTED_GROUPS' i_tabname_item = 'USER_TABLE_I' is_keyinfo = gs_keyinfo is_layout = gs_layout it_events = gt_events[] it_event_exit = gt_event_exit[] it_fieldcat = gt_fieldcat importing e_exit_caused_by_caller = g_exit_caused_by_caller es_exit_caused_by_user = gs_exit_caused_by_user tables t_outtab_header = sorted_groups t_outtab_item = user_table_i exceptions program_error = 1 others = 2.

BAPI_USER_DISPLAY call function 'BAPI_USER_DISPLAY' exporting username = user importing return = s_bapiret2.

LAW_SET_USER_TIME call function 'LAW_SET_USER_TIME'.

LAW_GET_GROUPING_PARAMETERS call function 'LAW_GET_GROUPING_PARAMETERS' importing last_mode = grouping_parameters-last_mode last_auto_sort_by = grouping_parameters-last_auto_sort_by last_max_id = grouping_parameters-max_id exceptions others = 99 .

LAW_GET_SORT_FIELDS call function 'LAW_GET_SORT_FIELDS' exporting auto_sort_by = grouping_mode tables sort_fields = sort_fields .

LAW_SET_GROUPING_PARAMETERS call function 'LAW_SET_GROUPING_PARAMETERS' exporting last_mode = grouping_manual last_auto_sort_by = grouping_parameters-last_auto_sort_by last_max_id = grouping_parameters-max_id last_tool = grouping_with_alv_list exceptions others = 99 .

REUSE_ALV_EVENTS_GET call function 'REUSE_ALV_EVENTS_GET' exporting i_list_type = 1 importing et_events = rt_events.






REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = gt_list_top_of_page.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting defaultoption = 'Y' textline1 = text-001 textline2 = text-003 titel = text-002 cancel_display = ' ' importing answer = answer.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting defaultoption = 'Y' textline1 = text-008 textline2 = text-009 titel = text-007 cancel_display = ' ' importing answer = answer.



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 RSLAW_USER_GROUPING_ALV or its description.