SAP Reports / Programs

RFFMSFBCB_BI SAP ABAP Report - RFFMSFBCBBI







RFFMSFBCB_BI 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 program to generate a batch input session that generates a balance carryforward posting for the current fiscal year when performing an opening balance for the new general ledger for each newly introduced balancing unit...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 RFFMSFBCB_BI 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 RFFMSFBCB_BI. "Basic submit
SUBMIT RFFMSFBCB_BI AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMSFBCB_BI 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_FIELD = New Account Assignments
Selection Text: BDC_KEEP = D .
Selection Text: BDC_USER = D .
Selection Text: HOLDDATE = D .
Selection Text: MAPNAME = D .
Selection Text: P_BLART = D .
Selection Text: P_BLDAT = D .
Selection Text: P_LDGRP = D .
Selection Text: P_MGPLN = D .
Text Symbol: 001 = Posting Control
Text Symbol: 002 = Output Control
Text Symbol: 005 = No Documents Could Be Selected for Processing
Text Symbol: A01 = Folder Created Successfully
Text Symbol: A02 = Errors Occured During Generation of Session
Text Symbol: I01 = Session Name
Text Symbol: I02 = Open Folder
Text Symbol: I03 = Insert transaction
Text Symbol: I04 = Close Session
Text Symbol: I05 = Return code =
Text Symbol: I06 = Error session created


INCLUDES used within this REPORT RFFMSFBCB_BI

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:

KPEP_MONI_INIT_RECORD CALL FUNCTION 'KPEP_MONI_INIT_RECORD' EXPORTING ls_detail = ls_detail ls_witem = ls_witem IMPORTING ls_key = ls_key_static TABLES lt_selkrit = lt_selkrit lt_param = lt_param.

KPEP_MONI_CLOSE_RECORD CALL FUNCTION 'KPEP_MONI_CLOSE_RECORD' EXPORTING ls_key = ls_key_static ls_scma_event = gs_scma_event CHANGING ld_aplstat = ld_aplstat EXCEPTIONS * NO_ID_GIVEN = 1 OTHERS = 0.

CONVERT_DATE_TO_EXTERNAL CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL' EXPORTING date_internal = u_bldat IMPORTING date_external = l_bldat.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = mapname user = bdc_user keep = bdc_keep holddate = holddate.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP' EXCEPTIONS not_open = 1 queue_error = 2 OTHERS = 3.

FAGL_GET_BUKRS_LEDGER_IN_MGPLN CALL FUNCTION 'FAGL_GET_BUKRS_LEDGER_IN_MGPLN' EXPORTING i_mgpln = u_mgpln IMPORTING et_bukrs = ct_bukrs.

COMPANY_CODE_READ CALL FUNCTION 'COMPANY_CODE_READ' EXPORTING i_bukrs = u_bukrs IMPORTING e_t001 = lf_t001.

FI_CURRENCY_INFORMATION CALL FUNCTION 'FI_CURRENCY_INFORMATION' EXPORTING i_bukrs = lf_t001-bukrs i_land1 = lf_t001-land1 i_rcomp = lf_t001-rcomp i_ldgrp = u_ldgrp "n0762201 IMPORTING e_x001 = lf_x001.

FAGL_GET_TABLENAMES CALL FUNCTION 'FAGL_GET_TABLENAMES' EXPORTING i_ledger = l_rep_ledger IMPORTING es_tabnames = ls_tabnames.

FAGL_TRANSFORM_GLFLEX_TO_BSEG CALL FUNCTION 'FAGL_TRANSFORM_GLFLEX_TO_BSEG' EXPORTING id_glflex_fieldname = ld_fieldname id_tot_table = ls_tabnames-tot_table IMPORTING ed_bseg_fieldname = ld_fieldname_bseg EXCEPTIONS not_found = 1 OTHERS = 2.

FM_GET_FICTR_FIPOS_FROM_BUKRS CALL FUNCTION 'FM_GET_FICTR_FIPOS_FROM_BUKRS' EXPORTING i_bukrs = u_bukrs IMPORTING o_fipos = ld_fipos EXCEPTIONS fictr_not_found = 1 fipos_not_found = 2 OTHERS = 3.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'BSEG' fieldname = lf_name TABLES dfies_tab = lt_dfies.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'BSEG' fieldname = lf_name TABLES dfies_tab = lt_dfies.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'BSEG' fieldname = lf_name TABLES dfies_tab = lt_dfies.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'BSEG' fieldname = lf_name TABLES dfies_tab = lt_dfies.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'FAGL_SPLINFO' fieldname = lf_name TABLES dfies_tab = lt_dfies.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'FAGL_SPLINFO' fieldname = lf_name TABLES dfies_tab = lt_dfies.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = l_tcode TABLES dynprotab = bdcdata.

FAGL_GET_DATA_FOR_MGPLN





CALL FUNCTION 'FAGL_GET_DATA_FOR_MGPLN' EXPORTING i_mgpln = u_mgpln IMPORTING et_fagl_mig_001 = lt_fagl_mig_001 e_migdt = c_migdt.

FAGL_SHLP_SPLIT_SET_TEXT CALL FUNCTION 'FAGL_SHLP_SPLIT_SET_TEXT' EXPORTING id_field = ut_new_field-field IMPORTING ed_text = l_text.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'FIELD' value_org = 'S' TABLES value_tab = lt_value * field_tab = lt_field_tab return_tab = lt_ret EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

DOCU_CALL CALL FUNCTION 'DOCU_CALL' EXPORTING displ = 'X' displ_mode = '2' id = 'DE' langu = sy-langu object = 'NEWACCOUNT'.

TA1MZ_READ CALL FUNCTION 'TA1MZ_READ' EXPORTING i_buzsm = 'SAP_000_001' TABLES t_ta1mz = lt_ta1mz EXCEPTIONS not_found = 8.

TA1MZ_READ CALL FUNCTION 'TA1MZ_READ' EXPORTING i_buzsm = 'SAP_000_002' TABLES t_ta1mz = lt_ta1mz EXCEPTIONS not_found = 8.

FI_CHART_OF_ACCOUNT_DETERMINE CALL FUNCTION 'FI_CHART_OF_ACCOUNT_DETERMINE' EXPORTING i_bukrs = ls_bukrs IMPORTING e_ktopl = ls_ktopl EXCEPTIONS OTHERS = 8.

FAA_READ_AREA_SETTINGS CALL FUNCTION 'FAA_READ_AREA_SETTINGS' EXPORTING i_orgunit = u_bukrs IMPORTING et_areasettings = lt_areasettings EXCEPTIONS 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 RFFMSFBCB_BI or its description.