on 10-17-2007 9:04 AM
i have never done any proxies so is there any coding required in ABAP part, i am using ABAP proxies
thanking you
sridhar
Hi
Here is the sample code
Report <report name>.
data prxy type ref to <Interfacename>.
create object prxy.
data it type <Message type>.
try.
it-mt_file_input_proxy-detail-name = 'Sravya'.
it-mt_file_input_proxy-detail-lname = 'text'.
it-mt_file_input_proxy-detail-address = 'NetWeaver'.
call method prxy->execute_asynchronous
exporting
output = it.
commit work
.
**TRY.
call method <Interfacename>=>execute_asynchronous
exporting
CONTROLLER =
output = it
.
CATCH CX_AI_SYSTEM_FAULT .
*ENDTRY.
catch cx_ai_system_fault .
data fault type ref to cx_ai_system_fault .
create object fault.
write 😕 fault->errortext.
write:/'error occured'.
endtry.
Try this it may help u...
Regards
Yuga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sri,
Since we are creating the classes and structures from XI repository objects through SPROXY transaction in R/3. we need to write a ABAP code to use of those classes and methods.
Regards,
Yuva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sri,
Go through this blog; it describes about simple scenario with ABAP proxy as outbound. A report triggers the Proxy.
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
Note:
If you want to test the Proxy for outbound, you could use the SPROXY transaction to test it, were proxy will be triggered manually. An sample XML will be generated.
<<Rate - if its usefull>>
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy u can find the sample code also there
also have a look at http://help.sap.com/saphelp_nw2004s/helpdata/en/81/845f3c31727d59e10000000a114084/frameset.htm for basics
regards,
Pratibha
Hi Sridhar,
Just go through this and you will come to know everything.
http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
ABAP Server Proxies By Siva Maranani
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
/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
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.