Function Module READ_WORKLOAD 

Use

This function module is a component of the CS-SDL interface with which an external scheduling system can be connected to the order processing function in the application areas Plant Maintenance and Customer Service.

Integration

The function module READ_WORKLOAD defines the interface with which the actual dates for the technician are read from the external scheduling system when the graphical monitor is started or refreshed.

Prerequisites

You have assigned the function module READ_WORKLOAD to the fixed value R in Customizing under Plant Maintenance and Customer Service ® Maintenance and Service Processing ® Maintenance and Service Orders ® Scheduling ® External Scheduling ® Configure Communication.

Features

Import Parameters

Parameter Name

Component

Data Type

Length

Short Text

START_DATE

 

DATS

8

Date and time, local date of user

END_DATE

 

DATS

8

Date and time, local date of user

WORKCENTER_

ID

 

NUMC

8

Operating resources object ID

 

Tables

Parameter Name

Component

Data Type

Length

Short Text

PERSONS

OTYPE

CHAR

2

Object ID

PERNR

NUMC

8

Personnel number

WORKLOAD

TYPE

CHAR

1

One-character indicator

REFID

CHAR

40

Character,

40 figures

ID

CHAR

70

Character field of length 70

TEXT

CHAR

80

Char 80

START_DATE

DATS

8

Date and time, local date of user

START_TIME

TIMS

6

Date and time, local time of user

END_DATE

DATS

8

Date and time, local date of user

END_TIME

TIMS

6

Date and time, local time of user

Note

When this function module is called, the system transfers the work center ID that inquires about the current technician assignments to you using the parameter WORKCENTER_ID. At the same time, you receive a list of the current technicians for this work center in the table MSM_PERSON. The components OTYPE has the fixed value P.

After the function module has been called, the list of technician assignments should be available in the table RIGHT_HAND. The component REFID must refer to a valid PERNR component. You transfer the order number using the component ID. The component TYPE must have the fixed value X.