cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Proxy

Former Member
0 Kudos

Hi,

Can some one pls let me know how Interface development in XI using ABAP proxy is done and how/what needs to be coded from ABAP side.

Accepted Solutions (1)

Accepted Solutions (1)

former_member335553
Active Contributor
0 Kudos

Refer this on Proxy generation

http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm

<a href="/people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies">Smarter Approach for coding ABAP Proxies</a>

/people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Thiyagarajan,

The below mentioned links will help u creating Abap proxies with screenshots:

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

Reward with points if helpful

Regards

Sai Ganesh

Former Member
0 Kudos

HI,

Please refer the below weblog for the same:

You need to do the configuration in order to work your ABAP proxy:

ABAP Proxy configuration:

/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies

http://help.sap.com/saphelp_nw04/helpdata/en/2b/f49b21674e8c44940bb3beafd83d5c/frameset.htm

Client Proxy -

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

Server Proxy -

/people/siva.maranani/blog/2005/04/03/abap-server-proxies

File to Inbound Proxy:

/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

thnx

Chirag Gohil

Former Member
0 Kudos

Hi,

1. Proxies can be a server proxy or client proxy. In our scenarios we require proxies to send or upload the data from/into SAP system.

2. One more thing proxies can be used if your WAS &#8805; 6.2.

3. Use Tcode SPROXY into R/3 system for proxy use.

4. To send the data from R/3 system we use OUTBOUND PROXY. In Outbound proxy you will simply write an abap code to fetch the data from R/3 tables and then send it to XI. Below is the sample code to send the data from R/3 to XI.

REPORT zblog_abap_proxy.

DATA prxy TYPE REF TO zblogco_proxy_interface_ob.

*

CREATE OBJECT prxy.

DATA it TYPE zblogemp_profile_msg.

TRY.

it-emp_profile_msg-emp_name = 'Sarvesh'.

it-emp_profile_msg-empno = '01212'.

it-emp_profile_msg-DEPARTMENT_NAME = 'NetWeaver'.

CALL METHOD prxy->execute_asynchronous

EXPORTING

output = it.

commit work.

CATCH cx_ai_system_fault .

DATA fault TYPE REF TO cx_ai_system_fault .

CREATE OBJECT fault.

WRITE 😕 fault->errortext.

ENDTRY.

Receiver adapter configurations should be done in the integration directory and the necessary sender/receiver binding should be appropriately configured. We need not do any sender adapter configurations as we are using proxies.

5. To receive data into R/3 system we use INBOUND PROXY. In this case data is picked up by XI and send it to R/3 system via XI adapter into proxy class. Inside the inbound proxy we careate an internal table to take the data from XI and then simply by using the ABAP code we update the data inot R/3 table. BAPI can also be used inside the proxy to update the data into r/3.

I hope this will clear few doubts in proxy.

Just go through these links:

How to create proxy.

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

ABAP Server Proxies (Inbound Proxy)

/people/siva.maranani/blog/2005/04/03/abap-server-proxies

OutBound Proxy (Client Proxy)

/people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies

Outbound Proxy (Client Proxy)

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

How to Activate Proxy.

/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies

File to R/3 via ABAP Proxy with good example

/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

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

Generating java proxies..

/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy

/people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy

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

Regards,

Sarvesh

Former Member
0 Kudos

I am trying out for File to ABAP proxy scenario.I had created all the stuffs in design part and in my ID part i have created a Business Service for the sender and a Business System(R/3) for my reciever.In the Business service i included the Mssg interface of the source in the sender's tab,but i don't how to add the Mssg interface of the reciever in the Business system(R/3) and without this i can't run the wizard.Can you help out how to proceed.

Former Member
0 Kudos

Thiyagarajan,

Better way is first you create the Configuration Secnario by using the "Configuration Wizard" and then create the Receiver Determination, Integration Determination, Sender Agreement & Receiver Agreement.

<b>Note:</b> Your Inbound Message Interface (Receiver message interface) will be added/used in Integration Determenation not in Business System (R/3).

Regards,

Sarvesh