Fonction SAP ALM_PM_MAINTNOT_CREATE - PM notification: create

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EXTERNAL_NUMBER BAPI2080_NOTHDRE-NOTIF_NO C 12 X Notification number (for external numbering)
NOTIFHEADER BAPI2080_NOTHDRI u 831 Notification header data
NOTIF_TYPE BAPI2080-NOTIF_TYPE C 2 Notification Type
ORDERID BAPI2080_NOTHDRE-ORDERID C 12 X
SENDER BAPI_SENDER u 10 X Log. external system
TASK_DETERMINATION BAPIFLAG u 1 SPACE X Task determination: 'X'= execute

Paramètre Reférence Type Long. Description
NOTIFHEADER_EXPORT BAPI2080_NOTHDRE u 1232 Notification header data

Paramètre Reférence Long. Facultatif Description
KEY_RELATIONSHIPS BAPI2080_NOTKEYE 160 X Table with key relationships external - internal
LONGTEXTS BAPI2080_NOTFULLTXTI 152 X Work Table for Longtexts
NOTIFACTV BAPI2080_NOTACTVI 162 X Work Table for Activities
NOTIFCAUS BAPI2080_NOTCAUSI 138 X Work Table for Causes
NOTIFPARTNR BAPI2080_NOTPARTNRI 98 X Work Table for Partners
NOTIFTASK BAPI2080_NOTTASKI 188 X Work Table for Tasks
NOTITEM BAPI2080_NOTITEMI 480 X Work table for notification item
RETURN BAPIRET2 548 X Message type:S success, E error, W warning, I in

Functionality
This BAPI enables you to create a new service notification. This allowsyou to create certain fields from the notification header, items,causes, tasks, activities and also long texts for them. Partners canalso be maintained.

Notes
Errors are returned in the parameter RETURN.

Technical note
The sort field must be filled in order to create items, causes, task oractivities. When creating a cause the sort field for the item must alsobe filled.
When creating a long text the fields OBJTYP and OBJKEY must be filled.OBJTYP can contain the following values:
QMEL - notification header
QMFE - notification item
QMUR - notification cause
QMSM - notification task
QMMA - notification activity
OBJKEY must contain the corresponding sort field for the above values.The combination of sort field item/cause, item/task or item/activitymust be unique within the same notification. If you leave the sort fieldblank and OBJTYP = QMEL, the long text is created for the notificationheader.
An external reference key can be transferred by the field REFOBJECTKEY.The links between external reference keys <-> SAP keys are returnedwithin export table KEY_RELATIONSHIPS. If the fields SENDER,REFOBJECTTYPE and REFRELTYPE are filled, it is possible to create anobject link at notification header level.

Description
Structure which contains information about the Service notificationheader (general data).

Description
Number of the service notification which should be created.

Description
Structure which contains information about the Service notificationheader (general data).

Description
Information about the type of the service notification.

Description
Field which contains information about the Order number.

Description
Information about Task determination Log. external system.

Description
Information about Task determination: 'X'= execute.

Description
Table which contains the service notification's key relationshipswhich should be created.

Description
Table which contains the service notification's texts which should becreated.

Description
Table which contains the service notification's activities which shouldbe created.

Description
Table which contains the service notification's causes which should becreated.

Description
Table which contains the service notification's partners which shouldbe created.

Description
Table which contains the service notification's tasks which should becreated.

Description
Table which contains the service notification's items which should becreated.

Description
Table which contains information on the errors that occured during theprocessing.