Error when trying to set a date type edit field

Hi all
I have an edit text field in a form which is bounded to a date type
database field using dbDataSource.
When i try to set the edit text field value with Today's date by code.
I recieve an error message that the value which
i'm trying to set is not legal. the  error number is [131-183].
I use the following code to set the edit field:
If oEditText.Value.Trim = String.Empty Then
            Dim strDate As String
            Dim sboBob As SAPbobsCOM.SBObob =
             oCompany.GetBusinessObjec(SAPbobsCOM.BoObjectTypes.BoBridge)
             rs = sboBob.Format_DateToString(Microsoft.VisualBasic.Today)
           strDate = rs.Fields.Item(0).Value.ToString().Trim()
Try 
       oEditText.Value = strDate
Catch ex As Exception
    SBO_Application.MessageBox("error setting
current date: " & ex.Message)
End Try
End If
My question is how can i set the edit field with a valid value?

Hi!
When writing to EditText.Value you must always use the B1 "DB-Format" as String.
The following examples are assuming (it's a must!) that the EditText-Fields are bound to a corrosponding DataSource (Type Date, Price etc...)
MyDateEditTxt.Value="20080207"
MyPriceEditTxt.Value="1341.79"
The best of it: It's Windows and SBO-GUI-Language independent.
EditText.String must always be written with the format of the actual Language of the SBO-GUI, which can be changed by the user....
You may also have a look at my statements regarding these problems near the end of this thread:
[How to pass date value to an UDF;
Cheers,
Roland

Similar Messages

  • Error When trying to load master data 0material

    Hi,
    I got the following error when trying to laod 0MATERIAL master data
    "value '000000000004343434 ' for characteristic 0MATERIAL is in external format     "
    "0MATERIAL : Data record 1 ('000000000004343434 '): Version '000000000004343434 ' is not valid
    Can anybody help me in resolving this issue.
    Regards

    Hi,
    Run transaction OMSL.
    Create an entry for MATCONV in the overview screen.
    Double click on this line and set the length parameter for MATCONV.
    the same transaction exists in the r/3 OLTP system compare the 2 systems to set the right values in the details screen in BW.
    Hope this helps
    Provide points if it does.
    Regards
    Lalan

  • CUOM error when trying to poll performance data from IPCC Express

    Hi Network Professionals,
    Using CUOM 2.1 SP1 I get an error when trying to access the Performance menu for a IPCC Express Server in the Service Level View.
    Error Message:
    Performance polling is not supported for the current capability.
    The server is fully monitored and I get enviroment, system, interface and application information.
    I the Polling Parameters menu (Voice Utilization Settings) the only parameter listed is "Communication Manager and Registred MGCP Gateway Utilization".
    The IPCC Express version is 5.0.(2)SR01_Build045.
    Is anything missing on the IPCC server? I have only configured it with SNMP.
    Kind Regards
    Johnny Olsen

    hi teresa.
    well I bother you because I have a problem similar to that raised earlier, I have a vm INTAL CUOM 2.1 SP1 and the problem is that computers add-in-law his administration IPCC view the service level ... but when I fall into a custom group created the group and add the teams the same ip ipcc already visible, in my group I want to generate displays custom cloud but do not show me the equipment, except that I want to add IVR servers and I do not under any circumstances the samples .. lso probe and reset everything and anything related services, install the SP! and nothing. Can you help me with this or if I recommend CUOM up version of the 2.3 that I could not even see the difference with 2.1 CUOM thanks greetings

  • Error when trying to configure Manage Data Refresh

    Hello,
    I recieve the following error when clicking on the "Manage Data Refresh" button:
    " Cannot make a cache safe URL for filename "1037/styles/powerpivot.css", file not found. Please check the file in the layout library".
    I'll really appreciate any help
    thanks,
    Eron.

    Hi Eron,
    We can get PowerPivot Configuration tool if we install SQL Server PowerPivot for SharePoint successfully. Have you following the steps to configure the PowerPivot for SharePoint environment in the article below?
    Install PowerPivot for SharePoint:
    http://technet.microsoft.com/en-us/library/ee210708.aspx
    Furthermore, PowerPivot for SharePoint must be configured before it can be used. After you install PowerPivot for SharePoint using SQL Server Setup, you can configure it using any of the following approaches:
    PowerPivot Configuration Tool or PowerPivot for SharePoint 2013 Configuration tool
    SharePoint Central Administration
    PowerShell cmdlets
    Please take a look at the following article:
    http://technet.microsoft.com/en-us/library/ee210708.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • Error when trying to view siebel data from BI Publisher

    Hi,
    I am trying to view Siebel data in BI publisher via a web service (webservice definition is set to complex in BIP) but when I try to do this I receive the message 'Requested data type does not match with existing data type'.
    I am using version 10.1.3.3 of BI Publisher and 8.1.1.2 of Siebel E Clinical.

    hi teresa.
    well I bother you because I have a problem similar to that raised earlier, I have a vm INTAL CUOM 2.1 SP1 and the problem is that computers add-in-law his administration IPCC view the service level ... but when I fall into a custom group created the group and add the teams the same ip ipcc already visible, in my group I want to generate displays custom cloud but do not show me the equipment, except that I want to add IVR servers and I do not under any circumstances the samples .. lso probe and reset everything and anything related services, install the SP! and nothing. Can you help me with this or if I recommend CUOM up version of the 2.3 that I could not even see the difference with 2.1 CUOM thanks greetings

  • Error when trying to enter time data for hourly employees using CAT2

    Hi Experts!
    I'm trying to enter time data for an absence type using CAT2 for hourly employees and it's giving me an error saying "for attendance type, function or/and one of the URA is required".
    I'm not sure what that means, the system has no functions available. Entering time data for full-time salaried employees is working just fine.
    Any insight would be greatly appreciated!
    Thanks.

    hI,
    Firstly check infotype 0315
    In that check sender cost centre
    Next chek whether the Attendent / Absende Tyep which you are trying to enter is configured
    That meas it should pop up (F4) when u try to enter using CAT2
    in the Attnendence /Abence field
    REWARD POINTS

  • No Signature of Method Error when trying to set Bind Variable Groovy Expr

    I am trying to set a Bind variable on my view object to equal the output of a function defined in the the EntityImpl.java that corresponds to that bind variable.
    I set the value of my bind variable to be = adf.object.getMyServiceType()
    Where the name of the view object I am currently in is called GridSwSoftwareServiceView.xml and the Entity object is called GridSwSoftwareService.java and the EntityImpl file is called GridSwSoftwareService.java.
    I am seeing this error:
    No signature of method: oracle.jbo.common.VariableImpl$VariableExprValueSupplier.getMyServiceType() is applicable for argument types: () values: []
    Does anyone know what this error means?
    I was trying to follow an example from this doc: http://www.oracle.com/technology/products/jdev/11/how-tos/groovy/introduction_to_groovy.pdf
    Edited by: user10791986 on May 21, 2010 2:50 PM

    Looks like a bug... :(
    It works fine as a View Object attribute expression but it fails miserably once added as an expression to the bind variable. In this case, here is a work-around:
    Define the method as static in your EntityImpl.java :
    public static String getMyServiceType() {
    return "EBSO R12";
    Then access it by fully qualifying it with the package and class :
    com.yourpackage.EntityImpl.getMyServiceType()
    Edited:
    On a second thought, I am wondering if the expression is valid since the Entity hasn't yet constructed at that point.... That explains why it works when made static.
    Nick
    Edited by: Nick Haralabidis on May 21, 2010 5:16 PM

  • AS91 - AA660 Error when trying to post transaction data

    Hi,
         I am getting error AA660 when migrating assets with transactions data.
         I am trying to post Acq Tx 331 (say £1000) along with Unplanned Depreciation Tx 640 (say -£80).
         The error implies that I have a negative NBV in all depreciation areas, even though the NBV is positive (i.e. £1000-£80).
         I can circumvent the problem by setting the Negative Val Flag in each Depreciation Area for the asset, but I have a big volume of assets and this should not be happening.
        Can anyone help?
    Regards
    Derek

    Check the following notes
    1)  Note 723399 - Invest. support deprec./reval. area: Field XNEGA copied
    2)  Note 1025126 - Correct error messages from new depreciation calculation
    thanks
    G. Lakshmipathi

  • Unknown error when trying to set up aol mail

    AOL just stopped working as of 10am today!  I sent mails this morning and now I cannot get AOL to work.  I deleted the account and tried to set up AOL Mail again and I keep getting an "Unknown Error" message!  HELP......

    Hey there jsmugs,
    It sounds like your AOL account is not working in your account, and you also cannot set it back up. I recommend the troubleshooting from the article named:
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    Tap Safari and attempt to load a webpage (try any webpage). If you can load a webpage, then your device has Internet access. If you are unable to load a webpage, follow these troubleshooting steps.Try to use an alternate Internet connection if available:
    Try a different Wi-Fi connection
    If your iOS device has an active cellular data plan, tap Settings > Wi-Fi and turn off Wi-Fi.
    If the affected email account is provided by your Internet provider, see if your issue is resolved while connected to your home Wi-Fi network.*
    Log in to your email provider's website to ensure that the account is active and the password is correct.
    Restart your iOS device.
    Delete the affected email account from your device.
    Tap Settings > Mail, Contacts, Calendars.
    Choose the affected email account, then tap Delete Account.
    Add your account again.
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • Error when trying to set up OPC I/O server with LabView 2009

    Hi.I get an error when I try to set up OPC I/O server with LabView 2009 and the DSC module. If I open an empty project, right click ”My Computer”. Select new / I/O Server… and then OPC Client, the following error appears: Unable to browse OPC Server from the selected machine.Error -2147467262 occurred at GetOPCServerList.viPossible reason(s):LabVIEW: (Hex 0x80004002) No such interface supported.  I have tried to repair LabView, but with no luck. Any idea what it could be?

    The problems are not related to each otherOk then. Lets try getting this solved. Lemme dig......

  • List of values failure error when trying to use dynamic data values

    Hi there,
    I have a user who is experiencing problems when trying to use dynamic values in a report.  Whenever he tries to insert dynamic parameters he gets the following error message:
    Prompting failed with the following message: 'List of Values failure: Failed to get values.  [Cause of error: Access is denied.]  Error Source: prompt.dll  Error Code: 0x8004380D
    He even opened the sample report - prompting.rpt - that is included with CR and gets the same error.
    We are using Crystal Reports XI Release 2 ver. 11.5.11.1470.
    Any help would be appreciated.

    Please excuse my ignorance of the product.  I've had this problem dropped in my lap and I know practically nothing about Crystal Reports.  In doing some digging it appears to me as if the BusinessObjects Enterprise software may not be installed properly, if at all.  In the programs menu under the BusinessObjects XI Release 2 folder I see a BusinessObjects Enterprise folder, but the only icon listed in that folder is Software Inventory Tool.
    Is the BusinessObjects Enterprise software a separate install from Crystal Reports or is it bundled together?  I talked with the tech that did the install and he said that all he had was the Crystal Reports install media.

  • HT3231 My PC comes up with a message that says there was an error when trying to set up the Migration Assistant - but I don't know what!?!?

    I am trying to use Migration Assistant but it tells me that there is an error when using it - but it doesn't tell me what and I only have teh option to quit!

    I would recommend carefully reading Pondini's guide on using Migration Assitant, if you still have trouble you have 90 days of free telephone support from Apple via AppleCare. While they are more versed in OS X than MS Windows they may be able to help you. Pondini's guide is found by clicking Lion or Mountain Lion Setup Assistant tips

  • I'm getting a 'The Management Pack element is not declared' error when trying to import CSV data into my *extended* WindowsComputer class

    Background:
    I have a class called SUS_WindowsComputerMP, that is an extension of the Microsoft class, Microsoft.Windows.Computer
    I'm trying to import CSV data into this extended class and to the base class as well.
    Question:
    What am I doing wrong? I have a feeling that the Import CSV Format file is different for importing data into *extended* classes like mine, because the XML structure below would work for non-extended classes.
    "...Creating new CSVImporter
    Data Filename: D:\Peter\CMDB II\Exported MPs\TestMPs\SUS_WindowsComputer.csv
    Format Filename: D:\Peter\CMDB II\Exported MPs\SUS_WindowsComputerMP.xml
    Validating against XSD schema...
    The 'ManagementPack' element is not declared.
    Validation completed.
    Format file D:\Peter\CMDB II\Exported MPs\SUS_WindowsComputerMP.xml contains an invalid root element. Expected: root node with name \"CSVImportFormat\"
    Could not initialize a Management Object Creator from format file D:\Peter\CMDB II\Exported MPs\SUS_WindowsComputerMP.xml. Import thread exiting.
    My import format XML is this:
    <CSVImportFormat>
    <Class Type="ClassExtension_a3ae3e0f_d578_43dc_aa3e_9037a094763c" >
    <Property ID="WindowsServerID" />
    <Property ID="PrincipalName" />
    <Property ID="NetbiosComputerName" />
    <Property ID="IPAddress" />
    <Property ID="NetbiosDomainName" />
    <Property ID="DNSName" />
    <Property ID="OSVersionDisplayName" />
    <Property ID="SerialNo" />
    <Property ID="ServerDescription" />
    <Property ID="AssetTagNo" />
    <Property ID="ServerNameRow" />
    <Property ID="ChassisType" />
    <Property ID="InstallDate" />
    <Property ID="IsVirtualMachine" />
    <Property ID="BusinessUnitCustomersEnum" />
    <Property ID="RegionLocationEnum" />
    <Property ID="OtherFunctionRoleEnum" />
    <Property ID="ProductTypeEnum" />
    <Property ID="ObjectStatus" />
    <Property ID="AssetStatus" />
    <Property ID="CriticalityEnum" />
    <Property ID="EnvironmentEnum" />
    <Property ID="CostCodeClassEnum" />
    <Property ID="DataClassificationEnum" />
    <Property ID="Manufacturer" />
    </Class>
    </CSVImportFormat>

    Hello,
    Can anyone please help me out with this weird issue.
    thanks,
    orton

  • DirectPlay Voice Setup error when trying to set up mic on X-Fi ExtremeMu

    Whenever I try and use a directplay application (e.g. GameVoice) to use my microphone, the Sound Hardware Test Wizard comes up and gives me the following error:
    DirectPlay Voice Setup:
    An error occurred during DirectPlay voice setup.
    The error code is 0x80004005
    I tried following various fixes that include editing some registry entries, but so far, no luck.
    The mic WORKS...but it just won't work with a DirectPlay app
    It used to work fine with my SBAudigy and it also works fine with my USB microphone.
    A8V Deluxe
    A643000+
    6800GT
    2 GB PC3200
    SB XFi XtremeMusic
    using latest driversMessage Edited by Talus on 2-8-2005 09:03 PM

    ****it...it was ZoneAlarm. The only way around it was to uninstall it. I guess it was denying DirectPlay the access it needed. I had every possible ZA related service unloaded and/or disabled... I guess I missed one. ZA is almost virus-like.
    Soooo...if anybody in the future searches for this error message, this is your answer
    PS - You can re-install ZoneAlarm after the Sound Hardware Test Wizard has completed successfully...everything works fine afterward.

  • Getting error while trying to set text for form value field in oaf

    Hi ALL,
    When i am trying to set text for a form value type field it is giving null pointer exception, please help me out.
    I tried below way.
    OAFormValueBean containlineid=(OAFormValueBean)webBean.findChildRecursive("item11");
                containlineid.setText(pageContext,"test");
    Thanks

    HI Keerthi,
    I am able to set and get the value now, i am able to see the data in my log window, but in my page it is erroring out, giving null pointer exception.
    after commenting the two lines setting and getting value page is running fine, so any clue on this, please check the below code.
    public class XXDPECONTAINLINESCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
          OARawTextBean startDIVTagRawBean =
          (OARawTextBean) webBean.findChildRecursive("DivStart");
          System.out.println("debhorizontal"+ startDIVTagRawBean);
    // addScrollBarsToTable(pageContext, webBean,"DivStart", "DivEnd", true , "400",true,"400");
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
         String preplenish = pageContext.getParameter("item1");
          String pworkorder = pageContext.getParameter("item2");
          String pdmr = pageContext.getParameter("item4");
          String punloading = pageContext.getParameter("item6");
          String prrnum=pageContext.getParameter("item16");
          String pworknum=pageContext.getParameter("item14");
          String pdtr=pageContext.getParameter("item13");  
          Serializable param[] = {preplenish,pworkorder,pdmr,punloading,prrnum,pworknum,pdtr};
          OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
          if(pageContext.getParameter("item11")!=null)
            if(am !=null)
              am.invokeMethod("getSearchData",param);
          if (pageContext.getParameter("item30") != null) {
            String recout = (String)am.invokeMethod("getSelectedData");
               System.out.println("deb multi select test"+recout);        
                System.out.println("1111test1"+pageContext.getParameter("item32")); 
                OAFormValueBean containlineid=(OAFormValueBean)webBean.findChildRecursive("item32");
                System.out.println("1111test2"+pageContext.getParameter("item32"));
                //containlineid.setValue(pageContext,recout);
                System.out.println("1111"+pageContext.getParameter("item32"));
              ///  System.out.println("22222"+containlineid.getValue(pageContext));
            containlineid.setValue(pageContext,recout);
            containlineid.getValue(pageContext);                            
               System.out.println("1111test3"+pageContext.getParameter("item32"));
    --------------Error it is giving in the page as----------------
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at _OA._jspService(_OA.java:71) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) ## Detail 0 ## java.lang.NullPointerException at xxdpe.oracle.apps.ak.xxdpecontain.webui.XXDPECONTAINLINESCO.processFormRequest(XXDPECONTAINLINESCO.java:123) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.beans.layout.OAMessageComponentLayoutBean.processFormRequest(Unknown Source
    Thnaks

Maybe you are looking for

  • Using a Print Style Sheet to hide columns in a report

    Hello there, I am curious to know whether it is possible to hide certain columns in reports using a print style sheet. I tried using the 'CSS Class' attribute when editing column formatting but it appears to be completely ignored and simply overwritt

  • Programs closing for no reason

    For about a month now, when i use for example safari, the program just closes and reports an error or asks to reopen the program. This also happens to other programs I use. Does anyone know why this is happening and what can i do to fix it?? I was th

  • Can i use Python Matplotlib with labview?

    I have a python code that i want to develop a User Interface for, i found Labview, but can i still use all the add-ons and modules when i run the script in labview? basically, i just want to develop a GUI for my code and I want to use all the modules

  • Billing issue resolution- false promises made by Verizon

    Hello, I have made 4 calls to Verizon to date over the past 3 weeks, spent 3 hours on the phone and counting. Each time, I was "promised" that a billing supervisor would call me back within '24 hours' to resolve the billing issue that I have. Lies an

  • Required SAP IS OIL Material

    Hi Friends I require SAP IS OIL Material , Please help me in gettinbg the Material For TSW & TD. Thanks & Regards Tarakaram