Storing AIF message in interface specific table
In the post Processing First Message in AIF AIF name space and interfaces were designed to process messages in AIF. Once message reached AIF in target system from the source system, by default it is stored in standard AIF specific table- /AIF/STD_IDX_TBL .
If multiple AIF applications are running in the system and all messages stored in table /AIF/STD_IDX_TBL, eventually it grows faster and decreases overall performance .
So AIF recommends to create own interface specific table and use it.
Open table- /AIF/STD_IDX_TBL and provide name space as- ZDEMO
Till now here 5 messages stored.
AIF provides transaction to check the details of message of a namespace. Execute Tx- /AIF/IDXTBL
Provide namespace and even interface details can be specified and also select the counters
Below details are shown.
AIF recommends to create own interface specific message table and mention this table name in customizing so that desired interface specific messages are stored in that table , without affecting the performance.
Execute transaction- /AIF/CUST
Select Define Namespace Specific Features and provide the namespace and continue.
Choose Define Namespace Specific Features and select New Entries.
Provide interface details and in the place of Message Index Table name do F1. The help document clearly mentions to make a copy of the table /AIF/STD_IDX_TBL .
Go to Tx- SE11 and make a copy of the table /AIF/STD_IDX_TBL and activate it.
Now specify the table name in the customizing and save it.
In the post Processing First Message in AIF we have created a report which sends message to AIF. Execute the report.
Now check in the table and it should have one message.
Again you can execute the Tx- /AIF/IDXTBL
Provide the namespace and choose the counters and excute.
The below information displayed.