on 03-15-2009 11:18 PM
Hi everyone,
I'm using SAP .NET connector 2.0.1 with Visual Basic 2003. I have gotten several calls to BAPIs to work without a problem. I'm having trouble with Bapi_Matphysinv_Count. I add a new SAP Connector Proxy, then drag the BAPI to it. I then get the following errors.
BAPI_PHYSINV_COUNT_ITEMS.vb(39): 'Public Property Item() As String' hides a default property on a base class because 'Public Property Item() As String' is not declared 'Default'. 'Shadows' assumed.
BAPI_PHYSINV_COUNT_ITEMS.vb(39): property 'Item' shadows an overloadable member declared in the base class 'SAPStructure'. If you want to overload the base method, this method must be declared 'Overloads'.
I tried to "shadow" the Public Property Item. It got rid of the build error, but caused another problem.
Now when I call the BAPI, it returns the error "Unable to interpret as a number." I have made sure that all data that I am passing is numeric.
If I leave the Item parameter as null, then SAP returns the error "Item 000 not found". If I pass a 1 or 001 in the item field then it return the "Unable to interpret as a number." error.
It seems to be having trouble counfusing the item field in the BAPI_PHYINV_COUNT_ITEMS structure which is actually the line number of the count and the item field in the SAPStructure that it shadows.
I'm pretty new to the .net world. Any advise would be greatly appreciated!!
Thanks!
Jolene Roell
Edited by: Jolene Roell on Mar 16, 2009 5:59 PM
run the BAPI in SAP with the same input you are giving in your .net app.,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.