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
Below is a list of transaction codes which are relevant to this SAP report
MGV_CORRECT - Checks + Corrects Quantity Structure
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: 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)
INCLUDE RCKM_CORRECT_MGV_DATATOP .
INCLUDE RCKMATOP_OBJECT_SELECTION.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SAPRCKM_CORRECT_MGV_DATA - Corrects the Quantity Structure Using Corrected Documents (If Any) SAPRCKM_CORRECT_MGV_DATA - Corrects the Quantity Structure Using Corrected Documents (If Any) SAPRCKM_CONVERT_CUST_TABLES - SAPRCKMCONVERTCUSTTABLES SAPRCKM_CONVERT_CUST_TABLES - SAPRCKMCONVERTCUSTTABLES SAPRCKM_CONVERT_30_40 - Converter Program for ML Tables and Accounts from Release 3.0 to 4.0 SAPRCKM_CONVERT_30_40 - Converter Program for ML Tables and Accounts from Release 3.0 to 4.0