SAP Reports / Programs

CNV_MBT_REORG_MASS SAP ABAP Report - CNV MBT Mass Reorganization







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


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


Text pool values


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


INCLUDES used within this REPORT CNV_MBT_REORG_MASS

INCLUDE CNV_MBT_REORG_CONSTANTS.
INCLUDE CNV_MBT_REORG.


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:

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.



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