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


SAP PI Interview Questions and SAP PI Tutorials

SAP PI Interview Questions and SAP PI Tutorials

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

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, can’t work on ABAP Coding and Proxy Generation part. An ABAP Consultant who does not know SAP-PI, can’t 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.

image

Communication : Transport Protocol : HTTP

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

image

SAP PI Interview Questions and SAP PI Tutorials

SAP PI Interview Questions and SAP PI Tutorials

Development on SAP-PI

Enterprises Service Repository :

Create Data Type

image

Create Message Type

image

Create Service Interface

image

Development on SAP-ECC

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

ABAP Class.

Structure for Message Type.

Structure of Data Type.

Inbound Proxy:

image

T-code : SPROXY

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

Click on CREATE PROXY.

This Development is for Inbound Proxy.

image

image

Give Package Name & Prifix : Click on Continue .

image

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

image

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

image

Double click on Method.

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

image

Header Structure and Item Structures will be in INPUT Parameter :

image

image

Write code as below :

image

(Inbound Proxy)

Post the data in Table

Post the data using Function Module

Inbound Proxy is Complete.

Outbound Proxy:

image

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.

image

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 :

image

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

image

Now, Inbound & Outbound Proxy Development is complete.

SAP PI Interview Questions and SAP PI Tutorials

SAP PI Interview Questions and SAP PI Tutorials

Share this:
Share this page via Email Share this page via Stumble Upon Share this page via Digg this Share this page via Facebook Share this page via Twitter
PDF24    Send article as PDF   
This entry was posted in sap abap porxy ecc integraion, sap abap proxy interview questions, sap abap proxy scenarios, sap abap proxy tutorials. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *