cancel
Showing results for 
Search instead for 
Did you mean: 

Client proxy

Former Member
0 Kudos

Wanted to understand about client proxy . If there is any document on Proxy to file scenario. Want to dump a file to a shared drive.

besides that if I could get some info . on creating a sample proxy and how to trigger it.

thank you.

Accepted Solutions (0)

Answers (3)

Answers (3)

agasthuri_doss
Active Contributor
0 Kudos

Ram,

Adding to Satish,

The below link will give you a clear picture

http://help.sap.com/saphelp_nw70/helpdata/en/02/265c3cf311070ae10000000a114084/content.htm

Cheers

Agasthuri

former_member200962
Active Contributor
0 Kudos

Check this on how to trigger client proxy:

How to create proxy:

Check the blog #1387

SDN Search option is sometimes the best tool to use

Happy learning!

Regards,

Abhishek.

Former Member
0 Kudos

in this document first document : this report has to be executed on abap stack of SAP PI ?

secondly here how can loop the values ? like if i loop values for emp_name etc ,i gues i can simulate load ?

&----


*& 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_member200962
Active Contributor
0 Kudos

Yes on the ABAP stack of PI

If you refer the blog# 1387 it is mentioned by the author...

From the blog:
Client 100 acts as XI server 
We need to develop an ABAP Report in 100 client to trigger a client proxy

And then to trigger the proxy from the application system refer the very next statement in the blog!

Regards,

Abhishek.

Former Member
0 Kudos

secondly here how can loop the values ? like if i loop values for emp_name etc ,i gues i can simulate load ?

i want to simulate multiple files like in this case we will get one xml file. i want multiple xml files ,maybe with same data.

in this report how can i loop?

thank you.

Former Member
0 Kudos

Hi Ram,

You need to put loop at emp_name if you hardcode the values. If you are reading from the abap table then you need to create a internal table and tehn loop it.

Regards,

---Satish

Former Member
0 Kudos

Hi Ram,

You can see this blog for client proxy. He has the sample program also. He is just passing some hardcoded values. It would be best to start with.

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

You can get some more information and tutorials here:

Regards,

---Satish