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.
Thank you satish and others, this is beginning to come together. Apparently I do not need to create a service interface proxy as SAP delivers one. I have the following methods. This standard interface also contains the user defined structure that I need to populate
IF_PROXY_BASIS_INTERNAL~CREATE_FRAMEWORK
IF_PROXY_BASIS~GET_PROTOCOL
IF_PROXY_BASIS~GET_TRANSPORT_BINDING
IF_PROXY_CLIENT~EXECUTE
CONSTRUCTOR
EXECUTE_ASYNCHRONOUS
From reading previous correspondence I believe that I need to call EXECUTE_ASYNCHRONOUS in my ABAP program. When I call the above method how do I ensure that the user defined structure in the method is populated.
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,
Once you activate the proxy, the Data structure from the PI will move into the R3 and will automatically get linked to your data structure, if you have used move-corresponding.
In case the field names are different in PI and your proxy definition, then you will have to manually map the fields in R3.
Once you activate the proxy, you can see the DT under the ExternalView tab.
Regards,
Neetesh
Hi David,
You debug from your end when you execute the report. If you think the data is populated and if you want to confirm then in sap go to the transaction sxmb_moni and then click on monitor for processed xml messages --> then press F8 --> then you should see a messages --> double click on the last message --> then on the left side click on inbound message --> Payloads --> double click on Main Document --> then in the right bottom screen you can see the payload what you are sending from your proxy. The same payload is going as input to PI. Then you work is done and the same can be seen in PI also. From here your PI developers should take care.
You can do this only when you have permissions for transaction sxmb_moni. If you dont have then you can ask the PI developers to do the same steps in PI and confirm you.
Regards,
---Satish
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.