Ansicht
Dokumentation

/SAPAPO/MSP_UPDATE_OT_DMND - Create/Update/Delete of One Time Demands

/SAPAPO/MSP_UPDATE_OT_DMND - Create/Update/Delete of One Time Demands

General Data in Customer Master   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module creates, changes, or deletes one-time demands for Maintenance and Service Planning.

Import Parameters

  • IV_PLANNING_VERSION
All one-time demands are created, updated, or changed for the planning version of IV_PLANNING_VERSION.
  • IT_DEMANDS
Fields of table IT_DEMANDS:
  • UPDATE_FLAG

Indicates whenter the demand has to be created, changed, or deleted:
'N' = Create demand
'C' = Change demand
'D' = Delete demand
  • DMND_ID, DMND_NO

GUID or number of the demand which has to be changed or deleted. You have to specify one of these values for demands which are to be changed or deleted. For newly created demands, these fields are blank. For deletion of one-time demands, no input is necessary in the following fields.
  • MOBJ_ID, MOBJ_NO

GUID and name of the maintenance object. Either the GUID or the name of the maintenance object should be specified.
  • MTL_ID, MTL_NO

GUID and name of the check task list. Either the GUID or the name of the check task list should be specified.
  • CHECK_TYPE

Check type of the one-time demand. Check types can be defined in MSP Customizing. For a one-time demand, the check type is mandatory.
  • PLANNING_TYPE

Planning Typ of the one-time demand should be specified:
'1' = Create slot
'2' = Find slot
'3' = Packaging
  • FIXING_HORIZON

Fixing horizon of the one-time demand should be specified in weeks.
  • AVG_DURATION

Average duration of the check should be specified in hours
  • STL_ID, STL_NO

  • GUID and name of a slot task list. Either the GUID or the name of the slot task list can be transferred. If the planning type is Create Slot, this input is mandatory.

  • PREFERRED_SLOT_TYPES

For planning type Find Slot, preferred slot types are to be specified in this field (seperated by spaces as supplied in the Maintenance Profile transaction.)
  • PREFERRED_CHECK_TYPES

For planning type Packaging, preferred check types are to be specified in this field (seperated by spaces as supplied in the Maintenance Profile transaction.)
  • EARLIEST_START, PREFERRED_START, LATEST_START, and COMPLIANCE_DATE

Earlliest start, preferred start, latest start, and compliance dates of the one-time demand should be specified using these fields in the UTC time stamp format (YYYYMMDDhhmmss).

ExportParameters

ET_MSG

The table ET_MSG passes back the success and error messages that have been created.

Example

Notes

Further information





Parameters

ET_MSG
IT_DEMANDS
IV_PLANNING_VERSION

Exceptions

Function Group

APO/SAPLMSP_DMND

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Material Data  
This documentation is copyright by SAP AG.

Length: 4155 Date: 20240425 Time: 001631     sap01-206 ( 67 ms )