Validation check for an item

I am not sure about how to use regular expression for a validation check for an Item
I might need to check for an item for the below format -
1 , XXX-XXXXX-## ( "3 alphanumeric" , "middle score" , "5 alphanumeric" , "2 digit year" )
2, XX##-### ("2 alphabets ", "2 digit number", " middle score ",3 digit number

Lucy,
Create an item level validation of type regular expression, and use the following for the respective Regular Expression values:
1) ^[[:alnum:]]{3}-[[:alnum:]]{5}-[[:digit:]]{2}$
2) ^[[:alpha:]]{2}[[:digit:]]{2}-[[:digit:]]{3}$I'm only very new to regular expressions, so I welcome being corrected if there's a more efficient way of declaring this. But this works.
Anthony.

Similar Messages

  • Validation check for Tcode FB10 and FB60 - FICO.

    I have an issue in validation check for Tcode 'FB60' and  'FB10'.
    there are two exits coded for these transactions through transaction 'GGB0'.
    details for the two exits.
    exit 1.
      when posting a vendor invoice, the network status is checked whether it is completed or not - if status is completed error message is raised.
    exit 2.
      when posting vendor invoice - for G/L Account in 60000 - 69999 series network should not be posted. if posted error message is raised.
    when these two exits are entered via a prerequisites in code 'KGB' a code is generated automatically to call these exits- when transaction 'FB10' 'FB60' is executed.
    Issue:
    for  code 'FB10' is executed with network with status completed and with G/LP account in 60000 - 69999 series -
    error message is raised in sequence i.e. exit 1 is raised and then exit 2 is raised.
    but for code 'FB60' if condition for exit 2 is  not satisfied then exit 1 message is raised.
    but it should be in sequence in raising the error message i.e. exit 1 and then exit.
    Even though for both the transaction the auto generated code is similar and even exits are similar - but it is execution in raising the error message is diffrent.
    - Since it is auto generated code i am able to figure out the issue.
    i would appreciate if any one could help me out in this issue.
    thank you,
    with dregs,
    Karthik.

    Hi,
    I have tried what you have suggested. But still validation is not working
    I have done the following validation based on your inputs.
    Prerequisite
    Company Code = '1265' AND Transaction code = 'FB60' AND
    Account Type = 'K' OR
    Transaction code = 'F-43' AND Account Type = 'K' OR
    Transaction code = 'F-48' AND Account Type = 'K'
    Check
    Business Place > '' AND Business Place = Section Code
    Message
    E - Error Message
    Still it is not working.
    Please suggest.
    Best Regards
    Shashikanth.M

  • Validation check for Cash Payments

    Hi Gurus,
    I need to put validation check for cash payment only - not more than Rs. 20000/- & no check for cash receipt.
    Please guide me what is reqd in - PREQUISITE & CHECK.
    Thanks,
    Vikas

    Hi Vikas,
    Try this, its working at my place.
    Prerequsite:
    BKPF-AWTYP = 'CAJO' AND BSEG-WRBTR > '20000.00' AND (
    BSEG-HKONT = 'XXXXXX' AND BSEG-BSCHL = '50' )
    Check:
    NOT SYST-UNAME IN <Set name@>
    @ being set created with Table-SYST and field name- UNAME
    Here the set was created to allow few user to post more than 20000/-
    Regards,
    Kiran

  • Raw Device Validation Check for Name Failed..

    Hi all,
    I have installed Oracle Clusterware 10.2.0.4 and Oracle database software 10.2.0.4 on Solaris SPARC 10 and i using a NAS storage for the same
    And when i try to create a database using DBCA i got the following error.
    Raw Device Validation Check for Name /u03/oradata/spfile/spfile{SID}.ora failed. The specified file /u01/oradata/spfile/spfile{SID}.ora doesnot exit.Please a existing file.
    Note: i am not using ASM., i am using RAW device for Database
    Any help highly thankful
    -Arun

    Hi
    this is how i have mounted the NAS...
    10.0.0.0:/vol/prodt3_vol16/ora_dbfr_inn1s - /u07/DBFR/INS nfs - yes rw,bg,hard,nointr,rsize=32768,wsize=32768,proto=tcp,noac,forcedirectio,vers=3,suid
    how do i ensure that it is not being used....we should not use ASM its an client requinment ...
    Thanks

  • Validation Check for business place and section code.

    Hi Gurus
    Please provide me the prequisite check for creating a validation check for business place and section code.
    Regards,
    Vikas Malhotra

    Hii..
    Goto T.Code Ob28 write the following validation.
    Prerequisite
    BKPF-BUKRS = 'XXXX' AND BSEG-KOART = 'K' AND
    BSEG-QSSKZ = 'XX' AND BSEG-BSCHL <> '35' AND
    BSEG-BSCHL <> '25'
    Check
    BSEG-BUPLA = 'XXXX' AND BSEG-SECCO = 'XXXX'
    Message
    Message number ZFI    002
    Regards,
    Aakash

  • Dynamic Action, validation check, on an Item, could not use Change event

    I am learning how to use Dynamic Actions in a 3.2.x app that was upgraded to 4.0.x. I wanted to share what I learned adding client side validation with these actions. Perhaps an Apex guru could suggest an easier method to use this feature.
    I have an existing function where a user selects multiple rows in a report page, and then assigns a single status and enters justification text for the selected rows in another page, then saves changes (via submit).
    One item, justification, is required. I replaced my JavaScript validation of an empty value, e.g., P10_JUSTIFICATION.value, with a dynamic action. The Change event was a candidate for this item, with the "is not null" Condition. However, it is possible to initiate this screen to review the status, overlook the justification text and immediately select a button to save changes. No Change event has fired. The Before Page Submit event was applicable here. This Event selection in the wizard does not provide the Item for definition and then the Condition wasn't the right context though available for selection. I selected JavaScript expression for the Condition, actually entered my original JS test expression, and created one True Action. The True action displays an Alert to tell the user that required text is missing.
    Test of this DA was not completely successful. The alert appeared but the page went on to submit anyway. I found I had to add another True Action, Cancel Event, to stop the submit. The DA was then successful.
    The Apex site examples, [http://st-curriculum.oracle.com/obe/db/apex/r40/apexdynactions/apexdynactions_ll.htm] , do a great job showing use of Change and Set Value events for Items but a user may not always navigate through items. These features were promoted for developers with no to little knowledge of JavaScript to use Apex for application development. This DA required using/understanding JS anyways.
    My next step is to implement actions on a tabular form that that has required values. It is disconcerting that I have read in the forum that the column value references such as f0x and its row number are required to get it all working (as a DOM or JQuery selector). I have already found that tabular form columns can be re-ordered from v3.2.1 to 4.0.x. I was hoping I could declare dynamic actions or simpler Javascript methods that would not rely on f0x array references.
    Thanks,
    Kelly

    It is disconcerting that I have read in the forum that the column value references such as f0x and its row number are required to get it all working (as a DOM or JQuery selector).Not necessarily. One possibility is to use descendent jQuery selectors to attach the dynamic action event handler by column heading:
    td[headers="HIREDATE"] input

  • Availability check  for Alternate items

    Hi PP Guys,
    In the BOM alternative item group has been maintained with the parameters of Priority, Strategy "2" language probability 100%.
    Alternative item group with the strategy " 2 ", it will check for full required quantity of the 1st priority item while doing availability check in the production order, if there is any stock deficit it will check for 2nd priority item for full required quality. 
    But the requirement is, if there is any stock deficit with the 1st priority item, then quantity available with the 1st priority item should be confirmed and the balance shortfall quantity should check with the 2nd priority item and accordingly it should confirm the requirements.
    Please suggest me, is there any way to map the above requirement.
    regards,
    Purna

    Purna,
    This is not possible in standard SAP. SAP has provided only two options for this. The one which you explained and the other in which you define the percentage of usage probability.
    Sumeet

  • Restrict Availability check for Line item in sales order

    Hi Folks,
         My requirement is some what different than the usual,I want to stop availability check for a particular line item,while creating sales order on a particular condition (example when quantity is changed for that line item),please suggest if there is any way to do so.
    Thanks for your valuable support.

    Hi
    we need to maintain the username of the person who has triggered this process through XI .
    I BAPI we cannot instruct the BAPI to maintain a specific username.
    that is why i am using this FM because this will allow us to maintain the change history with the username we want
    Regards
    Nikhil

  • Print check for Noted Items......

    Hi ,
         I created noted items in F-57 for posting of Post Dated Check to Vendor.
        How can i print for Noted items.
    In FBZ5 , we can print checks for Paying Document number.
    any one suggest answer.
    Regards
    Kiran Konujula

    Purna,
    This is not possible in standard SAP. SAP has provided only two options for this. The one which you explained and the other in which you define the percentage of usage probability.
    Sumeet

  • Validation check for BP external id type and id number

    Hi,
    I need to validate the external Id type and Id no. ( from table BUT0ID) based on some conditions from the WebUI while adding a new id type and also during deletion of that id.
    I have found out 2 Badi's BUPA_IDENT_UPDATE, BUPA_IDENT_CHECK
    Will these BADI triggered from the WebUI ?
    What would be the other way to implement these checks for the Business Partner?
    Provide some possible solutions.
    Thanks for all your help.
    Regards,
    Shobhit

    Issue resolved by coding at UI level

  • Report this postReply with quote Credit check for unconfirmed item

    Hello,
    I have configured automatic credit control for sales orders.
    When a confirmed order quantity is entered, I get a warning message plus the credit block, just as I need. If I have no confirmed quantity of the items, I get no message, just a saved order.
    Our item confirmation is done only on what is in stock, not on RLT, so it is common that an item has 0 confirmation. I need a credit block if the value would otherwise exceed the open credit limit? How can I do this? I've tried both the static and dynamic checks, but they only work with confirmed quantities.
    Thanks

    pricing:
       step  Des                      From     print     subtotal
       120   Total                                   X        1
       130   Credit value           120         X        A
    and also in automatic credit control select open orders
    but system calculate the credit value=confirmed quantity*price.

  • Wrong Availability check for Header Item in Sales BOM after BOP

    Hi Guys
    I am stuck with a very weird problem. Request your advice:
    I have a Sales BOM with one item Lets header is 'A' and Item 'B'. On creation of Sales Order ATP check is performed and both the line items (with A and B) the committed qty and committed date.
    Now when BOP runs, it deletes the allocation of A and changes it to '0'
    Details:
    'A' is a non stockable product
    Req:
    1. I am not sure whether I should include A in BOP selection, however even running it only with B it deletes the allocation of A and the committed qty changes to '0'
    Can you please suggest the solution or standard way of running BOP for Sales BOM
    Thanks in advance
    -Rahul

    Thanks for writing in Prasun
    Yes I created a new Filter type however when you add a STO category and then you change the fields to include item category you will get the same error. I am also in V 5.0 of SCM
    Normally we use SAP_NetChange filter type. So is it possible to restrict using item category for this filter some how!
    On the otherhand I also wonder these should not ATP relevant as the header item is non stockable item! And I guess there should some catch to exclude if not item category as you mentioned!
    So the order categories included are:
    Customer Inquiry
    Customer quotation
    Sales Order
    SD Scheduling Agreement
    SD Scheduling agreement w/external
    Contract
    Delivery w/io charge
    Independent requriement
    Release from customer in plant
    STO
    Deplyometn release
    TLB release for purc ord
    Fields
    Product
    location
    distribution centrer
    MRP area
    product Hierarchy
    Location hierarchy
    supplier location
    These are std filter type and I cant be modified.. however we restrict our filter to location only!
    Kindly advice!
    Thanks in advance
    -RK

  • Unlimited check for Service items on contracts

    Hello,
    When I'm creating a contract for a service item, on the item detail the checkbox for Unlimited is always checked.
    Why is this developed like that? and is there a way to modify this behavior?
    Regards,
    Nelson

    Hi,
    On the item detail screen this flag should be left set as it is defaulted.
    The real limits are stored at the service specification levels and NOT at the PO item details level.
    If you test this you will find that the flag that you are indicating here does not affect the process because the actual flags at the lower level are used.
    So unless this is giving you a real problem, leave it as it is.
    Steve B

  • On-Hand check for related items in inventory

    Hi All,
    We have a generic item (item-A) and three different brands for the generic item (item B,item c,item d) defined in the system.The relation ship between generic item and brand items is also defined.I will have on-hand quantities for the brands and not for the generic item.
    1.Is there any way we can show the sum of all brand's on-hand quantity as the on-hand quantity of the generic item using the standard functionality?
    2.Can we use min-max planning for the generic item alone and later when the PR is automatically created we will decide which brand to buy in PO
    Thanks,
    Srihari
    Edited by: user1159574 on Nov 9, 2010 5:49 AM

    The answer to both your question is unfortunately No.
    There is no seeded functionality to do that.
    You will have to customize the onhand screen and the min-max process.
    Hope this answers your question
    Sandeep Gandhi
    Omkar Technologies Inc.
    Independent Techno-functional Consultant

  • XSD Validation, checking for required elements

    I'm using the FTP Adapter to retrieve a flat file in a format like this -
    H|1|1234|5-APR-2007
    L|1|33123|2
    L|1|12345|1
    L|1|6969|5
    S|1|Milton Park, Abingdon, OX142NF
    I have generated an XSD file using the built in wizard that looks like this -
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    targetNamespace="http://bpelns.corp.rmd.org/complex"
    xmlns:tns="http://bpelns.corp.rmd.org/complex"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified" nxsd:encoding="ASCII" nxsd:stream="chars" nxsd:version="NXSD">
    <xsd:element name="order">
    <xsd:complexType>
    <xsd:choice minOccurs="1" maxOccurs="unbounded" nxsd:choiceCondition="terminated" nxsd:terminatedBy="|">
    <xsd:element name="HEADER" minOccurs="1" maxOccurs="1" nillable="false" nxsd:conditionValue="H">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ORDERID" nillable="false" minOccurs="1" maxOccurs="1" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="|" nxsd:quotedBy="&quot;">
    </xsd:element>
    <xsd:element name="CUSTOMERID" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="|" nxsd:quotedBy="&quot;">
    </xsd:element>
    <xsd:element name="ORDERDATE" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;">
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="LINEITEM" minOccurs="1" maxOccurs="unbounded" nxsd:conditionValue="L">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ORDERID" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="|" nxsd:quotedBy="&quot;">
    </xsd:element>
    <xsd:element name="PRODUCTCODE" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="|" nxsd:quotedBy="&quot;">
    </xsd:element>
    <xsd:element name="QUANTITY" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;">
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="SHIPPING" minOccurs="1" maxOccurs="1" nxsd:conditionValue="S">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ORDERID" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="|" nxsd:quotedBy="&quot;">
    </xsd:element>
    <xsd:element name="ADDRESS" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;">
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:choice>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    I added the various minOccurs & maxOccurs attributes. I would like to be able to state that the element HEADER is required. However, despite the min & max values it carries straight through to the next point in the BPEL flow. I cannot use the required attribute type, as JDeveloper does not recognise this.
    How can I acheive the validation I require ? Is the XSD the right place to be doing it (I thought so, as it is the schema definition) ? If I cannot do this with the XSD how else might I acheive it in a concise way, ie not using a big switch operation to test various elements.

    I have just noticed that the XSD is creating the following XML document, which explains the validation failure. After the header it is treating everything else as a line item.
    <?xml version="1.0" encoding="UTF-8" ?>
    <order xmlns="http://bpelns.corp.rmd.org/complex">
    <HEADER>
    <ORDERID>1</ORDERID>
    <CUSTOMERID>1234</CUSTOMERID>
    <ORDERDATE>5-APR-2007</ORDERDATE>
    </HEADER>
    <LINEITEM>
    <ORDERID>1</ORDERID>
    <PRODUCTCODE>33123</PRODUCTCODE>
    <QUANTITY>2</QUANTITY>
    </LINEITEM>
    <LINEITEM>
    <ORDERID>L</ORDERID>
    <PRODUCTCODE>1</PRODUCTCODE>
    <QUANTITY>12345|1</QUANTITY>
    </LINEITEM>
    <LINEITEM>
    <ORDERID>L</ORDERID>
    <PRODUCTCODE>1</PRODUCTCODE>
    <QUANTITY>6969|5</QUANTITY>
    </LINEITEM>
    <LINEITEM>
    <ORDERID>S</ORDERID>
    <PRODUCTCODE>1</PRODUCTCODE>
    <QUANTITY>65 Milton Park, Abingdon, OX142NF</QUANTITY>
    </LINEITEM>
    </order>

Maybe you are looking for