cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy Question

Former Member
0 Kudos

consider we are using a proxy,we go to SPROXY and design it and later write a report in se38.

how these two are realted......how are they connected each other...i.e SPROXY and SE38....

if we execute the report,how will it take the credentials from the SPROXY....

can someone calrify....

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member556603
Active Contributor
0 Kudos

Hi Reddy,

Go through this..

How to create proxy.

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

How to Activate Proxy.

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

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

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

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

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

Hope this info is useful to you..

Thanks,

Satya Kumar

Former Member
0 Kudos

Hey,

Once you have created the proxy for outbound interface its class, structure and methods are created. Thes objects are used in the report(SE38). This is how using these objects they are connected with each other.

Regards,

Milan.

Former Member
0 Kudos

> consider we are using a proxy,we go to SPROXY and design it and later write a report in se38.

>

> how these two are realted......how are they connected each other...i.e SPROXY and SE38....

once you do all settings as mentioned in this blog in your R/3 & XI then connection will be done between R/3 & XI..

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

> if we execute the report,how will it take the credentials from the SPROXY....

> can someone calrify....

It will take the credentials from HTTP connection which you will create in R/3 system as mentioned in the above blog.

Former Member
0 Kudos

not clear Sarvesh,i am not tallking about XI and R/3 perspective...

i am talking about SPROXY and SE38 report in R/3 system

Former Member
0 Kudos

> not clear Sarvesh,i am not tallking about XI and R/3 perspective...

>

> i am talking about SPROXY and SE38 report in R/3 system

OK, let's consider that you have already done the steps which I have mentioned in my first reply.

You will use tcode SE38 whenever you need to send the data from R/3 system by using 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 (SE38) to XI.

Once you write below mentioned code in SE38 and execute your report data will be sent to XI by using the method CALL METHOD prxy->execute_asynchronous

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.