Skip to Content
Author's profile photo Michal Krawczyk

Michal’s Tips: How to set up multiple selection index table in AIF – quick tip

AIF allows configuring multiple selection tables for indexing values which may appear in a single message more then once (for example material number in lines of a sales order). AIF cookbook however does not provide the info how to create such tables. In this short article I will quickly describe the procedure.

Step 1

Copy table – /AIF/STD_IDX_TBL to your custom table and insert one new field – Counter – after the field MESGUID. Make sure it has the same attributes as per screenshot below:

a) key field – checked

b) initial value  – checked

c) data type – int4

index_1.JPG

Now you can add your key fields to the table (this you can do in the same way as you’d when working with single index tables)

Step 2

Once you save and activate your multiple index table you can use for your AIF interface. To do this you need to go to – /AIF/CUST – Error Handling – Interface Specific Features, select the Key field name, Data element, Parameter, Field-name and you need to select “Multiple selection type” field as – Multiple selection.

index_2.JPG

NOTE

Make sure you don’t put the multiple index table in transaction /AIF/CUST – Error Handling – Interface Specific Features as there you can only put single index tablels.

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hi Michal,

      It is possible you mean "Namespace Specific Features" in the note you made?

      "Make sure you don't put the multiple index table in transaction /AIF/CUST - Error Handling - Interface Specific Features as there you can only put single index tablels."

      In the SAP Help (F1) of the "Message Index Table Name" field following is mentioned:

      "Message Index Table Name

      Defines the name of the single or multiple index table for a given interface."

      Thanks for the additional information!

      Kind Regards,

      Brecht Bauwens