cancel
Showing results for 
Search instead for 
Did you mean: 

Sender Abap Proxy

Former Member
0 Kudos

Hi,

I want to use sender abap proxy to send a r3 table data to PI. I need some help in

1. creating a proxy class, that reads the table (abap code). and

2. How to invoke the proxy?

I know How to do a Proxy _XI _WS scenario config and all other stuff.

Thank you

Moni

Accepted Solutions (1)

Accepted Solutions (1)

former_member556603
Active Contributor
0 Kudos

Hello Monika,

Purpose

Proxy generation converts non-language-specific interface descriptions in WSDL into executable interfaces known as Proxies. Depending on the target programming language, you choose one of the following:

u2022 ABAP proxy generation is part of the SAP Web AS 6.40. ABAP proxy generation enables you to generate proxies to communicate by using the Web service infrastructure and by using SAP Exchange Infrastructure. ABAP proxies that were generated from message interfaces in the Integration Repository (IR) can be used in both infrastructures. This means that if none of the Integration Server services are required for a proxy-to-proxy communication scenario in ABAP, you can use a point-to-point connection using the Web service infrastructure instead.

u2022 Java proxy generation in the Integration Builder (Design) generates proxies from message interfaces in the Integration Repository. Java proxy generation packs the proxy objects in a Jar file, which you can save locally. You use the generated classes in J2EE applications on the SAP J2EE Engine.

How to create proxy.

http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm

How to Activate Proxy.

ABAP Server Proxies (Inbound Proxy)

OutBound Proxy (Client Proxy)

File to R/3 via ABAP Proxy with good example

Debug your inbound ABAP Proxy implementation

http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm

Synchronous Proxies:

Outbound Synchronous Proxy

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bp...

Inbound Synchronous Proxy

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsa...

Thanks,

Satya Kumar

Answers (3)

Answers (3)

Former Member
0 Kudos

Hey,

Create an Outbound async interface in XI.

In your R3 in the SPROXY transaction right click on the Outbound async interface and create.

You will get an Abap class with methods.

and the dictionary structure.

this will correspond to the message type.

now in order to access the abap table and to populate the proxy structure, you need to write a report.

In this report(SE38)

refer to the abap table.

refer to the proxy structure.

populate the temporary proxy stucture with the table data.

call the method generated in the proxy to populate the actual structure.

you can refer to the code in this blog for the report.

regards,

Milan

Former Member
0 Kudos

hi monika,

check this blog

thanks,

Madhav

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Is your requirement to Use ABAP Proxy as Sender, If so Declare the data Type in PI, Message type , Message Interface ( Outbound ) in PI. in R3 go for Tcode -SPROXY where you will find the Outbound message interface, right click it & go on creating the proxy.

Cheers

Agasthuri Doss

VijayKonam
Active Contributor
0 Kudos

You need to call the above created proxy and call it in any FM or RFC in order to activate it. It is just like calling a function which returns you the result..!!

VJ