SAP ABAP IMG Activity ISHMED_PG_BADI_APP (BAdI for Labelling Planned Appointments)
Hierarchy
IS-H (Software Component) SAP Healthcare
   IS-HMED-SC (Application Component) Planning
     N1APMG_MED (Package) IS-H*MED: Appointment Management
IMG Activity
ID ISHMED_PG_BADI_APP BAdI for Labelling Planned Appointments  
Transaction Code S_KK4_98000114   (empty) 
Created on 20031205    
Customizing Attributes ISHMED_PG_BADI_APP   BAdI for Labelling Planned Appointments 
Customizing Activity ISHMED_PG_BADI_APP   BAdI for Labelling Planned Appointments 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name N1_PG_LABEL_APP    

Use

This Business Add-In (BAdI) is used in the Planning (IS-ISHMED-SC) component.

You can use this BAdI to display planned appointments in the time grid of the planning grid with additional information.

Note that the number of characters for the additional information is restricted to 255 in the Visual Basic planning grid. In Unicode systems, the text length may be somewhat shorter since, for example, more than one character is needed for umlauts (in German). This restriction does not exist for the Java planning grid.

Requirements

Appointment management and the planning grid must be configured.

The implementation of the BAdI must be activated.

Standard settings

If you have not activated an implementation of the BAdI, the planning grid will display planned appointments in the time grid with the name of the patient. Appointments which are planned for the services to be performed also display the names of the services.

Activities

BAdI Interface IF_EX_N1_PG_LABEL_APP

Using this Business Add-In it is possible to design the labelling of the appointments in the planning grid yourself. All appointment information can be determined using the appointment instance included.

Instructions for Inserting a Line Break

Declaration:

CLASS cl_abap_char_utilities DEFINITION LOAD. 
DATA cr(1) type c VALUE cl_abap_char_utilities=>CR_LF.

You have to insert the variable cr in return parameter e_info at each point where you want to insert a line break.

Example

You wish to display planned appointments in the planning grid with the following information:

  • Name of the patient
  • Age of patient
  • For inpatients, the name of the care unit to which the patient is assigned.

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 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20031205 
SAP Release Created in 472