RMMKOP01_P06 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 RMMKOP01_P06 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!
MGV_SET_FLAG_NEW_VERSION call function 'MGV_SET_FLAG_NEW_VERSION' exporting iv_new_version = ' '.
MGV_SET_FLAG_FIRST_VERSION call function 'MGV_SET_FLAG_FIRST_VERSION' exporting iv_first_version = ' '.
MATNR_NUMBER_CREATE call function 'MATNR_NUMBER_CREATE' exporting matnr_ext = gt_newmat-matnr_ext matnr_vers = gt_newmat-matnr_vers matnr_head = gt_newmat-matnr_head matnr_type = gt_newmat-matnr_type sptyp = gt_newmat-sptyp save_to_db = ' ' save_on_commit = ' ' importing matnr_int = gt_newmat-matnr_int exceptions MATNR_ALREADY_CREATED = 1 MATNR_ALREADY_EXISTS = 2 INTERNAL_ERROR = 3 VERSION_WITHOUT_HEAD = 4 WRONG_MATNR_TYPE = 5 WRONG_MATNR_HEAD = 6 GUID_MISMATCH = 7 CUSTOMIZING_MISMATCH = 8 EMPTY_MATERIAL_NUMBER = 9.
2 when '2'. call function 'MGV_SET_FLAG_NEW_VERSION'
0 when '0'. call function 'MGV_SET_FLAG_FIRST_VERSION'
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.