FI Validation Issue - OB28, GGB0

Can any body help me in the following validation -
Requirement - I'm trying to create a validation so that only specific document types can post to specific GL accounts.
I'm implementing this requirement by line item validation.
I started with the simple validation as below -
Prerequisite -  BKPF-BLART = 'S1'
Check         -  BSEG-HKONT <> '0000343433' (ABAP not equal to since can not be displayed between BSEG-HKONT and the account number)
Message     -  Error Message
It is not working. I have also tried the below -
Prerequisite -  BSEG-HKONT NOT IN ZTEST
Check         -  BKPF-BLART = 'S1'
Message     -  Error Message
where ZTEST is a set of GL accounts. It is not working either.
I have even generated everything by program RGUGBR00. I tried it by setting breaking point also; it satisfies the condition but message does not show up.
Also system is not allowing me to put something like this -
Prerequisite -  BKPF-BLART = 'S1'
Check         -  BSEG-HKONT NOT IN ZTEST
Message     -  Error Message
Please help.
MV
Edited by: mv reddy on Feb 11, 2008 11:37 PM

BKPF-BLART = 'S1'
BSEG-HKONT IN ZTEST

Similar Messages

  • Making message number blank for validation in ob28

    Hi all,
        I'm having a requirment to make the message number and message text to blank for validations in ob28.
    when i'm trying to edit by default it is taking message number as 000.i want it to be blank.
    Edited by: miriamjs on Jun 9, 2011 9:25 AM

    Please explain the rationale. If the outcome of a validation is "false", the user is supposed to be informed via an error message that you assign here, and the document cannot be posted without correcting the error.
    What is the point in not issuing an error message?
    Thomas

  • Validations using OB28 is not working for GL posting using FB01

    Hi Experts,
    Validations using OB28 for posting using FB01 is not working.
    My requirement is after entering a line items and click post validations should be triggerd.
    i want to block a posting based on document type.
    i have maintained as below..
    Prerequisite.
    ( BKPF-TCODE = 'FB50' OR BKPF-TCODE = 'FB01' ) AND (
    BKPF-BUKRS = '1000' OR BKPF-BUKRS = '0001' OR
    BKPF-BUKRS = '0002' ) AND BKPF-BLART = 'XX'.
    check.
    Used userexit to check sy-ucomm = 'BU'  (for posting).
    entries are maintained in OB28 for relevant company codes.
    it is working for FB50 but not FB01.
    same thing i tried to maintain at header level as well as item level. but it is working only for FB50 but for FB01.
    Please help me.
    Regards.
    Venu.

    Hi Venu,
    Go to GGB0 and expand the navigation till you reach the validation name of line item level and choose menu item *Validation -> Simulate.
    Here you can enter the inputs, those you are entering while doing FB01 and execute it.
    Then in the results, you will have the log for each step of your total validation of line item level.
    Check , whether your questioned STEP's pre requisite is met and check is not fullfilled.
    Accordingly you can make the changes to the STEP.
    This info may help you.
    Regards,
    Srinivas

  • Using Tabs in Generated Pages - Validation Issue

    Hi,
    We're using JHS 10.1.3.0.97 and are using the "stacked" regions functionality
    to make the form less cluttered.
    The problem we're having now is that whenever a user wants to
    view the items on a tab (that is not currently the selected one),
    a validation issue is thrown saying that all the mandatory fields need to be entered first.
    Is there a way to avoid this message and postpone the validation until the
    user clicks on the "Save" button?
    Regards,
    Cliff

    Cliff,
    I am sorry, in the 10.1.3.1 release we switch off server-side model validation on a partial page request.
    It is not possible to switch off the client-side validation, because the only way to do this, is by setting immediate=true on the tabs. However, with this setting JSF will skip the Model Update phase, which means that any changes you made to the tab region you are going to leave by clicking another tab, would be lost.
    The only alternative is by creatign a custom templates and generating the required items with showRequired="true" instead of required="true" which means required items are never checked client-side.
    Steven Davelaar,
    JHeadstart Team.

  • Validation issues with form (was: Validation)

    I am having validation issues with my form.  Even after I put in a name and last name it says the entries are invalid.  Could this be a hosting problem?  www.bussmanncomputers.net/Nx

    Below is mail form from my isp, which is Godaddy:
    This is the form that I am having some problems with configuring.
    <?php
    if ( !isset($_SERVER['SPI'])) {
            die();
    if (!isset($_SERVER['DOCUMENT_ROOT'])) {
            echo("CRITICAL: we seem to be running outside of the norm.\n");
            header("Location: http://".$_SERVER["HTTP_HOST"]."/");
            die("CRITICAL: Document root unavailable.\n");
    $request_method = $_SERVER["REQUEST_METHOD"];
    if($request_method == "GET") {
            $query_vars = $_GET;
    elseif ($request_method == "POST") {
            $query_vars = $_POST;
    reset($query_vars);
    function customsort($a,$b) {
            // $a is array for form vars, $b is comma seperated case sensitive field order
            // this is case sensitive -- good idea to hrc that.
            $data = array();
            if ( strstr($b,',') == FALSE )  {
                    $b = $b.",";
            $ordering = split(',',$b);
            foreach ($ordering as $orderitem) {
                    if ( ($orderitem != null) && ($orderitem != "") ) {
                            if (isset($a[$orderitem])) {
                                    $data[$orderitem] = $a[$orderitem];
            foreach ($a as $key=>$val) {
                    $data[$key] = $a[$key];
            return $data;
    function xmlentities($string) {
            return str_replace ( array('&', '"', "'", '<', '>'), array('&amp;', '&quot;', '&apos;', '&lt;', '&gt;'), $string);
    $t = date("U");
    $formhomedir = preg_replace('/.*\/home\/content/','',$_SERVER['DOCUMENT_ROOT']);
    $formhomedir = explode('/',$formhomedir);
    if (count($formhomedir) <= 4) {
            $formhome="/home/content/".$formhomedir[1]."/".$formhomedir[2]."/data/";
    else {
            $formhome="/home/content/".$formhomedir[1]."/".$formhomedir[2]."/".$formhomedir[3]."/".$f ormhomedir[4]."/data/";
    $file_order = ".default";
    $file_format = ".text";
    $file_interval = ".15m";
    $field_order = "";
    if (isset($query_vars['form_order'])) {
            if ($query_vars['form_order'] != "alpha") {
                    $field_order=$query_vars['form_order'];
                    $file_order=".custom";
                    $query_vars = customsort($query_vars,$field_order);
            else {
                    switch ($query_vars['form_order']) {
                            case "alpha":
                                    uksort($query_vars,'strnatcasecmp');
                                    $file_order=".alpha";
                            break;
                            default:
                                    $file_order=".default";
                            break;
    if (isset($query_vars['form_format'])) {
            switch ($query_vars['form_format']) {
                    case "csv":
                            $file_format = ".csv";
                    break;
                    case "html":
                            $file_format = ".html";
                    break;
                    case "xml":
                            $file_format = ".xml";
                    break;
                    case "text":
                    case "default":
                    default:
                            $file_format = ".text";
                    break;
    if (isset($query_vars['form_delivery'])) {
            switch ($query_vars['form_delivery']) {
                    case "hourly":
                            $file_interval = ".60m";
                    break;
                    case "hourly_digest":
                            $file_interval = ".60mc";
                    break;
                    case "daily":
                            $file_interval = ".24h";
                    break;
                    case "daily_digest":
                            $file_interval = ".24hc";
                    break;
                    case "digest":
                            $file_interval = ".15mc";
                    break;
                    case "default":
                    default:
                            $file_interval = ".15m";
                    break;
    $file = $formhome."form_".$t.$file_order.$file_format.$file_interval;
    $fp = fopen($file,"w");
    reset($query_vars);
    switch ($file_format) {
            case ".csv":
                    $csvkeys = "";
                    $csvvals= "";
                    $firsttime = "";
                    while (list ($key, $val) = each ($query_vars)) {
                            if ( ($key == "form_order") ||
                                    ($key == "form_format") ||
                                    ($key == "form_delivery") ||
                                    ($key == "redirect") ) {
                            else {
                                    if ($csvkeys != "") {
                                            $firsttime=",";
                                    $tmpkey=escapeshellcmd($key);
                                    $csvkeys = $csvkeys.$firsttime."'".$tmpkey."'";
                                    $tmpval=escapeshellcmd($val);
                                    $csvvals = $csvvals.$firsttime."'".$tmpval."'";
                    fputs($fp,"$csvkeys\n");
                    fputs($fp,"$csvvals\n");
            break;
            case ".html":
                    fputs($fp,"<table border=\"1\" cellspacing=\"1\" cellpadding=\"2\">\n");
            break;
            case ".xml":
                    fputs($fp,"<form>\n");
            break;
    reset($query_vars);
    while (list ($key, $val) = each ($query_vars)) {
            if ($key == "redirect") {
                    $landing_page = $val;
            if ( ($key == "form_order") ||
                    ($key == "form_format") ||
                    ($key == "form_delivery") ||
                    ($key == "redirect") ) {
            else {
                    switch ($file_format) {
                            case ".html":
                                    fputs($fp,"\t<tr>\n");
                                    fputs($fp,"\t\t<td><b>$key</b></td>\n");
                                    fputs($fp,"\t\t<td>$val</td>\n");
                                    fputs($fp,"\t</tr>\n");
                            break;
                            case ".csv":
                                    // content is already output
                            break;
                            case ".xml":
                                    fputs($fp,"\t<field>\n");
                                    fputs($fp,"\t\t<fieldname>".xmlentities($key)."</fieldname>\n");
                                    fputs($fp,"\t\t<fieldvalue>".xmlentities($val)."</fieldvalue>\n");
                                    fputs($fp,"\t</field>\n");
                            break;
                            case ".text":
                            default:
                                    fputs($fp,$key.": ".$val."\n");
                            break;
    switch ($file_format) {
            case ".html":
                    fputs($fp,"</table>\n");
            break;
            case ".xml":
                    fputs($fp,"</form>\n");
            break;
    fclose($fp);
    if ($landing_page != "") {
            header("Location: http://".$_SERVER["HTTP_HOST"]."/$landing_page");
    else {
            header("Location: http://".$_SERVER["HTTP_HOST"]."/");
    ?>

  • [svn] 3457: Accepting patch SDK-17038 by Brian Telintelo to fix an incorrect validation issue in ComboBox .

    Revision: 3457
    Author: [email protected]
    Date: 2008-10-02 13:45:35 -0700 (Thu, 02 Oct 2008)
    Log Message:
    Accepting patch SDK-17038 by Brian Telintelo to fix an incorrect validation issue in ComboBox.
    Checkintests: Pass
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17038
    Modified Paths:
    flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/ComboBox.as

  • Validation Issue - urgent

    Hi experts,
    I am facing a peculiar issue with Validation Check, in Process Control.
    I have done the following:
    1. set the Validation Top account, in my AppSettings
    2. Enable SupportsProcessManagement - in appropriate scenario
    3. Manage Submission Phases is set to * - in Phase1 column - My Validation Account's submission Group is set to 1.
    4. I have 4 independent Validation hierarchies, each one, having a submission group as 1, and are set in ValidationAccount, ValidationAccount2, ValidationAccount3, ValidationAccount4 respectively.
    When I plot the Validation Account, in a data grid, I can see values, coming in the grid.
    However, when I start Process Management, the Pass / Fail, is showing as Pass, even if there is value in the Validation Accounts
    When I click on the Validation Pass / Fail icon, the Validation Report inside, shows blank - not even a Zero value - throughout the grid. As a result, the entity is able to promote to the next review level, even if Validation is not cleared.
    Is there any setting, which I am missing out on, which is not showing Validation errors, whereas I can see Validation values in the Data Grid?
    thanks
    Never mind.. I found out the issue.. It was related to Rules and Metadata setting.
    Edited by: Indraneel Mazumder on Aug 2, 2011 10:50 PM

    I'm also facing the same issue,may i know what changes you made in metadata.quick reply is appreciated.

  • Document Signature - Validation Issue

    This is the recent help i've been trying to get on this subject over at acrobatusers.com. You can read through the issue i'm having through here, answer that was given and my response.
    Summary: Basically there are multiple text fields that are set to required, customer name, email...etc. All fields must be locked after being digitally signed (through the document signature field). When default validation pattern are used (blank) it generates an error (Customer field could not be validated). After trying regular expression script, it generates an error (Customer field could not be validated). So i tried a number of different combinations of picture clauses, and from what i'm gathering you have to know exactly how many characters are going to be typed to use that sort of validation. Which in a customer name field you have know idea what their name is going to be (unless you customize a document for each individual customer (not possible)).
    If anyone could help on this problem would be a lifesaver. Thank you
    ::COPY OF HELP QUESTION SUBMITTED::
    Apparently I'm not getting the field validation examples in the Help (F1) of Livecycle. I've been struggling to get all the fields in a collection to validate properly. Once I add a Document Signature field to the document and assign the fields to a collection, it doesn't seem to like the default validation settings if I assign the fields to 'User Input: Required' So for the name field I've tried multiple validation patterns all to no avail. My question is how to write a custom validation pattern that allows for an unknown ammount of characters in a name, email..etc. I've tried A A which only validates if the user enters J D for example but John Doe does not work. I've tried other combinations but nothing works. Any help would be appreciated.
    Thank you
    ::ANSWER SUBMITTED BY COMMUNITY EXPERT::
    A:There are a couple of things you need to look at. First, is the Acrobat Picture Clause Reference. You can find it and other LiveCycle references on this site
    http://partners.adobe.com/public/developer/xml/index_arch.html
    The other thing to look at is using a JavaScript validation script with a Regular Expression. Regular Expressions are much more flexible that the picture clause at doing validation.
    Answered by Thom Parker on Fri, Jul 6, 2007
    ::RESPONSE FROM ME BACK::
    Q:After reading through the Picture Clause Reference I'm certain there is no way to validate the customer name field without first knowing how many characters will be entered in. And I'm pretty sure there is no simple way of just making it "required" without a pattern to verify against.
    The Document Signature Field acts pretty weird if the text field is 'required' and there is nothing to validate it against. Which all in all I just want to make sure it is filled out. Customer Name field (First and Last name) one text field.
    So I tried the regular expression route, and added it to the 'Validate' section of the text field. Still I think the problem lies in the way the Document Signature field processes the 'required' fields.
    Now I noticed that this only happens if I set the document signature field to lock the required fields after digitally signing the document. This is a mandatory feature the document needs to have, along with the document signature. And the custom stamp option is not a viable solution to this either, since in my field of work everything is questioned whether or not it was altered or forged in some manner. And Custom 'Forged' stamps would not be too difficult to recreate, so that idea is out of the window.
    I'm stumped on this and any suggetions as to what route to take would be greatly appreciated. I can not release a document to the customers with validation error messages popping up even though the fields are filled out. Just wouldn't be professional, and down right annoying considering it validates about 15 fields, and everyone except the date and tim

    Hey Robert,
    I've been having the same issue where, once digitally signed, I end up having an issue with my mandatory fields returning an error '[mandatory field name] validate failed'. Is this the sort of errors you are getting? I'm also trying to find answers on this as I've tried a few things but it hasnt worked well. One thing I did was to change the mandatory field back to optional and coded my submit button using the if clause when the submit button is pressed to check if the this mandatory field is filled in.
    if ((pgDetails.txtReqBy.rawValue != null) &&(pgDetails.txtReqBy.rawValue != ""))
    event.target.submitForm({cURL:"mailto:[email address]?subject=New/Edit Supplier Detail Form&body=Please find attached the completed form.",cSubmitAs:"PDF",cCharset:"utf-8"});
    else
    xfa.host.messageBox("Requested by field MUST be filled. Pls enter your full name.");
    This seems to work fine except for one thing. If first time around, I fill the form out leaving the mandatory field blank, it returns the message "Requested by field MUST be filled. Pls enter your full name." So now I go back and fill in the mandatory field and, without navigating to another field, I click the submit button, I get the same message "Requested by field MUST be filled. Pls enter your full name." as it has not picked up the new value of the field. Any idea if there is code to make it re-read the field?
    Rgds,
    Jan

  • Spry validation issue with submit button

    Hi,
    I'm new to Spry but am having an issue getting it to work at all.  I created a very simply form (i.e. table with Spry text field and submit button).  I've read many articles and been to several forums, but I can't seem to find the issue I'm having.  Basically, when I go to preview the page in a browser, the table with the Spy text field and submit button comes up fine, but when I hit the submit button, I see the page refresh and any values I had in the text field disappear, but nothing ever comes up saying "A value is required," which is what I'm looking for. This happens even if I don't have any values in the text field.  Below are images of what I'm describing and also the code.  I verified that the "Required" check box is checked in the SpryTextField and the submit button action is selected to "Submit Form."  My setup is Win 7, DW6, & XAMPP.  Any help you can provide would be greatly appreciated.
    Before Submit Button pressed:
    Browser after button pressed: (same as above but no message saying "A value is required.")
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    test
    <table width="600" border="1">
      <tr>
        <td><form id="form1" name="form1" method="post" action="">
          <span id="sprytextfield1">
          <label for="test"></label>
          <input type="text" name="test" id="test" />
          <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span>
        </form></td>
      </tr>
      <tr>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
      </tr>
      <tr>
        <td><form id="form2" name="form2" method="post" action="">
          <input type="submit" name="submit" id="submit" value="Submit" />
        </form></td>
      </tr>
      <tr>
        <td> </td>
      </tr>
    </table>
    <script type="text/javascript">
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "email");
    </script>
    </body>
    </html>

    Do yourself a big favor and don't waste time with Spry Validation.  Most modern browsers support HTML5 forms with the required attribute. 
    If you must placate older browsers, use jQuery validate script.  It's lightweight and works when HTML5 support is missing.  You can see an example below. If you hit submit with empty form fields, the required fields pop-up with messages.  View source in browser to see the code. 
    HTML5 Form with jQuery Validation
    Nancy O.

  • Digital Signature validation issue in Adapter Module

    Hi guys,
    we have developed an adapter module for digital signature validation, unfortunately, it simetimes work, sometimes doesnt. Strange is, that the same adapter module works for one customer, while for another one doesn't.
    We have sent through some "invalid" messages, which should have been valid at the client, where the module works and theu were flagged as valid. It seems the problem is caused by "special" spanish characters, because validation works for the messages where are only standard chars.
    Any idea, what to check? Java version, system encoding?
    Any help appreciated,
    Olian

    Hi,
    Not really sure about what causes such issues, but if your module coding uses String and byte[] manipulation, are you using explicite encoding when declaring such types ? I remember facing strange issues with XML field values, and "forcing" encoding to "UTF-8" when appropriate, it solved all my errors (string typed object, when converted internally by the JVM, were not always represented by the same bytes object)
    Hope this helps
    Chris

  • Question : Adding a signature to a PDF programmatically with Acrobat 8 (Reader 9 validation issue)

    Hi,
    Please, apologyze my poor english.
    I have an application that inserts a signature programmatically in a PDF document with Acrobat 8, via VB .NET, using the example provided in the Acrobat 8 SDK ("AddSignature").
    The problem resides in that previous signatures in the document (signed normally via reader 8 or acrobat 8 application), now becomes INVALID, but only in Reader 9.Acrobat 8/Reader 8 considers them as "valid, with posterior changes".
    The difference between the SDK example and this code resides only in the way of calling the script in .net
    I call directly the AddSignature function with this code (partial), instead of calling the execution of the "ADBESDK:AddSignature" menu (this improves faster execution with no AVDOC object involved):
            AcroExchPDDoc = New Acrobat.AcroPDDoc
            Dim JsObj As New Object
            AcroExchPDDoc.Open("c:\test.pdf")
            JsObj = AcroExchPDDoc.GetJSObject
            JsObj.SetUserDigitalIDPath("/C/trabajo/DrTest.pfx")
            JsObj.SetUserPassword("testpassword")
            JsObj.AddSignature(JsObj)
            JsOb = Nothing
            AcroExchPDDoc.Save(1, "c:\result_test.pdf")
            AcroExchPDDoc.Close()
    I tried to change the AcroExchPDDoc.Save() parameters for intend an incremental save instead of a fullsave, but i keep getting this situtation.
    How can this be solved?? Is this a bad approach to the process??
    Note that all inserted signatures trough this method are valid in Reader 9.
    Any help or comment would be appreciated.
    Thanks.

    Thanks Steven,
    There is something I can´t undestarnd about this issue, and hope you can throw some light on it...
    If I use the AddSignature method of Adobe 8 SDK by clicking on the new menu option that it creates, these inserted signatures not causes the invalidation message in Reader 9. The used script is the same, so I can´t figure out why.
    Once inserted a new signature by ("my") code, it invalidates all previous "normally" inserted signatures trough the GUI, but not invalidate other signatures inserted trough this code (No matter how many signatures of this type are present in the document).
            I suppose that this means only a blank outline tree is inserted, and only the first time I apply the signature.
    As an additional info, I´ve attached to this post a new pdf file with one signature normally inserted, and three signatures "code-inserted". (The "result_pdf.pdf" included in previous post, with another two code-signature).
    As you can see, all except the first are valid, and any other new signatures inserted in the document (normal or code) won´t result in an invalid statement after the 1st code-insertion.

  • ESB File Adapter data validation issue

    I have a really simple ESB process.
    File Adapter Read
    (XML format with XSD) --> Routing Service --> SOAP Call to BPEL Process
    Quite simply, the ESB uses the File Adapter to read an XML file which has an associated XSD. The contents are then routed to a BPEL Process.
    If the XML file is valid in syntax but contains an element which is not in the XSD, the file contents are pushed to the BPEL process which has validateXML set to true - thus the error is caught and handled by the BPEL process.
    This is what I want to happen.
    If the XML file is invalid in syntax - for example -
    <TAG>hello</WRONGTAG>
    The ESB process rejects the file and stops dead.
    I would rather the invalid file is pushed to the BPEL so that the BPEL can handle the error.
    Why?
    Because my error handling in the BPEL picks up the invalid XML format and emails the users to inform them there is a problem.
    Can someone help? Is this possible? Thanks.
    Message was edited by:
    IanBaird

    Hello again! You are now aware of the problem as there has been a lot of conversation between myself and Dave Berry [and you!] regarding this issue.
    For the rest of the readers - here is a brief summary of progress so far. Sorry but there has been so much communication that I think the best way is to direct you to various links.
    If an adapter fails in ESB, then it is possible to trap these failures and handle them as documented here:
    Dave Berry said:
    you need to look into the adapter rejection handlers which are documented on OTN ESB page in the exception handling lesson and the adapters OTN dev resources page http://www.oracle.com/technology/products/integration/adapters/dev_support.html
    I had also devised my own solution in the meantime, which involves reading the input file as opaque schema and passing this to a BPEL process which converts it to an XML document! This can then be validated and use standard BPEL error handling to find any problems in the file format etc.
    See my blog for a tutorial on doing this:
    http://soastuff.wordpress.com/2007/06/06/handling-opaque-datatypes-in-bpelesb/
    The only problem with this at the moment is that the BPEL function ora:parseEscapedXML has a bug in it - so it fails if the XML does not comply with the XSD it tries to convert to.
    This in turn causes an ORABPEL-09500 error which does not seem to get handled by the BPEL process so the process fails.
    As things stand, this bug remains - though Dave Berry has been very helpful in identifying it and bringing it to Muruga's attention. Hopefully we can get a fix (?) and a workaround whilst the fix is being implemented (?)
    Cheers.

  • [Fixed] Validation issue - Sax

    G-day
    I use an instance of XMLReader. its config is :
    parseur = XMLReaderFactory.createXMLReader();              
         // g�re les pr�fixes "xmlns:*"           
         parseur.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
         parseur.setFeature("http://xml.org/sax/features/namespaces", true);
         parseur.setFeature("http://xml.org/sax/features/validation", true);
         parseur.setFeature("http://apache.org/xml/features/validation/schema", true);     
    parseur.setFeature("http://apache.org/xml/features/validation/schema-full-checking", true)the schema location is defined in the xml document in input :
    <sh:StandardBusinessDocument xsi:schemaLocation="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader
    http://www.gs1globalregistry.net/2.0/schemas/sbdh/StandardBusinessDocumentHeader.xsd urn:ean.ucc:2       
    http://www.gs1globalregistry.net/2.0/schemas/CatalogueItemNotificationProxy.xsd"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:xs="http://www.w3.org/2001/XMLSchema"
        xmlns:sh="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
        xmlns:gdsn="urn:ean.ucc:gdsn:2"
        xmlns:eanucc203="urn:ean.ucc:2">When I parse it, I get the following error message : cvc-elt.1: Cannot find the declaration of element 'sh:StandardBusinessDocument'.
    I assume it can't find the schema. have you any idea of my mistake ?
    I downloaded the schema on PC and modified the root node like this :
    <sh:StandardBusinessDocument xsi:schemaLocation="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader
    file:/C:/jdevstudio1013.2/jdev/mywork/BMS_Package_Align_Catalogue_Item_Synchronisation/Catalogue_Item_Synchronisation_Implementers_Packet/Schemas/sbdh/StandardBusinessDocumentHeader.xsd urn:ean.ucc:2
    file:/C:/jdevstudio1013.2/jdev/mywork/BMS_Package_Align_Catalogue_Item_Synchronisation/Catalogue_Item_Synchronisation_Implementers_Packet/Schemas/CatalogueItemNotificationProxy.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:sh="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
    xmlns:gdsn="urn:ean.ucc:gdsn:2"
    xmlns:eanucc203="urn:ean.ucc:2">in this case, it works fine, the schema is found. But I would like to use the schema defined with the http link.
    Thanks a lot
    Message was edited by:
    bullit

    Fixed. It was just a proxy issue !

  • APEX 4.1, SQL Query(Updateable report), Validation issue.

    Hi,
    I am using APEX 4.1.
    I have SQL Query(Updateable report), we have created validation for the columns in this report.
    The validations are working properly only for the first row of the report on submitting, the remaining rows are not getting validated.
    If we check mark the rows it will get validated, but we want the validation to happen without checkmarking, on all the rows on clicking submit button.
    Can someone help me to fix this issue?
    Thanks in advance.
    Thanks & regards,
    Ravi.

    Hi Ravi,
    Welcome to Oracle Forums!
    Please acquaint yourself with the FAQ and forum etiquette if you haven't already done so.
    Always state
    <ul>
    <li>Apex Version</li>
    <li>DB Version and edition</li>
    <li>Web server used.I.e. EPG, OHS, ApexListner Standalone or with J2EE container</li>
    <li>When asking about forms always state tabular form if it is a tabular form</li>
    <li>When asking about reports always state Classic / IR</li>
    <li>Always post code snippets enclosed in a pair of &#123;code&#125; tags as explained in FAQ</li>
    </ul>
    I am using APEX 4.1.I have SQL Query(Updateable report), we have created validation for the columns in this report.
    The validations are working properly only for the first row of the report on submitting, the remaining rows are not getting validated.
    If we check mark the rows it will get validated, but we want the validation to happen without checkmarking, on all the rows on clicking submit button.
    Can someone help me to fix this issue?
    >
    Post your validation code with some explanations of what the g_fnn are.
    Cheers,

  • R12 AP Invoice Validation Issues

    Has anyone gone live on R12.0.0 and not had issues with invoice validation?

    Carl,
    Run the Gather Schema Statistics program for Payables and Payments applications with degree 20. As soon as this GSS completes, submit the validation and Accounting again. This is will definitely resolve your problem.
    - Kiran

Maybe you are looking for

  • How do I get the calendar to list birthdays in contacts

    Can the birthdays entered into igoogle contacts automatically transfer into my igoogle calendar ? How

  • OWB 11.1.0.7 patch (6890831), Can we apply to OWB 11.1.0.6 on DB 10.2?

    Hi Currently using OWB 11.1.0.6 on Oracle DB 10.2.0.3 hitting lot of Control Center performance issues recently. Recent <strong>OWB Patch 11.1.0.7</strong> (<em>Patch no. 6890831</em>) install documentation doesn't say that we could apply this to 10.

  • Report painter settings

    Hi Guys I need to extract all the sets used in my report and all the G/ls's behind it. I remember I used this functionality before but I can't find it now. There is a tcode which allows you to extract your report( I don't mean the export import for t

  • Airplay icon missing? first time set up

    first time setting up apple tv. air play icon missing from my ipad 2, also the remote is controling my mac book. please help

  • SAP Fiori Approve requisition

    Hi All I have recently cofgured SAP Fiori approve requisition (Purchase requisition) using custom workflow. Attached is the error I get when rejecting or approving a purchase requisition. Please note that the error only Occurs in QA and works fine in