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

RFSBP21FS SAP ABAP Report - Data Transfer from Table BUT021 to BUT021_FS







RFSBP21FS 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 RFSBP21FS 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

FS_BUT021 - Data Transfer to but021_fs


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 RFSBP21FS. "Basic submit
SUBMIT RFSBP21FS AND RETURN. "Return to original report after report execution complete
SUBMIT RFSBP21FS 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_TYPE = D Business Partner Category
Selection Text: S_PART = D Business Partner
Selection Text: S_GROUP = D Grouping
Selection Text: P_TEST = Test Run (w/o DB Change)
Selection Text: P_RUN = Update Run
Selection Text: P_PRDT = Show Log Details
Title: Data Transfer from Table BUT021 to BUT021_FS
Text Symbol: 040 = Selection of Business Partners for Processing
Text Symbol: 009 = Error when Updating Block of Partners
Text Symbol: 008 = No Record for Partner in Table BUT021
Text Symbol: 007 = Number of Correct Records:
Text Symbol: 006 = Number of Incorrect Records:
Text Symbol: 005 = Number of Read Data Records on the Database
Text Symbol: 004 = already exists
Text Symbol: 003 = was imported
Text Symbol: 002 = Process Control for Transfer of Data from Table BUT021 to BUT021_FS
Text Symbol: 001 = Validity Date for All Address Usages


INCLUDES used within this REPORT RFSBP21FS

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:

BUA_BUT021_SELECT_WITH_PARTNER CALL FUNCTION 'BUA_BUT021_SELECT_WITH_PARTNER' EXPORTING i_partner = gt_but000-partner TABLES t_but021 = gt_but021 EXCEPTIONS not_found = 1 OTHERS = 2.

FSBP_READ_BUT021_FS CALL FUNCTION 'FSBP_READ_BUT021_FS' EXPORTING i_partner = gt_but000-partner i_date = '00000000' TABLES t_but021_fs = gt_but021_fs EXCEPTIONS wrong_parameters = 1 not_found = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = 'RFSBP21FS' i_internal_tabname = 'GT_OUT' * I_STRUCTURE_NAME = * I_CLIENT_NEVER_DISPLAY = 'X' i_inclname = 'RFSBP21FS' * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING ct_fieldcat = x_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = ' ' i_callback_program = 'RFSBP21FS' * I_CALLBACK_PF_STATUS_SET = ' ' i_callback_user_command = 'CALLBACK_FORM' * I_STRUCTURE_NAME = 'BUT021' * IS_LAYOUT = it_fieldcat = x_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = XEVENT it_events = xevent * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = gt_out EXCEPTIONS program_error = 1 OTHERS = 2.

FS04_BUPA_BUT021_FS_UPDATE CALL FUNCTION 'FS04_BUPA_BUT021_FS_UPDATE' TABLES t_but021_fs_new = gt_but021_fs_new t_but021_fs_old = gt_but021_fs_old EXCEPTIONS OTHERS = 1.

BUPA_FS04_WRITE_DOCUMENT CALL FUNCTION 'BUPA_FS04_WRITE_DOCUMENT' EXPORTING objectid = hlp_cdhdr-objectid tcode = hlp_cdhdr-tcode utime = hlp_cdhdr-utime udate = hlp_cdhdr-udate username = hlp_cdhdr-username planned_change_number = hlp_cdhdr-planchngnr object_change_indicator = hlp_cdhdr-object_change_indicator planned_or_real_changes = hlp_cdhdr-planned_or_real_changes no_change_pointers = ' ' * UPD_ICDTXT_BUPA_FS04 = ' ' upd_but021_fs = 'U' TABLES icdtxt_bupa_fs04 = icdtxt_bupa_fs04 xbut021_fs = zbut021_fs ybut021_fs = ybut021_fs.



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