cancel
Showing results for 
Search instead for 
Did you mean: 

Error in SAPProxy File

former_member182416
Active Contributor
0 Kudos

Hi ,

I am Using .Net Connector 2.0 and Creating a Windows Forms Application.

When i Drag the BAPI_EMPLOYEE_GETDATA on to SAP Proxy and Save .

I Get the Following Errors.

1. Keyword is not valid as an identifier.

2.Date' is a type, and so is not a valid expression.

3.'.' expected.

Problem is that This File is Generated by Visual Studio Automatically and we are not allowed to Change it.

So how do i get rid of this ?

The Bapi in Question has a input parameter "Date" and that is causing the problem.

Any Clues ?

Regards,

Rajendra

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rajendra,

These kind of error occurs when the proxy code generated by NCo design time contains some reserved keyword (of DotNet environment) like system, date etc.

In order to remove that you need to open the cs files generated by the NCo and fix manually.

May be by just removing some keywords from the proxy file like "System." would resolve it. Otherwise, you would have to look at the source parameter and function names (RFC in SAP) and decide if any name change required there itself.

Do post back if you need any more information.

Regards.

former_member182416
Active Contributor
0 Kudos

Thanks .

Regards,

Rajendra

Answers (0)