CTRM_CREATE_BGRFC_SETTINGS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Raw exposures can be created or updated in Treasury and Risk Management (TRM) for batch updates, deliveries and other logistics documents such as purchase orders and sales orders...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter CTRM_CREATE_BGRFC_SETTINGS 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: P_BATCH = Batch change updates Exposure
Selection Text: P_GR_PO = GR Upd. From Purch. Order
Selection Text: P_ORDER = Transfer Orders in background
Selection Text: SRVR_GRP = D .
Title: Setup RFC destinations and bgRFC Inbound destinations
Text Symbol: 001 = RFC destination
Text Symbol: 002 = successfully created.
Text Symbol: 003 = already exists.
Text Symbol: 004 = Inbound destination
Text Symbol: 005 = successfully created.
Text Symbol: 006 = already exists.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RFC_MODIFY_R3_DESTINATION CALL FUNCTION 'RFC_MODIFY_R3_DESTINATION' EXPORTING destination = iv_destination action = 'I' authority_check = 'X' same_user = 'X' client = sy-mandt qrfcvers = '1' 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 snc_information_failure = 8 snc_internal_failure = 9 destination_is_locked = 10 OTHERS = 11.
BGRFC_CREATE_INB_DEST CALL FUNCTION 'BGRFC_CREATE_INB_DEST' EXPORTING dest_name = iv_destination server_group = srvr_grp queue_prefix_tab = lt_queue_name return_errors_as_tab = 'X' IMPORTING error_message = lt_bgrfc_msg EXCEPTIONS destination_exists = 1 queue_prefix_exists = 2 dest_name_incorrect = 3 queueprefix_incorrect = 4 enqueue_not_available = 5 enqueue_error = 6 no_authorization = 7 destination_not_set = 8 server_group_not_maintained = 9 error_requesting_server_group = 10 classic_qrfc_present = 11 internal_error = 12 OTHERS = 13.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
CTRM_CREATE_BGRFC_SETTINGS - Setup RFC destinations and bgRFC Inbound destinations CTRM_CREATE_BGRFC_SETTINGS - Setup RFC destinations and bgRFC Inbound destinations CTRLDEFN - Include file for controls in BATCH CTMENU_TREE_LIST - Context menu demonstration: Programming on list elements CTMENU_TREE_LIST - Context menu demonstration: Programming on list elements CTMENU_LIST - Context menu demonstration: Programming on list elements