SAP Reports / Programs | Financial Services | Loans Management(FS-CML) SAP FS

RFVDBSTR SAP ABAP Report - Loans: Balance Sheet Transfer







RFVDBSTR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Balance Sheet Transfer for Loans If you make changes in Loans Management or to a business partner of a contract leading to changes to the account assignment reference, the loans affected are flagged for balance sheet transfer...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 RFVDBSTR 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

FNBT - Balance Sheet Transfer


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 RFVDBSTR. "Basic submit
SUBMIT RFVDBSTR AND RETURN. "Return to original report after report execution complete
SUBMIT RFVDBSTR 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_RANL = Contract Number
Selection Text: SO_KOREF = Account Assignment Reference
Selection Text: SO_GSART = Product Type
Selection Text: SO_BUKRS = Company Code
Selection Text: P_TRANS = Always transfer Discount/Prem.
Selection Text: P_STOGR = D .
Selection Text: P_SIM = Test Run
Selection Text: P_PROT = Log
Selection Text: P_BKTXT = Document Text
Title: Loans: Balance Sheet Transfer
Text Symbol: LOE = Delete transfer flag if acct assignment reference has not changed
Text Symbol: BL2 = Posting Control
Text Symbol: BL1 = General Selections
Text Symbol: BKT = Bal. Sheet Acct Transfer
Text Symbol: 024 = Account Assignt Ref Unchanged
Text Symbol: 023 = Termination See Error Log
Text Symbol: 022 = Contract Transfer Posted
Text Symbol: 020 = Balance Sheet Transfer
Text Symbol: 010 = Test Run for Bal.Sheet Transf.
Text Symbol: 005 = Yellow Light; Warning
Text Symbol: 004 = Red Light; Error
Text Symbol: 003 = Green Light; Success
Text Symbol: 002 = Description
Text Symbol: 001 = Status


INCLUDES used within this REPORT RFVDBSTR

INCLUDE BSTR1TOP.
INCLUDE VDCONST0.
INCLUDE BSTR1F01.
INCLUDE BSTR1ALV.
INCLUDE BSTR1MSG.


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:

RS_SELECTIONSCREEN_READ CALL FUNCTION 'RS_SELECTIONSCREEN_READ' EXPORTING program = sy-cprog * DYNNR = TABLES fieldvalues = dyn_fields.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'GSART' * PVALKEY = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' * VALUE_ORG = 'C' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' * MARK_TAB = * IMPORTING * USER_RESET = TABLES value_tab = valuetab field_tab = fields return_tab = returnvalue * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

RS_SELECTIONSCREEN_UPDATE CALL FUNCTION 'RS_SELECTIONSCREEN_UPDATE' EXPORTING program = sy-cprog * DYNNR = TABLES updatevalues = dyn_fields EXCEPTIONS no_high_field = 1 OTHERS = 2.

RS_SELECTIONSCREEN_READ CALL FUNCTION 'RS_SELECTIONSCREEN_READ' EXPORTING program = sy-cprog * DYNNR = TABLES fieldvalues = dyn_fields.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'RREFKONT' * PVALKEY = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' * VALUE_ORG = 'C' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' * MARK_TAB = * IMPORTING * USER_RESET = TABLES value_tab = valuetab field_tab = fields return_tab = returnvalue * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

RS_SELECTIONSCREEN_UPDATE CALL FUNCTION 'RS_SELECTIONSCREEN_UPDATE' EXPORTING program = sy-cprog * DYNNR = TABLES updatevalues = dyn_fields EXCEPTIONS no_high_field = 1 OTHERS = 2.

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING percentage = 0 id = 'SELECTION'.

FVD_TRLE_DISTRIBUTOR_IF CALL FUNCTION 'FVD_TRLE_DISTRIBUTOR_IF' EXPORTING i_flg_log = '3' " collect posting protocol EXCEPTIONS OTHERS = 2.

FVD_TRLE_SET_GLOBAL_FLAGS CALL FUNCTION 'FVD_TRLE_SET_GLOBAL_FLAGS' EXPORTING I_FLG_BST = 'X'.

LOAN_SET_GLOBAL_FLAGS CALL FUNCTION 'LOAN_SET_GLOBAL_FLAGS' EXPORTING I_FLG_NO_PAYRQ = 'X'.

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING percentage = 0 id = 'WORK'.

FVD_TRLE_DISTRIBUTOR_IF CALL FUNCTION 'FVD_TRLE_DISTRIBUTOR_IF' EXPORTING i_flg_log = '5' " posting protocol to spool EXCEPTIONS OTHERS = 2.

ERROR_RULE_ACCOUNT CALL FUNCTION 'ERROR_RULE_ACCOUNT' EXPORTING * BATCH_KZ = ' ' channel = 'O' * NAME = ' ' EXCEPTIONS OTHERS = 1.



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