Date display  in Business one

Hi Members,
I want to obtain the date that is displayed in business one status bar present at  the bottom of business one screen?
Can we obtain the date that's present in the business one status bar?
Help will be appreciated
Thanks and Regards,
Venkatesh.R

Hi
You can synchronize your server and local system's settings.Otherwise you can use the following function if it serves your purpose.
Function String2Date(ByVal S As String, ByVal Fmt As String) As Object
        Select Case Fmt
            Case "MMDDYY", "MMDDYYYY"      '052793   05271993
                String2Date = CDate(Left(S, 2) & "/" & Mid(S, 3, 2) & "/" & _
                                    Mid(S, 5))
            Case "DDMMYY", "DDMMYYYY"      '270593   27051993
                String2Date = CDate(Mid(S, 3, 2) & "/" & Left(S, 2) & "/" & _
                                    Mid(S, 5))
            Case "YYMMDD"                  '930527
                String2Date = CDate(Mid(S, 3, 2) & "/" & Right(S, 2) & "/" & _
                                    Left(S, 2))
            Case "YYYYMMDD"                '19930527
                String2Date = CDate(Mid(S, 5, 2) & "/" & Right(S, 2) & "/" & _
                                    Left(S, 4))
            Case "MM/DD/YY", "MM/DD/YYYY", "M/D/Y", "M/D/YY", "M/D/YYYY", _
                 "DD-MMM-YY", "DD-MMM-YYYY"
                String2Date = CDate(S)
                ''String2Date = CDate(Mid(S, 4, 2) & "/" & Left(S, 2) & "/" & Right(S, 2))
            Case "DD/MM/YY", "DD/MM/YYYY"  '27/05/93   27/05/1993
                String2Date = CDate(Mid(S, 4, 3) & Left(S, 3) & Mid(S, 7))
            Case "YY/MM/DD"                '93/05/27
                String2Date = CDate(Mid(S, 4, 3) & Right(S, 2) & _
                                    "/" & Left(S, 2))
            Case "YYYY/MM/DD"              '1993/05/27
                String2Date = CDate(Mid(S, 6, 3) & Right(S, 2) & _
                                    "/" & Left(S, 4))
            Case Else
                String2Date = Nothing
        End Select
    End Function

Similar Messages

  • Push data from sap business one to ECC with XI

    Hi,gurus:
    Have you ever configured the scenario?We wanna push data from sap business one to ECC with XI,and vice versa.
    We know that b1i have this funtion,but in our scenario,we need to create some addon table both in b1 and ecc,so does it mean that I can't use b1i in my special scenario?
    We wanna utilize XI to solve our issue,then the scenario may be abapproxy to soap,or soap to abapproxy.But the problem is, how to program in the b1 side both in sender and receiver.Do you have any information about that?

    Xinjiang,
    The method to connect SAP Business One and ECC 6 using XI would be B1iSN2007.  You could of course develop something your self using ABAP, IDoc and the Business One SDK, but B1i does this today and has 6 built in Business Scenarios.  You can of course customize the existing scenarios and/or create your own much easier and faster than creating the whole thing from scratch.
    If you are specifically interested in not using B1i ... you would want to post your question in the XI forum here on SDN.
    Hope that helps,
    Eddy

  • "No data" in SAP Business One

    Hi,
    We have encountered the following issue.
    Using the SAP mobile application (version 1.1.3 (Android) - 1.9.6 iOS)), we connect successfully to database but when we try to open the Business Partners and Items, a "No Data"  message appears.
    If I insert a BP in mobile, the SAP Business One show these BP that I insert, but in the App I have the message "No data".
    What could be causing that?
    Thank you everyone

    Hi Louran,
    Please check below links.
    SAP B1 Mobile Application 1.3.1 - Version too old
    http://help.sap.com/download/businessone/mobileapp/B1_MobileApp_1.9_Guide.pdf
    Hope this help
    Regards::::
    Atul Chakraborty

  • 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

  • How to connect crystal report 2013 using sap business one data source

    hello Professionals .
    when i try to use data source sap b1 in crystal report 2011 or 2013 i got no list in company database,
    when i try to write it manual i got error "Connection failed".
    I tried to connect OLE DB and ODBC all work fine with me.
    i attached some snapshots .
    Any Advice Please ?

    Hi Mohamed,
    Please check below link.
    SAP Crystal Reports 2011/2013 doesn't show Company Data Base
    SAP Business One Data Source in Crystal
    Crystal Reports - How To - Connecting to your SAP Database - YouTube
    Migrating Crystal Reports of SAP Business One from SQL Server to SAP HANA
    Hope this helps
    Regards::::
    Atul Chakraborty

  • 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

  • Business One Client - Automating DB login..

    Hi, my apologies if this is the wrong area to post this, please feel free to move to the correct section if here is incorrect.
    I'm wondering if anyone knows of a way to setup the SAP client so that a new user doesn't have to enter (or have entered) the Database server, and SA username/password before they get the choice of companies.
    Currently, we are running the client on a terminal server, yet if a new user connects, someone has to configure/enter the db servername and username/password.
    I'd like to be able to set it up so that when a new user logs in (and their profile is automatically created), that they are automatically connected to the correct database server within the Sap Business One client.
    I've had a look in the %userprofile%\Local Settings\Sap... folder, and a quick poke around in the registry, but I can't find where it saves the information so I can either replicate it for the default user profile, or add a regmerge on login to enter it.
    Can anyone help?

    I'm not sure what you mean, the checking feature is a fairly standard thing for script files, to ensure it's only been run once. Ie, you don't want it running every time they login in case it modifies something unexpectedly.
    As for it needing security proceedures, as far as I can tell, there are none, that automatically configures the Database Server it will connect to, and enters automatically the SA username and password for every single new user that connects to the server.
    If I was going to have my security hat on, I'd be concearned about it, but since we limit access to the terminal server by usergroup, it's only authorised SAP users that are able to log on in the first place, and since our SAP consultants usual proceedure is to then enter the SA username and password for them manually, and configure the DB server, this is no different. (Except now she doesn't have to anymore).
    Anyway! for those that are interested, I changed it slightly, now there are no manual xml creation steps.
    I simply take a generic XML file, and modify it with a vbs script using a batch file that runs on user login.
    Here's the batch file:
    SET Logfile="C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\SAP\SAP Business One\SB1Customised.log"
    IF EXIST %Logfile% GOTO END
    ECHO DATE /T >> %Logfile% & Time /T >> %Logfile%
    cscript "C:\Documents and Settings\%username%\Local Settings\Application Data\SAP\SAP Business One\replace.vbs" "C:\Documents and Settings\%username%\Local Settings\Application Data\SAP\SAP Business One\b1-current-user.xml" "%%Username%%" "%Username%"
    :END
    Heres the vb script:
    Const ForReading = 1
    Const ForWriting = 2
    strFileName = Wscript.Arguments(0)
    strOldText = Wscript.Arguments(1)
    strNewText = Wscript.Arguments(2)
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objFile = objFSO.OpenTextFile(strFileName, ForReading)
    strText = objFile.ReadAll
    objFile.Close
    strNewText = Replace(strText, strOldText, strNewText)
    Set objFile = objFSO.OpenTextFile(strFileName, ForWriting)
    objFile.WriteLine strNewText
    objFile.Close
    Save that as "replace.vbs" and put it in the Default User -> Sap Business One directory.
    And thankyou for all your help!
    Nev.

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

  • How to make SAP Business One display language in Chinese?

    I have installed Chinese Demo Company, but the language rendering is not right on my PC. It shows bunch of boxes. My PC is running windows XP and installed for North America Settings. What do I need to do to make SAP Business ONE Chinese Demo Company display in Mandarin/Simple Chinese?
    Thank you.

    Hi,
    You need select install file for East Asian language under Regional and language option of control panel.
    Thanks,
    Gordon

  • Transfering business partner master data from R/3 to Business one

    hi all,
    can anyone have an idea about how to transfer the business partner master data from SP R/3 to SAP Business One.
    Plz tell me in details..
    regards
    nirdesh panwar

    Hi Nirdesh,
    The easiest way is to ask SAP R/3 for an export file of some sorts. This is usually an XML or text type file. You will then pick this file up where they have put it and import it. You can import it into SAP Business One with your own developed (vb, c#, etc.) application that you write using SAP Business One's DI API.
    Hope it helps,
    Adele

  • Business One date format question

    Hi,
    Business One formats dates coming out of the database as specified by the user.  But it looks like, when you set a date variable in your program code to the value coming out of the database and you set an edit text value to that variable, Business One doesn't format it.  Am I right?  I have a solution but I just want to make sure that there isn't something I'm missing.  I'm using VB .NET 2005.
    Thanks,
    Mike
    Edited by: Mike Angelastro on Jan 21, 2010 12:44 PM

    Vasu,
    Thanks for your suggestion.  I followed it but it doesn't seem to work.  The format appears to be more consistent with the machine's data format instead of what was specified in the general settings.  Here is my code:
    oDetailForm.DataSources.UserDataSources.Add("dsDueDate", SAPbouiCOM.BoDataType.dt_DATE)
    oEditText.DataBind.SetBound(True, , "dsDueDate")
    If Year(DueDate) > 1901 Then
             oEditText.Value = DueDate  'Format(DueDate, SystemDateFormat)
    Else
             oEditText.Value = "N/A"
    End If
    Is my code correct?
    Thanks again,
    Mike

  • 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

  • SAP Business One 8.82 release date?

    Does anyone know when the next minor realse of B1 will come out? Aslo what would be the features as I was looking over timeline slides and not much is added in functionality.

    Hi jbrotto,
    8.82 has already entered the pre-view phase for partners & Ramp-up is scheduled for mid-October.
    You will find highlights of 8.82 & version 9 in the roadmap:
    [SAP Business One Product Roadmap 2011-2014|https://websmp203.sap-ag.de/~sapidb/011000358700001336422008E/B1_Roadmap_EN.pdf]
    All the best,
    Kerstin

  • Business One 2005A Inventory - Item Master Data - Description

    Dear Experts,
    We are using Business One 2005A version.
    The maximum length of the Item Master 'Description' field is 100 characters.
    We have shortened the description to half digit with Excel function ASC but still there are some products description exceeds the system defult maximum length.
    How can we lengthen the field up to 130 or 150 characters?
    Your advice will be greatly appreciated.
    Kunitomo Furuya
    Tokyo, Japan

    Now seeing error message:  No matching records found 'G/L Accounts' OACT ODBC-2028 Message 131-183
    I have checks account determinations and there are accounts including the rounding account.
    The warehouse accounts are intentionally not set up for the default warehouse so the user has to select a warehouse...this is working fine for all other items except for this one item number 1530.

  • Addon not loading - B1 Usability Package for all users in SAP Business One

    Hello, I am a new admin to SAP B1 and am about to go live in a few weeks. We are running SAP Business One v. 8.80.227.
    Envirorment details: Dedicated server for SAP database, and Terminal Server for remote connections.
    I have a demo group of users in Active Directory that have permission to Remote Desktop to the TS and load SAP. For now, theses users are local admins on the TS. ( Permissions to be revised once addon issues are worked out ). I am the companies tech, and we have a SAP implementation company leading the project development.
    Currently the addons that we are running are CRSB1Addon SAP 8.8 and B1UP from boyumit.
    For one of the users in the Active Directory Security Group all the addon's work great. However the other users get the error below;
    When logging in the system message window shows the following:
    Failed to assign SAP Business One user license to SAP Add-ons. The Add on is configured to automatically load on startup, yet once I get the error, I open the Add on Manager and I don't see the B1UP in either tab at all.
    The error on the TS in the log is here:
    Log Name:      Application
    Source:        Application Error
    Date:          18/03/2010 10:55:25 AM
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      OVCL-TS.laurieroptical.local
    Description:
    Faulting application SAP Business One.exe, version 8.80.227.0, time stamp 0x4b8fadd4, faulting module ole32.dll, version 6.0.6002.18005, time stamp 0x49e037d7, exception code 0xc0000005, fault offset 0x000472da, process id 0x1f14, application start time 0x01cac6a4a2da01c9.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2010-03-18T14:55:25.000Z" />
        <EventRecordID>3778</EventRecordID>
        <Channel>Application</Channel>
        <Computer>OVCL-TS.laurieroptical.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>SAP Business One.exe</Data>
        <Data>8.80.227.0</Data>
        <Data>4b8fadd4</Data>
        <Data>ole32.dll</Data>
        <Data>6.0.6002.18005</Data>
        <Data>49e037d7</Data>
        <Data>c0000005</Data>
        <Data>000472da</Data>
        <Data>1f14</Data>
        <Data>01cac6a4a2da01c9</Data>
      </EventData>
    </Event>
    Any comments would be greatly appreciated.
    Thanks
    Edited by: dontforgetken on Mar 18, 2010 4:05 PM

    hello Ken - Boyum IT has its own License Administration - path of Administration > Add Ons > B1 Usability Package > License Administration...
    Do all of the users have a checkmark to give them access???
    When a user has only the Main Menu window open, select the "Form Settings" icon and follow the same path on the Form Settings window that is diplayed and make sure they have checkmarks next to the B1 Usability Package to be "Visible".
    Are all of the user set to display Boyum IT on their machines???
    LOL - I am not technical so I have no idea what that other stuff means...
    Hope that helps...
    Zal

Maybe you are looking for