Hello all,
I am using .net connector to write a web application. I dragged and dropped two BAPI functions Bapi_Customer_Getdetail and Bapi_SalesOffice_GetDetail. These in turn brought in BAPIRETURN and BAPIRETURN1. The project build successfully.
However when I tried running it the following error was shown on the expplorer -
<i><b>Server Error in '/SAPBapiTest' Application.
-
The XML element named 'RETURN' from namespace '' references distinct types SAPBapiTest.BAPIRETURN1 and SAPBapiTest.BAPIRETURN. Use XML attributes to specify another XML name or namespace for the element or types.</b></i>
I guess there should be a way of specifying the namespace of the parameters of a bapi function and that would solve the problem. but unfortunately i could not deduce anyway of doing this apart from writing it explicitly on the generated sapProxy1.cs file. This solved the problem but since this file gets autogenerated this is not the solution. There has to be a better way of doing this...
any comments/ideas/suggestions?
Thanks
This error shouldn't happen. Have you installed the fix from OSS note 506603?
If it doesn't help, please open a OSS ticket with your proxy files (.sapwsdl and C# files) attached.
Add a comment