CNV_MBT_REORG_MASS 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 CNV_MBT_REORG_MASS 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.
Selection Text: LS_PACK = Packages to be reorganized
Selection Text: P_DATE = Packages created before (date)
Selection Text: P_DEACT = Deactivate packages autom.
Selection Text: P_LIMIT = Packages older than (days)
Selection Text: P_MWBDEL = Reorganize DTL objects
Selection Text: P_PROCTY = Reorganize P.ckges of Proc.Typ
Selection Text: P_PRODEL = Reorganize Projects
Selection Text: P_SCEN = Reorganize P.ckges of Scenario
Selection Text: P_SUBDEL = Reorganize Subprojects
Selection Text: P_TEST = Testrun (no reorganization)
Selection Text: P_USER = Packages created by
Title: CNV MBT Mass Reorganization
INCLUDE CNV_MBT_REORG_CONSTANTS.
INCLUDE CNV_MBT_REORG.
No SAP DATABASE tables are accessed within this REPORT code!
CNV_MBT_ADM_PACKAGE_DEACT CALL FUNCTION 'CNV_MBT_ADM_PACKAGE_DEACT' EXPORTING packid = gt_cnvmbtpack-packid EXCEPTIONS package_not_active = 1 database_operation_not_success = 2 package_doesnot_exist = 3 OTHERS = 4.
DB_COMMIT CALL FUNCTION 'DB_COMMIT' .
DB_COMMIT CALL FUNCTION 'DB_COMMIT' .
CNV_MBT_ADM_PACKAGES_GET CALL FUNCTION 'CNV_MBT_ADM_PACKAGES_GET' EXPORTING subproject = gt_cnvmbtsubproject-subproject TABLES lt_cnvmbtpack = gt_pack_sub lt_cnvmbtactive = gt_pack_act EXCEPTIONS no_package = 1 OTHERS = 2.
DB_COMMIT CALL FUNCTION 'DB_COMMIT' .
CNV_MBT_ADM_SUBPROJECTS_GET CALL FUNCTION 'CNV_MBT_ADM_SUBPROJECTS_GET' EXPORTING project = gt_cnvmbtproject-project TABLES lt_cnvmbtsubprojects = gt_sub_proj EXCEPTIONS no_subproject = 1 OTHERS = 2.
CNV_MBT_REORG_DISTRIBUTE_TABLE CALL FUNCTION 'CNV_MBT_REORG_DISTRIBUTE_TABLE' EXPORTING ip_ref_name = ld_ref_name EXCEPTIONS reference_not_exist = 1 error_remote_save = 2 no_distribution_no_work_dest = 3 mtid_differ_subproj_name = 4 OTHERS = 5.
DB_COMMIT CALL FUNCTION 'DB_COMMIT' .
CNV_MBT_RFC_DELETE_RFC_DEST CALL FUNCTION 'CNV_MBT_RFC_DELETE_RFC_DEST' TABLES imp_destinations = gt_cnvmbtdest EXCEPTIONS deletion_not_possible = 1 dest_already_deleted = 2 OTHERS = 3.
DB_COMMIT CALL FUNCTION 'DB_COMMIT' .
CNV_MBT_PARAMS_READ_ALL_PACK CALL FUNCTION 'CNV_MBT_PARAMS_READ_ALL_PACK' EXPORTING ip_pname = 'CNV_MBT_NO_REORG' TABLES et_params = lt_params EXCEPTIONS error_reading_params = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
CNV_MBT_REORG_MASS - CNV MBT Mass Reorganization CNV_MBT_REORG_MASS - CNV MBT Mass Reorganization CNV_MBT_REORG_MAINTAIN - Program CNV_MBT_REORG_MAINTAIN CNV_MBT_REORG_MAINTAIN - Program CNV_MBT_REORG_MAINTAIN CNV_MBT_REORG_MACROS - Include CNV_MBT_REORG_MACROS CNV_MBT_REORG_FORM - Include CNV_MBT_REORG_FORM