Addon Disconnecting in SAP 2005

Hi
    I have problem regarding my customized addon for SAP 2005. This addon is base on my SAP2004 addon I want to use it on SAP 2005. I recompiled the Addon in the SAP2005 environment including the SAP2005 dll's, then created a Addon installer. The installer working fine application run but when I access the other forms like choose company form and business partner form the addon is disconnecting.
   Any body can help me. Thanks
Regards
Giovanni

Hey,
The code I am using was copyed from "Tutorial: Developing a Blanket Agreement Solution". Followed it step by step, checked and doubled check. There is also a "Addon connection timed out message" that follows the debug message.
Thanks
Jeremy adam
Ok, I looks like it dying out somewhere around this line
<i>SboGuiApi = New SAPbouiCOM.SboGuiApi</i>
if it is not this line then not sure whats going on. It almost seems like the SAPbouiCOM is being flaky... It is acting like it is working then it seems to not be working... That is just crazy but that is where my thinking is... Any other suggestions, or could I be on the right track? Is it possible that there is some security issue that is causing this? What about with the Blanket Tutorial's connection code?
Thanks
Jeremy Adam
Message was edited by: Jeremy Adam

Similar Messages

  • Moving Add on from SAP 2005 to SAP 2007

    Good morning
    i developed an add on in SAP 2005 with VB.NET
    when i tried to execute it in SAP2007 , it is well installed but after my first event it crash! and i have to reexecute it!
    it work well in SAP 2005, i tried to catch the error but it seam well done and there is no catch error in all the process, may some body help me please?

    Ramya,
    It will depend on which Addon's you are referring.  Certain Addon only apply to certain localizations while others are common to both A and B.
    Example: Outlook integration would work for both A and B, while the Fixed Asset add-on might not be applicable to all localization within A or B.  It all depends.
    Suda

  • SAP 2005 BRIDGE GAP BETWEEN SAP 8.8

    *I WANT KNOWN THE BRIDGE DIFFERENCES SAP 2005 AND SAP 8.8.  RELATED TO ADD - ONS .  HOW ARE NEW FEATURES THAT ARE ADDED IN  SAP 8.8. HOW ADVANCE IS SAP 8.8. COMPARE TO PREVIOUS VERSION 2005 ? PLS REVERT UR ANSWERS *ASAP**

    Arun,
    Are you referring to the comparison of the addon of B1 2005A and the addon of B1 8.8 ?
    if yes, you  could browse the addon landing page :
    SAP Business One Add-Ons developed by SAP
    http://channel.sap.com/sbo/add-ons
    Advanced Layout Designer
    http://channel.sap.com/sbo/ald
    Copy Express
    http://channel.sap.com/sbo/copyexpress
    Fixed Assets
    http://channel.sap.com/sbo/fa
    Format Definition
    http://channel.sap.com/sbo/bankformat
    Intrastat
    http://channel.sap.com/sbo/intrastat
    Microsoft Outlook Integration
    http://channel.sap.com/sbo/MSOutlook
    Payment Engine
    http://channel.sap.com/sbo/pe
    Print Layout Designer
    http://channel.sap.com/sbo/pld
    XL Reporter
    http://channel.sap.com/sbo/xlr
    you can find the ppt file or pdf file of the addons and you may see the differences. if you want to dig more deeper, you can download it and install it.
    Rgds,
    JimM

  • Getting error in upgrading from Sap 2005 to sap 8.8

    Hi everyone,
    I am upgrading my client from sap 2005 to sap 8.8.During the pre check wizard system is getting some error and creating the log file.The coming error is:
    Test result: Not completed due to SBOErr -2004 in function CDagCheckUTBRecordInconsistence::DoCheck(), error text: Open user defined table   failed. # #     MID=-1     BOID=-1     BO=     UserID=     D:\SAP Setup\B18800P_19-10003894\Wizard\Upgrade.exe     Version=8.80.237     Area=     PID=4400     TID=4064     D:\depot\BUSMB_B1\8.8_REL\SBO\8.8_REL\Application\SolutionPatch\Component\Logger.cpp     105
    25/02/2011  13:52:11:765625      UpgradeWizard     Note               I     Technical     End time: 20110225 1:52:11PM # #     MID=-1     BOID=-1     BO=     UserID=     D:\SAP Setup\B18800P_19-10003894\Wizard\Upgrade.exe     Version=8.80.237     Area=     PID=4400     TID=4064     D:\depot\BUSMB_B1\8.8_REL\SBO\8.8_REL\Application\SolutionPatch\Component\Logger.cpp     105
    25/02/2011  13:52:11:765625      UpgradeWizard     Note               I     Technical     Test result: Error # #     MID=-1     BOID=-1     BO=     UserID=     D:\SAP Setup\B18800P_19-10003894\Wizard\Upgrade.exe     Version=8.80.237     Area=     PID=4400     TID=4064     
    I searched so much on this in the portal but still not able to find any solution..
    Please help me out to fix this error..
    Thanks
    Ankit Garg.

    Hi ANkit,
    if it is showing error during pre check wizrad, it will be showing SAP note number in front of  that error. check the note number details .
    Thanks,
    Neetu

  • Addon disconnected while retrieving huge data using orecordset on client

    Hi,
    My addon is using orecordset to retrieve about 11000 records on client pc and the addon disconnected while processing half way. When I trace the error, it seems like when the server fetches the records back to client pc, the addon disconnected. However, it's run perfectly on the server.
    This addon has another function that fetches a small records using orecordset and it's working fine on the client pc.
    Is there a limitation of using orecordset to fetch huge volume of data?
    Appreciate if anyone could help.
    Regards,
    Cherine

    Hi,
    My sdk is used to do GL Consolidation. What it does is to extract journal entries from other company and do some calculation and store the data in UDT. This sdk is installed on the holding company. I use ocompany.connect to connect to other company and once it is connected I will execute a query to extract the journal entries from this company back to my holding company and store the data in UDT.
    The addon stop half way while retrieving journal entries due to large volume of data.
    The connection to other company is as below:-
    With oSubCompany
            .Server = oCompany.Server
            .CompanyDB = DbName
            .UseTrusted = False
            .UserName = Login
            .Password = Password
            .DbUserName = DBLogin
            .DbPassword = DBPwd
            If SQLVer = "MSSQL2005" Then
                 .DbServerType = SAPbobsCOM.BoDataServerTypes.dst_MSSQL2005
            Else
                 .DbServerType = SAPbobsCOM.BoDataServerTypes.dst_MSSQL
            End If
            If .Connect <> 0 Then
               .GetLastError(ErrCode, ErrMsg)
                Throw New ApplicationException("Failed to connect to Source Company: " )
            End If
    End With
    The query is as below:-
    select j.transid, j.transtype, j1.baseref, j.memo, j.refdate, j.number, n1.seriesname, j1.line_id, j1.account, j1.debit, j1.credit, j1.profitcode, a.acctname, a.formatcode, a.u_acquisition,
    Replace((Case When a.U_ConsolAcct = '*' Then a.FormatCode Else a.U_ConsolAcct End),'-','') As 'ConsolAcct', (Case When a.groupmask < 4 Then 'BS' Else 'PL' End) As 'AcctTyp'
    from OJDT j left join JDT1 j1 on j.transid = j1.transid
    left join nnm1 n1 on n1.objectcode = 30 and n1.series = j.series
    left join oact a on a.acctcode = j1.account
    where j.refdate >= oSubRecordset1.Fields.Item("f_refdate").Value
    and j.refdate <= oSubRecordset1.Fields.Item("t_refdate").Value
    and isnull(a.u_acquisition,'') <> 'Y'"
    oSubRecordset.DoQuery(sQuery)
    I just wander whether is it disconnected due to the connection to other company got disconnected or oRecordset disconnected after sometimes.
    For 2005A SP20, do we still use com object? How and where to set the time out value?
    Regards,
    Cherine

  • SAP 2005-2007 UDO Problem

    Dear All,
    We had nearly 10 UDO with respective tables in SAP 2005. After up gradation from 2005 to 2007 all tables and UDO
    Successfully upgraded to 2007. All documents getting generated except one document.  Itu2019s asked for generating new numbering series.  But we are not able to generate numbering series for that document. All my add-ons tasks totally sopped because of that document. Any help / suggestion will be highly helpful to me.
    For ref: My UDO name: OISC document table: @ISCH document lines: @ISCR
    rgds,
    Ganesh.

    Hi ,
      Please go to ur table - see ur last Docnum - UDO table
    Again open NNM1 -Table Update NextDocnum = ur DocNUm + 1 w r to Ur UDO
    By
    Firos C

  • It's possible that Addon without addon identifier can run in SAP 2005?

    i have registered the ADDON in a client with SBO 2005.
    I have installed and executed the addon and all it has worked correctly.  it's possible???
    Thank

    Hi,
    Yes it is. You are running the Add-on in compatibility mode. Bare in mind that it has an expiration date that you can check in the license manager of SBO.
    Hope it helps
    -M

  • ADDOn  Disconnected Problem

    Hello
    I've developed  an AddOn in SAP B1 2005   SP:00  PL:35.
    Under Sales A/R  Menu I've created another menu  "Operations"  under which there are two forms---
    OBR
    DPS
    OBR   Form is created at the same program of "Operations"  Menu creation. And I've written another program for DPS that's using the Menu Id of  "Operations".  I've registered forms and  running Successfully,
    But, after a few minutes Only  2nd Form "DPS"  is Disconnected and showing me a message of
    "Restart the ADDOn"
    After restarting the AddOn it's again running properly.
    It's not only the problem of "DPS" Form because this problem is same as for all forms Under "Operations" .
    I did filtering in each form.
    And It's a Big Bug.
    I need help.
    Rgds
    Indrajit
    Edited by: Indrajit Biswas on Jan 11, 2008 3:08 PM

    I am afraid it caused by your connection method coding or ard file. did you put adon identifier or not ?
    Could you write your code here ?
    Anyway, you could also post this thread in SDK forum
    Rgds,

  • Add on for SAP 2005 B one run in the SAP 2005 A

    Hi to all,
             I have one Doubt.the add on for sap b1 2005 B shall we run in the sap b1 2005A.      
            If Anybody know reply quickly please !!!
    Regards,
    Ramya.S

    Ramya,
    It will depend on which Addon's you are referring.  Certain Addon only apply to certain localizations while others are common to both A and B.
    Example: Outlook integration would work for both A and B, while the Fixed Asset add-on might not be applicable to all localization within A or B.  It all depends.
    Suda

  • AddOn disconnected after installation

    I have a problem using my latest AddOn.
    I created all Files (AddOn, Installer, ard-File) and installed it with SBO.
    The AddOn is running fine in debugging mode.
    After restarting SBO everything is fine, SBO has connected the AddOn, but if i try to use it, an error message appears: "AddOn is disconnected blablabla".
    Can anybody explain this behaviour?
    With an old version of this AddOn i simply changed the version number from 1.11 to 1.2 and it worked after that.
    Frank

    Did you report this problem already via SAP Service Marketplace (SMP)?
    As version 2004 is now in a status of "General Availability" (since Friday), you should be able to do so + do it (please).
    Please note, that bugs and shortcomings have been collected in the Ramp-Up phase + will be certainly fixed soon (But I cannot tell you when exactly that will happen; sorry!).
    Nevertheless, bugs reported via SMP will usually be fixed earlier than shortcomings will be corrected...
    So, again, please report your issues on SMP!
    Thanks,
    Frank

  • Addon disconnected in some clients

    Hi All,
    I had developed an addon that worked fine for about 2 years. Now I have upgraded to SAP 8.81 PL8 and in some clients it stops working (disconnected) when it is triggered. In others clients it's working fine. As a remedy I reinstalled specific client
    Any idea?
    Vangelis

    Hi Vangelis,
    Because your add-on is developed under the old DI, you need to recompile it under new DI to make sure it work under new B1 system.
    Thanks,
    Gordon

  • Addon disconnected message after producing a report

    Hi
    I have written some forecasting reports for a SAP 2007a customer which creates an excel spreadsheet
    They have alot of data and it takes some time to run, maybe 10 minutes or even longer
    The report always finishes but they nearly always get a message that the addon is disconnected and options to ignore, restart etc are displayed
    Has anyone any ideas why they are getting this please as I can't recreate it on my pc with their data
    I wonder if somehow the ui api is timing out and  if I had some sort of progress bar might help
    Thanks for any help you can give
    Regards Andy

    Andy,
    A timer solution, i am using this
    Add on disconect after some minutes
    BTW, if you create your own progress bar (NOT SAP UI OBJECT) and which contains a Picturebox which is always growing by the readyness percentage, you do the same as updating the form.
    Also activex progress bar can solve the problem.
    Regards
    J

  • Function module for disconnection document (SAP Utilities)

    Hi ,
    Can any body tell the function module or bapi for creating disconnection document(EC85) for an installation?
    vineel.

    Can you check the Following  Link
    http://help.sap.com/saphelp_utilities472/helpdata/en/e6/297540540ed362e10000000a155106/Release_Infos_472_e.pdf
    1.11.3.1.2 BAdI ISU_SERVORD_EDCN
    Kanagaraja L

  • Patch SAP 2005 A sp1 to PL14 experience

    Good Morning, ( I hope some of you may find our patch experience helpful)
    Yesterday (1/16/07) We patched our 2005 A SQL sp1 server to PL 14 from PL 4 running on Windows Server 2003 with SP1 and SQL Server 2005 (not SP1 yet). 
    The documentation instructed us to install to PL 10 first then on to PL14.  We followed this instruction.
    We could not get the "Install Interface" -Upgrade Server Tools --> Install or the Common Upgrade -->Install routines to work at all.
    We attempted to manually upgrade each package --> ServerTools, DI API, SDK, CommonUpgrader as per the instructions in Upgrade.pdf for SQL 2005.  This routine did not work.
    We Uninstalled each component separately (AddRemove tool in Windows) as noted on line 5 in the PatchReadme.pdf file, then reinstalled each component manually.  This method DID work. 
    I think your documentation should be amended to add this method if the current printed method does not work for a particular installation.
    Then we upgraded a Client which in turn Upgraded the Company database to PL 10.  Then we upgraded the rest of our clients.  All Successful.
    Then we attempted to patch to PL 14.  Same issue as above with the "interface". 
    Installing directly over PL 10 did not work and we had to uninstall and re-install each component separately and manually.
    When installing UpgraderCommon to PL14, an error message box very near the end of the process (when running the "TmSp_CopyCompany" Stored Procedure) popped up stating:
    [SQL ......][....][ ...    ] "Must declare the scalar variable @Cmd"
    Click OK and then the Upgrader Routine "apparently" finished...??  Logging on to the compnay through a client gave no indication that the database had changed from PL10, eventhough the client upgraded to PL14.
    I looked through the Patch files and found these two TmSp_CopyCompany.txt files relating to the "TmSp_CopyCompany" in these directories (where I had unzipped the Patch Files):
    "F:\SAP Patches\Patch 14\Packages\Upgrader Common\Setup\Queries\Sp\1" and "F:\SAP Patches\Patch 14\Packages\Upgrader Common\Setup\Queries\Sp\4"
    I changed the @cmd variable definition to @Cmd to match the two places in each text file's Stored Procedure where the @Cmd variable was called and re-ran the UpgraderCommon setup.exe.  This time the routine completed without the message box error.  You may want to make sure these files are edited for CASE sensitive SQL installations.
    I opened the Company in a Client - updated the Client to PL 14, but did not get the "update your database" message this time either, so I didn't know if the database had been patched to PL 14.  The clients appear to connect to the company and the staff could get back to work, so I left the Patch in that condition.
    Later, after hours, I looked at the SBO_COMMON database and found a database at 177 MB and a log file at 4.9gig!  I backed up the SBO-COMMON database, tried to shrink the database, then the log file only several times, setting the filesize to 500MB in an attempt to get the ldf file to shrink.  I restored from the backup and tried to shrink again... all to no avail!  All these methods were using the SQL 2005 manager interface-not direct SQL statments.
    Finally, I deleted the SBO-COMMON database then ran the PL14 UpgraderCommon Setup.exe.  This created a new SBO-COMMON database (76MB data and 40MB log).  Much better.
    I logged on to the company through a client, no indication of any changes were presented and the clients appear to be connecting and working properly at PL14.
    According to HELP/ABOUT in the client (Version: SAP Business One 2005 A (6.80.318) SP:01 PL:14).
    Question(s):  How can we know that the database version and the Client Version are patched to the same level?  or since it appears to be working now, it is ok? or will we see some issues in the future?
    Does anyone know the effects of upgrading to the SQL server to SP1 ?

    Hi,
    looks like MSSQL Server 2005 uses wrong collation settings. This can be the reason for other unexpected issues with B1 as well.
    How to solve that, just do a note search at <a href="http://service.sap.com">http://service.sap.com</a> or
    a) if you are a customer ask your partner
    b) if you are a partner have a look into an empowerment session at <a href="http://service.sap.com/smb">http://service.sap.com/smb</a> section self/help or ask SAP B1 support.
    Q How can we know that the database version and the Client Version are patched to the same level? or since it appears to be working now, it is ok?
    A As soon as Softwareversion does not hit DB version of SBO Common and Customer DB, you get an info during login into B1. If you are logged in sucessfully go to Help->About SAP B1 and find out your currently used Patchlevel
    Q or will we see some issues in the future?
    A see above issue collation settings MSSQL 2005
    Q Does anyone know the effects of upgrading to the SQL server to SP1 ?
    A There are no side effects known so far with MSSQL 2005 SP01
    Hope this helps
    Regards
    Message was edited by:
            Mario Schoenberg

  • Addon is blocked SBO 2005 SP01 PL04

    Hi,
    We have an addon that runs perfectly on SBO 2005 SP0 PL11, but on SP01 PL04 I get the error "Addon is blocked, restart, logoff, go on without addon".
    Has anyone noticed this?
    Regards
    Ad

    Hi Ad,
    Well, as you certainly saw, this is the standard message coming up whenever an Add-On stopped.
    Does it still happen - or did you resolve the issue in my absence?
    If not:
    From your question I suppose it happens when you start the Add-On right?
    Did you use VB .NET or C#(.NET)? - If yes, did you check the logs of the B1TE .NET Profiler?
    Any chance to find out more precisely when the Add-On stops working?
    What happens if you recompile your Add-On on SP01 + reinstall it?
    Regards,
    Frank

Maybe you are looking for