SAP Reports / Programs | Controlling | Product Cost Controlling | Actual Costing/Material Ledger(CO-PC-ACT) SAP CO

ML_DISPLAY_TABLES SAP ABAP Report - Display Technical View for the Material Ledger Master Data







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

CKMDISPTAB - Technical View of ML Master Data


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 ML_DISPLAY_TABLES. "Basic submit
SUBMIT ML_DISPLAY_TABLES AND RETURN. "Return to original report after report execution complete
SUBMIT ML_DISPLAY_TABLES 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: VBELN = D SD document
Selection Text: UNTPER = D Value structure type
Selection Text: P_WERKS = D Plant
Selection Text: P_BUKRS = D Company code
Selection Text: PSPNR = D WBS element
Selection Text: POSNR = D Item (SD)
Selection Text: POPER = D Posting period
Selection Text: MATNR = D Material
Selection Text: LIFNR = D Vendor
Selection Text: KALN1 = D Cost estimate number
Selection Text: BWTAR = D Valuation type
Selection Text: BDATJ = D Year
Title: Display Technical View for the Material Ledger Master Data
Text Symbol: 024 = Supplier
Text Symbol: 023 = Value structure type.....
Text Symbol: 022 = Posting period...........
Text Symbol: 021 = Year.....................
Text Symbol: 020 = WBS element..............
Text Symbol: 019 = Item (SD)................
Text Symbol: 018 = Sales document...........
Text Symbol: 017 = Valuytion type...........
Text Symbol: 015 = Material number..........
Text Symbol: 014 = Company code.............
Text Symbol: 013 = Plant....................
Text Symbol: 005 = No records exist
Text Symbol: 004 = Overall
Text Symbol: 003 = Fld name Fld cont.
Text Symbol: 002 = Segment:
Text Symbol: 001 = fixed
Text Symbol: 000 = File Description


INCLUDES used within this REPORT ML_DISPLAY_TABLES

INCLUDE ML_DISPLAY_TYPES.


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:

CKM8_F4_BWTAR CALL FUNCTION 'CKM8_F4_BWTAR' EXPORTING i_fnam_matnr = 'MATNR' i_fnam_bwkey = h_fnam i_fnam_vbeln = 'VBELN' i_fnam_posnr = 'POSNR' i_fnam_pspnr = 'PSPNR' i_retfield = 'BWTAR' i_dynpprog = h_repid i_dynpnr = '1000' i_dynprofield = 'CKMLHD-BWTAR' * I_STEPL = * I_WINDOW_TITLE = .

CKMH_F_SET_MSG_VARIABLE_MAT CALL FUNCTION 'CKMH_F_SET_MSG_VARIABLE_MAT' EXPORTING * I_KALNR = i_matnr = matnr i_bwtar = bwtar i_bwkey = bwkey i_vbeln = vbeln i_posnr = posnr i_pspnr = pspnr i_lifnr = lifnr IMPORTING e_variable_values = h_var_values e_variable_texts = h_var_texts * E_VALUES_LONG = * EXCEPTIONS * MISSING_INPUT = 1 * INCONSISTENT_INPUT = 2 * INTERNAL_ERROR = 3 * OTHERS = 4 .

CKMH_F_SET_MSG_VARIABLE_MAT CALL FUNCTION 'CKMH_F_SET_MSG_VARIABLE_MAT' EXPORTING i_kalnr = mbew-kaln1 * I_MATNR = * I_BWTAR = * I_BWKEY = * I_VBELN = * I_POSNR = * I_PSPNR = * I_LIFNR = IMPORTING e_variable_values = h_var_values e_variable_texts = h_var_texts * E_VALUES_LONG = * EXCEPTIONS * MISSING_INPUT = 1 * INCONSISTENT_INPUT = 2 * INTERNAL_ERROR = 3 * OTHERS = 4 .

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = tabname TABLES dfies_tab = nametab.

K_TABLE_AUTHORITY CALL FUNCTION 'K_TABLE_AUTHORITY' EXPORTING i_tabname = table.

K_TABLE_AUTHORITY CALL FUNCTION 'K_TABLE_AUTHORITY' EXPORTING i_tabname = table.

DD_TBHD_GET CALL FUNCTION 'DD_TBHD_GET' EXPORTING tabl_name = datei withtext = 'X' IMPORTING dd02v_wa_a = dd02v.

DD_VIHD_GET CALL FUNCTION 'DD_VIHD_GET' EXPORTING view_name = datei withtext = 'X' IMPORTING dd25v_wa_a = dd25v.

MLCCS_GET_LAYOUT CALL FUNCTION 'MLCCS_GET_LAYOUT' EXPORTING i_bwkey = &bwkey i_bdatj = &p_bdatj i_poper = &p_poper i_curtp = &p_curtp IMPORTING ef_ckmlkev = lf_layout.

CK_F_TCKH4_HIERARCHY_READING CALL FUNCTION 'CK_F_TCKH4_HIERARCHY_READING' EXPORTING p_elehk = lh_layout TABLES t_tckh1 = lt_tckh1 t_tckh3 = lt_tckh3.



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