SAP Reports / Programs | G/L transfer | Bank Components | G/L transfer(IS-B-BCA-PT-GLP) SAP IS

RFBKGL_VA_DI SAP ABAP Report - Individual value adjustment legacy data transfer







RFBKGL_VA_DI 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 RFBKGL_VA_DI into the relevant SAP transactions such as SE38 or SE80


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 RFBKGL_VA_DI. "Basic submit
SUBMIT RFBKGL_VA_DI AND RETURN. "Return to original report after report execution complete
SUBMIT RFBKGL_VA_DI 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: P_TEST = Simulation run
Selection Text: TAB_FILE = Data file
Title: Individual value adjustment legacy data transfer
Text Symbol: 001 = Input data
Text Symbol: 002 = Parameters
Text Symbol: 100 = Data saved
Text Symbol: 101 = Error during update - data not saved
Text Symbol: 102 = Legacy data transfer log - IVA
Text Symbol: 104 = Acct does not exist
Text Symbol: 105 = IVA data already exists
Text Symbol: 106 = Different acct currency
Text Symbol: 107 = Error during file loading
Text Symbol: 108 = IVA fixed or percent must be entered
Text Symbol: 109 = Either IVA fixed or percent possible


INCLUDES used within this REPORT RFBKGL_VA_DI

INCLUDE : IBKKCON, IBKKCOGH.
INCLUDE : IBKKCON, IBKKCOGH.


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:

KD_GET_FILENAME_ON_F4 call function 'KD_GET_FILENAME_ON_F4' exporting static = 'X' changing file_name = tab_file-low.

WS_UPLOAD * call function 'WS_UPLOAD' * exporting * CODEPAGE = ' ' * filename = tab_file-low * FILETYPE = 'ASC' * HEADLEN = ' ' * LINE_EXIT = ' ' * TRUNCLEN = ' ' * USER_FORM = ' ' * USER_PROG = ' ' * DAT_D_FORMAT = ' ' * IMPORTING * FILELENGTH = * tables * data_tab = g_tab_record * exceptions * conversion_error = 1 * file_open_error = 2 * file_read_error = 3 * invalid_type = 4 * no_batch = 5 * unknown_error = 6 * invalid_table_width = 7 * gui_refuse_filetransfer = 8 * customer_error = 9 * others = 10.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = l_string * FILETYPE = 'ASC' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 * READ_BY_LINE = 'X' * IMPORTING * FILELENGTH = * HEADER = TABLES DATA_TAB = g_tab_record EXCEPTIONS FILE_OPEN_ERROR = 1 FILE_READ_ERROR = 2 NO_BATCH = 3 GUI_REFUSE_FILETRANSFER = 4 INVALID_TYPE = 5 NO_AUTHORITY = 6 UNKNOWN_ERROR = 7 BAD_DATA_FORMAT = 8 HEADER_NOT_ALLOWED = 9 SEPARATOR_NOT_ALLOWED = 10 HEADER_TOO_LONG = 11 UNKNOWN_DP_ERROR = 12 ACCESS_DENIED = 13 DP_OUT_OF_MEMORY = 14 DISK_FULL = 15 DP_TIMEOUT = 16 OTHERS = 17 .

CONVERSION_EXIT_ALPHA_INPUT call function 'CONVERSION_EXIT_ALPHA_INPUT' exporting input = g_tab_record-ac_ext importing output = l_tmp_acnum_ext.

BKK_ACCNT_GET_ACNUM_INT_BKKRS call function 'BKK_ACCNT_GET_ACNUM_INT_BKKRS' exporting i_acnum_ext = l_tmp_acnum_ext i_bkkrs = l_str_bkkcva-bkkrs i_message = ' ' * I_MH2_SICHT = * I_MH2_TBFLD_STRG = * I_MH2_LOOP_KEY = importing e_return = l_rcd e_acnum_int = l_str_bkkcva-acnum_int.

BKK_ACCNT_DELETE_LEADING_ZERO call function 'BKK_ACCNT_DELETE_LEADING_ZERO' changing c_field = l_tmp_acnum_ext.

BKK_ACCNT_GET_CURRENCY call function 'BKK_ACCNT_GET_CURRENCY' exporting i_bkkrs = l_str_bkkcva-bkkrs i_acnum_int = l_str_bkkcva-acnum_int * I_LOCAL = 'X' importing e_acur = l_waers.

BKK_GL_VA_READ_BKKCVA_ACCOUNT call function 'BKK_GL_VA_READ_BKKCVA_ACCOUNT' exporting i_bkkrs = l_str_bkkcva-bkkrs i_acnum_int = l_str_bkkcva-acnum_int * I_X_BYPASS_BUFFER = ' ' * I_X_MESSAGE = ' ' importing * E_S_VA_DATAS = e_rc = l_rcd exceptions parameter_error = 1 others = 2.

CURRENCY_AMOUNT_IDOC_TO_SAP call function 'CURRENCY_AMOUNT_IDOC_TO_SAP' exporting currency = l_str_bkkcva-va_cur idoc_amount = g_tab_record-va_fix importing sap_amount = l_str_bkkcva-va_fix.

CURRENCY_AMOUNT_IDOC_TO_SAP call function 'CURRENCY_AMOUNT_IDOC_TO_SAP' exporting currency = l_str_bkkcva-va_cur idoc_amount = g_tab_record-posted_prev_yrs importing sap_amount = l_str_bkkcva-posted_prev_yrs.

BKK_GL_VA_WRITE_BKKCVA call function 'BKK_GL_VA_WRITE_BKKCVA' exporting i_actvt = g_con_create i_t_va_datas = g_tab_bkkcva[] * I_X_MESSAGE = ' ' * I_X_IN_UPDATE_TASK = exceptions parameter_error = 1 db_error = 2 others = 3.



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