Hello experts,
I am a ABAP developer and I am developing a program to send XML strings to a legacy system using an ABAP PROXY but I have run into a roadblock as follows:
My PI colleagues who know PI but not ABAP have created a ABAP PROXY data type with the structure that I need to be populated from my program but cannot tell me how to get the data into this structure. They have directed me to SERVICE INTERFACES where there is a class and method EXECUTE_ASYNCHRONOUS but this is where we all have a road block. I am not sure whether I have to just use this class and method in my program to populate the data type proxy previously created or whether a completely new proxy has to be created under service interfaces.
Any help would be appreciated.
regards
Request clarification before answering.
Hello Neetesh,
Thank you for your reply and I will certainly award you the points but one further question which may sound like very basic but I am really new to this OO stuff so please excuse me .....in the following code METHOD Z**i_<MessageInterface>~execute_asynchronous is the Z**i_<MessageInterface> is that a method which I have to create and link to the class of 'execute_assynchronous' or is it just an ABAP definition with no class links.
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
Please follow the below mentioned steps :-
1. TCode -> SPROXY
2. Go to the SWCv -> Namespace -> Service Interface
3. In Service Interface, you will find your Message Interface
4. Generate this by doing a right click
5. Once done, the proxy will be generated
6. Double click on the proxy name, you will find the Method EXECUTE_ASYNCHRONOUS, which is created automatically
7. Go inside of EXECUTE_ASYNCHRONOUS, it will be all blank. Put your INCLUDE over there.
8. This INCLUDE will have your actual implementation code
9. Once done, activate the proxy
10. Done ...
Let me know if you have more queries.
Regards,
Neetesh
Edited by: Neetesh Raj on Aug 20, 2009 12:57 PM
David,
Please see this blog and the code written by Ravi in abap proxy. He is sending constant values, but you will write your logic and will populate accordingly.
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
But check with your PI guys, which version of PI they are using. If they are using XI 3.0 or PI 7.0 then you need to approach like said above.
But if they have PI 7.1 version then you need to write your code as per this blog:
/people/michal.krawczyk2/blog/2009/06/20/pixi-abap-proxies-say-goodbye-to-executeasynchronous-method
Regards,
---Satish
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.