RM_MATERIAL_SAMPLE02 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 RM_MATERIAL_SAMPLE02 into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BAPI_MATERIAL_GETALL CALL FUNCTION 'BAPI_MATERIAL_GETALL' EXPORTING material = ls_matnr-matnr companycode = ls_matnr-companycode valuationarea = ls_matnr-valuationarea plant = ls_matnr-plant storagelocation = ls_matnr-storagelocation salesorganisation = ls_matnr-salesorganisation distributionchannel = ls_matnr-distributionchannel IMPORTING clientdata = ls_clientdata plantdata = ls_plantdata storagelocationdata = ls_storagelocation valuationdata = ls_valuationdata salesdata = ls_salesdata TABLES materialdescription = lt_description unitsofmeasure = lt_units return = lt_bapireturn.
SDIXML_DOM_TO_SCREEN CALL FUNCTION 'SDIXML_DOM_TO_SCREEN' EXPORTING document = lr_xml_document title = gc_title_xml EXCEPTIONS OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.