Validating the type

I have a UI which has JTextFields. I want to validate the data type(string, boolean etc) when the user enters and clicks an ok button.
Also I have certain fields which are "*" fields, "*" fields are required. I do I enforce this to the user?
How do I go about implementing this.
thanks

First and foremost, never,ever give you user a chance to do something stupid, if you can prevent it. e.g. use radio buttons for true/false data.
Second, a simple data validation method for JTexfFields is the use of an javax.swing.InputVerifier. I have seen implementations of InputVerifier used for validating almost all types of data, including requiring "something" to be entered.
You can also check * fields as part of action after ok button is checked. I would keep references to required fields in some sort of Collection so it would be easy to iterate over when ok is check.
You can also consider JFormattedTextFields or specialized Document implementation to accomplish this requirement. I suggest searching tests forums for many good tips and code snippets.
Cheers
DB

Similar Messages

  • Enter a valid basic type - BW IDoc type RSSEND is not same as the SS IDOC

    Hi,
    I am connecting the ERP system to BW system, and am getting error:
    CHECK(context menu source system):
    @5C@     BW unknown in source system     RSAR     8     
    @5C@     The BW IDoc type RSSEND is not the same as the source system IDoc type     RSAR     371     
    RESTORE(context menu source system):
    Information: Enter a valid basic type
    Information help:
    Enter a valid basic type
        Message no. E0434
    Diagnosis
        An entry with the key /BD2CLNT100/LS//RSSEND//// is to be inserted in
        table
        EDP13.
        The value 'RSBEND' is not valid for field IDOCTYP.
    Procedure
        Check whether basic type RSBEND exists.
    help required

    Hi,
    Please find the below link may useful.
    http://wiki.ittoolbox.com/index.php/Re-Connect_R/3_and_BW
    Reg,
    Venkat

  • HT1918 Trying to edit my payment info.  I keep getting the message that my number is not valid for the type of card I have selected.  I have a VISA card.  I have typed in the number 4 times, but same message pops up.

    Trying to edit my payment info.  I keep getting the message that my number is not valid for the type of card I have selected.  I have a VISA card.  I have typed in the number 4 times, but same message pops up.
    Thoughts?

    You are probably entering your Visa's security code incorrectly.  Here's how to find it:
    http://support.apple.com/kb/HT3541

  • [svn:bz-trunk] 11030: Tweak the deserialization of ASObjects to treat an empty string for the type of an object as null .

    Revision: 11030
    Author:   [email protected]
    Date:     2009-10-20 11:35:02 -0700 (Tue, 20 Oct 2009)
    Log Message:
    Tweak the deserialization of ASObjects to treat an empty string for the type of an object as null. It appears that there is some logic in the LC remoting code that relies on a non-null class name to always exist. This change reverts to the old behavior of not allowing empty string as a value for the ASObject.namedType.
    This should fix bug 2448442 and its duplicates caused by the recent serialization changes.
    I don't think this is the perfect fix. Pending further investigation, a better fix would be either:
    a. If it's OK to assume that empty string should always mean null for the type of the ASObject, the code that enforces it should be in the setter/getter inside ASObject and not in the deserializer.
    b. ASObject doesn't guarantee that a named type exists or is valid. In that sense an empty string is as bad as some random characters that cannot be a valid class name in java, so depending on how disruptive it may be, the fix should be in any logic that uses ASObject.getType().
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/AbstractAmfInput.java

    Hi Pavan,
    "In your payload there is no namespace prefix for the elements under PayloadHeader element."
    Yes, you are right - but this message is standard AQ Adapter Header message - it's not defined by me. I just used message which was automatically added to my project when I have defined AQ Adapter.
    "In your process is the default namespace is same as namespace value of tns ??"
    Do you mean targetNamespace? If yes it's different as it points to process "targetNamespace="http://xmlns.oracle.com/PF_SOA_jws/PF_APPS/APPS_PROCESS" (names of application and process have changed as I try different ways to do that)
    ns1 is: xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/aq/PF_SOA/PF_APPS/PO_AQ"
    "another thing is tns and ns1 should have same values.."
    When I create a variable of header type, namespace ns1 is automatically created for it. I set it as property of receive activity. When process is instantiated on the serwer I get the error in which you can see that namespace is tns.
    Maybe I'm doing something wrong but I don't see how I could fix this in my process.
    You can see that the message I get on the server has nothing in common with the application/project/process names. Is it possible to define such variable?
    Regards
    Pawel
    PS:
    In Transformation xsl file, both variables (source and target) has tns namespace for Header and PayloadHeader, and no namespace for subfields.
    Edited by: pawel.fidelus on 2010-01-05 02:37

  • Error Message during PO GR - Please enter a valid transaction Type

    During the goods receipt movement 1010 of a Purchase Order,  I am getting following error Message:
    "Please enter a valid transaction Type"
    I am not a Purchasing expert. Could please help?
    Thanks and regards.

    Hi,
    Pl do below 2 things:
    1 ) Go to Transaction code = OMBA , Click on Goods receipt Documen type button and check whether MIGO_GR is assigned to DOC Type = WE
    2 ) Go to Transaction code = OMJJ , Tick Movement type and select 101 Movement type .
    Then You need to click on "Allowed Transaction option ( Left pane ) and see whether transaction code MIGO is mentioned for Movement type 101.
    it should solve ur problem.

  • Exception with the type CX_SY_OPEN_SQL_DB occured and was not handled

    Hi Champs,
    I am working on an interface which picks up file uploaded in a XI server and process it. The Function module used is a Z function module, developed locally.
    I am uploading an tab limited file in XI server and a background job processes the file. The tab limited file contains Payelement Transaction ID as primary key.  And after validation of elements like WBS element, cost center etc the file is posted using BAPI BAPI_ACC_DOCUMENT_POST. And all the Payelement Trans Ids are also replicated in a Z table, with there status viz. Success or Error or Warning.
    After background job was completed, we found in Tcode SXMB_MONI that the file was in error.
    The error message was :
    Error during proxy processing An exception with the type CX_SY_OPEN_SQL_DB occurred, but was neither handled locally, nor declared in a RAISING clause The system tried to insert a data record, even though a data record with the same primary key already exists.
    But to my dismay, I found that some of the Payelement Trans Ids were posted for a document and are also replicated in my Z table.
    From the error it seems that we are inserting a record that is already there in the document. I have checked in for BAPI's input parameter, there is nothing duplicate.
    Note: Insertion in Z table is made after the BAPI BAPI_ACC_DOCUMENT_POST.
    Can you help me out in this issue as it is now getting into veins
    Reagrds,
    Nishant

    Hi,
    Even we have faced this kind of issue. In order to solve this just write the following code:
    1) Before inserting records in to Z table, write one select query on that table with primary key fields in where clause. Pass the value that are returned by BAPI BAPI_ACC_DOCUMENT_POST to the key field.
    2) If sy-subrc = 4, insert records in Z table else Continue and dont insert records in this table. 
    This will solve your problem.
    Regards,
    Prashant

  • How do i call servlet from javascript after validation the javascript

    Hi ,
    Can anyone tell me how to call a servlet after the javascript is being validated. Here is my code to validate javascript i need to call a servlet inorder to save the data into the same form. I tried calling through the action method in the form but its directly taking me to the servlet but not validating the form. Is there any way that i can validate the form first then call the servlet.
    Thanks in advance.
    <html>
    <head>
    <title>Online Blog</title>
    <script language ="javascript" type ="text/javascript">
    function myfunction()
    var mesg = "";
    var dmesg = "";
    var dnumber = 0;
    var number = 0
    var Blogstr = document.onlineblog.BlogName;
    var Fnamestr = document.onlineblog.FirstName;
    var Lnamestr = document.onlineblog.LastName;
    var Datestr = document.onlineblog.Dateformat;
    var Imagestr = document.onlineblog.uploadimage;
    var Imageval = Imagestr.value;
    var flength = parseInt(Imageval.length) - 3;
    var fext = Imageval.substring(flength,flength + 3);
    var Dateval = Datestr.value;
    var Dformat = /^\d{2}\/\d{2}\/\d{4}/; //checks the date format.
    //splits date into mm, dd , yyyy format.
    var m = Dateval.split("/")[0];
    var d = Dateval.split("/")[1];
    var y = Dateval.split("/")[2];
    //Get today's date (removes time).
    var today = new Date();
    var dd = today.getDate();
    var mm = today.getMonth()+1;
    var yyyy = today.getFullYear();
    //checks if month and date are displayed in mm, dd format and if not sets to mm,dd.
    if (mm <10)
    mm = '0'+mm;
    if (dd <10)
    dd = '0'+dd;
    //checks if name of the blog is empty
    if(Blogstr.value == "")
    number = number+1;
    mesg += "\n" + number + "Name of the blog";
    //checks if value of Frist Name is empty;
    if(Fnamestr.value == "")
    number = number+1;
    mesg += "\n" + number + "First Name";
    //checks if value of Last Name is empty;
    if(Lnamestr.value == "")
    number = number+1;
    mesg += "\n" + number + "Last Name";
    //checks if value of date is empty;
    if(Datestr.value == "")
    number = number+1;
    mesg += "\n" + number + "Date of mm/dd/yyyy format";
    //checks if value of image field is empty;
    if(Imagestr.value == "")
    number = number+1;
    mesg += "\n" + number + "select an image";
    //displays all the error messages.
    if (number > 0)
    alert ("Please enter the following" + mesg);
    return false;
    //checks if entered date format is mm/dd/yyyy
    if(!Dformat.test(Dateval))
    dnumber = dnumber +1;
    dmesg += "\n" + dnumber + "please enter a valid date(mm/dd/yyyy)";
    //checks if date is greater than 12 and is 2 digits.
    if ((m>12 && m<100) || (m> = 100 && m<1000) || (m==0))
    dnumber = dnumber+1;
    dmesg += "\n" + dnumber + "Enter valid month(mm)";
    //checks if month has 31 or 30 days and is in dd format.
    if (((d>30) && (d<100) && (m == 04 || m == 06 || m == 9 || m == 11)) || ((m == 01 || m == 03 || m == 05 || m == 07 || m == 08 || m == 10 || m==12) && (d >31) && (d<100)) || d == 0)
    dnumber = dnumber+1;
    dmesg += "\n" + dnumber + "Enter valid date(dd)";
    //checks if month has 28 or 29 days and wheather is a leap year or not.
    if((m == 02 && d>29 && y%4 == 0) || (m == 02 && d>28 && y%4 != 0))
    dnumber = dnumber+1;
    dmesg += "\n" + dnumber + "Enter valid date(dd)";
    //checks if entered date is prior to the current date.
    if((m == mm && d == dd && y == yyyy) || (y > yyyy)|| (d>=dd && m>=mm && m<=12 && y==yyyy) || (d<=dd && m>mm && y == yyyy && m<=12))
    dnumber = dnumber + 1;
    dmesg += "\n" + dnumber + "Please enter a date prior to the current date";
    if (y == 0 || y < 1000 || y>9999) //checks if year is zero and is a 4 digit number.
    dnumber = dnumber + 1;
    dmesg += "\n" + dnumber + "Enter a valid year(yyyy)";
    //checks if image format is jpg or gif.
    if(fext != "jpg" && fext != "gif")
    dnumber = dnumber + 1
    dmesg += "\n" + dnumber + "You can only upload gif or jpg images.";
    if(dnumber>0)
    alert("please check the followin error messages"+dmesg);
    return false;
    </script>
    <style type="text/css">
    .style1 {color: #FF0000}
    body {
         background-color: #FFCCFF;
    h2 {
         color: #CC3399;
    h1 {
         color: cc3399;
    .style2 {
         font-family: Arial, Helvetica, sans-serif;
         font-weight: bold;
    .style5 {color: #000000; font-family: "Times New Roman", Times, serif;}
    </style>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><body>
    <h1 align="center">Webloggers space</h1>
    <p align="center">Home
    <p>
    <h4> Please enter the following details to register.</h4>
    <p> <b>Note:</b> All fields marked with <span class="style1">*</span>(astrick)
    are compulsory.</p>
    <form action="servlet/BlogServlet" name="onlineblog" onsubmit = "return myfunction()" method="post">
    <table width="60%" border="0" cellspacing="5" cellpadding="2">
    <tr>
    <td><span class="style1">*</span>Name of the Blog</td>
    <td><input type="text" name="BlogName"/></td>
    </tr>
    <tr>
    <td><span class="style1">*</span>First Name</td>
    <td><input type="text" name="FirstName"/></td>
    </tr>
    <tr>
    <td><span class="style1">*</span>Last Name</td>
    <td><input type="text" name="LastName"/></td>
    </tr>
    <tr>
    <td><span class="style1">*</span>Date(mm/dd/yyyy)</td>
    <td><input type="text" name="Dateformat"/></td>
    </tr>
    <tr>
    <td>Category</td>
    <td><select name="catagory" size="1">
    <option></option>
    <option>Business</option>
    <option>Education</option>
    <option>Entertainment</option>
    <option>Food</option>
    <option>Hobbies</option>
    <option>Personal</option>
    <option>Politics</option>
    <option>Sports</option>
    </select></td>
    </tr>
    <tr>
    <td>Enter your text here:</td>
    <td><textarea name="textarea" cols="45" rows="5"></textarea></td>
    </tr>
    <tr>
    <td><span class="style1">*</span>Upload Image <span class="style5">(.jpg
              or .gif)</span></td>
    <td><input type="file" name="uploadimage" /></td>
    </tr>
    <tr>
    <td></td>
    <td><input type="submit" value="save">
    <input type="reset" name="reset" value="Reset" /></td>
    </tr>
    </table>
    </form>
    </body>
    </html>

    Your javascript code contains a syntax error. That's why the function isn't being called. Take a look at this line in your code.
    if ((m>12 && m<100) || (m> = 100 && m<1000) || (m==0))Notice the space between > and =. Remove that space.
    m >= 100

  • Error occurred in deployment step 'Install app for SharePoint': There were errors when validating the App manifest.

    Hi everyone,
    I `m getting error message like this  "Error occurred in deployment step 'Install app for SharePoint': There were errors when validating the App manifest.". when i try to debug the application with "Start Action"="Internet Explorer".This
    application  is  an apps for office application with Oauth with Office 365
    Any help in this regard is greatly appreciated 
    Thanks!!
    Santosh Sutar

    Thanks Fei for your time.
    >>>I would suggest that you create a new project and set it start action with 'Internet Explorer'
    to see whether this issue could be reproduced.  If no, we can compare the difference between the two menifest files.
    As per your suggestion above ,With new project,I can debug with with start action "Internet Explorer" and I
    could not see much difference between the manifest files.
    Please find below my manifest file for the reference .
    <?xml version="1.0" encoding="UTF-8"?>
    <!--Created:cb85b80c-f585-40ff-8bfc-12ff4d0e34a9-->
    <OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TaskPaneApp">
      <Id>084cd6cd-2908-44d1-a5cf-4fa029aec211</Id>
      <Version>1.0.0.0</Version>
      <ProviderName>[Provider name]</ProviderName>
      <DefaultLocale>en-US</DefaultLocale>
      <DisplayName DefaultValue="Office 365 MVC" />
      <Description DefaultValue="Office 365 MVC"/>
      <AppDomains>
        <AppDomain>https://login.microsoftonline.com</AppDomain>
      </AppDomains>
      <Hosts>
        <Host Name="Document" />
        <Host Name="Workbook" />
      </Hosts>
      <DefaultSettings>
        <SourceLocation DefaultValue="~remoteAppUrl/Home/Index/" />
      </DefaultSettings>
      <Permissions>ReadWriteDocument</Permissions>
    </OfficeApp>
    Please suggest on this.
    Thanks !!
    Santosh Sutar

  • Problem to validate XML document if the type of root element is abstract

    I have the following XML document:
    <?xml version="1.0" encoding="UTF-8"?>
    <ct013/>
    It corresponds to the following XSD Schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="ct013" type="foo"/>
         <xs:complexType abstract="true" name="foo"/>
         <xs:complexType name="fixedType">
              <xs:complexContent>
                   <xs:restriction base="foo"/>
              </xs:complexContent>
         </xs:complexType>
    </xs:schema>
    Please take attention to the fact that the type of root element of that BDD is abstract.
    XML Schema provides a mechanism to force substitution for a particular element or type. When an element or type is declared to be "abstract", it cannot be used in an instance document. When an element is declared to be abstract, a member of that element's substitution group must appear in the instance document. When an element's corresponding type definition is declared as abstract, all instances of that element must use xsi:type to indicate a derived type that is not abstract.
    Declaring an element as abstract requires the use of a substitution group. Declaring a type as abstract simply requires the use of a type derived from it (and identified by the xsi:type attribute) in the instance document.
    For more information of using abstract types please see chapter 4.7 Abstract Elements and Types of XML Schema Part 0: Primer Second (http://www.w3.org/TR/xmlschema-0/#abstract).
    In this case there is Oracle bug when I try to validate this XML document using Oracle XDK:
    String validate(String xml, String schema)
    throws XSDException, XMLParseException, SAXException, IOException
    System.setPropert("oracle.xml.parser.debugmode", "true");
    XSDValidator xsdValidator = new XSDValidator();
    XMLError xmlError = new XMLError();
    xmlError.setErrorHandler(new DocErrorHandler());
    XMLDocument xmlDocument = parseXMLDocument(xml);
    XMLDocument schemaXMLDocument = parseXMLDocument(schema);
    XMLSchema xmlSchema = (XMLSchema) new XSDBuilder().build(schemaXMLDocument, null);
    xsdValidator.setError(xmlError);
    xsdValidator.setSchema(xmlSchema);
    xsdValidator.validate(xmlDocument);
    return getValidationError(xsdValidator);
    I get the following error:
    Can't find resource for bundle oracle.xml.mesg.XMLResourceBundle, key XSD-2046.
    I tried to validate this XML document using two other libraries - XSD Schema Validator (http://apps.gotdotnet.com/xmltools/xsdvalidator/Default.aspx) and xsdvalid-29 (http://www.w3.org/XML/Schema#XSDValid). Both libraries pointed me on the error that the type of root element is abstract and it cannot be used for doing validation.
    I think that Oracle should return me explaining message but not to throw exception.
    Am I right? Is there really Oracle bug or I miss something?
    Any help, hits, advices would be gratfully apriciated.

    Define Element1 as follows:
    <xs:element name="Element1">
    <xs:complexType>
    <xs:complexContent>
    <xs:restriction base="xs:string"/>
    </xs:complexContent>
    </xs:complexType>
    </xs:element>
    Does the XML document get validated if the element is specified as
    <Element1></Element1>

  • IN TEXT DETERMINATION WHAT R THE TYPES OF TEXT IS THERE AND IN PRICING WHAT

    HI EXPERTS
    IN TEXT DETERMINATION WHAT R THE TYPES OF TEXT IS THERE ????
    AND IN PRICING WHAT R THE PRICING ELEMENTS ???
    THANKS

    Dear Hanumanth,
    Text types in the customer master for sales and Distribution
    0001     Sales note for customer
    0002     Shipping instructions
    0003     Selection for shipping
    0004     Marketing notes
    0005     Competitor
    0006     Potential reasoning
    0007     Product proposal items
    0008     Frequency visited
    0009     Payment willingness
    Standard Text types in the Sales document ,delivery and billing header text
    0001     Form Header
    0002     Header note 1
    0003     Header note 2
    0004     Header note 3
    0005     Header note 4
    001     Delivery text 1
    0010     Form supplement text
    0011     Terms of delivery
    0012     Shipping instructions
    0013     Terms of payment
    0014     Warranties
    0015     Penalty for breach of contract
    0016     Contract riders (clauses)
    0017     Selection
    0018     Other contractual stipulations
    0019     Customer order text
    002     Delivery text 2
    0100     Bill of lading information
    0101     Export/import information
    0102     Transport information
    For more details please go through thid SAP help link
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/55f993545a11d1a7020000e829fd11/frameset.htm
    PRICING ELEMENTS
    The standard system includes condition types for basic pricing elements, such as material prices, customer and material discounts, and surcharges such as freight and sales taxes. In the case of each element, you can use the standard version, modify the standard version, or create entirely new definitions to suit your own business needs. The sequence of activities is generally as follows:
    Define condition types for each of the price elements (prices, discounts, and surcharges) that occur in your daily business transactions.
    Define the condition tables that enable you to store and retrieve condition records for each of the different condition types.
    Define the access sequences that enable the system to find valid condition records.
    Group condition types and establish their sequence in pricing procedures.
    For more details please go through thid SAP help link
    http://help.sap.com/saphelp_47x200/helpdata/en/64/7836b39c8911d199aa0000e8a5bd28/frameset.htm
    I hope this will help you,
    Regards,
    Murali.

  • How can I get a reference to all controls on a front panel of one type )for example of the type Text Ring?

    I'd like to set the strings[] property of all the Text Ring controls on a front panel at once without creating a property node for every text ring. How can i do that?

    > How can I get a reference to all controls on a front panel of one type
    > )for example of the type Text Ring?
    >
    > I'd like to set the strings[] property of all the Text Ring controls
    > on a front panel at once without creating a property node for every
    > text ring. How can i do that?
    This is likely more complicated than making property nodes for each
    ring, but you can do it. Make a subVI that takes in a panel reference,
    reads the array of control references, loops through them looking for
    rings, and modifying the Strings[] property on each ring.
    The part of this that will probably be the least obvious, when you
    have an array of control references there are two ways to find out
    if an element is a ring. You can read the classID and compare it
    to the cla
    ssID of a true ring control. An alternative is to cast
    the control reference to a ring control using a Cast to more specific
    node and wire the error out to a case structure. The error case is
    where the objects that aren't rings will go. The success case case
    where you will have a valid ring refnum that you can use to modify
    the strings.
    Greg McKaskle

  • Valid instance type for this instalation optiion are SCS, ER2, j2eedi, J2

    Hello . I want to install a NW7.3 based BI system. I found reccomendation to start with ABAP instance an then start of Java central server installation
    However I have checked option BI Java and additionaly I had EP, AS, EPC, and BASIC.
    however on next screen I am asked about SAP system ID(I entered the ABAP installed one  i.e. BI4)
    However this gets recognized that BI4 is already existing after ABAP.
    SAP system BI4 exists and is not suitable for this installation option. DIAGNOS: Valid instance type for this instalation optiion are SCS, ER2, j2eedi, J2eeci , but instance ASCS01 has different type
    Solution: Choose a different SAP system ID or unistall the existing one
    What to do?
    Thank you in advace for help

    Hello
    Now when I have suceesfully installed both (java @abap systems) I wander how to connect them.
    I red somewhere I should establish a JCO connection but I wander where
    I found new netweawer administrator http://<host>:5<sysnr>00
    JCO can be established via http://<host>:5<sysnr>00->configuration->infrastructure->JCO RFC provider.
    But which programID to use and..
    Is there somewhere some guide how to build BI out of this 2 (java @abap) systems. I only during java instalation entered users to get user communication  between java@abap
    Thank you in advance

  • Error VLD - 5005 when validating the map

    Using Datawarehouse builder 10.2 i have the following problem.
    This is the scenario:
    I have a dimension with one level and no hierachy and i want to do a mapping between a table and that dimension.
    Table has three atributes:supplier_id;name_sup;adress_sup.
    The dimension(which passes the validation) as four, three of type business to store information from the table atributes and one of the type surrogate(all these atributes belong to the same level).
    When validating the mapping I have this error:
    VLD-5005: no updatable inputs connected for dimension level "DIM_CUSTOMERS.LEVEL1"
    Details: At least one updatable input must be connected for level DIM_CUSTOMERS.LEVEL1, or the generated code will fail. paraent reference key and level natural key inputs are not updatable attributes in the target
    If I change dimension loading type to remove(instead of load) the validation is sucessful but the map doesn't work.
    Could anyone please give me a sugestion.
    João Costa
    Student of informatic engineering (University of Coimbra)

    Hi!
    could you explain that a little more please? (I.e. "make one of your source table attributes non-business"). I thought you could add the 'business' tag to attributes in the dimension, but I cannot see how to do that to the source table that is loading the dimension.
    FYI, I am trying to add an 'all-levels' category-type top level to a dimension hierarchy where the true source data goes
    L1>L3
    L2>L3
    L3to make the result
    L-CATEGORY>L1>L3
    L-CATEGORY>L2>L3
    L-CATEGORY>L3
    This is intended to combine source data from two sources, Products and Services. Products have two unrelated Type levels above them. Services have no Types. I thought I might be abow to create a mapping per source, and use a Constant to insert a Category attribute (business key) of either 'PRODUCT' or 'SERVICE' per mapping. My thinking was to use two seperate loads to the dimension. However, the first one generates the VLD-5005 error. I'd sure appreciate some help with theis fix.
    Do you know a better way of doing this?
    Also, is there a list/manual anywhere of all error messages for Paris?
    Cheers,
    Donna

  • NWBC:CREATE DATA:Type WDR_APP_PROP_DISP_LOADINGPAGE is no valid data type

    HI Experts,
    We want to access our servers through NWBC. All setting and configuration related is done also services in SICF are activated.But when we are in to NWBC it shows following error. Kindly help to resolve this
    Error when processing your request
    What has happened?
    The URL https://hpi-dev.domainname.local:44301/sap/bc/webdynpro/sap/powl was not called due to an error.
    Note
    The following error text was processed in the system ERD : CREATE DATA: The specified type WDR_APP_PROP_DISP_LOADINGPAGE is no valid data type.
    The error occurred on the application server HPI-DEV_ERD_01 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: CONVERT_XML_TO_STRING of program CL_WDR_CONFIGURATION_UTILS====CP
    Method: CONVERT_XML_TO_STRING of program CL_WDR_CONFIG_APPL_PARAM======CP
    Method: READ_DATA of program CL_WDR_CONFIG_APPL_PARAM======CP
    Method: INIT_DATA of program CL_WDR_CONFIG_APPL_PARAM======CP
    Method: GET_DATA of program CL_WDR_CONFIG_APPL_PARAM======CP
    Method: CONSTRUCTOR of program SAPLWDR_RUNTIME_REPOSITORY
    Function: WDR_GET_REPOSITORY of program SAPLWDR_RUNTIME_REPOSITORY
    Method: IF_WDR_RUNTIME~GET_RR_APPLICATION of program CL_WDR_MAIN_TASK==============CP
    Method: CREATE_APPLICATION of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system ERD in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server HPI-DEV_ERD_01 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server HPI-DEV_ERD_01 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-https -c: 100 -u: SRAUT -l: E -s: ERD -i: HPI-DEV_ERD_01 -w: 0 -d: 20111220 -t: 003857 -v: RABAX_STATE -e: CREATE_DATA_UNKNOWN_TYPE
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team

    Hi,
    Regarding the issue reported by you kinly refer in detail the solution section of the following SAP Note:
      1432358 - Starting application with Loading Animation
    It seems that the data element WDR_APP_PROP_DISP_LOADINGPAGE is not created in your system.
    This note should help you out.
    Regards,
    Abhishek

  • IFS-12635: SimpleXmlParser: Value(10/10/99) not valid for type (Date)

    I am trying to uplaod an xml document sample which has an attribute of date datatype.
    My sample is :
    <?xml version="1.0" standalone="yes"?>
    <document>
    <name> test</name>
    <createdate>1999/03/12</createdate>
    </document>
    I am getting this error:
    IFS-12635: SimpleXmlParser: Value(10/10/99) not valid for type (Date).
    If I input just the "name attribute" value, there is no problem. What is the date format, I should use?
    Please suggest.
    Thank you
    null

    Is there any way to specify the format in the custom type document itself. ? I do not want to specify the format in every document sample. Is there any way that it is possible. If I give the format in the document samples, as Matt said, there is no problem.
    Now I tried to give the format in the type document itself.
    I created a custom type document as follows:
    <?xml version="1.0" standalone="yes"?>
    <!--myTestType.xml-->
    <ClassObject>
    <Name>myTestType</Name>
    <Description> myTestType Document </Description>
    <Superclass Reftype ="name">Document</Superclass>
    <Attributes>
    <Attribute>
    <Name> Category </Name>
    <DataType> String </DataType>
    <DataLength> 80 </DataLength>
    </Attribute>
    <Attribute>
    <Name> posted_date </Name>
    <DataType format="mm-dd-yyyy"> date </DataType>
    </Attribute>
    </Attributes>
    </ClassObject>
    I could able to upload this to ifs. No problem at this time. But when I try to load the below sample, I am getting the same parse problem.(IFS-12635 SimpleXmlParser: Value(12-25-1992) not valid for type (Date.).
    sample xml document
    <?xml version="1.0" standalone="yes"?>
    <myTestType>
    <name> testing.myTestType</name>
    <Category>Administration_4</Category>
    <posted_date >12-25-1992</posted_date>
    </myTestType>
    Thank you.

Maybe you are looking for

  • Workflow not starting ? am i missing any steps ?

    Hello, I have just started learning workflows and i have few questions. I want to do the following: if a document status changes to "complete", then i want to print it. I figured that this should be a workflow so this is what i did. 1-In the organiza

  • Where do I send my iPhone to be replaced

    Basically I have arranged for my iPhone to be replaced as it keeps turning off despite having plenty of battery etc. Long story short... Where do I actually send it to!? No info given what so ever as to where to send it in the UK?

  • System status information

    GUYS I am getting for some of the sales transaction in CRM as TO BE DISTRIBUTED OPEN Can any one tell me what is technical meaning or reason why this status is comming for sales transactions. this is appearing for transactions which occured on 08/10/

  • Logon trigger not working over DB-Link?

    Hi all, I have a serious question about accessing tables over a database link. I have three schema: DATA@SOURCE INTERFACE@SOURCE WORK@TARGET Schema DATA has one table called T1 The INTERFACE schema has select privileges on all tables from DATA. Furth

  • Someone know how to work with JSP and JDBC 2.0 ?

    Hi, I'm a beginner in JSP and I have to work with JDBC 2.0. What can I have to do in order to work in this environment ? Thanks to any help STF