Capture keystroke from the SAP Business One Desktop

Does anyone know how I can capture a keystroke from the SAP Business One “Desktop” with the UI API?
Basically, open the B1 Client, then click the mouse in the back ground beside the main menu so that the cursor is “nowhere” (not in the search field). Now set some code In the KeyDown event to catch any keystrokes. Nothing happens. The event is not called. I even tried using SetWindowsHookEx API function but never got it to work with an SDK project since there is no form hHandle. Woudlnd even work once I gave the hhandle of the B1 Client

Hi Marc,
what is your exact requirement ?
I don't think you can specificly catch a key down in the background - but only because it is not possible to "lose" main menu as active form ( only if you close it -> then search field is active ).
So basically you have to find a logic where you can catch *your* keydown on any form.
Be aware of the fact, that keydown won't let you catch all keys / key combinations.
I had an equal requirement some time ago and after a lot of experimenting ( windows global hook wouldn't work reliable ) I ended up using SBO key shortcuts ( F2-F12 ) and their menu events.
regards,
Maik

Similar Messages

  • We are exporting data to the SAP Business one. Error: "The field is too small to accept the data you attempt to add. try inserting or pasting less data"

    Hi,
    I have exported the data from two sources, MS-Excel and SAP Business One to Sap Business One (8.81). While exporting the data, I got the error "The field is too small to accept the data you attempt to add. try inserting or pasting less data" for the first time, Immediately when I run it again, it shows export successfully completed, but nothing is changed in the SAP Business One. Could you please provide the solution as early as possible?
    Thanks & Regards,
    Chaitanya.B

    ok
    i solve the problem.i rezise the colomn size
    thanks

  • What are the SAP Business one requirements for intercompany intergration

    Hi. what are the SAP Business one requirements for intercompany intergration

    Hi Wendy,
    Intercompany 1.1 is supported on SAP Business One 8.82 and Intercompany 2.0 is supported on SAP Business One 9.0.
    So depending on Solution version your are looking for, refer to Prerequisites section in the respective version's Administrator Guide.
    For further information on Intercompany Integration Solution for SAP Business one, you may refer the following:
    https://websmp210.sap-ag.de/partneredge/b1/intercompany  
    Regards,
    Agneesh Jain
    SAP Intercompany Team

  • How to capture carriage return in SAP Business One?

    Hi guys,
    I am using C# for developing a plug-in for SAP business one 2005, I tried to use '\n' to capture carriage return in some fields that are stored in SQL server 2005, but it didn't work. I tried the same code in a C# windows application and it worked. I just want to know that if the carriage return in SAP has a special sequence code for that or not.
    The code I tried is "
    string s = "something";
    if (s.contains('\n'))
       //do something;
    Thanks  a lot

    Hi,
    I guess you did a typo: Chr(9) is TAB... I think you meant Chr(10).
    Regards,
    Eric

  • Minor Release SAP Business One 8.81 Now in Unrestricted Shipment

    Minor release SAP Business One 8.81 is the successor release of major release SAP Business One 8.8.
    SAP Business One 8.81 delivers significant value in:
    - Improved business processes and enhanced business control
    Request for quotation, Recurring transactions, Tax code determination, Purchase confirmation wizard, Cost accounting, SEPA payment method
    - Enhanced reporting and embedded analytics
    International Financial Reporting Standard support, Report filtering based on UDFs, Reference fields enhancements
    - Partner enablement
    SDK enhancements (UI/DI API), Electronic File Manager, Crystal Reports for Add-ons
    - End-to-end integration and collaboration
    One product u2013 Dashboard caching mechanism, B1&B1iC integration (shipped as one package with B1 product or upgrade, integration with installation and upgrade wizards)
    Note that with the unrestricted shipment of SAP Business One 8.81, no more patches will be delivered for SAP Business One 8.8 after April 30. Learn more on the [SAP Business One 8.8 Release Family Central Information page  |http://channel.sap.com/sbo/88] on Channel Partner Portal (for channel partners only)

    Hi Ashish,
    as always, the SAP Business One software can be downloaded by Partners only from the SAP Business One Software Center at [http://service.sap.com/sbo-swcenter] . You will then need to navigate to "SAP Business One Products" and then to either "installations" or "updates", depending if this is a new installation or if you want to upgrade to SAP Business One 8.81.
    Cheers, Marie-Laurence

  • Credit Note in SAP Business One

    Hi All,
    We want to reimburse some of the customer promotional expenditure ( e.g. trade scheme operated in the market, distribution expenditure undertaken, display given etc ) in form of credit or we want make credit entry for the same reason to the customer  which should be adjusted with subsequent sales in future.
    But we could not find above facility in SAP Business One.
    You are aware that the credit note issuing is a regular process adopted by all companies and is quite common in FMCG business. We want that each and every single credit note has to be documented in the system and reconciled against each party's claims .
    Please help us with a proper solution  for the  process of system generated Credit Note as that will help us a lot.
    Regards
    Arindam

    Hi Arindam,
    To access the credit note module window from the SAP Business One Main Menu, choose Sales u2013 A/R  A/R Credit Memo. Also make sure that you have the credit note option selected in the main menu form settings. Also please check that you have the right permissions and license assigned to the user performing this function.
    For legal reasons, you cannot change or delete a delivery or invoice that you enter in SAP Business One. However, the customer might send the goods back for various reasons, or you may have made a mistake when you entered the documents.
    If a sales transaction for which you record an accounting and an inventory posting has been completely or partially reversed, you must enter a corresponding sales document to clear it. This document reverses the changes in terms of stock quantities and monetary values.
    The credit memo is the clearing document for the invoice and for the returns. If the goods were delivered to the customer and an invoice has already been created, you can partially or completely reverse the transaction by creating a credit memo. With the credit memo y
    ou correct both the quantities and the monetary values. The system increases the stock of the credited items by the amount specified in the credit memo. The credit memo credits the value in the customer account in the Accounting system and amends the revenue account by the same amount. The system corrects the tax amounts automatically.
    SAP Business One enables you to create an A/R credit memo with a zero amount. You can do this when you clear A/R invoices for items delivered without a charge, for example, for items that are part of a promotion or covered by a service contract.
    Hope this helps.
    Kind regards,
    Matt

  • Loading data from SAP Business One to BW

    We need to load data from several SAP Business One databases to BW. I find some special objects for SAP Business One in the Business Content
    And a short description in Help:
    The source for the data upload is a file system. The relevant files can be generated using the views provided within the SAP Business One database.
    May be someone has an experience in this area or could advise documentation about this
        May be better to use DB-connect?
    Thanks for your help

    Hello Elena,
    I am just curious if you've found answer to your question how to extract data fron BusinessOne into SAP/BI? What can we use? Only flat files or there are some standard extractors exists? Or have you used DB Connect for that?
    Thank you,
    -Vitaliy

  • Synchronisation of contacts from Outlook to SAP Business One

    Dear all,
    i have installed the Outlook Integration Add-On and want to synchronize Contacts from SAP Business One to Outlook and this worked fine. Now I also wanted to synchronize contacts from Outlook to SAP Business One (changes and new Contacts) and I activated the check box for this in the settings. But after I run the synchronisation nothing happened, even the contact folder has been selected in the Contacts - MS Outlook Criteria settings. Do I have to do something else?

    David,
    The forum you have posted your question in is for questions related to the SAP Business One SDK.  You may want to post your question in the SAP Business One Discussion Forum as your question is application related.
    http://cpsn-channel.sap.com/businessoneforum
    Eddy

  • 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 8.8

    Hi Al,
    can any one of you provide me the link for downloading the  SAP Business One 8.8 .when will the full version be released.is the released version the beta one
    Edited by: micheal willis on Jul 22, 2009 5:25 PM

    Hi micheal,
    You can download B1 v8.8 from here.
    You need a S-Username to gain access.
    Regards,
    Vítor Vieira

  • Business Impact Study on SAP Business One Training

    Dear SAP Business One Community,
    SAP is investing in finding out how the SAP Business One training is affecting your daily business.
    Please fill out this survey to help us finding out how effective the SAP Business One training is, and how well it meet your needs.
    We will hold a drawing for
    10 World Travel Adapter plus 10 USB Laser pointer (5 per partner survey and 5 per customer survey)
    from all people (separate drawings for partners and customers) who complete the survey and include their contact information. Participants from the SDN will also receive SDN points for attandance.
    Your entered data will be protected with SSL.
    There are two different surveys. One is for SAP Business One Partners and one is for SAP Business One Customers. Please participate in the survey, which belongs to your role.
    The survey will be available until midnight CEST on September 30, 2008.
    You can complete the related survey in 10-15 minutes.
    Please read the terms and conditions for the survey first. You will find them on the first page of the survey.
    [Access Partner Survey|https://www.surveymonkey.com/s.aspx?sm=BPnrjiHwoKKZ56PihoNyHQ_3d_3d].
    [Access Customer Survey|https://www.surveymonkey.com/s.aspx?sm=9c8MIxKy0Gckd9w8xWEiUA_3d_3d].
    Thank you very much in advance for your participation.
    Kindest regards,
    SAP Business One Training Team
    Edited by: Darius Heydarian on Sep 15, 2008 2:38 PM

    I'm not sure if this is the right forum for my query. any suggessions?
    Regards
    Pranav

  • SAP BUSINESS ONE 8.8 + 64-Bit-Edition von Office 2010

    Hallo Leute,
    gibts da schon Neuigkeiten, ob B1 und Office 2010 64-Bit zusammen spielen können?
    Funktioniert der Export nach Excel überhaupt noch?
    Vielen Dank
    Grüße, Lukasz.

    Hallo Lukasz,
    Alle Platformen, die mit B1 benutzt werden koennen, sind in SMP unter 'Product Availability' angezeigt:
    Microsoft® Office 2010
    - Standard & Professional Edition
    According to Microsoft® Corp., Microsoft Office 2010 by default installs the 32-bit version even if your computer is running 64-bit editions of Windows.
    Before upgrading from earlier Microsoft Office versions, make sure you carefully read the Microsoft Office 2010 System Requirements as stipulated by Microsoft Corp. (1)
    Supported as of 2007 A SP01 PL13, 2007 B PL22, and 8.8 PL17.
    For the time being, the SAP Business One release tracks 2007 and *8.8 only support the 32-bit version of the Microsoft Office 2010 editions.
    Die Info auf dieser Seite ist immer aktuell.
    Schoene Gruesse,
    Kerstin

  • SAP Business One v8.8 (PL12) - Upgrading

    Hello Forum
    this is my first post so apologies....
    I am trying to establish a SAP B1 v8.8 test environment on a 'offline' server. I am encountering 2 issues when installing/upgrading...
    Original environment:
             HP ProLiant Server
             5gb RAM
             Windows 2003 R2 Enterprise Server
             (Service Packed and Updated from Windows Update)
    Firstly,
        SAP Server Tools / Server / Client will all install using a base of PL05, I can then upgrade this to PL10 (both of which were supplied by our Partner) - I operated on this PL level for a week or so with no trouble what so ever. Later I recieved PL12 on a disc from our Partner and went through the upgrade process from PL10 to PL12.
       This failed showing 'Creatordll.DLL' error straight away when the process started to upgrade the SBO-COMMON database. I could see the Server Tools get upgraded first and then the SBO-Common database getting backed up and as soon as this has completed the error happens. The upgrade then rolls back (Restores) the SBO-Common and then stops advising also that the Server Tools will need a manual restoration.
       MS Visual C++ 2005 Redistributable Package was the only reference that I could find on SDN so I followed the instructions here.
    Amended environment:
             HP ProLiant Server
             5gb RAM
             Windows 2008 Enterprise Server
             (Updated from Windows Update)
    Secondly,
       When attempting to troubleshoot this problem, the directory "C:\Program Files\SAP\SAP Business One Server " has only the B1_SHR available in Windows Explorer. When I check this against our LIVE environment using SAP B1 2007a the same directory has "B1_SHR \ DI API \ SAP Business One DI API \ B1iServer \ B1iSetup" listed.
    When in the PL05 or PL10 environments SAP operates perfectly fine despite the fact that there is no other directories showing here. The base install and upgrade to PL10 completed without error so I had no need to investigate the SAP Business One directory until PL12 failed.
    I'm hoping that someone in the Forums can help me out with these issues.
    Thanks

    Hi Garry,
    I would suggest you to download the latest installation package on 8.8 PL10 which is available on the Service Market Place. In order to solve the issue with 'Creatordll.DLL' please follow the steps from the Note [1408662|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1408662]. Issue could be caused due to missing Microsoft ATL security patch.
    hope it helps,
    Regards,
    Ladislav Meszaros
    SAP Business One Forum Team

  • SAP Business One 9 on HANA - AddOn "AddOnName" Installation Failed

    Hi,
    I'm trying to install an add-on in a SAP Business One 9 on HANA (64 bits) but i'm facing a problem:
    - The add-on installation (from the add-on Manager Form) on windows finish correctly, but after a few seconds the system shows a Message box with "Please wait for add-on installation to finish .....Select Yes if installation finished succesfully, otherwise select No" . After that (YES option selection) the system shows "AddOn [AddOnName]: Installation Failed"
    The making of the .ard file (AddOn registration file) was the same that the generation of .ard file for the SAP Business One 9 for SQL Server (here the addon works correctly). The only difference was the replacement of the DI API dll, UI API dll, AddOnRegGenerator and the AddOnInstalAPI.
    Please Help!..
    Thanks...

    Hi,
    When generating the ard file for the installer, there is a property that defines whether the addon is a 64bit addon.
    https://websmp202.sap-ag.de/~sapidb/011000358700000247582013E/SDK_CompGuide_90.pdf
    Create Add On for 32 bit and 64 bit computer SAP Business One 9.0
    The above link may helpful to you.
    Regards,
    Silambu

  • Cannot reinstall SAP Business One 32 Bit Client program

    Hi Everyone,
    I started with a computer which had SAP Business One Clients (32 & 64 Bit versions) installed, along with the DTW (Data Transfer Workbench). I have since uninstalled both Business One clients, and am now wanting to reinstall the 32 Bit Client (only).
    When I double click on the Setup.exe file I am presented with the message below -
    I don't understand why I am presented with this message given that I have uninstalled the software.
    In addition to uninstalling the software through the Windows (7) Control Panel, I have also manually deleted all files and folders related to Business One (using a Windows Search), with the exception of those files related to the DTW, and finally deleted all TEMP files.
    If I click on Cancel the setup stops, but if I click on OK I see the following -
    When I click on OK, above, I see the following -
    What can I do now to fully remove all traces of the previous Client installations so that I can reinstall the 32 Bit Client?
    Any advice will be greatly appreciated.
    Kind Regards,
    David

    Hi Everyone,
    Firstly I now have an 'S-User ID', so I have access to SAP Resources.
    Secondly, thank you Sridharan for posting the information to this thread, it is a great help (particularly given that I wasn't sure how long it would take my provider to organise an S-User ID).
    Thirdly; these are the actions I have taken - none have helped!
    Attempted installation in the 'hidden' Windows Administrator account
    http://www.howtogeek.com/howto/windows-vista/enable-the-hidden-administrator-account-on-windows-vista/
    THE FOLLOWING COME FROM THE OFFICIAL SAP 'FIX' (as shown above in Sridharan's post)
    1). Tried both points, a), and b), in the InstallShield link -
    http://consumerdocs.installshield.com/selfservice/viewContent.do?externalId=Q108474&sliceId=1
    However I could not proceed with point 3), because by my reckoning the SAP Business One Client that I am using relies upon Installshield 17 (and there is no link available for this version!).
    If I am incorrect about the above can somebody please let me know which version of Installshield was used, and I will then return to point c) of the Installshield 'Q108474' link.
    2). Microsoft C++ 2005 is not installed on the computer.
    3). Registry entries did not exist, and I am going to assume where removed when I performed a registry clean with Registry Mechanic (before posting this thread).
    I have downloaded a trial version of Installshield Enterprise, and I am hopeful that it will contain a version 17 driver file, in which case I will return to 'Q108474'.
    In the meantime however if anybody has any further suggestions can you please post?
    I really don't want to reinstall Windows just because one program will not load.
    Kind Regards,
    David

Maybe you are looking for

  • Not able to connecct SSH

    Hi I configured Cisco ASA5510 firewall, but i am facing the problem with ssh login, i gave ssh for inside and outside access, but i am getting "server ... error" i enabled LOCAL  for the authentication for ssh and HTTP. and i am able to acees the dev

  • Sample for printing report directly to printer

    Hi Guys Does anyone have a report which can print directly to the printer when the radio button option is selected . I want to print the ALV in excel format. Printer >>>>. Screeb >>>>> Regards P.Eslam

  • How to create a login interface in labview PDA module?

    How to create a login interface in labview PDA module? So that it checks with a list of usernames and passwords and allow to go to another VI? Anu

  • Wrong aspect ratio in Survey view

    I selected 3 photos and went to the Survey view. Of these photos, 2 were full frame, and 1 was cropped so it has a wider aspect ratio than the full-frame pictures. Survey view showed all 3 the same size, so the cropped one was stretched vertically an

  • Condition type querry

    In Invoicing condition type zfcg is not coming but then in pricing procedure  i can see this conditon this is fro foc item and is of 100% discount  , kindly guide me where exactly the problem could be Regards