Ansicht
Dokumentation

/SAPTRX/SEND_PPDS_APO_ALERT - Send PP/DS Alert to SAP APO Alert Monitor

/SAPTRX/SEND_PPDS_APO_ALERT - Send PP/DS Alert to SAP APO Alert Monitor

General Data in Customer Master   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module sends a PP/DS alert to the SAP APO Alert Monitor.

It creates an alert for machine breakdown (SCEM).

It can only be used in rule activities.

  • Parameter-1: Enter the SAP APO destination or a metadata tag to retrieve the value.
  • Parameter-2 (optional): Enter the business system group or a metadata tag to retrieve the value.
  • Parameter-3 (optional): Enter the logical system name or a metadata tag to retrieve the value.
  • Parameter-4 (optional): Enter the SAP R/3 plant name or a metadata tag to retrieve the value.
  • Parameter-5 (optional): Enter the SAP R/3 capacity ID or a metadata tag to retrieve the value.
  • Parameter-6 (optional): Enter the resource ID or a metadata tag to retrieve the value.
  • Parameter-7 (optional): Enter the location ID or a metadata tag to retrieve the value.

Parameters 2, 3, 4, and 5 are required if parameters 6 and 7 are blank. Parameters 6 and 7 are required if parameters 2, 3 , 4, and 5 are blank.

Return code:

  • 0 - PP/DS alert created successfully
  • 2 - PP/DS alert was previously posted for this event message
  • 4 - One or more parameters are missing
  • 6 - Function module /SAPAPO/AMON_RES_BREAKDOWN_SET does not exist in the destination system
  • 8 - Error while calling the function module in SAP APO

Note: If the alert is not created in the local system, you must set the BAPI commit indicator.

Example

Notes

If the alert is created successfully, you can see the new entries in the table /sapapo/am_alert in the SAP APO system.

If you use this activity in your scenario, make sure that any alerts used are not created differently.

Further information





Parameters

E_RETURN_CODE
I_EAI

Exceptions

Function Group

TRX/SAPLTS_FUNCS

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2846 Date: 20240420 Time: 124423     sap01-206 ( 28 ms )