RSLAW_CREATE_USER_AND_DEST 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_CREATE_USER_AND_DEST into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: S_LAWCLT = Client of LAW Central System
Selection Text: S_PASSWD = Uniform Password
Selection Text: S_UPDATE = Modify User/Destination
Title: Generating an RFC infrastructure for the License Admin. Workbench
Text Symbol: 002 = Communications User for LAW
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
LAW_ADD_COMPONENT_SYSTEM CALL FUNCTION 'LAW_ADD_COMPONENT_SYSTEM' EXPORTING i_name = gs_rfc_detail-rfcsysid i_sysid = gs_rfc_detail-rfcsysid * i_hostname = * i_sysno = i_mshost = gs_rfc_detail-rfchost i_lbgroup = gs_rfc_detail-rfclbgrp i_client = gs_rfc_detail-rfcclient * i_user = i_password = s_passwd i_role = gs_rfc_detail-rfcrole * i_dest = i_description = gs_rfc_detail-rfcdecrpt * i_law_hostname = * i_law_sysno = i_law_client = s_lawclt * i_law_user = i_law_password = s_passwd * i_law_dest = i_update = s_update * i_tmp_user = * i_tmp_password = TABLES et_return = gt_return EXCEPTIONS no_connection_to_comp = 1 logon_to_comp_failed = 2 internal_error_on_law_side = 3 internal_error_on_comp_side = 4 auth_error_on_law_side = 5 auth_error_on_comp_side = 6 parameter_missing = 7 law_destination_exists_already = 8 com_destination_exists_already = 9 userid_locked = 10 destination_locked = 11 law_user_exists_already = 12 OTHERS = 13.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'BAPIRET2' CHANGING ct_fieldcat = lt_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * i_grid_title = i_struct_name * is_layout = ls_layout it_fieldcat = lt_fieldcat[] TABLES t_outtab =