SAP Reports / Programs

SAPRCKM_CORRECT_MGV_DATA SAP ABAP Report - Corrects the Quantity Structure Using Corrected Documents (If Any)







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

MGV_CORRECT - Checks + Corrects Quantity Structure


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 SAPRCKM_CORRECT_MGV_DATA. "Basic submit
SUBMIT SAPRCKM_CORRECT_MGV_DATA AND RETURN. "Return to original report after report execution complete
SUBMIT SAPRCKM_CORRECT_MGV_DATA 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_BDATJ = Fiscal year
Selection Text: P_BUKRS = D Company code
Selection Text: P_POPER = Period
Selection Text: P_WERKS = D Plant
Selection Text: R_BWTAR = D Valuation type
Selection Text: R_LIFNR = D Vendor
Selection Text: R_MATKL = D Material group
Selection Text: R_MATNR = D Material
Selection Text: R_MTART = D Material type
Selection Text: R_POSNR = Item
Selection Text: R_PSPNR = D WBS element
Selection Text: R_SPART = D Division
Selection Text: R_STATUS = D Period status
Selection Text: R_VBELN = D SD document
Title: Corrects the Quantity Structure Using Corrected Documents (If Any)


INCLUDES used within this REPORT SAPRCKM_CORRECT_MGV_DATA

INCLUDE RCKM_CORRECT_MGV_DATATOP .
INCLUDE RCKMATOP_OBJECT_SELECTION.


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:

CKMH_SELECTION CALL FUNCTION 'CKMH_SELECTION' EXPORTING p_vorg = p_vorg p_bwkey = s_bwkey-bwkey p_bdatj = p_bdatj p_poper = p_poper p_mlast = p_mlast TABLES r_matnr = r_matnr r_bwtar = r_bwtar r_mtart = r_mtart r_matkl = r_matkl r_spart = r_spart r_vbeln = r_vbeln r_posnr = r_posnr r_pspnr = r_pspnr r_lifnr = r_lifnr " Subcontracting Japan r_status = r_status t_kalnr_all = t_kalnr_pack.

CKML_MGV_CORRECT_ALL CALL FUNCTION 'CKML_MGV_CORRECT_ALL' EXPORTING poper = p_poper bdatj = p_bdatj i_cogs = p_cogs TABLES t_mats = t_kalnr_all.



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