CL_EXM_IM_ISHMED_PRGS_EXPECTED - ISHMED: Determine Expected End
ABAP Short Reference CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
Functionality
This sample implementation shows the determination of the end of process flow based on the “Incision” time stamp.
This sample implementation contains the following procedure:
- Assign the transferred process flow to a variable of the type Surgery (OP).
This will also check whether the process flow is for a surgery, since other types of process flow are not handled here.
- Check whether the “Incision” time stamp has been set.
If this time stamp is not set, processing will be terminated.
- The system determines the anchor service of the main surgery
- The system determines the set time stamps of the main surgery anchor service
- The system searches for the time stamp, for which the indicator ZPSCHNITT is set, among those time stamps determined.
- Determine the planned start of the incision ( = ACTUAL start of the process flow + longest duration from all preparation times)
- Determine the longest duration from all preparation times
- Determine ACTUAL start of the process flow
- Calculate expected start of the incision
- Determine the expected duration of the process flow based on the difference between ACTUAL and PLANNED start of the incision
- Calculate the difference between ACTUAL and PLANNED start of the incision
- Determine the planned duration of the process flow
- Calculate expected duration from the planned duration and the calculated difference
- Calculate the expected end from the ACTUAL start of the process flow and the expected duration
Relationships
Example
Notes
Further information
Method GET_EXPECTED_END
General Material Data Vendor Master (General Section)
This documentation is copyright by SAP AG.
Length: 2443 Date: 20120526 Time: 121551 triton ( 61 ms )






