Click here to Skip to main content
15,891,513 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends,
Need your help on working with web services in vb.net fetching data from SAP. In SAP there are three List of tables but by default configuration we are getting only first list. Please help us on to get another two list.
Below is our code :

Webservices :
VB
<add key="Test_WS_multiple.service1" value="http://attc-sap2/wstimesheetd/service1.asmx" />


ASPX Page Code :

<asp:ObjectDataSource ID="ObjectDataSourceShowList" runat="server" SelectMethod="EmpTS_EMP_NoDate" TypeName="Test_WS_multiple.Service1">
<SelectParameters>
<asp:ControlParameter ControlID="lblempShow" Name="EmployeeIDs" PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="txtmanager" Name="MgrWinLogonID" PropertyName="Text" Type="String" />
</SelectParameters>

'--------
Thanks and Best Regards
Posted
Comments
Sinisa Hajnal 26-Jan-15 6:13am    
What do you mean by default configuration? How are you accessing the service? What do you expect back?

What have you tried?

You didn't really offer many useful information.
_Asif_ 26-Jan-15 6:29am    
Check through fiddler what exactly you are getting
Sajid H. A. Rashid 26-Jan-15 7:23am    
We had Web Reference as : http://attc-sap2/wstimesheetd/service1.asmx
then we had a object data source it has a two binding options as : <asp:ControlParameter ControlID="lblempShow" Name="EmployeeIDs" PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="txtmanager" Name="MgrWinLogonID" PropertyName="Text" Type="String" />

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900