SAP ABAP IMG Activity SIMG_ISHMED_VD_02 (BAdI: Define View for Progress Entries)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       NMED (Package) R/3MED: Medical documentation GSD
IMG Activity
ID SIMG_ISHMED_VD_02 BAdI: Define View for Progress Entries  
Transaction Code S_KK4_96000666   (empty) 
Created on 20021015    
Customizing Attributes SIMG_ISHMED_VD_02   BAdI: Define View for Progress Entries 
Customizing Activity SIMG_ISHMED_VD_02   BAdI: Implementation of View for Progress Entries of One Type 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_ISHMED_VD_03    

Use

You can use the customer enhancement Define View for Progress Entries to implement application-specific views for progress entries. The system will use the Categories determined by the application as filter values for calling the corresponding implementation.

Requirements

Standard settings

If the application program cannot find an active project-specific filter implementation, it will automatically create a standard view as an HTML page. The generated page is displayed in the View Container for Progress Documentation. The Smart Form N0VDDEFFORM used for this demonstrates the conversion to HTML and contains the necessary interfaces.

Activities

  • If you wish to use the standard implementation no further activity is necessary.
  • If you wish to define an application-specific view, we recommend the following procedure:

  1. Using the IMG activity you create an implementation of the BAdI ISHMED_VD_VIEW in the customer namespace. You select the filter value determined by the application, for example, Z_NOTIZ. The filter value of the BAdI implementation is determined by the (display) Category of the progress entry and is entered in the application when the methods are called. The reserved customer namespace is OPDCHART*, PATHWAY*, X*, Y*, Z*.
  2. You implement the interface methods. If you do not require a method you must create it and leave it empty, i.e. without program code, and activate it. (You can use the standard BAdI implementation as a template for your own development.)
    1. Initialize the view.
    2. You add the progress entries with the ADD_NOTE method. You use the CLEAR, method before you recreate the progress entries to be displayed.
    3. You implement the Refresh and Display method of the view.
      If you wish to format the HTML page using a Smart Form, you can use the Smart Form N0VDDEFFORM as a template. To do this you copy this Smart Form into the customer namespace and change the layout to suit your requirements. The form contains the interfaces for the access to the progress entries and attributes.
    4. You Release the Resources.
    5. You use the PRINT method to describe the printout.
    6. You can enhance the implementation by adding your own methods.
  3. You test and activate the customer enhancement.

Example

Views are implemented for the following Filter Values:

Filter Value    Function   

SPACE    Smart Form-based standard view (Standard Implementation)

HTML_VIEW    Creates HTML page based on dynamic document (see CL_DD_DOCUMENT). In the PRINT method the progress entries are displayed using Smart Forms.   

OPDCHART*    XML-based display of outpatient clinic folder entries. The HTML formatting takes place using the supplied transformation N2OPDCHART.

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 SIMG_ISHMED_VD_03 0 I010004328 Documents 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20040225 
SAP Release Created in 471