SAP Reports / Programs

RFTBCM20 SAP ABAP Report - Collective Processing: References







RFTBCM20 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program gives you an overview of all references which meet the selection criteria you enter...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 RFTBCM20 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

TBRL - Treasury: Coll. proc. references


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 RFTBCM20. "Basic submit
SUBMIT RFTBCM20 AND RETURN. "Return to original report after report execution complete
SUBMIT RFTBCM20 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: SO_TYP = D .
Selection Text: SO_STAT = D .
Selection Text: SO_PARTN = D .
Selection Text: SO_NR = D .
Selection Text: SO_DDATE = D .
Selection Text: P_VAR = D .
Selection Text: P_RLDEPO = D .
Selection Text: P_RFHA = D .
Selection Text: P_RANL = D .
Selection Text: P_DARL = D .
Selection Text: P_CBSE = D .
Selection Text: P_CBMM = D .
Selection Text: P_CBLO = D .
Selection Text: P_CBFX = D .
Selection Text: P_CBDE = D .
Selection Text: P_CBCLP = Class Positions in Sec. Acct
Selection Text: P_BUKRS = D .
Title: Collective Processing: References
Text Symbol: SL4 = Output Control
Text Symbol: SL3 = Other Selection Parameters for Netting Transactions
Text Symbol: SL2 = Application
Text Symbol: SL1 = General Selections
Text Symbol: S02 = ID
Text Symbol: S01 = Securities Account
Text Symbol: POS = Selection of Class Positions in Security Account


INCLUDES used within this REPORT RFTBCM20

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:

ORDER_STATUS_DETERMINE CALL FUNCTION 'ORDER_STATUS_DETERMINE' EXPORTING i_bukrs = p_bukrs i_norder = p_order * I_TYPE = * IMPORTING * E_STATUS = * E_ORDER_RECORDS = * E_MAIN_TRANSACTION_MAX_STATUS = * E_MEMO_RECORD = * E_ACTUAL_RECORD = * E_REVERSED_RECORDS = * E_ORDER_RECORD_FOR_TYPE = EXCEPTIONS * i_bukrs_initial = 1 * i_norder_initial = 2 * no_entries_found = 3 * no_entry_for_type = 4 OTHERS = 5.

OBJECT_NUMBER_GET_T2 CALL FUNCTION 'OBJECT_NUMBER_GET_T2' EXPORTING bukrs = p_bukrs norder = p_order IMPORTING objnr = w_objnr EXCEPTIONS OTHERS = 1.

TRCA_LOAN_EXISTENCE_CHECK CALL FUNCTION 'TRCA_LOAN_EXISTENCE_CHECK' EXPORTING i_companycode = p_bukrs i_contract_no = p_darl i_arc_cat_indicator = space IMPORTING e_object_no = so_onr-low EXCEPTIONS contract_not_found = 1 OTHERS = 2.

OBJECT_NUMBER_GET_T4 CALL FUNCTION 'OBJECT_NUMBER_GET_T4' EXPORTING bukrs = p_bukrs rfha = '*' IMPORTING objnr = so_onr-low.

OBJECT_NUMBER_GET_T4 CALL FUNCTION 'OBJECT_NUMBER_GET_T4' EXPORTING bukrs = g_wa_bukrs-low rfha = '*' IMPORTING objnr = so_onr-low.

OBJECT_NUMBER_GET_T5 CALL FUNCTION 'OBJECT_NUMBER_GET_T5' EXPORTING bukrs = p_bukrs rfha = '*' IMPORTING objnr = so_onr-low.

OBJECT_NUMBER_GET_T5 CALL FUNCTION 'OBJECT_NUMBER_GET_T5' EXPORTING bukrs = g_wa_bukrs-low rfha = '*' IMPORTING objnr = so_onr-low.

OBJECT_NUMBER_GET_T6 CALL FUNCTION 'OBJECT_NUMBER_GET_T6' EXPORTING bukrs = p_bukrs rfha = '*' IMPORTING objnr = so_onr-low.

OBJECT_NUMBER_GET_T6 CALL FUNCTION 'OBJECT_NUMBER_GET_T6' EXPORTING bukrs = g_wa_bukrs-low rfha = '*' IMPORTING objnr = so_onr-low.

OBJECT_NUMBER_GET_T1 CALL FUNCTION 'OBJECT_NUMBER_GET_T1' EXPORTING bukrs = p_bukrs ranl = '*' IMPORTING objnr = so_onr-low.

OBJECT_NUMBER_GET_T1 CALL FUNCTION 'OBJECT_NUMBER_GET_T1' EXPORTING bukrs = g_wa_bukrs-low ranl = '*' IMPORTING objnr = so_onr-low.

OBJECT_NUMBER_GET_T2 * CALL FUNCTION 'OBJECT_NUMBER_GET_T2' geht nicht da * FB nicht-numerische Zeichen '*' in '00000000' umsetzt! MOVE: 'T2' TO so_onr-low+0(2), p_bukrs TO so_onr-low+2(4), '*' TO so_onr-low+6(1).

TB_REF_REFERENCE_CREATE_GUI * CALL FUNCTION 'TB_REF_REFERENCE_CREATE_GUI' * EXPORTING * IMP_REFTYP = SO_TYP-LOW * IMP_REFNR = SO_NR-LOW * IMP_BUKRS = P_BUKRS * IMP_RFHA = P_RFHA * IMP_DZTERM = SO_DDATE-LOW * FLG_GUI = 'X' * IMPORTING * EXP_CH = VTB_CH * EXP_CP = VTB_CP * EXP_OK = OKCODE * TABLES * T_REFH = IT_REFH * T_REFON = IT_REFON * EXCEPTIONS * INTERNAL_ERROR = 2 * OTHERS = 3.

TB_REF_OBJECTS_GET_LIST_MLT CALL FUNCTION 'TB_REF_OBJECTS_GET_LIST_MLT' EXPORTING * flg_with_refnr = con_refnr * flg_with_details = con_details * flg_as_list_window = con_window * flg_display_only = con_display flg_with_refnr = g_refnr flg_with_details = g_detail flg_as_list_window = p_window flg_display_only = p_disp imp_mode = p_mode title_text = sy-title(60) i_variant = alv_variant TABLES t_refon = it_refon t_refh = it_refh * T_REFCC = i_so_reftyp = so_typ i_so_refnr = so_nr i_so_objnr = so_onr i_so_status = so_stat i_so_dzterm = so_ddate i_so_kontrh = so_partn CHANGING pc_tab_fut_pos = g_tab_positions EXCEPTIONS reference_not_found = 1 object_type_unknown = 2 internal_error = 3 OTHERS = 4.

BPAR_S_BPCENTRAL_PARTNER_PREP * CALL FUNCTION 'BPAR_S_BPCENTRAL_PARTNER_PREP' * IMPORTING * partner_out = hlp_bp000 * EXCEPTIONS * OTHERS = 4.

FTR_PARTNER_GET_VALUES CALL FUNCTION 'FTR_PARTNER_GET_VALUES' EXPORTING pi_companycode = p_bukrs * PI_PRODUCTTYPE = ' ' * PI_TRANSACTIONTYPE = ' ' * PI_PARTNER_ROLE = 'TR1000' IMPORTING pe_partner = partnr .

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr * TRANSLATE_TO_UPPER = ' ' TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 OTHERS = 9.

TB_REF_REFERENCE_VALUES CALL FUNCTION 'TB_REF_REFERENCE_VALUES' * EXPORTING *** DISPLAY = ' ' * reftyp = so_typ-low *** title_list = ' ' * status = hlp_status IMPORTING sel_reftyp = hlp_reftyp sel_refnr = refnr TABLES i_so_reftyp = so_typ i_so_status = so_stat i_so_objnr = so_onr EXCEPTIONS OTHERS = 1.

DYNP_VALUES_UPDATE





CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpfields EXCEPTIONS OTHERS = 1.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = variant i_tabname_header = alv_name_head i_tabname_item = alv_name_item * it_default_fieldcat = i_save = save IMPORTING e_exit = h_exit es_variant = h_variant EXCEPTIONS not_found = 1.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = save CHANGING cs_variant = h_variant.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = save CHANGING cs_variant = h_variant EXCEPTIONS not_found = 1.

TB_DEAL_SINGLE_BUKRS_CHECK CALL FUNCTION 'TB_DEAL_SINGLE_BUKRS_CHECK' EXPORTING i_companycode = u_bukrs.

TRCA_COMPANYCODE_GETLIST CALL FUNCTION 'TRCA_COMPANYCODE_GETLIST' TABLES company_list = l_itab_bukrs_all EXCEPTIONS not_found = 0 OTHERS = 0.

TB_DEAL_BUKRS_CHECK CALL FUNCTION 'TB_DEAL_BUKRS_CHECK' TABLES i_tab_companycode = c_ran_bukrs[] e_tab_companycode = c_ran_bukrs[] EXCEPTIONS authority = 1 OTHERS = 2.



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