cancel
Showing results for 
Search instead for 
Did you mean: 

For OutBound Proxy

Former Member
0 Kudos

Hi,

I need to check the OutBound Proxy, so iam in need of Report Program could u plz help me ...........

regards

sasi

Accepted Solutions (1)

Accepted Solutions (1)

santhosh_kumarv
Active Contributor
0 Kudos

Hi,

Be more specific...

<a href="/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy Proxies in XI - Client Proxy</a> by Ravikumar

Regards

Santhosh

<a href=" to set the thread to solved when you have received a solution</a>

Answers (3)

Answers (3)

Former Member
0 Kudos

thanks

Former Member
0 Kudos

You want to know the report name which triggers the outbound proxy...right

So what you can do is.....open the proxy class using SPROXY transaction...

and then do a "Where Used"......

Regards,

Sushil.

Former Member
0 Kudos

Hey sushil

i am not asking that....i need the sample code of any report program that triggers the outbound proxy..........

sasi

Former Member
0 Kudos

ur name reminds me of SRK (famous indian star)..lol...

code from Ravis blog:

&----


*& Report ZBLOG_ABAP_PROXY

*&

&----


*&

*&

&----


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 = 'Sravya'.

it-emp_profile_msg-empno = '80101'.

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.

Former Member
0 Kudos

hi vishal,

It is for OB proxy to file. this is ok.

can u tell me for the OB proxy to webservices.......

Former Member
0 Kudos

RSK,

anyone out here, helping u wud do the same thing, of just hitting the search on forum as "proxy to webservices" and find the code for u..

i guess, u can do the same and come out wit the solution....( u wud learn as well )

regards,

Vishal

santhosh_kumarv
Active Contributor
0 Kudos

Hi RSK,

Do your proxy configurations as specified in the Blog <a href="/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy Proxies in XI - Client Proxy</a> by Ravikumar.

Use the webservice http://www.webservicex.net/CurrencyConvertor.asmx?op=ConversionRate

It is a currency converter Webservice and it takes two input

1.From Currency

2.To currency

So Change the Data Type to have two nodes

MT_Test

From_Currency

To_currency

Change the report like this and give a try...

&----


*& Report ZBLOG_ABAP_PROXY

*&

&----


*&

*&

&----


REPORT zblog_abap_proxy.

DATA prxy TYPE REF TO zblogco_proxy_interface_ob.

*

CREATE OBJECT prxy.

DATA it TYPE zblogMT_Test.

TRY.

it-MT_Test-From_Currency = 'USD'.

it-MT_Test-From-To_currency = 'INR'.

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.

Regards

Santhosh

<a href=" to set the thread to solved when you have received a solution</a>

Former Member
0 Kudos

Follow this blog.

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

-Gouri