cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

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

0 Likes
View Entire Topic
former_member852447
Active Participant
0 Likes

Hello Satish,

We are running PI7.1. is it asking too much if you could give me a point by point instruction as to how to implement the contents of the blog as the blog assumes that you are already an expert in this area. I can see EXECUTE_ASYNCHRONOUS on the service interface but the blog says that you cannot use it. I have already created a proxy under datatypes and this can be seen on the structure of the parameter OUTPUT on method EXECUTE_ASYNCHRONOUS so just when I thought that I was getting somewhere along comes this blog telling me I cannot use EXECUTE_ASYNCHRONOUS

Thanks

Former Member
0 Likes

Hi David,

I thought you are using 7.0 ... sorry for the confusion.

Here are the steps that you can follow for proxy generation for SAP PI 7.1:-

TCode - SPROXY

1. The interface objects are ordered according to software component version, namespace and object type.

If no connection to the Integration Repository exists, the system only displays interface objects in the tree structure for which a proxy exists in the system.

2. Choose an interface object for which no proxy already exists. To create a proxy for this interface object, double click the context menu Create Proxy.

3. In the dialog box, specify the name of the package where you want to create the proxy objects. You can also specify a prefix for the names of all objects to be created to avoid naming conflicts with names that already exist in the system.

Result

To generate proxies, the WSDL description of the message interface is read using HTTP.

If no naming conflicts occur during the conversion, you can call the hierarchy of the generated objects from the tab page "Structure". The objects are only then saved in the system once you choose Activate.

If the description is changed in the Integration Repository, you must regenerate the proxy objects

Hope this is helpful.

Regards,

Neetesh

Former Member
0 Likes

David,

Please check this thread and code accordingly:

Regards,

---Satish