SAP Reports / Programs

CO_ML_VAPP SAP ABAP Report - Include CO_ML_VAPP







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

CKMVAPP - Data Transfer: Val. Production Plan


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 CO_ML_VAPP. "Basic submit
SUBMIT CO_ML_VAPP AND RETURN. "Return to original report after report execution complete
SUBMIT CO_ML_VAPP 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: P_YEAR = D .
Selection Text: P_PLSCN = D .
Selection Text: P_PLANT = D .
Selection Text: P_MGTYP = D .
Selection Text: P_BWVAR = D .
Selection Text: P_VALTY = Valuation Types
Selection Text: P_STORE = Save Log
Selection Text: P_STOCK = Current Beginning Inventory
Selection Text: P_FROM = From Date
Selection Text: P_DATTO = To Date
Selection Text: P_DATFRM = From Date
Selection Text: P_BATCH = Background Processing
Selection Text: P_AUTO = Automatically
Title: Include CO_ML_VAPP
Text Symbol: 113 = From Date
Text Symbol: 112 = Automatically
Text Symbol: 111 = Quantity Structure Date
Text Symbol: 110 = Use Middle Production Quantity As Lot Size
Text Symbol: 109 = Save Log
Text Symbol: 108 = Background Processing
Text Symbol: 107 = Processing Options
Text Symbol: 106 = Automatically Set Controlling Level BOM/Routing
Text Symbol: 105 = Beginning Inventory: Plant Stock Valuation Start
Text Symbol: 104 = Split Valuation Internal/External
Text Symbol: 103 = Valuation Variant: Valuation of Beginning Inventories
Text Symbol: 102 = Beginning Inventories
Text Symbol: 101 = Options
Text Symbol: 100 = Valuated Production Plan


INCLUDES used within this REPORT CO_ML_VAPP

INCLUDE CO_ML_VAPPTOP . " GLOBAL DATA


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:

CM_F_COLLECT_MESSAGE CALL FUNCTION 'CM_F_COLLECT_MESSAGE' EXPORTING append_same_message = 'X' msgid = 'CKMLAVR' msgno = '510' msgty = 'I' msgv1 = m1 msgv2 = m2.

CKML_MGV_CROSS_RATIO_DELETE CALL FUNCTION 'CKML_MGV_CROSS_RATIO_DELETE' EXPORTING i_plscn = p_plscn i_mgtyp = p_mgtyp.

CM_F_COLLECT_MESSAGE CALL FUNCTION 'CM_F_COLLECT_MESSAGE' EXPORTING append_same_message = 'X' msgid = 'CKMLAVR' msgno = '508' msgty = 'I' msgv1 = m1 msgv2 = m2 msgv3 = m3.

CO_MLVAPP_MATERIALS_PLANTS_GET CALL FUNCTION 'CO_MLVAPP_MATERIALS_PLANTS_GET' EXPORTING i_plscn = p_plscn i_preread = 'X' i_plant = p_plant "note 774483 IMPORTING et_matplants = gt_matplants EXCEPTIONS nothing_found = 1 OTHERS = 2.

CO_ML_VAPP_LTPDATA_PREPARE_MGV CALL FUNCTION 'CO_ML_VAPP_LTPDATA_PREPARE_MGV' EXPORTING is_orgdata = lw_orgdata i_plant = p_plant "note 774483 IMPORTING et_mgvvor = lt_mgvvor * ET_MATPLANTS = CHANGING ct_avmngba = gt_avmngba EXCEPTIONS wrong_input_data = 1 nothing_found = 2 selection_finished = 3 OTHERS = 4.

CM_F_COLLECT_MESSAGE CALL FUNCTION 'CM_F_COLLECT_MESSAGE' EXPORTING msgid = 'C+' msgno = '114' msgty = 'E'.

CM_F_COLLECT_MESSAGE CALL FUNCTION 'CM_F_COLLECT_MESSAGE' EXPORTING msgid = 'C+' msgno = '114' msgty = 'E'.

CM_F_COLLECT_MESSAGE CALL FUNCTION 'CM_F_COLLECT_MESSAGE' EXPORTING append_same_message = 'X' msgid = 'CKMLAVR' msgno = '511' msgty = 'I' msgv1 = m1 msgv2 = m2.

CM_F_COLLECT_MESSAGE CALL FUNCTION 'CM_F_COLLECT_MESSAGE' EXPORTING append_same_message = 'X' msgid = 'CKMLAVR' msgno = '509' msgty = 'I' msgv1 = m1 msgv2 = m2 msgv3 = m3.

CM_F_INFO CALL FUNCTION 'CM_F_INFO' EXPORTING all = 'X' aplid = 'ACT' IMPORTING * e_msg_counter_pro = ld_e_count msg_counter_pro = sy-dbcnt.

CM_F_DISPLAY_LOG CALL FUNCTION 'CM_F_DISPLAY_LOG' EXPORTING grid_display = 'X' alv_variant = ckru0_co_msg_alv_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 CO_ML_VAPP or its description.