SAP Reports / Programs | Financial Services | Business Partner(FS-BP) SAP FS

RFTBSTR1 SAP ABAP Report - Standing instructions: Evaluate business partner







RFTBSTR1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program allows you to display the different standing instructions of this partner in a list of all the business partners you have selected, depending on the contract type, product category, transaction type and product type...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 RFTBSTR1 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

TBI8 - Standing Instructions: Evaluations


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 RFTBSTR1. "Basic submit
SUBMIT RFTBSTR1 AND RETURN. "Return to original report after report execution complete
SUBMIT RFTBSTR1 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: ZAHLV = Payment Details
Selection Text: SGSART = Product Type
Selection Text: SFHAART = Transaction type
Selection Text: SANLF = Product Category
Selection Text: RANTYP = Contract Type
Selection Text: P_ZGP = SAP Business Partner
Selection Text: PARTNR = Partner
Selection Text: LVM_NAN = Only display deletion flags
Selection Text: LVM_AUS = Do not display deletion flags
Selection Text: LVM_AN = Display deletion flags
Selection Text: KORRES = Correspondence
Selection Text: BUKRS = Company Code
Selection Text: BERECHTI = Authorizations
Selection Text: ABGELB = Derived Flows
Title: Standing instructions: Evaluate business partner
Text Symbol: 101 = Obsolete Function
Text Symbol: 100 =
Text Symbol: 050 = No values selected
Text Symbol: 041 = Derived flows for business partner
Text Symbol: 040 = Derived Flows
Text Symbol: 031 = Correspondence for business partner
Text Symbol: 030 = Correspondence
Text Symbol: 021 = Payment details for business partner
Text Symbol: 020 = Payment Details
Text Symbol: 017 = List output: Partners flagged for deletion
Text Symbol: 016 = List output: Partners not flagged for deletion
Text Symbol: 015 = List output: Partners flagged for deletion underlined in red
Text Symbol: 014 = Business Partner
Text Symbol: 013 = List lines
Text Symbol: 012 = Transaction Authorizations
Text Symbol: 011 = Header Table
Text Symbol: 010 = Transaction Authorizations
Text Symbol: 006 = Deletion flags
Text Symbol: 005 = List Selection
Text Symbol: 004 = General selections
Text Symbol: 003 = Business partner
Text Symbol: 002 = Company code
Text Symbol: 001 = Line in address





INCLUDES used within this REPORT RFTBSTR1

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:

POPUP_DISPLAY_TEXT_USER_BUTTON * CALL FUNCTION 'POPUP_DISPLAY_TEXT_USER_BUTTON' * EXPORTING * popup_title = text-101 * docu_class = 'DT' * text_object = 'FSBP_OBSOLETE_FUNCTIONALITY' * display_ok_button = '' * TABLES * parameter = parameters.

BPAR_S_BPCENTRAL_PARTNER_PREP CALL FUNCTION 'BPAR_S_BPCENTRAL_PARTNER_PREP' EXPORTING date_in = sy-datum i_zgp = p_zgp IMPORTING partner_out = bp000 e_partner = partner_zgp e_partnr_tr = partner EXCEPTIONS no_partner_selected = 1 partner_not_found = 2 partner_role_not_found = 3 OTHERS = 4.

FSBP_READ_PARTNER_F4 CALL FUNCTION 'FSBP_READ_PARTNER_F4' IMPORTING e_partner = partner_zgp.

BPAR_S_BPCENTRAL_PARTNER_PREP CALL FUNCTION 'BPAR_S_BPCENTRAL_PARTNER_PREP' EXPORTING date_in = sy-datum i_zgp = p_zgp IMPORTING partner_out = bp000 e_partner = partner_zgp e_partnr_tr = partner EXCEPTIONS no_partner_selected = 1 partner_not_found = 2 partner_role_not_found = 3 OTHERS = 4.

FSBP_READ_PARTNER_F4 CALL FUNCTION 'FSBP_READ_PARTNER_F4' IMPORTING e_partner = partner_zgp.

FSBP_READ_PARTNER_SHOW CALL FUNCTION 'FSBP_READ_PARTNER_SHOW' EXPORTING i_partner = b_item_table-partnr EXCEPTIONS OTHERS = 0.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_end_of_list.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.

BPAR_P_ADDRESS_READ_INTO_PRINT CALL FUNCTION 'BPAR_P_ADDRESS_READ_INTO_PRINT' EXPORTING partner = b_item_table-partnr IMPORTING address = address EXCEPTIONS address = 1 partner = 2 OTHERS = 3.

FSBP_READ_ADDRESS_PRINT CALL FUNCTION 'FSBP_READ_ADDRESS_PRINT' EXPORTING i_partner = b_item_table-partnr IMPORTING address_short_form_s = lv_addsc.

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 = g_status_set * i_callback_user_command = g_user_command is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_sort = gt_sort i_tabname_header = 'GT_HEADER_TABLE' i_tabname_item = 'B_ITEM_TABLE' is_keyinfo = gs_keyinfo it_events = gt_events TABLES t_outtab_header = gt_header_table t_outtab_item = b_item_table EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = g_status_set * i_callback_user_command = g_user_command is_layout = gs_layout it_sort = gt_sort it_fieldcat = gt_fieldcat[] i_tabname_header = 'GT_HEADER_TABLE' i_tabname_item = 'Z_ITEM_TABLE' is_keyinfo = gs_keyinfo it_events = gt_events TABLES t_outtab_header = gt_header_table t_outtab_item = z_item_table EXCEPTIONS program_error = 1 OTHERS = 2.

TB_SI_HIERARCHY_CREATE CALL FUNCTION 'TB_SI_HIERARCHY_CREATE' TABLES hierarchy = hierarchy hierarchy_all = hierarchy_all ranges_rantyp_tab = rantyp ranges_rantyp = rantyp ranges_sanlf = sanlf ranges_sfhaart = sfhaart ranges_sgsart = sgsart EXCEPTIONS no_hierarchy = 1 OTHERS = 2.

BPAR_P_ADDRESS_READ_INTO_PRINT CALL FUNCTION 'BPAR_P_ADDRESS_READ_INTO_PRINT' EXPORTING partner = z_item_table-partnr IMPORTING address = address EXCEPTIONS address = 1 partner = 2 OTHERS = 3.

FSBP_READ_ADDRESS_PRINT CALL FUNCTION 'FSBP_READ_ADDRESS_PRINT' EXPORTING i_partner = z_item_table-partnr IMPORTING address_short_form_s = lv_addsc.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = g_status_set is_layout = gs_layout it_sort = gt_sort it_fieldcat = gt_fieldcat[] i_tabname_header = 'GT_HEADER_TABLE' i_tabname_item = 'K_ITEM_TABLE' is_keyinfo = gs_keyinfo it_events = gt_events TABLES t_outtab_header = gt_header_table t_outtab_item = k_item_table EXCEPTIONS program_error = 1 OTHERS = 2.

BPAR_P_ADDRESS_READ_INTO_PRINT CALL FUNCTION 'BPAR_P_ADDRESS_READ_INTO_PRINT' EXPORTING partner = k_item_table-partnr IMPORTING address = address EXCEPTIONS address = 1 partner = 2 OTHERS = 3.






FSBP_READ_ADDRESS_PRINT CALL FUNCTION 'FSBP_READ_ADDRESS_PRINT' EXPORTING i_partner = k_item_table-partnr IMPORTING address_short_form_s = lv_addsc.

BPAR_CHECK_DOMAENE CALL FUNCTION 'BPAR_CHECK_DOMAENE' EXPORTING fieldname = 'CORR_STAT' tablename = 'VTBSTA2' value_key = key TABLES value_tab = i_dd07v EXCEPTIONS error = 1 illegal_name = 2 illegal_value = 3 no_domain_found = 4 no_values_found = 5 OTHERS = 6.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = g_status_set * i_callback_user_command = g_user_command is_layout = gs_layout it_sort = gt_sort it_fieldcat = gt_fieldcat[] i_tabname_header = 'GT_HEADER_TABLE' i_tabname_item = 'A_ITEM_TABLE' is_keyinfo = gs_keyinfo it_events = gt_events TABLES t_outtab_header = gt_header_table t_outtab_item = a_item_table EXCEPTIONS program_error = 1 OTHERS = 2.

BPAR_P_ADDRESS_READ_INTO_PRINT CALL FUNCTION 'BPAR_P_ADDRESS_READ_INTO_PRINT' EXPORTING partner = a_item_table-partnr IMPORTING address = address EXCEPTIONS address = 1 partner = 2 OTHERS = 3.

FSBP_READ_ADDRESS_PRINT CALL FUNCTION 'FSBP_READ_ADDRESS_PRINT' EXPORTING i_partner = a_item_table-partnr IMPORTING address_short_form_s = lv_addsc.

BPAR_R_SEL_PART CALL FUNCTION 'BPAR_R_SEL_PART' EXPORTING field_ranges = field_ranges TABLES select_fields = tf_bp000 * SELECT_PARTNERS = partner_out = bp000_out EXCEPTIONS OTHERS = 1.

TB_PARTNER_CHECK CALL FUNCTION 'TB_PARTNER_CHECK' EXPORTING companycode = bukrs flg_auth_indicator_check = ' ' flg_customer = ' ' flg_delete_indicator_check = 'X' flg_release_indicator_check = 'X' partner = rpzahl role = ' ' sfhaart = ' ' sgsart = ' '.

TB_DEV_PAYER_CHECK CALL FUNCTION 'TB_DEV_PAYER_CHECK' EXPORTING bukrs = bukrs payer = rpzahl IMPORTING dev_payer = rpzahla * DEV_PAYER_CUSTOMER = * PAYER_CUSTOMER = xdev_payer = rpzahla_name xpayer = rpzahl_name.

TB_PARTNER_BANKACCOUNT_VALUES CALL FUNCTION 'TB_PARTNER_BANKACCOUNT_VALUES' EXPORTING * display = act-display partner = rpzahl IMPORTING selected_value = rpbank.

TB_PARTNER_BANKACCOUNT_VALUES CALL FUNCTION 'TB_PARTNER_BANKACCOUNT_VALUES' EXPORTING * display = act-display partner = rpzahla IMPORTING selected_value = rpbank.

BPAR_R_PARTNER_CUSTOMER_CONV CALL FUNCTION 'BPAR_R_PARTNER_CUSTOMER_CONV' EXPORTING customer_in = ' ' partner_in = regulierer IMPORTING customer_out = regulierer * PARTNER_OUT = EXCEPTIONS no_customer_found = 01 no_partner_found = 02.

READ_BANK_ADDRESS CALL FUNCTION 'READ_BANK_ADDRESS' EXPORTING bank_country = knbk-banks bank_number = knbk-bankl IMPORTING bnka_wa = bnka EXCEPTIONS not_found = 01.



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