abap proxy

12
Welcome, Guest Login Register Search for: Home Activity 0 Communications Actions BrowseMore o Content o People o Places o Recent Bookmarks sandeep.kaushik Previous post Next post 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 Tweet 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. true

Upload: ganeshkumar-sanur-gopalakrishnan

Post on 07-Nov-2014

2.163 views

Category:

Technology


9 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Abap proxy

Welcome, Guest

Login

Register

Search for: HomeActivity

0

Communications

Actions

BrowseMore o Content

o People

o Places

o Recent Bookmarks

sandeep.kaushik

Previous post Next post

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

Tweet 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.

true

Page 2: Abap proxy

 

Communication :  Transport Protocol : HTTP

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

 

Development on SAP-PI Enterprises Service Repository : Create Data Type

 Create Message Type

Page 4: Abap proxy

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:

 

T-code : SPROXY

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

Click on CREATE PROXY.

This Development is for Inbound Proxy.

 

 

Page 5: Abap proxy

Give Package Name & Prifix : Click on Continue .

 

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

 

Page 6: Abap proxy

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 :

 

Page 7: Abap proxy

 

Write code as below :

 

(Inbound Proxy)Post the data in TablePost the data using Function ModuleInbound Proxy is Complete.  

Outbound Proxy:

Page 8: Abap 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.

 

 

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 :

Page 9: Abap proxy

 

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

Now, Inbound & Outbound Proxy Development is complete. 

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

1666 Views

Tweet

Comments

Page 10: Abap proxy

1 Comment

Filter Blog

By date:

July 2010

Recent Posts

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

Incoming Links Re: best way of integrating vendor master and financial postings from SAP ECC to SAP ECC (new

version) Re: Problem in ABAP proxy........

Follow SCN

Jive Software Version: 5.0.1.1 , revision: 201110261520.2c99f0c.release_jive_sbs_5_0_1_1

Add Comment

<%= commentBody %>

Save