SAP Reports / Programs | Financial Accounting | General Ledger Accounting(FI-GL) SAP FI

FAGL_VPROV SAP ABAP Report - Generate Virtual InfoProviders in General Ledger







FAGL_VPROV is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use program FAGL_VPROV to generate virtual InfoProviders in the general ledger...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 FAGL_VPROV 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

FAGL_VPROV - Generate Virtual InfoProvider GL


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 FAGL_VPROV. "Basic submit
SUBMIT FAGL_VPROV AND RETURN. "Return to original report after report execution complete
SUBMIT FAGL_VPROV 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: G_VP_C = InfoProvider Name: Entry View
Selection Text: G_VP_N = InfoProvider Name: G/L View
Selection Text: LOGONLA = Logon Language
Selection Text: SO_T002 = Other Languages
Selection Text: P_LEDGER = D .
Title: Generate Virtual InfoProviders in General Ledger
Text Symbol: 001 = Selection
Text Symbol: 002 = Langs
Text Symbol: 003 = Virtual InfoProvider Status
Text Symbol: 004 = InfoProvider Status: G/L View
Text Symbol: 005 = Display Logs
Text Symbol: 006 = DW Workbench
Text Symbol: 007 = InfoProvider Status: Entry View
Text Symbol: 008 = InfoProvider Status
Text Symbol: CVP = InfoProvider for Entry View (V_GLPOS_C_CT = BKPF, BSEG)
Text Symbol: F01 = Use Field
Text Symbol: F02 = Use Field
Text Symbol: F03 = Use Field
Text Symbol: NVP = InfoProvider for G/L View (V_GLPOS_N_CT = BKPF, BSEG, NHB Line Items)


INCLUDES used within this REPORT FAGL_VPROV

INCLUDE FAGL_VPROV_TOP.
INCLUDE FAGL_VPROV_EVENT.
INCLUDE FAGL_VPROV_ALV.


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:

G_ADMI_AUTHORITY_CHECK CALL FUNCTION 'G_ADMI_AUTHORITY_CHECK' EXPORTING ACTIVITY = '02' EXCEPTIONS NOT_AUTHORIZED = 1.

FAGL_CHECK_GLFLEX_ACTIV_CLIENT CALL FUNCTION 'FAGL_CHECK_GLFLEX_ACTIV_CLIENT' EXPORTING client = sy-mandt IMPORTING e_glflex_active = gd_glflex_active EXCEPTIONS error_in_setup = 1 OTHERS = 2.

FAGL_GET_VPROV_NAME CALL FUNCTION 'FAGL_GET_VPROV_NAME' IMPORTING e_infoprov = g_vp_c.

FAGL_GET_VPROV_NAME CALL FUNCTION 'FAGL_GET_VPROV_NAME' EXPORTING I_LEDGER = p_ledger IMPORTING E_INFOPROV = g_vp_n.

FAGL_GLPOS_N_CT_RLDNR_FLDS_GET CALL FUNCTION 'FAGL_GLPOS_N_CT_RLDNR_FLDS_GET' EXPORTING i_rldnr = p_ledger i_client = sy-mandt i_sort = lv_sort CHANGING ct_fields = lt_dfies ct_fields_conv = gt_conv.

FAGL_GLPOS_C_CT_TAB_FLDS_GET CALL FUNCTION 'FAGL_GLPOS_C_CT_TAB_FLDS_GET' EXPORTING i_sort = lv_sort CHANGING ct_fields_conv = gt_conv ct_fields = lt_dfies.

FAGL_VPROV_GENERATE_TKAF CALL FUNCTION 'FAGL_VPROV_GENERATE_TKAF' EXPORTING ID_APPLC = 'FBRV' ID_GEN_CODING = 'X'.

FAGL_GENERATE_VPROV CALL FUNCTION 'FAGL_GENERATE_VPROV' EXPORTING i_ledger = p_ledger IMPORTING et_return = t_return TABLES it_fields = gt_selected_fields.



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