SAP ABAP IMG Activity /MRSS/SQL_CAT_MIGR (BAdI: Transfer of Qualification Catalogs)
Hierarchy
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
   PM-WOC-MO (Application Component) Maintenance Orders
     /MRSS/SQL (Package) MRS qualifications: data transfer (legacy migration)
IMG Activity
ID /MRSS/SQL_CAT_MIGR BAdI: Transfer of Qualification Catalogs  
Transaction Code /MRSS/35000058   IMG Activity: /MRSS/SQL_CAT_MIGR 
Created on 20061214    
Customizing Attributes /MRSS/SQL_CAT_MIGR   BAdI: Transfer of Qualification Catalogs 
Customizing Activity /MRSS/SQL_CAT_MIGR   BAdI: Transfer of Qualification Catalogs 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /MRSS/SQL_CAT_MIGR    

Use

With this BAdI, you can check the scales of the standard qualification groups whose qualifications you want to transfer to an MRS qualification catalog, and cancel the transfer if necessary. You can also transfer your own message that replaces the standard message if errors occur. If you do not specify your message as an error message, it is displayed in any case (useful for messages of type I, for example).

In addition, you can change the selected qualification groups and qualifications before the transfer. You can delete qualifications and qualification groups, and assign or rename other hierarchy nodes.

The BAdI is called in the framework of the transfer program for qualification catalogs /MRSS/SQL_CAT_MIGRATION.

Standard settings

The BAdI is not active in the standard shipment.

Activities

The BAdI has the following methods:

  • OBJID_SCALES_CHECK

    The method provides the assignment between the object IDs and the scales of the selected qualification groups. In addition, it provides the option of cancelling further processing and transferring a notification.

  • QUALIFICATIONS_CHECK

    As the import parameter, this method provides the language in which the currently transferred records are to be forwarded, and as the change parameter, it provides a table with data for qualifications and qualification groups to be forwarded. These contain the current text and hierarchy information for the qualifications and qualification groups. Their item IDs (POSID field) may be deleted together with a record from the change table, but otherwise they cannot be changed. If individual items are assigned to a new parent node (PARID field) or deleted, the sequence numbers (SEQNR field) have to be changed for all entries of the parent node in question.

After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.

If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:

  1. In the dialog box, enter a name for the implementation of the Add-In and choose Create.
    The system displays the initial screen for creating Business Add-In implementations.
  2. On this screen, enter a short description for your implementation in the Implementation Short Text field.
  3. If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
  4. Save your entries and assign the Add-In to a package.
  5. To edit a method, double-click its name.
  6. Enter your implementation code between the method <Interface Name>~<Name of Method>. and endmethod. statements.
  7. Save and activate your code. Navigate back to the Change Implementation screen.
    Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step:
  8. Choose Activate.
    When the application program is executed, the code you created is run through.

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG /MRSS/SQL_CAT_MIGR 0 HLB0009110 Cross-Application Components 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20090903 
SAP Release Created in 195