cancel
Showing results for 
Search instead for 
Did you mean: 

APO Destination ID for Activity SEND_PPDS_APO_ALERT

former_member195779
Active Participant
0 Kudos

Hi,

What is APO Destination ID for Activity SEND_PPDS_APO_ALERT. The associated FM is /SAPTRX/SEND_PPDS_APO_ALERT.

I have to assign APO destination ID in Rules.

Regards,

Amarnath Dube.


Accepted Solutions (1)

Accepted Solutions (1)

former_member190756
Active Contributor
0 Kudos

Yes,

the field is to specify the APO destination directly or e.g. from an EM parameter during runtime.

Short Text

Send PP/DS Alert to SAP APO Alert Monitor

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.

Best regards,

Steffen

  • 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.

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.

former_member195779
Active Participant
0 Kudos

Hi Steffen,

Thanks for the information.

But the above I already found in EM documentation.

But I still not able to get what I have to provide for APO destination ID ?

Because its the mandatory entry for that FM.

Regards,

Amarnath Dube


former_member190756
Active Contributor
0 Kudos

It is just the RFC connection from SM59 for your APO system.

Best regards,

Steffen

Former Member
0 Kudos

Hi Amarnath,

When you send production planning machine breakdown alert to APO system, you need to specify RFC destination of APO system in required field. It would be like APP or APPCLNT001 or APOCLNT000 (as per client system id), as Steffen said you can find through SM59 or in IMG -> Event Management -> General Settings in SAP Event Management -> Define RFC Connection to Application System or check table RFCDES-RFCDEST to find and enter in activity parameter APO Destination field.

Regards

GGOPII

Answers (0)