Skip to Content
Author's profile photo Hemant Negi

SAP AIF- Simple Outbound Scenario Part-2

Previously SAP AIF- Simple Outbound Scenario Part-1  we have covered the basic process for SAP PI and Proxy.

Here we will be dealing with SAP AIF Customization for Outbound Scenario .

SAP AIF Customization

Here I’ll be using the same namespace ZAIF_D (as it was created for Inbound Scenario )

/wp-content/uploads/2015/08/8_770651.png

  Define InterfaceSelect  the namespace (ZAIF_D), New Entries.

    Select-(as highlighted  in below figure )

     Proxy Class Outbound.

    SAP DataStrucutre

/wp-content/uploads/2015/08/8_770651.png

Specify interface engine – Enter the details as shown below.

/wp-content/uploads/2015/08/10_770653.png

  Define Structure Mapping  –  Select Namespace, InterfaceName,Interface Version

  Select the Source Structure ( this is created in SE11)

/wp-content/uploads/2015/08/11_770666.png

Now select destination structure –

/wp-content/uploads/2015/08/12_770667.png

Define field Mapping

/wp-content/uploads/2015/08/13_770668.png

For simplicity, No action has been added here

/wp-content/uploads/2015/08/14_770675.png

For triggering an Outbound data.

Go to SE38 – Create a report  which will give the total number of records updated, using CALL FUNCTION ‘/AIF/SEND_WITH_PROXY’

/wp-content/uploads/2015/08/15_770676.png

SXMB_MONI (ECC)

/wp-content/uploads/2015/08/16_770677.png

T-code –AIF/ERR – Shows successful message

17.PNG

18.PNG

Related Content —

SAP Application Interface Framework – SAP Library

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b03f1896-f3f1-3010-8593-f6611cf930dc?QuickLink=index&…

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10f6cc60-b6f9-2f10-f29d-d2c5a3e702d8?QuickLink=index&…

SAP AIF – Simple Inbound Scenario –  Part-3

Assigned Tags

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

      nice blog 🙂

      Author's profile photo Former Member
      Former Member

      Can you also post the different methodology for connectivity to PI and other systems ?

      Thanks for the info by the way.

      Author's profile photo Former Member
      Former Member

      Can we send data from a report / OData service to AIF? Please explain with steps. I checked many forums in SAP, but didn’t find any document for that

       

      Author's profile photo Jo Kr
      Jo Kr

      Hi,

      thanks for the helpful blog entry.

      I'm wonding if we can fill the virtual receiver fields with AIF and how?
      Can anyone help, because /AIF/SEND_WITH_PROXY is missing them.
      (Code example: Sender ABAP Proxy Routing Protocol)

      Thanks and kind regards
      Jo

      Author's profile photo Jo Kr
      Jo Kr

      Answer: Use the changing option of /AIF/SEND_WITH_PROXY and fill REF_TO_PROXY with an object of your proxy