Ansicht
Dokumentation

ISHMED_CPOSDLG_BADI - BAdI: Control Dialog for Order Items

ISHMED_CPOSDLG_BADI - BAdI: Control Dialog for Order Items

General Material Data   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Clinical Order (IS-HMED-CO) component.

You can use this BAdI to control the dialog behavior of a clinical order item as follows:

  • You can determine whether a clinical order item should be displayed in expanded or collapsed form the first time a clinical order is displayed.
  • You can preset image fields of the brief info row of a clinical order item and define whether the cycle or the date and time of the appointment template, the appointment or the movement should be displayed.

This BAdI is not active as standard.

The BAdI cannot be used multiple times.

The BAdI is filter-independent.

A fallback class is provided with the standard implementation for this BAdI. This means that if there is no active implementation, the system runs the implementation. In this standard implementation the dialog behavior of a clinical order item is controlled as follows:

  • The clinical order item is collapsed or expanded depending on user parameter N1CORD_POS.
  • The date and the time which is displayed or whether a cycle is displayed, depends on the following prioritization:
  • Display cycle if appointment and movement do not yet exist and a cycle is entered

  • Display cycle if appointment and movement do not yet exist, "Cycle Input Active" indicator is set in order type and a cycle is possible

  • Display chronologically first plannable appointment (only in create or change mode)

If the clinical order item has no appointment and appointment planning is possible, an empty appointment is displayed.
  • Display chronologically first planned movement
    If the clinical order item has no planned movement, the chronologically last actual movement is displayed.

  • Display chronologically first non-plannable appointment

  • Display cycle if cycle is possible or if clinical order is a base item or an order template

  • Display appointment template

The BAdI implementation is instantiated depending on the context. This means that the same BAdI implementation is used for each internal mode and order item.

If you create your own BAdI implementation, you can inherit from the fallback class.
This is sensible, for example, if you do not wish to override all methods of the BAdI.
If, for example, you only wish to override one method, you must only redefine this method (if you inherit from the fallback class). For the other methods the system uses the coding of the fallback class because of the inheritence.

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

To display the fallback class, call the BAdI Builder (SE18). On the Enh. Spot Element Definitions double-click on the BAdI implementation. Choose Display for the fallback class (pushbutton). Double-click on the method.

This BAdI uses the interface IF_EX_ISHMED_CPOS_DIALOG. For more information, display the interface in the Class Builder.






TXBHW - Original Tax Base Amount in Local Currency   General Material Data  
This documentation is copyright by SAP AG.

Length: 4437 Date: 20240523 Time: 192005     sap01-206 ( 111 ms )