on 07-26-2007 10:39 PM
Hi All,
Could someone pls tell me how to write proxy code? What are the essential elements in writing proxy code?
Regards,
XIer
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.