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
Below is a list of transaction codes which are relevant to this SAP report
FAGL_VPROV - Generate Virtual InfoProvider GL
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.
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)
INCLUDE FAGL_VPROV_TOP.
INCLUDE FAGL_VPROV_EVENT.
INCLUDE FAGL_VPROV_ALV.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
FAGL_VPROV - Generate Virtual InfoProviders in General Ledger FAGL_VPROV - Generate Virtual InfoProviders in General Ledger FAGL_VC_SPLIT - Program FAGL_VC_SPLIT FAGL_VC_SPLIT - Program FAGL_VC_SPLIT FAGL_VAL_MAINTAIN_RULE - Program FAGL_VAL_MAINTAIN_RULE FAGL_VAL_MAINTAIN_RULE - Program FAGL_VAL_MAINTAIN_RULE