SAP ABAP IMG Activity SIMG_ISHMED_SORT (BAdI: Sorting Order in Patient Organizer)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       NORD (Package) R/3MED: Services processing EDV-G
IMG Activity
ID SIMG_ISHMED_SORT BAdI: Sorting Order in Patient Organizer  
Transaction Code S_KK4_96000624   IMG Activity: SIMG_ISHMED_SORT 
Created on 20020514    
Customizing Attributes SIMG_ISHMED_SORTBADI   BAdI for Sorting in Patient Organizer 
Customizing Activity SIMG_ISHMED_SORT   BAdIs for Sorting in Patient Organizer 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_ISHMED_SORT    

Use

This Business Add-In (BAdI) is called in the patient organizer/patient viewer and has three different uses:

  • Filling and sorting nodes in the patient organizer/patient viewer (Method FILL_SORT)

    This method is called for every node in the overview display. The data which is displayed in the node is transferred. You can change the sort order using the method.

    You can also fill all customer-specific columns which were implemented using an append.

    You should note that you cannot influence the structure of the aspect, only the sort order of the items within a file in the overview display.

    In order to be able to sort the various aspects and views differently, the current aspect and the current view are transferred as parameters.

  • Execute own functions (Method EXECUTE_APPEND)

    Every column, which was integrated into the progress documentation by an APPEND, has a hotspot. If you click this hotspot, the EXECUTE_APPEND method of this BAdI is called with the corresponding row and the field name of the append. You can execute any function using this method.

  • Selecting data (Method SELECT)

    This method is called for every file in which medical objects are displayed. All items in the file are transferred. You can use this method to filter items according to certain criteria or to select new items of the same medical object type. You should note that this can increase the runtime of the patient organizer/patient viewer.

    In order to be able to restrict the various aspects and views differently, the current aspect and the current view are transferred as parameters.

Standard settings

The default implementation class of the BAdI contains program code which is only executable for the country version Netherlands.

Sample code is not supplied with this BAdI.

Activities

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

You should use this BAdI, especially if you wish to override the current sort order of the patient organizer. However, we do not recommend that you use this BAdI, and the selection method in particular, intensively, due to performance reasons.

Business Attributes
ASAP Roadmap ID 262   Technical and Graphical Settings 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20101221 
SAP Release Created in 463B