Function Module PM_ORDER_EXTERN_BOOK_DEFAULT 

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

When you save the order, the systems calls up the interface PM_ORDER_EXTERN_BOOK_DEFAULT in order to transfer the data to be posted to the external scheduling system. This ensures that if the external system is called exactly once, the call is a transactional remote function call. In order to ensure that the correct sequence of the external system call is observed, the call occurs as a QUEUE-RFC. The queue name is composed of the fixed value CS_SDL and the order number.

Prerequisites

You have assigned the function module PM_ORDER_EXTERN_BOOK_DEFAULT to the fixed value B 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

ORDER_

HEADER

ORDER_ NUMBER

CHAR

12

Order number

OWN_

LOGICAL_

SYSTEM

CHAR

10

Logical system

START_DATE

DATS

8

Order start date

START_TIME

TIMS

6

Order start date (time)

END_DATE

DATS

8

Order finish date

END_TIME

TIMS

6

Order finish date (time)

PRIORITY

CHAR

1

Order priority

PREFERRED_ ENGINEER

NUMC

8

Object ID

ORDER_TYPE

CHAR

4

Order type

CUSTOMER_
NUMBER

CHAR

10

Customer number

POST_CODE

CHAR

10

Postal code

CITY

CHAR

35

City

STREET

CHAR

35

Street and house number

STATUS

CHAR

4

Individual object status (short form)

 

Tables

Parameter Name

Component

Data Type

Length

Short Text

OPERATIONS

ID

NUMC

8

General counter for the order

COUNTER

CHAR

4

Operation number

SUB_COUNTER

CHAR

4

Sub-operation

UPDATE_

FLAG

CHAR

1

Update indicator

DESCRIPTION

CHAR

40

Operation short text

EARLIEST_

START_DATE

DATS

8

Earliest scheduled start: Execute (date)

EARLIEST_

START_TIME

TIMS

6

Earliest scheduled start: Execute (time)

LATEST_

START_DATE

DATS

8

Latest scheduled start: Execute (date)

LATEST_

START_TIME

TIMS

6

Latest scheduled start: Execute (time)

EARLIEST_

FINISH_DATE

DATS

8

Earliest scheduled finish: Execute (date)

EARLIEST_

FINISH_TIME

TIMS

6

Earliest scheduled finish: Execute (time)

LATEST_

FINISH_DATE

DATS

8

Latest scheduled finish: Execute (date)

LATEST_

FINISH_TIME

TIMS

6

Latest scheduled finish: Execute (time)

NUMBER_OF_
CAPACITY

NUMC

2

Two-figure number

WORKCENTER

CHAR

8

Work center

PLANT

CHAR

4

Plant

AMOUNT_OF_
WORK

FLTP

16

 

SCHED_

PARAM1

CHAR

4

Scheduling parameters for external scheduling

SCHED_

PARAM2

CHAR

4

Scheduling parameters for external scheduling

SCHED_

PARAM3

CHAR

4

Scheduling parameters for external scheduling

REQUIREMENTS

OPERATION_ID

NUMC

8

General counter for the order

QUALIFICATION_ID

NUMC

8

Object ID

RATING

NUMC

4

Characteristics of a quality scale

ESSENTIALX

CHAR

1

Indicator: Mandatory or optional requirement