Fonction SAP BAPI_SYSTEM_ALERT_ACKNOWLEDGE - Confirmation of an Alert

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
AID BAPIAID u 84 Alert ID
EXTERNAL_USER_NAME BAPIXMLOGR-EXTUSER C 16 Name of the SAP-External User

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Messages

Paramètre Reférence Long. Facultatif Description
BAPIAID_TBL BAPIAID_RC 120 X Extension of BAPIAID Structure by Returncode

Functionality
This method allows an external management tool to confirm an alert(entry in parameter AID). If multiple alerts are to be confirmed, theoptional table BAPIAID_TBL can be filled. In this case, the AIDparameter is ignored.
The table BAPIAID_TBL has the same structure as the input parameterAID. The table also contains the columns RC (ReturnCode) and RC_Text,which report the success (RC = 0) or failure (RC > 0) of the action.All alerts are processed, even if an error occurs when confirming analert. The alert for which the confirmation failed can be determinedfrom columns RC and RC_TEXT. The BAPI return value in this case returnsan "internal error". An "internal error" means only that at least oneconfirmation failed - not that all confirmations failed.

Notes
To display a confirmed alert in the alert overview, the alert historymust be displayed along with the active alert.

Further information
XAL DOCUMENTATION

Description
INCLUDE RETURN_DESC ID TX

Value range
MSG_AID_INVALID: The specified alert ID is invalid.
MSG_TID_INVALID: The TID of the alert is invalid.
MSG_CALL_INVALID: The underlying function call could not be executed(possibly because the function parameters are not set correctly)
MSG_C_CALL_FAILED: The last C function to be called could not beexecuted
MSG_COMMUNICATION_PROBLEM: The tool could not be executed due tocommunication problems (possibly check network connection)
MSG_DB_PROBLEM: A problem occurred when the system attempted to accessthe database
INCLUDE RETURN_DEFAULT_RANGE ID TX

Description
INCLUDE AID_DESC ID TX

Description
INCLUDE EXTERNAL_USER_NAME_DESC ID TX

Value range
INCLUDE EXTERNAL_USER_NAME_RANGE ID TX