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

Similar Messages

  • 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

  • How to configure Xl Reporter in SAP Business One

    Hi
    Can you please tell me the steps for how to configure xl reporter in sap b1
    Regards
    Sandip

    Hi Sandip,
    In Sap 8.8 u no need to configure or install XL reporter .
    While Installing SAP 8.8 XL reporter Automatically Gets Installed
    And Also check whether MS Excel 2003 installed 2003 excel supports XL reporter
    U can check under Sap Menu -
    >Under Tools----
    >u can find XL reporter .
    Hope this  helps u
    Regards
    Jenny

  • How to create Tabstrip at SAP Business One 8.8

    Hi all,
       How can I create tabstrip in SAP Business One 8.8 by using Screen Painter? I can't find tabstrip tool in toolbox..
    pls help me..
    thanks in advance
    best wishes,
    thlaing

    Ok. I get it!
    Thxs a lot

  • Reg third party application can integrate with SAP Business one

    Dear All
    I have a typical requirement , i want to know how can it be done in SAP Business One.Our client have other application based product , he is doing all the transactions in that.He has another
    DB. that is SAP Business One. Now we want to syncronize the data between two databases. i.e if he enters a Sales order in other based that should be inserted to B1 and vice versa. Not only marketting documents but masters also and financial documents also. I hope it is possible using B1 integration Technology. Can you pls let me know how it can be done. any solution to be suggested is accepted.
    please do the needful.
    Regards
    M Auditya

    Hi,
    Actually i guess i could be possible but I'm not 100% sure on the level of integration. I recommend u to download the B1iSN and have a look at the doc.. Operation_Guide_Subsidiary_Integration_EN.pdf, And a lot depends on the database the 3rd party software is using.
    Hope it helps,
    Vasu Natari.

  • SAP Business one Workflow Approval process

    Hi experts,
    i have gone through the SAP Business one workflow pdf and i see an approval process template created but they noted i go to online help for the approval process.
    Can anyone show me a link to the SAP business one workflow online help?
    Can someone create a workflow process that requires approval and share with me?
    urgent help is needed
    Regards
    Justice

    Hi,
    Please refer below links:
    http://help.sap.com/saphelp_sbo900/helpdata/en/13/a291a101f64ad9bf4b27978097a5db/content.htm
    How to use Approval Procedures in SAP Business One - YouTube
    A Demonstration of Workflows, Approvals and Alerts in SAP Business One 8.8 - YouTube
    Thanks & Regards,
    Nagarajan

  • How to run SAP BUSINESS ONE 8.8 clients on windows and use MaxDB on linux/W

    Good day,
    As the subject shows we have SAP BUSINESS ONE 8.8 and I want to find out how to use it in combination with MaxDB instead of MS SQL. I find a lot of MaxDB stuff on the net but no guides on how to setup SAP BUSINESS ONE 8.8 clients on windows workstations and connect them to MaxDB.
    Is this possible and if so how do I go about doing it ?
    Any assistance is greatly appreciated .

    Hi,
    I suggest you to check the supported server for B1 in this link:
    http://service.sap.com/smb/sbo/platforms
    You will know the sap b1 supported platform.
    If you really want to use maxDB on linux/W as B1 server, you can send a development request to SAP AG.
    JimM

  • How to make a field mandatory in SAP Business one ?

    How to make a text field mandatory in SAP Business one?

    hi nishant,
    check this link
    Making fields mandatory
    To Set Mandatory Fields in Documents
    Jeyakanthan

  • How to Report a product error in SAP Business One

    Hi Experts
    I have found a product error in SAP Business one
    i need to know how it can be notified to SAP
    Thanks
    Krish

    Hi Krish,
    If You Post a Meessage to SAP Support Center
    Require S-user ID and Password
    First post a message to SAP Support Center with what problem you are facing.
    then he analyse your problem and told its a BUG or some other workaround.
    Check the following thread
    Re: How to Send message to SAP Support center
    *Close the thread if issue solved.
    Regards
    Jambulingam.P
    Edited by: Jambulingam P on Aug 13, 2009 12:35 PM

  • How to restore SAP Business One Backup?

    Hi all,
    When I schedule SAP Business One Backup using Server tools, it creating compressed backup file. This contest of compressed file having .BU extension.
    Now my qeestion is how do I restore this backup file?
    Thanks in advance
    B Ravi Shankar

    Hello,
    Open SQL Server Management Studio (SQL 2005) or Enterprise Manager (SQL 2000). You could directly restore the backup of the database but you must create new database first where its mdf and log files are located in the certain folder or data folder of SQL server and then restore the BU database by right click on the new database name > Tasks > Restore..Database and select your backup file from its location. On the Restore Database Screen. Check the Restore box and in the Options check "Overwrite the existing database". you must also check if the location is correct.
    If you have had olde database and just want to restore the new database from other server to old one, you could directly restore.
    Rgds,

  • How to handle common system crashes in SAP Business One until you upgrade to SAP Business One 9.1?

    SAP Business One 9.1 is about to release in this year with many feature enhancements in various areas, such as in Business Logic and Localization, Reporting and Analytics, Lifecycle Management and Support, SDK Features for extensibility, Infrastructure and Architecture, etc. , with this upgrade every organization using SAP Business One is also expecting that some previous System Crash problems associated with SAP Business One 8.8 or 9.0, will also be resolved with the advent of 9.1.
    But until 9.1 is available in GA, we have to know and follow some procedures to avoid this situation. Through this blog we have addressed ‘How to handle common system crashes in SAP Business One until you upgrade to SAP Business One 9.1’. In below link you can have a look that what common system crash issues been reported and what solution given by the community members:
    common system crashes in SAP Business One

    Hi,
    Thanks for sharing valuable information with us. You may repost this discussion as "Document" or Blog type.
    Thanks & Regards,
    Nagarajan

  • How  to get  the  Save  dialouge box  in   SAP Business One

    Hi,
    How  to get the  Save dialouge box in    Button  click  event  in  SAP Business One.
    Thanks,
    Y.

    Hello,
    You would like to display an SaveFileDialog box?
    may follow this thread, and you can find a sourcecode in vb.net and c# inside (for open dialog, but it is the similar...)
    Regards
    János

  • How to use SAP Business One as a source system for SAP BW 7.1

    Dear Experts,
    We have SAP Business One system as a transactional system. We need to connect the same to SAP BW so that we can deliever reports for this system in SAP BW. I want to know how the integration between these two systems work. Are there standard datasources created in SAP Business One which can be consumed directly in SAP BW like any other ABAP systems, or SAP Business needs to be connected using some ETL tool like UDConnect or Informatica?
    Regards,
    Aarati Yadav

    Hi Manoj,
    Welcome to ADOBE Forms related Workflow Development. Well, here are my answers.
    1) You can go for either go for ISR based development or WD development with Adobe form. In both the cases you can achieve your requirement. Yes, you will have to design the Adobe form and bind the fields to backend.
    2) Am not clear or your System landscape to advice you in these regards.
    3) Until final Submit/Approval is done, the data can be stored in WORKFLOW CONTAINERS or XML FORM(If you go for ISR based Development).
    Hope this helps.
    Regards
    <i><b>Raja Sekhar</b></i>

  • How to integrate with java connnector in sap business one 2005

    hai,
    i have small doubt,
    how to integrate with java connnector in sap business one 2005
    thankig
    anand

    Anand,
    I am not sure of your exact question, but the SAP Business One SDK Help Center documentation contains all the information that you should need with respect to using the SAP Business One JCO connector.  You should read this documentation.
    Eddy

  • Information on how much SAP Business One can handle in throughput

    Hi All
    Is there any information on how much data SAP Business One can handle. I know in theory it only HDD space really set the limit but also thinking performance what setups do you have out there in terms of user, transactions per day, number of items, BP etc.
    Example:
    We have a potential customer who currently have 50.000 monthly subscriptions (0 lines invoice lines pr subscription) with an expected increase of 20.000 a year
    So in 3 year they will have 110.000 * 12 * 10 = 6 million invoice lines pr. year the first year (+2.4 million new lines increase to that number)
    Can SAP business One handle this amount of data in a way that have any performance at all (Server is not yet known) or in other words. When does SAP Business One become too small and we need to move to a bigger system?
    Is there any task-forces in SAP we can contact for such?

    Hi Rasmus,
    You may check:
    Discovered performance issues? Refer to our Performance Landing Page
    Root Cause Analysis? What Root Cause Analysis?
    Hope you can access the link given in the thread.
    Thanks,
    Gordon

Maybe you are looking for

  • Where are my Camera Roll pics n videos saved in iTunes(Laptop) when I backed up my iPhone to iTunes?

    I backed up my iPhone today in order to save my Camera Roll pictures and videos safely in my Laptop and then I deleted them from my iPhone to make some free space.... And I want those pictures and videos in future back into my iPhone. So I know I mus

  • Error by inserting data into a field of datatype LONG

    Hi, When inserting data into a field of datatype long in oracle8 database via SQL Plus or SQL worksheet there occurs the following error message: "field in data file exceeds the maximum length". If I access to the database from a selve written progra

  • Adobe AIR 3.7 - iOS run error

    Hi, I have set up a simple project to test the latest release of Adobe Air 3.7 which allow loading external swf with bytecode inside. The project use the krpano_as3_interface, load the main krpano.swf, and after a simple xml file. Building and runnin

  • Convert date/time to Unix epoch

    I have thousands of date time stamps I would like to convert to Unix epoch ten-digit strings. That is, take some thing like: Dec 9, 2005 10:24 AM and convert to 1234567890 (only in the correct unix epoch time) What formula can I use? I've found that

  • IBooks library vanished after update

    After updating my iOS to the latest version recently, I was dismayed to find everything gone from my iBooks library. Does anyone know if Apple is going to bother to remedy this unpleasant surprise for future updates? I recommend backing up your pdf b