You are on page 1of 7

SAP AIF Simple Outbound Scenario Part-1

In  previous blog (SAP AIF -Simple Inbound Scenario – Part-3),  we were updating the PA006 table, Here for Outbound case we
will trigger a report (SAP ECC) which will capture the updated PERNR’s, totals No of records updated on particular date.In
outbound case  the destination / target structure is called as Raw Structure, Source Structure is called as SAP Data Structure.

Steps –SAP  PI –                                                                       

 ESR Create—

  Two  Data type

   Message type(ZDT_ADDRESS_RES)

Two Service interface


(SO_AIF_ADD_RES)

  Category-Outbound

  Message type – ZDT_ADDRESS_RES

  (SI_AIF_ADD_RES) Category –Inbound
Message mapping – One to One

Operation Mapping —OM_ResSrcECC_PITgt

INTEGRATION DIRECTORY

Business System – BS_SAPECC

Business Component –BC_SAP_AIF

Register the Service Interface in Business Component.


Communication Channels–  File Receiver (BC_SAP_AIF)

  Configuration  Scenario –

     •     Receiver Determination,

     •     Interface  determination

     •     Sender agreement

     •     Receiver agreement

For Outbound Service interface (SO_AIF_ADD_RES ) created in ESR (SAP PI) and a proxy structure for service interface is
generated in SAP
ECC.

              SAP ECC

T-Code- SPROXY

  Generate and activate the proxy    

  

  Go to Properties tab —

We need to create a SAP Data Structure in SE11 .

SAP AIF customization will be covered in Part 2

To be continued:- Part 2

  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 )

  Define Interface– Select  the namespace (ZAIF_D), New Entries.


    Select-(as highlighted  in below figure )
     Proxy Class Outbound.
    SAP DataStrucutre

Specify interface engine – Enter the details as shown below.

  Define Structure Mapping  –  Select Namespace, InterfaceName,Interface Version


  Select the Source Structure ( this is created in SE11)

Now select destination structure –


Define field Mapping

For simplicity, No action has been added here

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’

SXMB_MONI (ECC)

T-code –AIF/ERR – Shows successful message

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

XSLT - XSLT tester Basis - ABAP XML Processing

SXMB_MONI - Integration Engine - Monitoring Basis - Integration Engine

FCC - Start Financial Customer Care -


WE21 - Port definition Basis - ALE Integration Technology

IDX2 - Meta Data Overview in IDoc Adapter Basis - ALE Integration Technology

SXMB_ADM - Integration Engine - Administration Basis - Integration Engine

WCM - Work Clearance Management PM - Work Clearance Management

SXI_MONITOR - XI: Message Monitoring Basis - Runtime Workbench/Monitoring

OMIT - Start Date in the Past PP - Master Data

IDX1 - Port Maintenance in IDoc Adapter Basis - ALE Integration Technology

SOUD - BCS: User Management Basis - Use Subcomponents

RSEOUT00 - Variant for RSEOUT00 Basis - ALE Integration Technology

STRANS - Start Transformation Tool Basis - Workbench Tools: Editors, Painters, Modelers

ALRTCATDEF - Editing Alert Categories Basis - Alert Framework

BD10 - send Material Logistics - Material Master

IDX5 - IDoc Adapter - Monitoring Basis - Integration Server

DMEE - DMEE: Format Tree Maintenance Tool FI - Localization

XSLT_TOOL - Start XSLT Tool Basis - Workbench Tools: Editors, Painters, Modelers

WE60 - Documentation for IDoc types Basis - ALE Integration Technology

KPRO - KPRO Administration Basis - Content Management Service

BD50 - Activate Change Ptrs for Mess. Type Basis - ALE Integration Technology

OKEY - Display Time-Dependent Field/Process CO - Overhead Cost Controlling

CRCONFIG - Certificate Revocation Configuration Basis - Security

WSADMIN - Web Service Administration Basis - Web Service and SOAP - ABAP

RSARFCEX - Variant for RSARFCEX Basis - ALE Integration Technology

Read more: http://www.tcodesearch.com/tcodes/search?q=send+xml+file#ixzz52r3TkeVy

You might also like