SAP Business one question

Hi Experts,
                 How to prepare  sales details executive wise,state wise,district wise and product wise analysis
Thanks
priyanka

Hi
Please tel me the Field details.
Thanks,
Nithi

Similar Messages

  • Creation of Add-on package for 64 bit and 32 bit SAP Business One Client

    Please help me creating package for 64 bit and 32 bit SAP Business One. If Add-on executable is compiled with x86 option then there is no issue of connecting Add-on with 32 bit SAP Business one and if Add-on executable is compiled with Any CPU option then there is no issue of connecting Add-on with 64 bit SAP Business one. Problems are mentioned as below
    1. My Add-on uses MS ACCESS connection and the connection is read using Jet OLEDB 4.0 provider. It works fine for x86 compile mode but not when compile mode is Any CPU. I searched for the issue on Google and found a solution to change MS ACCESS connection provider to ACE.OLEDB.12.0 but again ACE provider is installed according to the Office version i.e. 32 bit or 64 bit office suite. If I install 32 bit ACE provider then Add-on executable compiled with x86 version is working fine but with Any CPU option throws error as provider is not registered on current machine.
    2. Secodly, our license validation activex dll is build using vb 6.0 and therefore when Add-on executable is compiled using Any CPU option, Add-on EXE cannot read from license dll. Any suggestion, how the activeX dll can be compiled whose component can be created from for X86 compiled exe and any cpu compiled exe.
    Please help because we are stuck in this issue and cannot move forward.
    Thanks.

    Hi Alejandro,
    That is one solution but did your add on used ms access connection? if you used Jet oledb to connection string or ace oledb connection string? what if 32 bit office is installed and what if 64 office is installed? how did you found the office version in install script? after determining the office version how did you installed Microsoft redistributable for ace oledb (32 bit or 64 bi )?
    I am sorry that I asked many questions but these are the problems where I am stuck with the addon installer?
    Thanks

  • Crystal Reports background processing for SAP Business One 8.8

    Dear Partners,
    I have an SDK program developed in SAP Business One SDK that works in 2007, it calls crystal reports externally and can be executed as a background task using the windows schedular or from the command prompt.
    My problem is it does not work under SAP Business One SDK 2008 PL18 with SQL Server 2008, Visual Studio 2008.
    I receive the following message after this line in my code,"oReport.PrintToPrinter(CopyNo, False, 0, 0)".
    'CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed.
    Error in File XX_Report_Ver_0.01 {1A6620A2-5D73-49D2-9347-32ED068AA64E}.rpt:
    Unable to connect: incorrect log on parameters. ---> System.Runtime.InteropServices.COMException (0x8004100F): Logon failed.
    Error in File XX_Report_Ver_0.01 {1A6620A2-5D73-49D2-9347-32ED068AA64E}.rpt:
    Unable to connect: incorrect log on parameters.
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.GetLastPageNumber(RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.GetLastPageNumber(ReportPageRequestContext reqContext)
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.ReportSource.EromReportSourceBase.
       at CrystalDecisions.ReportSource.EromReportSourceBase.GetLastPageNumber(ReportPageRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
       at BGProductionRpt.ECR_Common.ECR_PrintReport(Int32 CopyNo) in C:\SDK Development\8.8\test\XX_Rpt\ECR_Common.vb:line 485'
    My Question is what Crystal Reports libraries or other method should I be using ?
    Crystal Reports 2008 for SAP Business One eg. 51038978.zip - downloaded from portal obviously dosn't contain the CrystalDecisions libraries.
    Crystall Reports 2008 - cr2008_sp3_fullbuild, cr2008fp33.exe, cr2008fp33_mm, cr2008fp33_clickonce - also download from the portal, the cr2008_sp3_fullbuild does contain the crystal decisions libraries.
    Finally other choices are crystal reports included with the visual studio 2008 and crystal reports full version direct from Business Objects.
    I have tried different versions of crystal decision libraries- eg, 12.0110 or 12.02 but still no joy.
    Also if I manage to get the report to fire what should the client be running eg, if they have the Crystal Reports 2008 for Business One do they also need to install the Crystal Reports Run time - cr2008fp33_clickonce.
    Any help would be appreciated.
    Thanks.

    Hi John
    Since the SDK works in 2007 it will be using the OLD DB access method.
    Change the Crystal report to use an OLE DB datasource rather than the SAP Business One data source.
    Regards
    Rob

  • SAP Business One and Moving Database Issue

    We are in the process of moving our PROD system to a new server. The server runs MS SQL 2005. We installed SAP Business One and by default the demo databases went to the C Drive (C:/Program Files/MS SQL Server/..../Data). The SQL Server that exists has data on D partition and logs on E partition. We therefore dettach the database, copy the files to the correct locations, and reattach.
    Now, however, the SAP Business One application no longer finds the Company or Demo databases. Is there any way to fix this?
    Cheers John

    you should post your question in the Business One section at SAP Business One Application

  • SAP Business One on Ipad

    Dear All,
    I installed SAP Business One 8.81 PL04 (on Server) and SQL server 2005.
    My questions are
    1) i install B1 integration component, when i am opening the integration framework i am getting a windows security dialog box in which it is mentioned that "The server 127.0.0.0 at B1iP_dummy requires a user name and password.
    Warning: The server is requesting that your user name and password be sent in the insecure mannar(basic authentication without a secure connection.
    User Name :B1iadmin
    Password:xxxxxx
    Here my question is that if i provide username and password, Integration Solution for SAP Business One is opened but is not reflecting any data when i am clicking on SLD, Scnarios, Maintaining, Control Centre.......etc.
    2) I want to connect to the server through the ipad.
    I put the user as mobile user, i have given UDID number of Ipad, phone no of mobile user in SAP Business One.
    I have given the server details like IP add: 000.000.000.000:8080 and kept SSL On and given DB Name as SBODemoIN and username as 'ABC'.
    When i am entering the password it is reflecting me an error "an ssl error has occurred and a secure connection to the server cannot be made. [-1200]'.
    I want to know where i have done the mistake.
    Note: i tried by giving ip with B1 port number like : 000.000.000.000:30000 again its reflecting same error.
    Can any body help me out.

    Lets try to keep it together ...
    1.) in SAP Business One you have to set the following settings for the user you want to connect with
    a.) checkbox "mobile user" is checked
    b.) mobile-number (must be digit by digit the same as you set it in the settings of the App)
    c.) UDID of the iPad/iPhone (this is a 40 (!!!) digit alphanumerical number of the device)
    ATTENTION - since SBO App. v.1.6.0, the UDID is no longer in use, now yo have to set the W-LAN MAC Adress here
    d.) the User has a limited or a professional user license
    e.) the user has a B1i licence
    2.) settings in the iPad/iPhone App
    a.) Server: IP Adress of the Bi1 Integration Server followed by :8443 (e.g.: 91.55.110.15:8443)
    8080 is the http port (unsecure), while 8443 is the https port (secure)
    b.) SSL: is on
    c.) Company DB: the database Name of the company you wanted to connect to (and where you have made the user setting above) (e.g.: SBODemoIN)
    d.) Usercocode: the log in name of the user you made the above settings for (e.g.: manager)
    e.) Phonenumber: digit by digit the same as above 1.).b.)
    f.) Demosystem: needless to say, this is Off
    3.) network settings
    a.) certainly the port 8443 must be available from outside the network
    b.) VPN connection to the network must be possible
    c.) the VPN connection setting has to be set in the iPad(iPhone
    If this all is set and done,
    1.) you first have to establish a VPN connection with your iPad/iPhone
    2.) and now/than you should be able to connect to the company with the iPad/iPhone App
    Hope this helps and make it e little bit clearer how this all works.
    The SBO App is "nothing else" as an WebService-Call-Interface from the iPad/iPhone to the B1i Server. Every form/view you are filling in the App, is a WebService call/request to SAP Business One. To Send this WebService Request to the B1i Server, you first have to connect into the company network (via VPN) otherwise you call cannot reach the B1i Server ...
    regards from Hamburg,
    Heiko

  • SAP Business One iPad Apps Sales Catalog photo problem

    Dear all,
    I have a question about the iPad SAP Business One Mobile Apps Sales Catalog.
    Inside the Sales Catalog, it will show the Item group with pictures and when you look inside the item group, it will show the Item image which is set up in the Item Master.
    Can anyone help on this? Thanks very much.

    According to the B1if sap.GetItemPicture Scenario, the path to the picture is looked up by the following query.
    SELECT BitmapPath AS 'bitmappath' FROM OADP
    The PictureName is passed into the GetItemPicture web service as a parameter.
    This leads me to my next question:
    What do you have the Pictures Folder (BitmapPath) set to in General Settings?
    I am guessing you have it set to C:\Program Files\SAP\..........
    The problem with this is that it save the picture to your local client computer and B1if is running on the server.  You will want to change the path to a network path that looks something like this:
    \\server\b1_shr\Pictures
    Why?
    If the Pictures Folder is set to C:\Program Files\SAP\.....
    1. When a user attaches an image, SAP Business One client places the picture in C:\Program Files\SAP\..... path on the client workstation, not on the server.
    2. B1if is usually run on the server and does not have access to a client workstation
             If Pictures folder is C:\Program Files\SAP\......., B1if looks up the Pictures Folder set in the database and appends the file.  In this case, B1if is reading C:\Program Files\SAP\.....\<imagefile>.jpg on the server in which B1if is running.
    3. The only time using a C:\Program Files\SAP\......  would work is when the client, server and B1if is running on the same machine and the permission to the C:\Program Files\SAP\..... folder is set up to allow B1if to read from the directory and the client to write to the directory.
    Using UNC notation
    if the Pictures Folder is set to a UNC path \\Server\b1_shr\Pictures
    1. When the user attaches an image, SAP Business One client places the picture on the server
    2. B1if will read the picture from the server from the shared folder on the server
    Conclusion
    You need to use UNC notation to identify the path of the Picture Folder so that all pictures are placed in the same location.
    What is your path set to for the Pictures Folder in General Settings?

  • Cannot connect SAP Business One with iPad

    Hey all,
    I am new to SAP Business One. And i am exploring SAP Business One Mobile Applicaiton for iPad.
    I've tried to follow the step to set up my both SAP Business One and iPad but failed.
    The message "Connecting to server" keep loading and after few minutes show me "Tje request timed out (-1001)"
    So am I did something wrong? Or miss out something?
    Please advice with this problem.
    Thank you.
    Regards,
    Wai Leng

    Hey Lisa,
    Yes, I've tried what I found in this forum and the Support Portal.
    But it's is failed again.
    As iPad doesn't really need a mobile phone number, so i just simple key in a number for both SAP B1 and my iPad. Is it any problem?
    Another question, I've tested my connection for B1D1, but failed, following is the error message.
    com.sap.b1i.adapter.dia.exception.ConnectionFailedException: Connect to Business One failed.
    (-107) Unable to connect with the specified username and or password
    Anything i miss out?
    Thank you.
    Regards,
    Wai Leng

  • SAP Crystal Reports data source connection problem using sap business one

    Hi,
    I m facing a problem regarding: SAP Crystal Reports data source connection problem using sap business one
    I am trying to create a Crystal report but when I try to configure a new connection it does not work.
    I select Sap Business One data source and try to complete the information required to connection but it does not list my companies databases, what is the problem?
    Our Current SAP related software details are as follows:
    OS: Windows Server 2008
    SAP B1 Version: SAP B1 9 (902001) Patch 9
    SAP Crystal Report Version: 14.0.4.738 RTM
    Database: MS SQL Server 2008 R2
    I have also added some screenshots of the issues.
    Please have a look and let me know if you have any questions or any further clarifications.
    I m eagerly waiting for a quick and positive reply.

    Hi,
    There is problem with SAP Business One date source.
    I had faced same problem, I used OLEDB Data-source, and it worked fine for me.
    So, try to use OLEDB.
    Regards,
    Amrut Sabnis.

  • SAP Business One 8.8 - Reviews & Videos

    The Orchestra Team has a centralized place for previews and reviews of SAP Business One 8.8
    If your customers or prospects are interested in getting an honest "first impression", this is a great start.
    [Your Resource for Information About SAP Business One 8.8|http://www.orchestrateam.com/content/sap-business-one-88]
    Welcome to Orchestra's SAP Business One 8.8 preview! The following pages are going to be a review of features for the new SAP Business One 8.8 release going into ramp-up this fall. Also, we'll be sharing with you our opinions of the new feature set and sharing some videos with you on the new product.
    Here are links to all the videos and resources we have compiled thus far.
    [SAP Business One 8.8 - New Features and First Impressions|http://www.orchestrateam.com/sap-kb/sap-business-one-88-new-features-and-first-impressions]
    [SAP Business One 8.8 - New Skin and UI Design|http://www.orchestrateam.com/sap-kb/sap-business-one-88-new-skin-and-ui-design]
    [SAP Business One 8.8 - Crystal Reports Integration|http://www.orchestrateam.com/content/sap-business-one-88-crystal-reports-integration]
    [SAP Business One 8.8 - Data Archiving Preview|http://www.orchestrateam.com/content/sap-business-one-88-data-archiving-preview]
    [SAP Business One 8.8 - Orchestra Takes Part in SAP's Official Review|http://www.orchestrateam.com/sap-kb/sap-business-one-88-orchestra-takes-part-saps-official-review]
    To stay fully up to date with SAP Business One 8.8, you can subscribe to our [RSS Feed|http://www.orchestrateam.com/rss.xml]
    Brad Windecker
    [Orchestra Team|http://www.orchestrateam.com]

    Hi Gordon,
    Yes I know you can select u2018OKu2019 and move on with the entering of a marketing document, however this is an extra click and when you are entering a large number of documents a day this can become painfully and that is the feedback from the customers, is there a reason why this could not be an option in the company settings? I know this will not happen overnight and this is why I posted the question of the development collaboration forum.
    Kind regards,
    Johnathon

  • SAP Business One 8.8 System Messages

    In SAP Business One 8.8 when you have entered a document with a later posting then today if you then enter a document with todayu2019s date you receive the System Message "There is a document of this type with a later posting date". If you select the option 'Block Documents with eelier posting date' you know longer receive this message however we still need to the option to do this.
    I have a number of clients that would like to have the ability to turn this message on or off

    Hi Gordon,
    Yes I know you can select u2018OKu2019 and move on with the entering of a marketing document, however this is an extra click and when you are entering a large number of documents a day this can become painfully and that is the feedback from the customers, is there a reason why this could not be an option in the company settings? I know this will not happen overnight and this is why I posted the question of the development collaboration forum.
    Kind regards,
    Johnathon

  • Probar sap business one 8.8

    Estimados Foristas, alguien sabe donde puedo obtener sap business one 8,8 para probarlo, lo solicite al partner de mi empresa, me dijo que con mi s-number podia bajarlo, lo intente y nada, luego de esto me dijo que no podia hacer nada.
    necesito bajarlo para probarlo, y recomendarlo, o no a mi cliente.
    gracias.
    carlos.

    Hi Gordon,
    Yes I know you can select u2018OKu2019 and move on with the entering of a marketing document, however this is an extra click and when you are entering a large number of documents a day this can become painfully and that is the feedback from the customers, is there a reason why this could not be an option in the company settings? I know this will not happen overnight and this is why I posted the question of the development collaboration forum.
    Kind regards,
    Johnathon

  • Outlook Add-On in SAP Business One 8.8

    Hi Experts
    I recently Upgraded to SAP Business One 8.8
    I installed Outlook Add-On (I installed Outlook server, outlook .ard file and Outlook stanalone) when I start the add-on its is connected and it gives a message Initialization Failed.
    So I cannot see the  'create default templates' screen.
    But the strange thing is when i click syncronize in outlook it can syncronize all datas and it also creates snapshots for business patners.
    My question is how I can fix the error says initialization fails and how to send emails from SAP business one using Outlook.
    Thanks and regards
    Vinodh Kumar

    Hi Vinodh Kumar,
    What is your OI version?  I am afraid there is no 8.8 compatible version ready yet.
    Thanks,
    Gordon

  • SAP Business One  8.8 Certification for Application associate

    Hi all,
    I wanted to know about SAP Business One 8.8. Certification for Application associate.
    1 )What would be the fee
    2)What are minimum requirements to get certification
    3)How much useful is this certificate compared SAP R/3 certification
    Regards
    Darshan Desai

    For all these questions go to
    https://websmp204.sap-ag.de/~form/handler?_APP=00200682500000002702&_EVENT=DISPLAY&_HIER_KEY=201100035870000001783&_HIER_KEY=301100035870000002834&_HIER_KEY=501100035870000019706&_HIER_KEY=601100035870000248281&_HIER_KEY=601100035870000248571&

  • Technical Information of Sap Business One

    Hi,
    i need some technical information about a possible installation of Sap Business One Package:
    - Can Sap B1 run on a Microsoft cluster composer of virtual machine VMWARE?
    - Can Sap B1 run on a machine with 64 bit technology?
    - Can client Sap B1 run on Citrix with gateway access?
    If nobody can help me, tell me where I can post this question...
    Thank you
    Regards
    Marco

    Hi Marco,
    This is not the right forum for that question (SAP Support - or the Implemantation Forum in the Channel Partner Solutiuon Network may suit better...), but anway:
    >- Can Sap B1 run on a Microsoft cluster composer of virtual machine VMWARE?
    VMWare hasn't been released; it may work (and I heard about people using it ), but if a problem can actually be traced back being a VMWare issue - you are "alone"...
    >- Can Sap B1 run on a machine with 64 bit technology?
    Yes, please check the "Supported Platforms" information for B1 in the Channel Partner Portal on SAP Service Marketplace!
    >- Can client Sap B1 run on Citrix with gateway access?
    Not sue about "gateway access", but Citrix 4.0 (and 3.0) are officially supported.
    You can find details at the same place as mentioned above (I don't have the link at hand, sorry).
    HTH,
    Frank

  • SAP Business One - Java Connector

    Hi All,
    <br/><br/>
    We have a SAP Business One Application installed on a laptop. The requirement is to be able to use the SAP Java API to update tables in the system. We are not allowed to connect directly to the database and was advised to use the API instead.
    <br/><br/>
    The downloaded API that we are using is "sapjco30P_6-10005324 32 bit.zip". I have included the dll file contained in this package in the WINDOWS/system32 folder. I am using Eclipse as IDE and already included the "sapjco3.jar" in the classpath.
    <br/><br/>
    First question: Am I using the right Java Connector for SAP Business One?
    <br/><br/>
    I got sample code on how to connect using JCO:
    <br/><br/>
    package sample;<br/><br/>
    import java.io.File;<br/>
    import java.io.FileOutputStream;<br/>
    import java.util.Properties;<br/>
    import java.util.concurrent.CountDownLatch;<br/><br/>
    import com.sap.conn.jco.AbapException;<br/>
    import com.sap.conn.jco.JCoContext;<br/>
    import com.sap.conn.jco.JCoDestination;<br/>
    import com.sap.conn.jco.JCoDestinationManager;<br/>
    import com.sap.conn.jco.JCoException;<br/>
    import com.sap.conn.jco.JCoField;<br/>
    import com.sap.conn.jco.JCoFunction;<br/>
    import com.sap.conn.jco.JCoFunctionTemplate;<br/>
    import com.sap.conn.jco.JCoStructure;<br/>
    import com.sap.conn.jco.JCoTable;<br/>
    import com.sap.conn.jco.ext.DestinationDataProvider;<br/><br/>
    public class StepByStepClient<br/>
    {<br/>
        static String ABAP_AS = "ABAP_AS_WITHOUT_POOL";<br/>
        static String ABAP_AS_POOLED = "ABAP_AS_WITH_POOL";<br/>
        static String ABAP_MS = "ABAP_MS_WITHOUT_POOL";<br/>
        static<br/>
        {<br/>
            Properties connectProperties = new Properties();<br/>
            connectProperties.setProperty(DestinationDataProvider.JCO_ASHOST, "localhost");<br/>
            connectProperties.setProperty(DestinationDataProvider.JCO_SYSNR,  "06");<br/>
            connectProperties.setProperty(DestinationDataProvider.JCO_CLIENT, "000");<br/>
            connectProperties.setProperty(DestinationDataProvider.JCO_USER,   "manager"); //sapuser<br/>
            connectProperties.setProperty(DestinationDataProvider.JCO_PASSWD, "manager"); //sap1234<br/>
            connectProperties.setProperty(DestinationDataProvider.JCO_LANG,   "en");<br/>
            createDataFile(ABAP_AS, "jcoDestination", connectProperties);<br/><br/>
            connectProperties.setProperty(DestinationDataProvider.JCO_POOL_CAPACITY, "3");<br/>
            connectProperties.setProperty(DestinationDataProvider.JCO_PEAK_LIMIT,    "10");<br/>
            createDataFile(ABAP_AS_POOLED, "jcoDestination", connectProperties);<br/><br/>
            connectProperties.clear();<br/>
            connectProperties.setProperty(DestinationDataProvider.JCO_MSHOST, "localhost");<br/>
            connectProperties.setProperty(DestinationDataProvider.JCO_R3NAME,  "SID");<br/>
            connectProperties.setProperty(DestinationDataProvider.JCO_CLIENT, "000");<br/>
            connectProperties.setProperty(DestinationDataProvider.JCO_USER,   "manager"); //sapuser<br/>
            connectProperties.setProperty(DestinationDataProvider.JCO_PASSWD, "manager"); //sap1234<br/>
            connectProperties.setProperty(DestinationDataProvider.JCO_GROUP, "GROUP");<br/>
            connectProperties.setProperty(DestinationDataProvider.JCO_LANG,   "en");<br/>
            createDataFile(ABAP_MS, "jcoDestination", connectProperties);<br/>
        }<br/><br/>
        static void createDataFile(String name, String suffix, Properties properties)<br/>
        {<br/>
            File cfg = new File(name"."suffix);<br/>
            if(!cfg.exists())<br/>
            {<br/>
                try<br/>
                {<br/>
                    FileOutputStream fos = new FileOutputStream(cfg, false);<br/>
                    properties.store(fos, "for tests only !");<br/>
                    fos.close();<br/>
                }<br/>
                catch (Exception e)<br/>
                {<br/>
                    throw new RuntimeException("Unable to create the destination file " + cfg.getName(), e);<br/>
                }<br/>
            }<br/>
        }<br/><br/>
        public static void step1Connect() throws JCoException<br/>
        {<br/>
            JCoDestination destination = JCoDestinationManager.getDestination(ABAP_AS);<br/>
            System.out.println("Attributes:");<br/>
            System.out.println(destination.getAttributes());<br/>
            System.out.println();<br/><br/>
            destination = JCoDestinationManager.getDestination(ABAP_MS);<br/>
            System.out.println("Attributes:");<br/>
            System.out.println(destination.getAttributes());<br/>
            System.out.println();<br/>
        }<br/><br/>
        public static void main(String[] args) throws JCoException<br/>
        {<br/>
            step1Connect();<br/>
        }<br/>
    }<br/>
    <br/><br/>
    Each time I run the application I run into an error:
    <br/><br/>
    Attributes:<br/>
    Exception in thread "main" com.sap.conn.jco.JCoException: (102) JCO_ERROR_COMMUNICATION: Connect to SAP gateway failed<br/>
    Connection parameters: TYPE=A DEST=ABAP_AS_WITHOUT_POOL ASHOST=localhost SYSNR=06 PCS=1<br/><br/>
    LOCATION    CPIC (TCP/IP) on local host with Unicode<br/>
    ERROR       connection to partner '127.0.0.1:3306' broken<br/>
    TIME        Mon May 09 10:46:46 2011<br/>
    RELEASE     720<br/>
    COMPONENT   NI (network interface)<br/>
    VERSION     40<br/>
    RC          -6<br/>
    MODULE      gwxx.c<br/>
    LINE        646<br/>
    DETAIL      NiIRead: P=127.0.0.1:3306; L=0.0.0.0:50496<br/>
    SYSTEM CALL GwRead<br/>
    ERRNO       10054<br/>
    ERRNO TEXT  WSAECONNRESET: Connection reset by peer<br/>
    COUNTER     2<br/><br/>
         at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:662)<br/>
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1362)<br/>
         at com.sap.conn.jco.rt.ClientConnection.connect(ClientConnection.java:721)<br/>
         at com.sap.conn.jco.rt.PoolingFactory.init(PoolingFactory.java:103)<br/>
         at com.sap.conn.jco.rt.ConnectionManager.createFactory(ConnectionManager.java:293)<br/>
         at com.sap.conn.jco.rt.DefaultConnectionManager.createFactory(DefaultConnectionManager.java:46)<br/>
         at com.sap.conn.jco.rt.ConnectionManager.getFactory(ConnectionManager.java:262)<br/>
         at com.sap.conn.jco.rt.RfcDestination.initialize(RfcDestination.java:509)<br/>
         at com.sap.conn.jco.rt.RfcDestination.getAttributes(RfcDestination.java:347)<br/>
         at com.sap.conn.jco.rt.RfcDestination.getAttributes(RfcDestination.java:27)<br/>
         at sample.StepByStepClient.step1Connect(StepByStepClient.java:74)<br/>
         at sample.StepByStepClient.main(StepByStepClient.java:304)<br/>
    Caused by: RfcException: [null]<br/>
        message: Connect to SAP gateway failed<br/>
    Connection parameters: TYPE=A DEST=ABAP_AS_WITHOUT_POOL ASHOST=localhost SYSNR=06 PCS=1<br/>
    <br/><br/>
    Second question: What seems to be the problem with my sample application? Do I need to use a different Java Connector for SAP Business One or SAP Business One does not support Java Connector?
    <br/><br/>
    Please help.
    <br/><br/>
    Thank you all.
    Edited by: kevinroy on May 9, 2011 4:51 AM

    Hi,<br/>
    Thank you very much for the reply. I am now able to move forward with what I am doing.<br/>
    I used the following code in connecting but am encountering an error:<br/>
    public class ConnectSAP {
         // company interface
         public ICompany company;
         private SBOErrorMessage errMsg = null;
         public static void main(String[] args) {
              ConnectSAP company = new ConnectSAP();
              company.conn();
         //method make connection andinitialize company instance
         public int conn() {
              int rc = 0;
              try {
                   company = SBOCOMUtil.newCompany();
                   company.setServer("192.168.0.216"); //192.168.0.216
                   company.setCompanyDB("SBODemoUS");
                   company.setUserName("manager");
                   company.setPassword("manager");
                   company.setDbServerType(SBOCOMConstants.BoDataServerTypes_dst_MSSQL2005);
                   company.setUseTrusted(new Boolean(false));
                   company.setLanguage(SBOCOMConstants.BoSuppLangs_ln_English);
                   company.setDbUserName("username"); 
                   company.setDbPassword("password");
                   //company.setAddonIdentifier("...");     
                   //company.setLicenseServer("...");
                   rc = company.connect();
                   if (rc == 0) {
                        System.out.println("Connected!");
                   } else {
                        errMsg = company.getLastError();
                        System.out.println(
                             "I cannot connect to database server: "
                                  + errMsg.getErrorMessage()
                                  + " "
                                  + errMsg.getErrorCode());
              } catch (Exception e) {
                   e.printStackTrace();
                   return -1;
              return rc;
         public void freeConnection(){
              company.disconnect();
    }<br/>
    I am getting the error "Failed to Connect to SBOCommon -111".<br/>
    Error is still the same even if I set UseTrusted to true and comment the DbUserName and DbPassword.<br/>
    Do I need to specify the license? Or login to SAP before connecting?<br/>
    Thank you.

Maybe you are looking for

  • One user can't get Outlook to work

    Hi, We have one user who is having problems with Outlook. It started a few weeks ago, and no one else is having the same problem. It says "The connection to Microsoft Exchange is unavailable. Outlook must be online to complete this action" Environmen

  • New Ipod and Windows ME

    Hey guys, I just bought the U2 Special Edition 20gb Ipod and I have an old (~5yrs.) HP pavilion that runs on Windows ME edition. Will I be able to transfer my songs to the Ipod without having to upgrade to Windows XP? I'd rather not upgrade because I

  • Issue with LOV  .LOV window pops up but with session loss message

    Hi, I am facing one issue for LOVs. On a page when i enter any partial value for LOV then LOV window pops up but it gives me error message as "You cannot complete this task buz following events cause loss of page data ** Your login session has expire

  • MOVED: MSI TWIN FROZ GAMING GTX 770 UEFI/GOP COMPATIBLE BIOS

    This topic has been moved to GAMING Graphics Cards. https://forum-en.msi.com/index.php?topic=252148.0

  • My 6.1 setting is go

    I have a Soundblaster Audigy 2 ZS for 2 years, and a Creative 6. speakers. I?always have the same problem: I install the driver, it works fine for month, maybe 3 months, but someday it looses the 6. option on my settings (both in THX and mixer surrou