BAPI_ALM_NOTIF_CREATE - Maintenance
Notification
I am trying to use BAPI "BAPI_ALM_NOTIF_CREATE" to
create Maintenance Notification. I am working on SAP ECC 5.0 Version.
When I try to create the same using IW21 transaction, by just passing Notificaiton
type, Equiment Number and short text, I am able to create the notification.
To create items, causes, tasks, or actions, the sort field must be filled. When you create a cause, the sort field of the item must also be filled. When you create a long text, the fields OBJTYP and OBJKEY must be filled. OBJTYP can have the following values: 1. QMEL - Notification header
OBJKEY must have the corresponding sort field for the values named above. The combination of sort field of item/cause, item/task and item/action must be unique within a notification. If you leave the sort field empty and the OBJTYP = QME, then a long text is created for the notification header. In the field REFOBJECTKEY an external reference can be transferred. The link between external reference keys and R/3 keys is transferred in the export table KEY_RELATIONSHIP. If the fields SENDER, REFOBJECTTYPE and REFRELTYPE are filled, then an object link can be created at notification header level. ABAP Tips by : Veeru
See Also
More ABAP Tips
BDC Programming Tips - Sapscripts Tips - Smartforms Tips SAP Basis, ABAP Programming and Other IMG Stuff http://www.erpgreat.com All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|