on 09-23-2008 10:18 PM
Hi,
While generating Sproxy in ABAP, I am missing method execute_asynchronous . I have seen this earlier that when we create SPROXY this method comes by default. But in this case i could not see this.In place of that i see another method being created which has the name of the interface itself
Class Name: ZCO_SAP_VENDORS_TOMX1
Method : SAP_VENDORS_TOMX
Please note that in PI we have 2 namespaces and each namespace have this same interface SAP_VENDORS_TOMX ( Copied from 1 to another exactly same)
First namesapce in ABAP has this interface correctly implemented and I can see execute_asynchronous
In the other name space, I have this issue of not having method. Since the class name would be same , SAP has added 1 at
the end of this class but still the method is missing
Just to add this client proxy ( ECC -> PI)
Please advice.
From ECC 6.0 it has been changed, What you are seeing is absolutely fine. Go ahead and add the code in the method which has the name just as the interface in XI.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for the reply. Couple of things. The other namespace that i was talking about is also in ECC 6.0 but that has
the Exceute method.
Also this method ( SAP_Vendor_TOMX) has already some code like below and it is not allowing to change the code giving '
' You cannot edit proxy object'.
if_proxy_client~execute(
exporting
method_name = 'SAP_VENDORS_TOMX'
changing
parmbind_tab = lt_parmbind
Please advice.
Thanks for the reply.
It is not allowing me to change the code inside this method. Error is
You cannot edit proxy objects (see long text)
Message no. OO631
Diagnosis
The entered class is a generic proxy type. These proxy types cannot be processed using the Class Builder, but using the transaction SPROXY.
Procedure
Switch to transaction SPROXY to process the type.
I am doing this in SPROXY itself by Right click , change the proxy.
Regards,
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.