on 09-20-2007 7:05 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.