AIF Alert Configuration

light11AIF Alert Configuration

In heterogeneous environment, one message reached AIF, the message process can be successful /error. In case of error it requires immediate action from responsible person . In such a case, alert management really helps, to send a mail or sms to the responsible person.

This post shows the detailed AIF configuration, that sends mail to the person when AIF message processed with error.


Step-1: Define Alert Category. Execute Tx- ALRTCATDEF

1

Choose Classification as- SAP Application Interface Framework . From right section, select CREATE button to create alert category.

4

Under Properties tab, provide description and choose Long and Short Text

5

Provide a suitable message title and under Long Text tab which is for EMAIL provide suitable text. Finally Save it.

6


Execute Tx- /AIF/CUST

7

Choose option: Define Namespace Specific Features and provide Namespace.

8

Choose option: Define Recipients.

9

Choose New Entries.

10

Below screen appears.

11

Just provide – Recipients for Alert and a description . Save it.

12

Now choose Configure Alerts and choose New Entries.

13

Below screen appears.

14

Provide Interface name and version.

Provide alert category name defined in the Tx-ALRTCATDEF , namespace and Default recipient as Recipient for Alert define in the previous step and choose all message types.

23


Now choose option: Assign Recipients. Provide Namespace and the recipient for alert created in previous step.

16

Choose New Entries.

17

Provide user number and user name(sap system user name) and choose message type and other details as provided below.

18


Open the view- /AIF/V_ALRT_DEF in Tx- SM30

25

Provide Namespace and interface details.

26

Here provide the namespace and Recipient for Alert and save.

27


Now in Tx- /AIF/ERR we have below messages. Here select button- Alert Inbox

19

The Alert Inbox for the user opes up and currently there is no alert message.

20


Execute the test report to send a message to AIF and which in turn will turn into Error status.

2122


Now refresh the Tx- /AIF/ERR and choose Alert Inbox button.

28

Now here is alert message with content what is provided in Alert category. Choose Long Text.

29

The alert message appears.

30

In assign Recipients step, user is assigned and if user have an email( can be checked in Tx- SU01), then user receives an email with below details.

31


The alert ID normally present in table- /AIF/ALERTS

32

More importantly- FM – /AIF/CREATE_ALERT is responsible to create and send a alert. This FM can be debugged to check if something is not working.

24


 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s