on 07-13-2007 10:05 PM
I need to send my Name " Pete Thomas " from my R/3 System using Proxy into XI and send it to a File.
Would some one guide me the steps on the R/3 Side to develop the ABAP Program for me?
Please dont direct me to some blogs.
Thanks.
Pete,
Just check this weblog and do the same as mentioned in the weblog. It is very straight forward:
/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.
In XI Create
1) Data Type : Proxy_DT ( Contains only "Name" Filed)
2) Message Type : Proxy_MT (Points to Proxy_DT)
3) Message Interface : Proxy_MI_OB_Async (Outbound/Asynchronous)
Log on to R/3 System
1) Execute the Transaction SPROXY
2) Locate the Proxy_MI_OB_Async
Right Click and say Create
3) Now ABAP Proxy will create 3 objects
a) ZBLOGCOProxy_MI_OB_Async (Proxy Class)
b) ZBLOGProxy_DT (Proxy Structure)
c) ZBLOGProxy_MT (Proxy Structure)
4) Activate the ABOVE Proxy objects
5) Goto Transaction SE24
ZBLOGCOProxy_MI_OB_Async
and look the above created interface
6) Write the ABAP report program in SE38
REPORT zblog_abap_proxy.
DATA prxy TYPE REF TO
ZBLOGCOProxy_MI_OB_Async.
******
CREATE OBJECT prxy.
DATA it TYPE
ZBLOGProxy_MT.
TRY.
it-ZBLOGProxy_MT_name = 'Pete Thomas'.
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.
Then do the necessary configuration in XI.
Whether my understanding is correct?
Pete,
Yes you are correct. But after commit work you dont need to have like this:
<b>commit work
...................</b>
Instead it should be <b>commit work.</b>
Also check this weblog for how to send data from R3 or BW etc to XI using proxy:
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
Also you have to write this in the calling system ie., either in R3 or BW etc.
Regards,
---Satish
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
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.