Function Module PM_ORDER_EXTERN_MASTER_DATA 

Use

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

It enables you to read the necessary master data from the SAP System using one of your own programs. This function module must be called up from the external scheduling system.

Features

Import Parameters

Parameter Name

Component

Data Type

Length

Short Text

PLANT

 

CHAR

4

Plant

WORKCENTER

 

CHAR

8

Work center

ENGINEER

 

NUMC

8

Object ID

START_DATE

 

DATS

8

Field of type DATS

END_DATE

 

DATS

8

Field of type DATS

TIME_INFO

 

CHAR

1

One-character indicator

QUALIFICATION_INFO

 

CHAR

1

One-character indicator

WORKCENTER_CATEGORY

 

CHAR

4

Work center category

 

Tables

Parameter Name

Component

Data Type

Length

Short Text

ENGINEER_

MASTERDATA_

ORG_UNIT

PLANT

CHAR

4

Plant

WORKCENTER

CHAR

8

Work center

ENGINEER ID

NUMC

8

Personnel number

ENGINEER NAME

CHAR

40

Object name

ENGINEER POSTCODE

CHAR

10

Postal code

ENGINEER CITY

CHAR

35

City

ENGINEER STREET

CHAR

35

Street and house number

ENGINEER_

MASTERDATA_

QUALI

ENGINEER ID

NUMC

8

Personnel number

QUALIFICATION ID

NUMC

8

Object ID

RATING

NUMC

4

Characteristics of a quality scale

ENGINEER_

TIMELIST

PERNR

NUMC

8

Personnel number

DATE

DATS

8

Validity start date

BTIME

TIMS

6

Start time

PLPWS

CHAR

2

Time description of daily work schedule

BREAK

CHAR

1

Break indicator

TDATA

CHAR

1

Origin indicator of the time record

MOABW

NUMC

2

Grouping for subtypes

DETAIL

CHAR

4

Subtype

AVAIL

CHAR

1

Employee availability status

HOURS

DEC

8

Hours

 

For more information on interpreting the components in the table ENGINEER_TIMELIST, see the documentation on BAPI_TIMEAVAILSCHEDULE_BUILD.