abap proxy (complete developments on sap-pi &am

7

Click here to load reader

Upload: saranpc

Post on 22-Nov-2015

78 views

Category:

Documents


2 download

DESCRIPTION

ABAP Proxy

TRANSCRIPT

  • 8/19/2014 ABAP Proxy (Complete Developments on SAP-PI &am... | SCN

    http://scn.sap.com/people/sandeep.kaushik/blog/2010/07/15/abap-proxy-complete-developments-on-sap-pi-sap-abap-systems 1/7

    Getting Started Newsletters Store

    Products Services & Support About SCN Downloads

    Industries Training & Education Partnership Developer Center

    Lines of Business University Alliances Events & Webinars Innovation

    Log On Join UsHi, Guest Search the Community

    Activity Communications Actions

    Brow se

    sandeep.kaushik

    Previous

    post

    Next

    post

    0 Tweet 0

    ABAP PROXY : Developments on Application System & Integration System

    USE of This Blog :

    Sometimes, we are facing problem when developing ABAP proxies.

    As SAP-PI consultant who does not know ABAP, cant work on ABAP Coding and Proxy Generation part. An ABAP

    Consultant who does not know SAP-PI, cant work on SAP-PI design part.

    At that time understanding of both side developments is required, this Blog explaining Development work on SAP-PI

    System (Integration System) & SAP-ECC System (Application System).

    This blog will be helpful for Consultant who knows only SAP-PI OR SAP-ABAP. Consultant can identify the scope of

    work on SAP-PI OR SAP-ABAP part with the help of this blog.

    INTRODUCTION : ABAP proxies are used when ABAP applications needs to send and receive data.

    Communication : Transport Protocol : HTTP

    RFC Destinations : Type H (HTTP Connections to ABAP System)

    Development on SAP-PI

    Enterprises Service Repository :

    Create Data Type

    ABAP Proxy (Complete Developments on SAP-PI &SAP-ABAP Systems)

    Posted by Sandeep Kaushik in sandeep.kaushik on Jul 15, 2010 1:29:47 AM

    Share 1 0Like

  • 8/19/2014 ABAP Proxy (Complete Developments on SAP-PI &am... | SCN

    http://scn.sap.com/people/sandeep.kaushik/blog/2010/07/15/abap-proxy-complete-developments-on-sap-pi-sap-abap-systems 2/7

    Create Message Type

    Create Service Interface

    Development on SAP-ECC

    In proxies, it will generate 3 objects at Application System :

    ABAP Class.

    Structure for Message Type.

  • 8/19/2014 ABAP Proxy (Complete Developments on SAP-PI &am... | SCN

    http://scn.sap.com/people/sandeep.kaushik/blog/2010/07/15/abap-proxy-complete-developments-on-sap-pi-sap-abap-systems 3/7

    Structure of Data Type.

    Inbound Proxy:

    T-code : SPROXY

    Open the node for your Service (Inbound / Outbound) & Right click

    Click on CREATE PROXY.

    This Development is for Inbound Proxy.

    Give Package Name & Prifix : Click on Continue .

    After Completing this creation process, this screen will be there.

  • 8/19/2014 ABAP Proxy (Complete Developments on SAP-PI &am... | SCN

    http://scn.sap.com/people/sandeep.kaushik/blog/2010/07/15/abap-proxy-complete-developments-on-sap-pi-sap-abap-systems 4/7

    SAVE & Activate. Double click on Provider Class, this screen will be there :

    Double click on Method.

    This screen will be there, you have to write your code here in this method.

    Header Structure and Item Structures will be in INPUT Parameter :

  • 8/19/2014 ABAP Proxy (Complete Developments on SAP-PI &am... | SCN

    http://scn.sap.com/people/sandeep.kaushik/blog/2010/07/15/abap-proxy-complete-developments-on-sap-pi-sap-abap-systems 5/7

    Write code as below :

    (Inbound Proxy)

    Post the data in Table

    Post the data using Function Module

    Inbound Proxy is Complete.

    Outbound Proxy:

    T-code : SPROXY

    Open the node for your Service (Inbound / Outbound) & Right click

    Click on CREATE PROXY.

    This Development is for Outbound Proxy.

    In this Case, choose Outbound Service Interface for Creation of Proxy.

    After Completing this creation process, this screen will be there.

  • 8/19/2014 ABAP Proxy (Complete Developments on SAP-PI &am... | SCN

    http://scn.sap.com/people/sandeep.kaushik/blog/2010/07/15/abap-proxy-complete-developments-on-sap-pi-sap-abap-systems 6/7

    For Outbound Proxy, an executable code in ABAP will be written to call that proxy.

    In this Example, we are writing that code in Executable program in SE38.

    First Pick data from Table.

    Fill Proxy Structure & send to Integration System.

    For this example, Data Declaration part will be as below :

    For this example, code for filling & Sending Proxy data Subroutine will be as below :

    Now, Inbound & Outbound Proxy Development is complete.

    Thanks.............

  • 8/19/2014 ABAP Proxy (Complete Developments on SAP-PI &am... | SCN

    http://scn.sap.com/people/sandeep.kaushik/blog/2010/07/15/abap-proxy-complete-developments-on-sap-pi-sap-abap-systems 7/7

    Follow SCNSite Index Contact Us SAP Help Portal

    Privacy Terms of Use Legal Disclosure Copyright

    Average User Rating

    (16 ratings)

    My Rating:

    0 Tweet 0

    5278 View s

    Share 1 0Like

    1 Comment

    Like (0)

    Vikrant Singh Jul 15, 2010 5:51 AM

    Hello Sandeep,

    It is really a nice blog with insight to all the developed objects both on PI and ECC.

    Keep Blogging and all the best.

    ThanksVikrant