Fonction SAP BAPI_ISUSMNOTIF_SETCOMPLETED - Set Service Notification to Completed

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
NUMBER BAPI_SMNTF-NOTIF_NO C 12 Number of Notification to be Completed
POST_IMMEDIATELY RIWO00-SELEC C 1 SPACE X Post Status Change Immediately

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 Notifications

Functionality
This Business Application Programming Interface (BAPI) can be used toset the status of a service/maintenance notification to Completed

Notes
The parameter NUMBER must always be specified. Make sure you only useexisting service/maintenance notifications.
If the optional parameter POST_IMMEDIATELY is not left blank, thechange is updated immediately. Otherwise, call function moduleBAPI_TRANSACTION_COMMIT (external commit for using BAPIs) to start theupdated, as usual.
The key fields used by the method are described in the parameter
documentation. Messages are returned in the RETURN parameter. Thereturn values and their meanings are listed in the documentation forthis parameter.

Description
Number of a service notification that is to be closed.

Description
Messages of the method.

Value range

Type ID Number Text
I IM 418 Notification NUMBER still locked
Solution: Try again later.
S IM 267 Notification is completed -> can only be
displayed
A 00 255 Function code cannot be selected
Solution: No further action required; notification is already
completed
E IM 502 Notification NUMBER does not exist
Solution Use a notification number that exists in the target
system
S IM 446 Reference date for completion is determined by
the notification type
S IM 408 Notification NUMBER completed