SAP Reports / Programs

J_1GVL_VLR2 SAP ABAP Report - Valuation report 2: Cost structure analysis and consumption







J_1GVL_VLR2 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 J_1GVL_VLR2 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

J1GVL_R2 - Sample Cost/Consumpt. Analys. Report


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 J_1GVL_VLR2. "Basic submit
SUBMIT J_1GVL_VLR2 AND RETURN. "Return to original report after report execution complete
SUBMIT J_1GVL_VLR2 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: WRKTR = Plant Transfers
Selection Text: WERKS = D Plant
Selection Text: P_ZEBRA = Striped pattern
Selection Text: P_VARI = D Layout
Selection Text: P_NOCOLH = No column headings
Selection Text: P_IAS = Valuation run acc. to IAS
Selection Text: P_EXPAND = With expand options
Selection Text: P_DETAIL = With target object details
Selection Text: P_COLOPT = Optimize columns
Selection Text: PURCH = Purchases
Selection Text: PUEXP = Transport expenses
Selection Text: PDEXP = Production Costs
Selection Text: PCEXP = Direct Materials
Selection Text: OTHIM = Other (Value) Impolrts
Selection Text: MTART = D Material Type
Selection Text: MONAT = D Posting Period
Selection Text: MATTR = Material Transfers
Selection Text: MATNR = D Material
Selection Text: GJAHR = D Fiscal Year
Selection Text: CONS = With Consumptions
Selection Text: BWTAR = D Valuation Type
Selection Text: BUKRS = D Company Code
Selection Text: BKLAS = D Valuation Class
Title: Valuation report 2: Cost structure analysis and consumption
Text Symbol: 072 = Items
Text Symbol: 071 = Header
Text Symbol: 070 = Val.
Text Symbol: 065 = Select Cost Factors
Text Symbol: 064 = Execute
Text Symbol: 063 = Interaction
Text Symbol: 062 = Totals
Text Symbol: 061 = Exceptions
Text Symbol: 060 = Display options
Text Symbol: 010 = Information text
Text Symbol: 007 = Period analyzed:
Text Symbol: 005 = Distance
Text Symbol: 002 = Status list
Text Symbol: 001 = Valuation: Cost Analysis per Material/Plant





INCLUDES used within this REPORT J_1GVL_VLR2

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:

REUSE_ALV_VARIANT_DEFAULT_GET call function 'REUSE_ALV_VARIANT_DEFAULT_GET' exporting i_save = g_save changing cs_variant = gx_variant exceptions not_found = 2.

FI_COMPANY_CODE_DATA call function 'FI_COMPANY_CODE_DATA' exporting i_bukrs = bukrs importing e_t001 = t001.

REUSE_ALV_HIERSEQ_LIST_DISPLAY call function 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' exporting i_callback_program = g_repid * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' is_layout = gs_layout it_fieldcat = gt_fieldcat[] * IT_EXCLUDING = it_special_groups = gt_sp_group[] it_sort = gt_sort[] i_default = g_default i_save = g_save is_variant = g_variant it_events = gt_events[] i_tabname_header = g_tabname_header i_tabname_item = g_tabname_item is_keyinfo = gs_keyinfo tables t_outtab_header = gt_header t_outtab_item = gt_items.

REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_internal_tabname = g_tabname_header i_structure_name = 'j_1gvl_rsh1' changing ct_fieldcat = e01_lt_fieldcat[].

REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_internal_tabname = g_tabname_item i_structure_name = 'j_1gvl_rsi1' changing ct_fieldcat = e01_lt_fieldcat[].

CONVERSION_EXIT_ALPHA_OUTPUT call function 'CONVERSION_EXIT_ALPHA_OUTPUT' exporting input = e02_lt_items-ummat importing output = e02_lt_items-ummat.

REUSE_ALV_EVENTS_GET call function 'REUSE_ALV_EVENTS_GET' exporting i_list_type = 0 importing et_events = e03_lt_events.

REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = gt_list_top_of_page.

REUSE_ALV_VARIANT_F4 call function 'REUSE_ALV_VARIANT_F4' exporting is_variant = g_variant i_save = g_save i_tabname_header = g_tabname_header i_tabname_item = g_tabname_item * it_default_fieldcat = importing e_exit = g_exit es_variant = gx_variant exceptions not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE call function 'REUSE_ALV_VARIANT_EXISTENCE' exporting i_save = g_save changing cs_variant = gx_variant.



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