SAP Reports / Programs

RFTBCM10 SAP ABAP Report - Proposal List for Netting







RFTBCM10 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report to select transactions for netting...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 RFTBCM10 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

TBR5 - Treasury: Netting proposal list


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 RFTBCM10. "Basic submit
SUBMIT RFTBCM10 AND RETURN. "Return to original report after report execution complete
SUBMIT RFTBCM10 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: S_SGSART = D .
Selection Text: S_SFHAAR = D .
Selection Text: S_SANLF = D .
Selection Text: S_RFHA = D .
Selection Text: S_KONTRH = D .
Selection Text: S_DZTERM = Due Date
Selection Text: S_BUKRS = D .
Selection Text: P_VAR = D .
Selection Text: P_CBORDR = D .
Selection Text: P_CBFHA3 = D .
Selection Text: P_CBFHA2 = D .
Selection Text: P_CBFHA1 = D .
Selection Text: P_CBERR4 = despite individ. payment flag
Selection Text: P_CBERR3 = that are already netted
Selection Text: P_CBERR2 = without payment request flag
Selection Text: P_CBERR1 = with incomplete payment data
Title: Proposal List for Netting
Text Symbol: VAR = Variance
Text Symbol: SNG = despite indicator for individual payment
Text Symbol: SL4 = Selection of Additional Transactions
Text Symbol: SL3 = Further Selections
Text Symbol: SL2 = Application
Text Symbol: SL1 = General Selections
Text Symbol: PRQ = without payment request indicator
Text Symbol: PDT = with incomplete payment data
Text Symbol: NET = that are already netted
Text Symbol: H04 = | |Amount |Flow type |HBank AccID Payer/ee |PBank Pmnt meth. Supp.
Text Symbol: H03 = |Transaction |Product type |Transaction type |Activity category |Status
Text Symbol: H02 = |Netting |Amount Flow type |HBank AccID Payer/ee Bank Pmnt meth. Supp|PR IP PD |
Text Symbol: H01 = |Transaction |Product type |Transaction type | |
Text Symbol: 011 = Output Control
Text Symbol: 009 = empty
Text Symbol: 003 = Due Date
Text Symbol: 002 = Partner
Text Symbol: 001 = Company Code
Text Symbol: 000 = /internal/


INCLUDES used within this REPORT RFTBCM10

INCLUDE LTB91FNV.
INCLUDE MF700FNV.




INCLUDE IFTBUCOM.


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:

TB_DEAL_BUKRS_CHECK CALL FUNCTION 'TB_DEAL_BUKRS_CHECK' TABLES i_tab_companycode = s_bukrs e_tab_companycode = l_rng_cc EXCEPTIONS AUTHORITY = 1 OTHERS = 2 .

TB_REF_COMPENSATION_AUTHORITY * call function 'TB_REF_COMPENSATION_AUTHORITY' * exporting * mode = modus_create.

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'SELECTION' EXCEPTIONS OTHERS = 0.

C_DIC_DOMAIN_VALUE_TEXT_READ * CALL FUNCTION 'C_DIC_DOMAIN_VALUE_TEXT_READ' * EXPORTING * NAME = NAME * SPRAS = SPRAS * VALUE = VALUE * IMPORTING * TEXT = TEXT * EXCEPTIONS * NOT_FOUND = 01.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = 'SET_ALV_STATUS' i_callback_user_command = 'USER_COMMAND' is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_sort = gt_sort[] it_events = gt_events[] i_tabname_header = g_tabname_header i_tabname_item = g_tabname_item i_save = g_save is_variant = g_variant is_keyinfo = gs_keyinfo TABLES t_outtab_header = netting_header t_outtab_item = ausgabe_daten.

TB_DEAL_DISPLAY_OBJNR * CALL FUNCTION 'TB_DEAL_DISPLAY_OBJNR' * EXPORTING * I_OBJNR = AUSGABE_DATEN-OBJNR.

TB_DEAL_MAINTAIN_OBJNR CALL FUNCTION 'TB_DEAL_MAINTAIN_OBJNR' EXPORTING i_objnr = pi_objnr i_transactiontype = tr_type.

TB_REF_TRTM_DEAL_READ CALL FUNCTION 'TB_REF_TRTM_DEAL_READ' EXPORTING i_bukrs = it_marki-bukrs i_rfha = it_marki-rfha * I_NORDER = '00000000' * I_RANLD = ' ' i_dzterm = it_marki-dzterm i_kontrh = it_marki-kontrh TABLES t_flows = tmp_flows i_so_bukrs = s_bukrs i_so_rfha = s_rfha i_so_kontrh = s_kontrh i_so_dzterm = s_dzterm i_so_rantyp = r_rantyp EXCEPTIONS deal_not_found = 1 wrong_payment_date = 2 wrong_partner = 3 positions_not_found = 4 wrong_call = 5 OTHERS = 6 .

TB_REF_COMPENSATION_ADD_FLOWS CALL FUNCTION 'TB_REF_COMPENSATION_ADD_FLOWS' EXPORTING i_head = w_ch i_no_enqueue = par_no_enq IMPORTING e_head = w_ch TABLES t_crncy = t_cc t_posit = t_cp t_flows = tmp_flows.

TB_REF_COMPENSATION_CHECK CALL FUNCTION 'TB_REF_COMPENSATION_CHECK' EXPORTING * I_MODE = 'CREA' i_head = w_ch IMPORTING i_status = i_stat_value TABLES t_crncy = t_cc t_posit = t_cp .

TB_REF_COMPENSATION_AUTHORITY CALL FUNCTION 'TB_REF_COMPENSATION_AUTHORITY' EXPORTING mode = modus_create EXCEPTIONS authority = 1 OTHERS = 2.

TB_REF_COMPENSATION_LIST CALL FUNCTION 'TB_REF_COMPENSATION_LIST' EXPORTING i_head = w_ch i_mode = modus_create * flg_as_list_window = ' ' * FLG_DISPLAY_ONLY = 'X' IMPORTING e_commit = hlp_commit e_okcode = hlp_okcode e_reftyp = w_ch-reftyp e_refnr = w_ch-refnr TABLES t_crncy = t_cc t_posit = t_cp EXCEPTIONS internal_error = 1 OTHERS = 2.

TB_REF_COMPENSATION_MAINTAIN CALL FUNCTION 'TB_REF_COMPENSATION_MAINTAIN' EXPORTING i_mode = modus_create i_head = w_ch i_position_upd_req = 'X' IMPORTING e_reftyp = w_ch-reftyp e_refnr = w_ch-refnr e_commit = hlp_commit TABLES t_crncy = t_cc t_posit = t_cp * t_flows = t_flows_upd EXCEPTIONS compensation_not_found = 1 no_authority = 2 compensation_locked = 3 object_locked = 4 internal_error = 5 OTHERS = 6.

FTR_PARTNER_GET_TEXT CALL FUNCTION 'FTR_PARTNER_GET_TEXT' EXPORTING pi_companycode = bukrs pi_partner_id = partner IMPORTING pe_partner_text = partner_txt.

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'OUTPUT' EXCEPTIONS OTHERS = 0.

TRCA_BATCH_HEADING CALL FUNCTION 'TRCA_BATCH_HEADING' EXPORTING i_bhdgd = w_bhdgd * IMPORTING * E_BHDGD = .

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = t_header.

TB_REF_REFERENCE_VALUES CALL FUNCTION 'TB_REF_REFERENCE_VALUES' EXPORTING * DISPLAY = ' ' reftyp = vtb_ch-reftyp * title_list = ' ' status = hlp_status IMPORTING sel_reftyp = vtb_ch-reftyp sel_refnr = vtb_ch-refnr EXCEPTIONS OTHERS = 1.






HELP_DOCU_SHOW_FOR_FIELD * CALL FUNCTION 'HELP_DOCU_SHOW_FOR_FIELD' * EXPORTING ** display = ' ' * fieldname = 'XREFNR' ** FIELDVALUE = ' ' * keyword = ' ' * tabname = 'VTB_CH' ** HELP_IN_POPUP = ' ' * EXCEPTIONS * OTHERS = 1.

HELP_OBJECT_SHOW_FOR_FIELD CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD' EXPORTING * DOKLANGU = SY-LANGU * DOKTITLE = ' ' * CALLED_BY_TCODE = * CALLED_BY_PROGRAM = * CALLED_BY_DYNP = CALLED_FOR_TAB = 'VTB_CH' CALLED_FOR_FIELD = 'XREFNR' * CALLED_FOR_TAB_FLD_BTCH_INPUT = * CALLED_BY_CUAPROG = * CALLED_BY_CUASTAT = * MERGE_DZ_IF_AVAILABLE = * MEMORYID = * EXPLICIT_MEMORYID = ' ' * TABLES * LINKS = * EXCLUDEFUN = EXCEPTIONS OBJECT_NOT_FOUND = 1 SAPSCRIPT_ERROR = 2 OTHERS = 3 .

FTR_PARTNER_GET_VALUES CALL FUNCTION 'FTR_PARTNER_GET_VALUES' * EXPORTING * PI_COMPANYCODE = ' ' * PI_PRODUCTTYPE = ' ' * PI_TRANSACTIONTYPE = ' ' * PI_PARTNER_ROLE = 'TR1000' IMPORTING pe_partner = partner .

TB_PRODUCTCATEGORY_VALUES CALL FUNCTION 'TB_PRODUCTCATEGORY_VALUES' EXPORTING display = xfalse IMPORTING selection = sanlf TABLES t_applications = t_appl EXCEPTIONS OTHERS = 1.

TB_PRODUCTTYPE_VALUES CALL FUNCTION 'TB_PRODUCTTYPE_VALUES' EXPORTING display = xfalse IMPORTING selection = sgsart TABLES t_applications = t_appl t_productcategories = t_prod_cat EXCEPTIONS OTHERS = 1.

TB_DEALTYPE_VALUES CALL FUNCTION 'TB_DEALTYPE_VALUES' EXPORTING display = xfalse IMPORTING selection_dealtype = sfhaar selection_producttype = hlp_sgsart TABLES t_applications = t_appl t_productcategories = t_prod_cat t_producttypes = t_prod_type EXCEPTIONS OTHERS = 1.

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

TB_ACCOUNTREFERENCE_VALUES CALL FUNCTION 'TB_ACCOUNTREFERENCE_VALUES' EXPORTING display = xfalse IMPORTING selection = rrefko TABLES t_applications = t_appl * T_COMPANYCODES = EXCEPTIONS OTHERS = 1.

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.

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.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_internal_tabname = 'NETTING_HEADER' i_structure_name = 'REF_NET_PROP_HEADER' CHANGING ct_fieldcat = i_lt_fieldcat[].

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_internal_tabname = 'AUSGABE_DATEN' i_structure_name = 'REF_NET_PROP_ITEM' CHANGING ct_fieldcat = i_lt_fieldcat[].

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = i_lt_events.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = g_save i_tabname_header = g_tabname_header i_tabname_item = g_tabname_item IMPORTING e_exit = g_exit es_variant = gx_variant EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant.

TB_REF_TRTM_DEAL_READ CALL FUNCTION 'TB_REF_TRTM_DEAL_READ' TABLES t_flows = t_flows i_so_bukrs = s_bukrs i_so_rfha = s_rfha i_so_kontrh = s_kontrh i_so_dzterm = s_dzterm i_so_rantyp = r_rantyp i_so_sanlf = s_sanlf i_so_sgsart = s_sgsart i_so_sfhaart = s_sfhaar EXCEPTIONS deal_not_found = 1 wrong_payment_date = 2 wrong_partner = 3 positions_not_found = 4 OTHERS = 5.

TB_CF_SELECT * CALL FUNCTION 'TB_CF_SELECT' * TABLES * T_CF = T_FLOWS * I_SO_BUKRS = S_BUKRS * I_SO_RFHA = S_RFHA * I_SO_RPZAHL = S_KONTRH * I_SO_DZTERM = S_DZTERM * EXCEPTIONS * OTHERS = 1.

TB_REF_OBJECTS_GET_MLT CALL FUNCTION 'TB_REF_OBJECTS_GET_MLT' TABLES t_refon = t_on_old t_refh = t_h_old t_refcc = t_cc_old i_so_reftyp = r_reftyp * I_SO_REFNR = * I_SO_OBJNR = i_so_status = r_status i_so_dzterm = s_dzterm i_so_kontrh = s_kontrh EXCEPTIONS reference_not_found = 0 "/no message necessary! internal_error = 2 OTHERS = 3.

TB_REF_OBJECTS_GET



* CALL FUNCTION 'TB_REF_OBJECTS_GET' * EXPORTING * IMP_REFTYP = 'KMP' ** IMP_REFNR = ' ' * IMP_STATUS = '0' ** imp_dzterm = p_dzterm ** imp_kontrh = p_kontrh * TABLES * T_REFON = T_ON_OLD * T_REFH = T_H_OLD * T_REFCC = T_CC_OLD * EXCEPTIONS * REFTYP_UNKNOWN = 1 * REFERENCE_NOT_FOUND = 2 * INTERNAL_ERROR = 3 * OTHERS = 4.

TB_DEAL_DISPLAY_OBJNR * CALL FUNCTION 'TB_DEAL_DISPLAY_OBJNR' * EXPORTING * I_OBJNR = AUSGABE_DATEN-OBJNR.

TB_DEAL_MAINTAIN_OBJNR CALL FUNCTION 'TB_DEAL_MAINTAIN_OBJNR' EXPORTING i_objnr = ausgabe_daten_old-objnr i_transactiontype = tr_type.

TRCA_COMPANYCODE_GETLIST CALL FUNCTION 'TRCA_COMPANYCODE_GETLIST' TABLES company_list = l_company_list EXCEPTIONS not_found = 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 RFTBCM10 or its description.