SAP Reports / Programs

ESH_CLEAR_DESTINATION SAP ABAP Report - Program ESH_CLEAR_DESTINATION







ESH_CLEAR_DESTINATION 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 ESH_CLEAR_DESTINATION 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 ESH_CLEAR_DESTINATION. "Basic submit
SUBMIT ESH_CLEAR_DESTINATION AND RETURN. "Return to original report after report execution complete
SUBMIT ESH_CLEAR_DESTINATION 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_BIRFC = Source Logical System for BW
Selection Text: P_LOGSYS = Source Logical System
Selection Text: P_RFC_AU = RFC Destination for authority
Selection Text: P_RFC_EX = RFC Destination for extraction
Selection Text: P_SC_TYP = Search Connector Type
Selection Text: P_SRFCAP = Appliance Logical System
Title: Program ESH_CLEAR_DESTINATION


INCLUDES used within this REPORT ESH_CLEAR_DESTINATION

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:

RFC_READ_R3_DESTINATION CALL FUNCTION 'RFC_READ_R3_DESTINATION' EXPORTING destination = lv_birfc authority_check = ' ' * BYPASS_BUF = 'X' IMPORTING user = lv_usr_aleremote "the user in the source system EXCEPTIONS authority_not_available = 1 destination_not_exist = 2 information_failure = 3 internal_failure = 4 OTHERS = 5.

RSAR_LOGICAL_SYSTEM_DELETE CALL FUNCTION 'RSAR_LOGICAL_SYSTEM_DELETE' EXPORTING i_logsys = p_logsys i_force_delete = 'X' i_no_transport = 'X' i_no_authority = 'X' EXCEPTIONS unknown_logsys = 1 cancelled = 2 not_allowed = 3 object_locked = 4 delete_error_on_sourcesystem = 5 remote_connect_failed = 6 unauthorized = 7 OTHERS = 8.

RFC_READ_R3_DESTINATION CALL FUNCTION 'RFC_READ_R3_DESTINATION' EXPORTING destination = p_rfc_ex authority_check = ' ' bypass_buf = ' ' EXCEPTIONS authority_not_available = 1 destination_not_exist = 2 information_failure = 3 internal_failure = 4 OTHERS = 5.

BAPI_USER_DELETE CALL FUNCTION 'BAPI_USER_DELETE' DESTINATION p_rfc_ex EXPORTING * username = co_user_source_system username = lv_usr_aleremote TABLES return = lt_return.

RFC_READ_R3_DESTINATION CALL FUNCTION 'RFC_READ_R3_DESTINATION' EXPORTING destination = p_rfc_ex authority_check = ' ' bypass_buf = ' ' EXCEPTIONS authority_not_available = 1 destination_not_exist = 2 information_failure = 3 internal_failure = 4 OTHERS = 5.

RPY_FUNCTIONMODULE_READ CALL FUNCTION 'RPY_FUNCTIONMODULE_READ' DESTINATION p_rfc_ex EXPORTING functionname = lv_fc_name1 EXCEPTIONS error_message = 1 function_not_found = 2 invalid_name = 3 OTHERS = 4.

SALF_RFC_MODIFY_DESTINATION CALL FUNCTION 'SALF_RFC_MODIFY_DESTINATION' DESTINATION p_rfc_ex EXPORTING destination = p_srfcap action = 'D' EXCEPTIONS authority_not_available = 1 destination_already_exist = 2 destination_not_exist = 3 destination_enqueue_reject = 4 information_failure = 5 trfc_entry_invalid = 6 internal_failure = 7 OTHERS = 8.

BAPI_USER_DELETE CALL FUNCTION 'BAPI_USER_DELETE' EXPORTING username = p_biuser TABLES return = lt_return.

RFC_MODIFY_R3_DESTINATION CALL FUNCTION 'RFC_MODIFY_R3_DESTINATION' EXPORTING destination = lv_dest action = co_action_delete authority_check = space EXCEPTIONS authority_not_available = 01 destination_already_exist = 02 destination_not_exist = 03 destination_enqueue_reject = 04 information_failure = 05 trfc_entry_invalid = 06 internal_failure = 07 snc_information_failure = 08 snc_internal_failure = 09 destination_is_locked = 10.

RFC_MODIFY_R3_DESTINATION CALL FUNCTION 'RFC_MODIFY_R3_DESTINATION' EXPORTING destination = lv_dest action = co_action_delete authority_check = space EXCEPTIONS authority_not_available = 01 destination_already_exist = 02 destination_not_exist = 03 destination_enqueue_reject = 04 information_failure = 05 trfc_entry_invalid = 06 internal_failure = 07 snc_information_failure = 08 snc_internal_failure = 09 destination_is_locked = 10.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.



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