MMBSI_CONTRACT_MIGRATION is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is only relevant for central contract management in SRM 7...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter MMBSI_CONTRACT_MIGRATION 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: P_SIM = Simulation Mode
Selection Text: P_RFCDS = SRM System RFC Destination
Selection Text: P_PACK = Package Size
Selection Text: P_OBJID = Contract Number
Title: Migration Report for Central Contracts
Text Symbol: 022 = Results of simulation run
Text Symbol: 021 = Contract not relevant for migration
Text Symbol: 020 = SRM not yet upgraded to 7.0
Text Symbol: 019 = ) RFC destination. Please check the RFC destination entered
Text Symbol: 018 = Communication error with given (
Text Symbol: 017 = Error while closing the background job
Text Symbol: 016 = Error while opening the background job
Text Symbol: 015 = Required business function 'LOG_MM_P2PSE_1' is not switched on
Text Symbol: 014 = Migration Report
Text Symbol: 013 = scheduled. Plase check the spool.
Text Symbol: 012 = Background job
Text Symbol: 011 = Error with ALV report
Text Symbol: 010 = No Authorization to run migration report
Text Symbol: 009 = RFC destination not maintained
Text Symbol: 008 = No migration relevant contracts exist
Text Symbol: 007 = Contract migrated successfully
Text Symbol: 006 = Contract cannot be migrated. GOA is not yet migrated in SRM
Text Symbol: 005 = Contract cannot be migrated. ERP contract is locked
Text Symbol: 004 = Contract cannot be migrated. Additional service line in ERP contract
Text Symbol: 003 = Contract cannot be migrated. Additional item in ERP contract
Text Symbol: 001 = Input Data
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_structure_name = 'MMBSI_S_CC_MIGRATION_STATUS' TABLES t_outtab = me->mt_msg EXCEPTIONS program_error = 1 OTHERS = 2.
ENQUEUE_EMEKKOS CALL FUNCTION 'ENQUEUE_EMEKKOS' EXPORTING mode_ekko = 'S' ebeln = me->mv_contract EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
DEQUEUE_EMEKKOS CALL FUNCTION 'DEQUEUE_EMEKKOS' "#EC * EXPORTING mode_ekko = 'S' ebeln = me->mv_contract.
FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' DESTINATION me->mo_util->mv_rfc_dest EXPORTING funcname = '/SAPSRM/CHECK_GOA_CONV_STATUS' EXCEPTIONS function_not_exist = 1 communication_failure = 2.
FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' DESTINATION me->mo_util->mv_rfc_dest EXPORTING funcname = '/SAPSRM/GET_CC_ADDITIONAL_INFO' EXCEPTIONS function_not_exist = 1 communication_failure = 2.
RFC_CONNECTION_CLOSE CALL FUNCTION 'RFC_CONNECTION_CLOSE' EXPORTING destination = me->mo_util->mv_rfc_dest EXCEPTIONS destination_not_open = 0 OTHERS = 0.
/SAPSRM/CHECK_GOA_CONV_STATUS CALL FUNCTION '/SAPSRM/CHECK_GOA_CONV_STATUS' DESTINATION me->mo_util->mv_rfc_dest CHANGING ct_goa_status = lr_status->* EXCEPTIONS communication_failure = 0.
/SAPSRM/GET_CC_ADDITIONAL_INFO CALL FUNCTION '/SAPSRM/GET_CC_ADDITIONAL_INFO' DESTINATION me->mo_util->mv_rfc_dest CHANGING ct_additional_info = lr_addit->* EXCEPTIONS communication_failure = 0.
ME_UPDATE_DOCUMENT CALL FUNCTION 'ME_UPDATE_DOCUMENT' IN UPDATE TASK EXPORTING nekko = ls_nekko oekko = ls_oekko TABLES xeket = lt_eket xekkn = lt_ekkn xekpo = lt_nekpo xkomv = lt_komv yeket = lt_eket yekkn = lt_ekkn yekpo = lt_oekpo ykomvi = lt_komv xekbes = lt_ekbes.
RFC_CONNECTION_CLOSE CALL FUNCTION 'RFC_CONNECTION_CLOSE' EXPORTING destination = me->mo_util->mv_rfc_dest EXCEPTIONS destination_not_open = 0 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.
MMBSI_CONTRACT_MIGRATION - Migration Report for Central Contracts MMBSI_CONTRACT_MIGRATION - Migration Report for Central Contracts MMBDREP2 - Repair Program for MARC-XCHAR MMBDREP2 - Repair Program for MARC-XCHAR MMBDREP1 - Updating Field Table for Material Maintenance Status MMBDREP1 - Updating Field Table for Material Maintenance Status