SAP Reports / Programs | Basis Components | Security | User and Authorization Management(BC-SEC-USR-ADM) SAP BC

RSUSLAND_PAI SAP ABAP INCLUDE - RSUSLANDPAI







RSUSLAND_PAI is a standard ABAP INCLUDE 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 RSUSLAND_PAI 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 RSUSLAND_PAI. "Basic submit
SUBMIT RSUSLAND_PAI AND RETURN. "Return to original report after report execution complete
SUBMIT RSUSLAND_PAI VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT RSUSLAND_PAI

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:

SUSR_ZBV_SYSTEMINFO_DISPLAY call function 'SUSR_ZBV_SYSTEMINFO_DISPLAY'.

SUSR_ZBV_STATUSINFO_DISPLAY call function 'SUSR_ZBV_STATUSINFO_DISPLAY'.

SUSR_ZBV_USERINFO_DISPLAY call function 'SUSR_ZBV_USERINFO_DISPLAY '.

SUSR_ZBV_STATUSINFO_DISPLAY call function 'SUSR_ZBV_STATUSINFO_DISPLAY' exporting error_type = 'ERROR'.

SUSR_ZBV_STATUSINFO_DISPLAY call function 'SUSR_ZBV_STATUSINFO_DISPLAY' exporting error_type = 'WARNING'.

SUSR_ZBV_STATUSINFO_DISPLAY call function 'SUSR_ZBV_STATUSINFO_DISPLAY' exporting error_type = 'SUCCESS'.

SUSR_ZBV_STATUSINFO_DISPLAY call function 'SUSR_ZBV_STATUSINFO_DISPLAY' exporting error_type = 'OPEN'.

SUSR_ZBV_CENTRALSYSTEM_CHECK call function 'SUSR_ZBV_CENTRALSYSTEM_CHECK' exceptions duplicate_central_system = 1 new_system = 2 not_central = 3 others = 4.

SUSR_ZBV_LOCAL_PROFILES_SAVE call function 'SUSR_ZBV_LOCAL_PROFILES_SAVE' in background task exporting tcode = sy-tcode.

SUSR_ZBV_LOCAL_ACTGRPS_SAVE call function 'SUSR_ZBV_LOCAL_ACTGRPS_SAVE' in background task exporting tcode = sy-tcode.

SUSR_ZBV_LANDSCAPE_SEND call function 'SUSR_ZBV_LANDSCAPE_SEND' exceptions rfc_failure = 0 others = 0.

SCCR_GET_RELEASE_NR call function 'SCCR_GET_RELEASE_NR' destination uszbvlndsc-sendsystem importing sysid = rm_sysid mandt = rm_mandt.

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = 'Zuordnung Verteilungsmodell'(v02) text_question = text default_button = '2' display_cancel_button = space importing answer = answer exceptions text_not_found = 0 others = 0.

DYNP_VALUES_READ call function 'DYNP_VALUES_READ' exporting dyname = 'RSUSLAND' dynumb = '0100' tables dynpfields = dfield exceptions others = 0.

BAPI_ALE_MODEL_GET call function 'BAPI_ALE_MODEL_GET' tables bapilinks = it_bapilinks_1.

PRGN_HELP_VALUES_GET_NO_DD_NAM call function 'PRGN_HELP_VALUES_GET_NO_DD_NAM' exporting selectfield = 'USBAPILINK-BAPILINK' importing select_value = return tables fields = hfields full_table = linktab exceptions others = 0.

DYNP_VALUES_UPDATE call function 'DYNP_VALUES_UPDATE' exporting dyname = 'RSUSLAND' dynumb = '100' tables dynpfields = dfield exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 others = 8.

BAPI_ALE_MODEL_GET call function 'BAPI_ALE_MODEL_GET' tables bapilinks = it_bapilinks_2.

SCCR_GET_RELEASE_NR





call function 'SCCR_GET_RELEASE_NR' destination uszbvlndsc-sendsystem importing sysid = remote_sysid mandt = remote_client exceptions others = 1.

SUSR_ZBV_FLD_SAVE call function 'SUSR_ZBV_FLD_SAVE' exporting custmodel = g_bapilink tables it_usrfldtsel = it_usrfldtsel.

SUSR_ZBV_FLD_SAVE call function 'SUSR_ZBV_FLD_SAVE' exporting custmodel = g_bapilink tables it_usrfldtsel = it_usrfldtsel.

SUSR_ZBV_FLD_SAVE call function 'SUSR_ZBV_FLD_SAVE' exporting custmodel = g_bapilink tables it_usrfldtsel = it_usrfldtsel.

SUSR_ZBV_FLD_SAVE call function 'SUSR_ZBV_FLD_SAVE' exporting custmodel = g_bapilink tables it_usrfldtsel = it_usrfldtsel.

SUSR_ZBV_FLD_SAVE call function 'SUSR_ZBV_FLD_SAVE' exporting custmodel = g_bapilink tables it_usrfldtsel = it_usrfldtsel.

SUSR_ZBV_FLD_SAVE call function 'SUSR_ZBV_FLD_SAVE' exporting custmodel = g_bapilink tables it_usrfldtsel = it_usrfldtsel.

SUSR_ZBV_FLD_SAVE call function 'SUSR_ZBV_FLD_SAVE' exporting custmodel = g_bapilink tables it_usrfldtsel = it_usrfldtsel.

SUSR_ZBV_FLD_SAVE call function 'SUSR_ZBV_FLD_SAVE' exporting custmodel = g_bapilink tables it_usrfldtsel = it_usrfldtsel.

SUSR_ZBV_FLD_SAVE call function 'SUSR_ZBV_FLD_SAVE' exporting custmodel = g_bapilink tables it_usrfldtsel = it_usrfldtsel.

SUSR_ZBV_FLD_SAVE call function 'SUSR_ZBV_FLD_SAVE' exporting custmodel = g_bapilink tables it_usrfldtsel = it_usrfldtsel.

SUSR_ZBV_FLD_SAVE call function 'SUSR_ZBV_FLD_SAVE' exporting custmodel = g_bapilink tables it_usrfldtsel = it_usrfldtsel.

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' ##TEXT_UNIQ ##TEXT_DIFF exporting titlebar = 'Exit field selection'(m03) text_question = 'Save field selections?'(m04) default_button = '1' display_cancel_button = 'X' importing answer = answer exceptions text_not_found = 0 others = 0.

SUSR_ZBV_FLD_TO_DB call function 'SUSR_ZBV_FLD_TO_DB' exporting custmodel = g_bapilink importing scug_role_msg = g_role_transfer scug_prof_msg = g_prof_transfer scug_laws_msg = g_laws_transfer tables it_usrfldtsel = it_usrfldtsel.

SUSR_ZBV_LANDSCAPE_SEND call function 'SUSR_ZBV_LANDSCAPE_SEND' exceptions rfc_failure = 1 others = 2.

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = 'Beenden Feldselektionen'(m03) text_question = text default_button = '2' display_cancel_button = space importing answer = answer exceptions text_not_found = 0 others = 0.

SUSR_ZBV_FLD_TO_DB call function 'SUSR_ZBV_FLD_TO_DB' exporting custmodel = g_bapilink importing scug_role_msg = g_role_transfer scug_prof_msg = g_prof_transfer scug_laws_msg = g_laws_transfer tables it_usrfldtsel = it_usrfldtsel.

SUSR_ZBV_LANDSCAPE_SEND call function 'SUSR_ZBV_LANDSCAPE_SEND' exceptions rfc_failure = 1 others = 2.

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' ##TEXT_UNIQ ##TEXT_DIFF exporting titlebar = 'Exit field selection'(m03) text_question = 'Save field selections?'(m04) default_button = '1' display_cancel_button = 'X' importing answer = answer exceptions text_not_found = 0 others = 0.

SUSR_ZBV_FLD_TO_DB call function 'SUSR_ZBV_FLD_TO_DB' exporting custmodel = usbapilink-bapilink tables it_usrfldtsel = it_usrfldtsel.




SUSR_ZBV_LANDSCAPE_SEND call function 'SUSR_ZBV_LANDSCAPE_SEND' exceptions rfc_failure = 1 others = 2.

HELP_OBJECT_SHOW_FOR_FIELD call function 'HELP_OBJECT_SHOW_FOR_FIELD' exporting called_for_tab = usrflddef-tabname called_for_field = usrflddef-fieldname exceptions others = 0. " no messages are raised with exceptions

BAL_LOG_REFRESH call function 'BAL_LOG_REFRESH' exporting i_log_handle = g_log_handle exceptions others = 1.

BAL_LOG_CREATE call function 'BAL_LOG_CREATE' exporting i_s_log = l_s_log importing e_log_handle = g_log_handle exceptions others = 1.

BAL_LOG_MSG_ADD call function 'BAL_LOG_MSG_ADD' exporting i_log_handle = g_log_handle i_s_msg = lr_s_msg->* exceptions log_not_found = 0 others = 1.

BAL_DSP_PROFILE_DETLEVEL_GET call function 'BAL_DSP_PROFILE_DETLEVEL_GET' importing e_s_display_profile = l_s_display_profile exceptions others = 1.

BAL_DSP_LOG_DISPLAY call function 'BAL_DSP_LOG_DISPLAY' exporting i_s_display_profile = l_s_display_profile exceptions others = 1.

SUSR_ZBV_USER_SYSTEM_PUT call function 'SUSR_ZBV_USER_SYSTEM_PUT' exporting usrsection = space iv_local_user_flag_remove = if_identity=>co_true tables systems = lt_systems_dummy userlist = lt_local_bname.

SUSR_ZBV_USER_SYSTEM_PUT call function 'SUSR_ZBV_USER_SYSTEM_PUT' destination new_system exporting usrsection = space iv_local_user_flag_remove = if_identity=>co_true tables systems = lt_systems_dummy userlist = lt_local_bname exceptions communication_failure = 1 message lv_msgtext system_failure = 2 message lv_msgtext others = 3.

BALW_BAPIRETURN_GET2 call function 'BALW_BAPIRETURN_GET2' exporting type = ls_msg-msgty cl = ls_msg-msgid number = ls_msg-msgno par1 = ls_msg-msgv1 par2 = ls_msg-msgv2 par3 = ls_msg-msgv3 par4 = ls_msg-msgv4 importing return = ls_return exceptions others = 0.

SUSR_ZBV_USERS_GET_FROM_REMOTE call function 'SUSR_ZBV_USERS_GET_FROM_REMOTE' exporting source_system = new_system importing et_user_error_messages = lt_messages tables userlist = lt_users_copy retlist = lt_bapiret2 userprofiles = userprofiles useractgrps = useractgrps userlaws = userlaws.

SUSR_ZBV_ADD_USERS_TO_SYSTEM call function 'SUSR_ZBV_ADD_USERS_TO_SYSTEM' exporting new_system = new_system importing et_user_error_messages = lt_messages tables userlist = lt_users_send userprofiles = userprofiles useractgrps = useractgrps retlist = lt_bapiret2 userlaws = userlaws.

SUSR_ZBV_USER_SYSTEM_PUT * call function 'SUSR_ZBV_USER_SYSTEM_PUT' * exporting * copied = 'X' * usrsection = usrsection * tables * systems = lt_ussystem * userlist = lt_userlist.

SUSR_ZBV_USER_SYSTEM_SAVE * call function 'SUSR_ZBV_USER_SYSTEM_SAVE'.

SUSR_ZBV_USER_SYSTEM_PUT * call function 'SUSR_ZBV_USER_SYSTEM_PUT' * destination subsystem * exporting * copied = 'X' * usrsection = usrsection * tables * systems = lt_ussystem * userlist = lt_userlist * exceptions * communication_failure = 2 message msgtext * system_failure = 3 message msgtext * others = 4.

SUSR_ZBV_USER_SYSTEM_SAVE * call function 'SUSR_ZBV_USER_SYSTEM_SAVE' * destination subsystem * exceptions * communication_failure = 2 message msgtext * system_failure = 3 message msgtext * others = 4.

SUSR_ZBV_USER_SYSTEM_PUT call function 'SUSR_ZBV_USER_SYSTEM_PUT' destination new_system exporting copied = if_identity=>co_true usrsection = if_suid_cua_runtime=>gc_role_usrsection tables systems = lt_systemlist userlist = lt_role_uslist exceptions communication_failure = 1 message lv_msgtext system_failure = 2 message lv_msgtext others = 3.

BALW_BAPIRETURN_GET2 call function 'BALW_BAPIRETURN_GET2' exporting type = ls_msg-msgty cl = ls_msg-msgid number = ls_msg-msgno par1 = ls_msg-msgv1 par2 = ls_msg-msgv2 par3 = ls_msg-msgv3 par4 = ls_msg-msgv4 importing return = ls_return exceptions others = 0.

SUSR_ZBV_USER_SYSTEM_SAVE call function 'SUSR_ZBV_USER_SYSTEM_SAVE' destination new_system exceptions communication_failure = 1 message lv_msgtext system_failure = 2 message lv_msgtext others = 3.

BALW_BAPIRETURN_GET2 call function 'BALW_BAPIRETURN_GET2' exporting type = ls_msg-msgty cl = ls_msg-msgid number = ls_msg-msgno par1 = ls_msg-msgv1 par2 = ls_msg-msgv2 par3 = ls_msg-msgv3 par4 = ls_msg-msgv4 importing return = ls_return exceptions others = 0.

SUSR_ZBV_USER_SYSTEM_PUT call function 'SUSR_ZBV_USER_SYSTEM_PUT' destination new_system exporting copied = if_identity=>co_true usrsection = if_suid_cua_runtime=>gc_prof_usrsection tables systems = lt_systemlist userlist = lt_prof_uslist exceptions communication_failure = 1 message lv_msgtext system_failure = 2 message lv_msgtext others = 3.

BALW_BAPIRETURN_GET2 call function 'BALW_BAPIRETURN_GET2' exporting type = ls_msg-msgty cl = ls_msg-msgid number = ls_msg-msgno par1 = ls_msg-msgv1 par2 = ls_msg-msgv2 par3 = ls_msg-msgv3 par4 = ls_msg-msgv4 importing return = ls_return exceptions others = 0.

SUSR_ZBV_USER_SYSTEM_SAVE call function 'SUSR_ZBV_USER_SYSTEM_SAVE' destination new_system exceptions communication_failure = 1 message lv_msgtext system_failure = 2 message lv_msgtext others = 3.

BALW_BAPIRETURN_GET2 call function 'BALW_BAPIRETURN_GET2' exporting type = ls_msg-msgty cl = ls_msg-msgid number = ls_msg-msgno par1 = ls_msg-msgv1 par2 = ls_msg-msgv2 par3 = ls_msg-msgv3 par4 = ls_msg-msgv4 importing return = ls_return exceptions others = 0.

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = title text_question = text_question default_button = '2' display_cancel_button = space importing answer = answer exceptions text_not_found = 0 others = 0.

RS_TREE_GET_NODE_BY_NAME call function 'RS_TREE_GET_NODE_BY_NAME' exporting node_name = node_name importing node_info = ls_snodetext exceptions others = 0.

RS_TREE_SET_NODE call function 'RS_TREE_SET_NODE' exporting node_info = ls_snodetext exceptions others = 0.

SUSR_ZBV_CLEAR_BUFFER call function 'SUSR_ZBV_CLEAR_BUFFER'.

SUSR_ZBV_LANDSCAPE_SEND call function 'SUSR_ZBV_LANDSCAPE_SEND' tables it_bapiret2 = retlist exceptions others = 0.



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