Applies to:

AIF Consultants

Summary:

  • Install and post-installation steps (AIF 3.0)
  • Creation of AIF interfaces for existing ABAP-Proxies

SAP AIF Installation

SAP AIF is add-on for any ABAP system. Please pay attention to the following points:

  • You can’t uninstall AIF
  • It is possible to install AIF to the system with correct components.

Components version check

You can check component versions using tcode SAINT.

 

Component Release Support Package
SAP_BASIS 700 SAPKB70017
SAP_ABA 700 SAPKA70017

Download

Component AIF702 (AIF 3.0) is available on https://launchpad.support.sap.com/#/softwarecenter :

-> Installations and Upgrades

-> By Category

-> SAP Application Components

-> APPLIC INTERFACE FRAMEWORK

-> APPLIC INTERFACE FRAMEWORK 3.0

-> Installation

 

Required Support Packages you can find on https://launchpad.support.sap.com/#/softwarecenter here:

-> Support Packages and Patches

-> By Category

-> SAP Application Components

-> APPLIC INTERFACE FRAMEWORK

-> APPLIC INTERFACE FRAMEWORK 3.0

-> COMPRISED SOFTWARE COMPONENT VERSIONS

-> AIF702

-> SUPPORT PACKAGES

 

It’s ok to install the latest packages.

Install

You can install SAP AIF using tcode SAINT.

  • As a preparation, you should copy downloaded components to EPS. As usual, it looks like \\systemhost\sapmnt\trans\EPS\in
  • In tcode SAINT push Start, then Load and confirm a loading from EPS.
  • Then you can see available components loaded.
  • To install a component SAPK-702AGINAIF you should use a password from SAP Note 2071823


The same way you can install Support Packages.

AIF Post-installation steps

Generate ranges

First, you need to generate a number ranges.

For AIF 2.0 use an ABAP-report /AIF/GENERATE_NUMBER_RANGES.

For AIF 3.0 use a tcode /n/AIF/SETUP

 

Copy requests

To activate SAP AIF in a client, you need to copy following requests from client 000 using SCC1 tcode:

  • AIF702(new installation): SAPK-702AGINAIF
  • AIFX702 (new installation): SAPK-702AGINAIFX

SAP AIF Interface Creation

The purpose of this blog is fast involving of SAP AIF to your system landscape with existing ABAP-proxy interfaces, so if you need to develop complicated custom interfaces, you can find it in Related Content below.

Namespace creation

To create a namespace, you need to use tcode /n/AIF/CUST:

Interface development -> Define namespace

Note:    It is recommended to group interfaces by business function, for example: master data, finance etc.

You can use 8 symbols for namespace.

 

Interface creation

To create a namespace, you need to use tcode /n/AIF/CUST:

Interface development -> Define interface

Then find your namespace and select “New entries”.

Define a name of interface and it’s version and save.

To use your interface with ABAP-Proxy, you need to know ABAP proxy Implementing class in tcode SPROXY:

Then, return to AIF interface definition and enter the ABAP Implementing class name to the Proxy Class Inbound field and press Enter. You will see that Raw Data Structure and Record Type in Raw Structure is defined automatically:

Now you are able to monitor your interface.

AIF Interface Monitoring

To monitor the interfaces, use a tcode /n/AIF/ERR. Select a namespace, interface name and version, date range etc.

Related Content

AIF FAQ

SAP AIF on Help.sap.com

SAP AIF Cookbook v4

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply