Skip to Content
avatar image
Former Member

SAPClient is not being created....Urgent Pl

I have created a proxy using .Net Connector 2.0 (in VS 2003). The proxy is based on CRM_ORDER_READ. Basically this FM is NOT Remotely Enabled. So created another ZCRM_ORDER_READ and matched ALL the interface exactly to the original one

Now created Proxy for this ZCRM_ORDER_READ. All well, code compiles without any problem.

During runtime, wheneven I am going to create and object of this proxy, it doesn't allow me to do that.

The Error I get

"An unhandled exception of type 'System.InvalidOperationException' occurred in

Additional information: Method Status.Zcrm_Order_Read can not be reflected."

I am not able to fig out what is the reason for this. Though I have been calling other so many BAPIs and RFCs. All of them are working fine, only this is the one which is giving big headache.

Quick help will be really appreciated. Thanking everyone in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 07, 2006 at 08:27 AM

    This error happens if something is wrong with the [Xml...] attributes in the generated code - which is necessary for SOAP and some XML-type marshalling.

    I have seen the error in following situation:

    - NCo 2.0.0 had a bug in design time that created wrong code. This is fixed in current version.

    - You added methods to your proxy that are already contained in the base class, e.g. RFC_PING or BAPI_TRANSACTION_COMMIT.

    - You have multiple methods with same in- or resulttype.

    Generally it would help if you post the main proxy class here.

    Add comment
    10|10000 characters needed characters exceeded