cancel
Showing results for 
Search instead for 
Did you mean: 

How to proxy code

Former Member
0 Kudos

Hi All,

Could someone pls tell me how to write proxy code? What are the essential elements in writing proxy code?

Regards,

XIer

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check this weblog where he has mentioned on how to do the proxy:

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

Regards,

---Satish

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

Have a look

if proxy is in outboundside,use the below code.

REPORT zaaj_out_proxy_tata.

DATA: obj TYPE REF TO zco_mioa_tata,

szdt_tata TYPE zdt_tata,

szmt_tata TYPE zmt_tata,

szdt_tata_employee TYPE zdt_tata_employee,

szdt_tata_employee_tab TYPE zdt_tata_employee_tab.

DATA: itab TYPE STANDARD TABLE OF zcnu_proxy_table,

wa LIKE LINE OF itab.

SELECT name city FROM zcnu_proxy_table INTO (wa-NAME,WA-CITY).

  • APPEND wa TO itab.

szdt_tata_employee-name = wa-name.

szdt_tata_employee-city = wa-city.

APPEND szdt_tata_employee TO szdt_tata_employee_tab.

szdt_tata-employee = szdt_tata_employee_tab.

szmt_tata-mt_tata = szdt_tata.

ENDSELECT.

TRY.

CREATE OBJECT obj.

CALL METHOD obj->execute_asynchronous

EXPORTING

output = szmt_tata.

COMMIT WORK.

CATCH cx_ai_system_fault.

ENDTRY.

Receiver Proxy:

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

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

Thanks

agasthuri_doss
Active Contributor
0 Kudos

Hi,

This might help you

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

Regards

Agasthuri Doss

Former Member
0 Kudos

I want to learn the coding part of it...

are there any examples available somewhere, that might help me understand how to code proxies from scratch.

Regards

XIer

Former Member
0 Kudos

Hi Xler,

This might help you to start ....

/people/achim.bangert/blog/2006/08/02/dynamic-proxies-in-abap

vasanth.

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Once the Message interface is declared..It will be available in the R/3 system double clicking the Message Interface we can start the proxy coding..Tcode Se38 will help to trigger the Proxy..

Regards

Agasthuri Doss