AIF Message Processing Types

light111AIF Message Processing Types

Once message reach the AIF, it is persisted in the DB table. Then the message to be processed immediately online or by background job  or the message to be processed later depends on the run time configuration group. 

Below post shows how to configure runtime configuration group for synchronous and asynchronous message processing


Tx- /AIF/PERS_CGR

1

Provide name space- ZDEMO

2

The run itme config ID- XML for which- checkbox Runtime CFG Active checkbox is selected. This means as soon as message reached AIF it starts processing( online processing , no background job)

3

Execute Tx- /AIF/ERR to see the AIF interface specific logs.

45

Here we have 1 message which already processed( after processing the message status may be Error or Successful).

6


Execute the test program to send a message to AIF.

789


Now check log in Tx- /AIF/ERR, so here now one more message is received and processed successfully.

10

And you can check Tx- SM37 and confirm that there is no job.

11


Now we can set the Run Scheduled checkbox along with Run time cfg Active, which means as soon as message reached in AIF the processing starts but not online but via background job.

12

Use test program to send a message again.

13

Refersh Tx- /AIF/ERR and it shows one more message received and processed immediately( final status Error).

14

Tx- SM37 can be checked which shows AIF message processed via background job and job log can be displayed.

1516


One runtime config. id can be crated where Runtime Cfg Active check box is  not selected. This means once it is reached AIF, the processing not started automatically. It has to be start manually.

17

Execute the test report to send a message to AIF.

1819


Check Tx- /AIF/ERR, one more message reached AIF but its start is ready( not yet processed).

20

Then report- /AIF/PERS_RUN_EXECUTE must be run either online or a scheduled job which processes all the received unprocessed messages.

21

Provide the namespace and the runtime conifg ID. Execute.

22

Execution finished with a status message.

23

Check- message status in Tx- /AIF/ERR and the previous unprocessed message now processed.

24


 

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 )

Facebook photo

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

Connecting to %s