Skip to Content
author's profile photo Former Member
Former Member

UI: Failed connecting to the company's database

Hello,

I'm a beginner with SAPb1 development and I'm trying to practice a little bit before starting real development. I try to use the sample "HelloWorld" which uses the UI API. When I start it, I always have this message : "Failed connecting to the company's database". I've got no idea why ?

Does anyone can help me ?

By the way, if someone can tell me how to use a form made by Screen Painter in Visual Basic 6 that would be nice as I don't find a lot of information about that.

Vincent

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Posted on Apr 07, 2004 at 08:23 AM

    Hi Vincent,

    first of all I would like to recommend you very strongly to get trained for SAP Business One SDK, if you want to do "real development"!!!

    In addition to that, please use a prefix for the topics like "UI: " or "DI: " or "SBO: " to allow a faster monitoring of the posts.

    Did you follow the installation instructions?

    Do you use a named instance of MS SQL Server (some additional configuration has to be done in this case)?

    Did you modify the sample?

    ScreenPainter:

    Please use the documentation shipped. Check the UI help file in addition to that. In this case ("use a form...") e.g. search for "XML". You will find several entries listed. One of them is about the "LoadBatchActions" method of the application object what is the starting point of what you are looking for!

    The rest of it is plane UI API programming (events, loading, data bindung etc.) what you would learn in a SDK Training (see SAP Service Marketplace "Education" area for that).

    Best regards,

    Frank

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 08, 2004 at 01:18 AM

    OK. Thanks for the information. I retry this morning and everything work perfectly.

    For the training. That's a really good idea but as my company is based in Sydney, that's not really easy to come back in Europe just for a training. So I have to learn a little bit by myself and try to train as much as possible.

    Vincent

    Add comment
    10|10000 characters needed characters exceeded