SAP Reports / Programs | Logistics - General | Logistics Basic Data | Material Groups(LO-MD-MG) SAP LO

RWMCATOP SAP ABAP INCLUDE - documentation and ABAP source code







RWMCATOP is a standard ABAP INCLUDE 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 RWMCATOP into the relevant SAP transactions such as SE38 or SE80


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 RWMCATOP. "Basic submit
SUBMIT RWMCATOP AND RETURN. "Return to original report after report execution complete
SUBMIT RWMCATOP VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT RWMCATOP

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:

MARA_SINGLE_READ call function 'MARA_SINGLE_READ' exporting matnr = p_matnro sperrmodus = c_enqueue_exclusive importing wmara = ls_old_mara exceptions lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 others = 5.

MARA_SINGLE_READ call function 'MARA_SINGLE_READ' exporting matnr = p_matnrn sperrmodus = c_enqueue_exclusive importing wmara = ls_new_mara exceptions lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 others = 5.

MV01_MATERIAL_READ_DATA_RT call function 'MV01_MATERIAL_READ_DATA_RT' exporting pi_head_matnr = p_matnro pi_no_variants = p_novar importing pe_headdata = ls_headdata tables pt_variantskeys = lt_variantskeys pt_characteristicvalue = lt_characteristicvalue pt_characteristicvaluex = lt_characteristicvaluex pt_clientdata = lt_clientdata pt_clientdatax = lt_clientdatax pt_clientext = lt_clientext pt_clientextx = lt_clientextx pt_addnlclientdata = lt_addnlclientdata pt_addnlclientdatax = lt_addnlclientdatax pt_materialdescription = lt_materialdescription pt_plantdata = lt_plantdata pt_plantdatax = lt_plantdatax pt_plantext = lt_plantext pt_plantextx = lt_plantextx pt_forecastparameters = lt_forecastparameters pt_forecastparametersx = lt_forecastparametersx pt_forecastvalues = lt_forecastvalues pt_totalconsumption = lt_totalconsumption pt_unplndconsumption = lt_unplndconsumption pt_planningdata = lt_planningdata pt_planningdatax = lt_planningdatax pt_storagelocationdata = lt_storagelocationdata pt_storagelocationdatax = lt_storagelocationdatax pt_storagelocationext = lt_storagelocationext pt_storagelocationextx = lt_storagelocationextx pt_unitsofmeasure = lt_unitsofmeasure pt_unitsofmeasurex = lt_unitsofmeasurex pt_unitofmeasuretexts = lt_unitofmeasuretexts pt_internationalartnos = lt_internationalartnos pt_vendorean = lt_vendorean pt_layoutmoduleassgmt = lt_layoutmoduleassgmt pt_layoutmoduleassgmtx = lt_layoutmoduleassgmtx pt_taxclassifications = lt_taxclassifications pt_valuationdata = lt_valuationdata pt_valuationdatax = lt_valuationdatax pt_valuationext = lt_valuationext pt_valuationextx = lt_valuationextx pt_warehousenumberdata = lt_warehousenumberdata pt_warehousenumberdatax = lt_warehousenumberdatax pt_warehousenumberext = lt_warehousenumberext pt_warehousenumberextx = lt_warehousenumberextx pt_storagetypedata = lt_storagetypedata pt_storagetypedatax = lt_storagetypedatax pt_storagetypeext = lt_storagetypeext pt_storagetypeextx = lt_storagetypeextx pt_salesdata = lt_salesdata pt_salesdatax = lt_salesdatax pt_salesext = lt_salesext pt_salesextx = lt_salesextx pt_posdata = lt_posdata pt_posdatax = lt_posdatax pt_posext = lt_posext pt_posextx = lt_posextx pt_materiallongtext = lt_materiallongtext pt_plantkeys = lt_plantkeys pt_storagelocationkeys = lt_storagelocationkeys pt_distrchainkeys = lt_distrchainkeys pt_warehousenokeys = lt_warehousenokeys pt_storagetypekeys = lt_storagetypekeys pt_valuationtypekeys = lt_valuationtypekeys exceptions error_occurred = 1 others = 2.

BAPI_MATERIAL_MAINTAINDATA_RT call function 'BAPI_MATERIAL_MAINTAINDATA_RT' exporting headdata = ls_headdata importing return = ls_bapireturn tables variantskeys = lt_variantskeys characteristicvalue = lt_characteristicvalue characteristicvaluex = lt_characteristicvaluex clientdata = lt_clientdata clientdatax = lt_clientdatax clientext = lt_clientext clientextx = lt_clientextx addnlclientdata = lt_addnlclientdata addnlclientdatax = lt_addnlclientdatax materialdescription = lt_materialdescription plantdata = lt_plantdata plantdatax = lt_plantdatax plantext = lt_plantext plantextx = lt_plantextx forecastparameters = lt_forecastparameters forecastparametersx = lt_forecastparametersx forecastvalues = lt_forecastvalues totalconsumption = lt_totalconsumption unplndconsumption = lt_unplndconsumption planningdata = lt_planningdata planningdatax = lt_planningdatax storagelocationdata = lt_storagelocationdata storagelocationdatax = lt_storagelocationdatax storagelocationext = lt_storagelocationext storagelocationextx = lt_storagelocationextx unitsofmeasure = lt_unitsofmeasure unitsofmeasurex = lt_unitsofmeasurex unitofmeasuretexts = lt_unitofmeasuretexts internationalartnos = lt_internationalartnos vendorean = lt_vendorean layoutmoduleassgmt = lt_layoutmoduleassgmt layoutmoduleassgmtx = lt_layoutmoduleassgmtx taxclassifications = lt_taxclassifications valuationdata = lt_valuationdata valuationdatax = lt_valuationdatax valuationext = lt_valuationext valuationextx = lt_valuationextx warehousenumberdata = lt_warehousenumberdata warehousenumberdatax = lt_warehousenumberdatax warehousenumberext = lt_warehousenumberext warehousenumberextx = lt_warehousenumberextx storagetypedata = lt_storagetypedata storagetypedatax = lt_storagetypedatax storagetypeext = lt_storagetypeext storagetypeextx = lt_storagetypeextx salesdata = lt_salesdata salesdatax = lt_salesdatax salesext = lt_salesext salesextx = lt_salesextx posdata = lt_posdata posdatax = lt_posdatax posext = lt_posext posextx = lt_posextx materiallongtext = lt_materiallongtext plantkeys = lt_plantkeys storagelocationkeys = lt_storagelocationkeys distrchainkeys = lt_distrchainkeys warehousenokeys = lt_warehousenokeys storagetypekeys = lt_storagetypekeys valuationtypekeys = lt_valuationtypekeys.

WMCA_LISTING_DATA_READ call function 'WMCA_LISTING_DATA_READ' exporting pi_matnr = p_matnro pi_no_variants = p_novar tables pe_t_idoc_header = lt_idoc_header pe_t_idoc_data = lt_idoc_data pe_t_variants = lt_mara exceptions no_data_found = 1 error_occurred = 2 others = 3.

WMCA_LISTING_DATA_READ call function 'WMCA_LISTING_DATA_READ' exporting pi_matnr = -matnr tables pe_t_idoc_header = lt_idoc_header pe_t_idoc_data = lt_idoc_data exceptions no_data_found = 1 error_occurred = 2 others = 3.



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