**Proxy creation in sproxy tcode
I am trying to create client(sender)proxy.
1)Created the message interfaces in the scenario,In the sproxy Tcode created the Proxy by right clicking the message interface and after creating the proxy,activated the same.
When I bouble clicked on the class ,I did not see the Excecute Asyncronous method.
The following methods got generated.
MI_SAP_TABLE_DATA_OUT(my outbound interface name),in general I use to see Execute_Asyncronous method here in place of this interface.
how to call execute the Execute_Asyncronous method from my zprogram.
Where could be the problem.
Please let me know.
The proxy generation has changed from SP13 (PI 7.0). Now in the new generated class you will see the method as you see MI_SAP_TABLE_DATA_OUT as in your case. If you execute the method MI_SAP_TABLE_DATA_OUT (same as the name of the MI interface name) this will call the interface (sync/ asynch) depending on how you have defined in your message interface. Now if you want to test to make a async defined interface as synch try the code as below
extend the zco* class to a new class from se24.
open the method MI_SAP_TABLE_DATA_OUT
ls_parmbind-name = 'OUTPUT'
comment all the four lines in this section.
Try calling the MI_SAP_TABLE_DATA_OUT again, this would execute the interface synchronouly.
You could debug this and find out the reason why this is getting changed.