Ansicht
Dokumentation

WPSTS_TL_ORDER_GENER - NOTRANSL: Auftrag für (konfigurierten) Arbeitsplan generieren (ohne konfig

WPSTS_TL_ORDER_GENER - NOTRANSL: Auftrag für (konfigurierten) Arbeitsplan generieren (ohne konfig

PERFORM Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module generates a PM order out of a configurated task list. For configuration you can pass a table with values (table CONF_VALUES) to filter the operations of the task list (no equipment or material is needed).

The function module works in the following steps:

Step 1: Check if task list is configurated ...

Step 2: Create a configuration without an object for the characteristics and values in CONF_VALUES

Step 3: Prepare order generation with these characteristic values

Step 4: Call CO_IH_ORDER_GENER_5 and generate a PM order

The function module returns the (temporary) number of the temporary order which looks like %00000000001. With this number you can ...

* display the order (function module DIWPS_DISPLAY_TEMP_AUFNR)

* read the order data out of the memory (function modules CO_BT*, e.g. CO_BT_CAUFVD_READ_WITH_INDEX)

* post the order data into the data base (function module CO_ZV_ORDER_POST)

* clear the order data ot of the memory (CO_IT_ORDER_TEMP_DEL_ALL)

Example

Notes

Further information





Parameters

AUART
CUOBJ
CV_REVNR
DATUV
EQUNR
GEN_AUFNR
GLTRP
GLUZP
GSTRP
GSUZP
IR_REVISION
IT_QMNUM
IWERK
KTEXT
PLNAL
PLNNR
PLNTY
PM_OBJLIST
TPLNR
VAPLZ
VAWRK

Exceptions

ERROR_IN_CENTR_TL_CONV
ERROR_IN_CE_C_PROCESSING
ERROR_IN_CE_I_CONFIGURE
ERROR_IN_CONFIG_INSTANCE
ERROR_IN_CREATING_ORDER
ERROR_IN_PROFILE_SELECTION
ERROR_PLANT_MATERIAL
INTERNAL_ERROR
ORDER_WITHOUT_OPERATIONS

Function Group

WPSTS

General Material Data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1936 Date: 20240523 Time: 142847     sap01-206 ( 34 ms )