Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9069

Re: SERVICE NOT FOUND OGENERAL SERVICE..ERROR

$
0
0

Hi Srinivas,

 

If you are properly connected to a company and object is also available, then there should be no such error.

 

I would suggest you to make sure that you are connected to a company. I use it like this:

 

SAPbobsCOM.GeneralService oGeneralService = null;

                                            SAPbobsCOM.GeneralData oGeneralData = null;

                                            SAPbobsCOM.GeneralDataParams oGeneralParams = null;

                                            SAPbobsCOM.CompanyService sCmp = null;

                                            SAPbobsCOM.GeneralData oChild = null;

                                            SAPbobsCOM.GeneralDataCollection oChildren = null;

 

 

                                            sCmp = SBO_Company.GetCompanyService();

 

 

                                            oGeneralService = sCmp.GetGeneralService("CRTSERVCE");

 

 

Hope it is helpful.

 

 

Thanks & Regards

 

Ankit Chauhan


Viewing all articles
Browse latest Browse all 9069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>