Restrict the item

Hi,
i want to restrict the item input. i.e i want to insert only 3 digit number,more than that i want display error.
Is there any regular expression?
skud

Hi Skud,
Use validation:
Level: Item Level Validation
Item: <item-name>
Validation Method: Regular Expression
Regular Expression:
^[0-9]{3}$OR
^[[:digit:]]{3}$See if it works!
Regards,
Kiran

Similar Messages

  • How do I restrict the items shown in Action pull-down list in Quote Overiew

    I would like to restrict the items shown in the pull-down list of Actions in Quote Overview Screen in Oracle Quoting (HTML)
    The list is defined as part of Quick Codes (Lookup_type = ASO_QUOTE_ACTION). Per my understanding, it should show up all the lookup values enabled in ASO_QUOTE_ACTION. But I see only a few of those enabled in the action drop-down list in Overview Screen.
    I appreciate if any one can provide any clue where they are restricted.
    To access ASO_QUOTE_ACTION Loookup code, here is the navigation path.
    ® Quoting Sales Manager &#8594; (N) Setup &#8594; Quick Codes and query for ASO_QUOTE_ACTION.
    Thanks
    Rao

    Wrong Forum....

  • Restrict the items while adding to cart based on zipcode.

    Hi All,
    I have a requirement of restricting the items while adding to cart based on the zipcode .
    For ex . If I enter zipcode of 10014 ,then I shld able to only add 2 items .If i enter some other zipcode like 55344 then I shld able to only add 5 items .
    Please help me to implement this scenerio.
    Advance thanks

    You can add a property in catalog for "Product" item-descriptor to refer to "ZipCodeQuantity" item-descriptor to define the restriction. This way even if the quantity for a particular product( for a particular zip) changes, it becomes easy.
    zipcodeQuantity will have productid, zipcode, quantity allowed.
    Use a droplet to show only the allowed quantity for a particular product for a particular zip code in product detail page. This way you can restrict them from adding in ProductDetail page itself.
    Just an another way.
    -karthik

  • Restricting the item data for two pages if data is more then cutoff

    Hi Expers,
    I have one requirement that i need to restrict item data upto two pages .If more data is vailabe even pritning after two pages then data should cutoff(means we don't want to print that extra  data in the next pages ).Could you please explain  how can we achive this in main window ?Can we achive this even using secondary window also?Thanks for your help in advance.
    Thanks and Regards,
    Venkat

    Dear experts,
    For restricting the data up to two pages in the mainwondow ,I have written the condition SFSY-PAGE LE 2.But still i am getting more than two pages means entire data.Can any one explains why this condition is failed(My main window is in the first page itself).
    Many thanks for your help,
    venkat

  • Bom explosion how to restrict the item level posnr

    Hi friends
    TABLES : MAST.
    DATA: BEGIN OF ISTPO OCCURS 1000.
            INCLUDE STRUCTURE STPOX.
          DATA: END OF ISTPO.
    DATA: W_TOPMAT LIKE CSTMAT.
    SELECT-OPTIONS : P_MATNR FOR MAST-MATNR.
    PARAMETERS     : P_WERKS TYPE MAST-WERKS.
    DATA : BEGIN OF ITAB OCCURS 0,
               MATNR LIKE MAST-MATNR,
               WERKS LIKE MAST-WERKS,
               END OF ITAB.
    DATA: IT_STB LIKE ISTPO OCCURS 0 WITH HEADER LINE.
    *DATA : ITAB_STB LIKE ISTPO1 OCCURS 0 WITH HEADER LINE.
    START-OF-SELECTION.
    CLEAR ISTPO. REFRESH ISTPO.
    SELECT MATNR WERKS FROM MAST INTO CORRESPONDING FIELDS OF TABLE ITAB
    WHERE MATNR  IN
    P_MATNR AND WERKS = P_WERKS.
    LOOP AT ITAB.
      CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
        EXPORTING
          CAPID                 = 'PP01'
          MEHRS                 = 'X'
          MMAPS                 = 'X'
         BREMS                  = 'X'
          DATUV                 = SY-DATUM
          MTNRV                 = ITAB-MATNR
          WERKS                 = P_WERKS
          EMENG                 = '1'
          FBSTP                 = ' '
          FTREL                 = ' '
        IMPORTING
          TOPMAT                = W_TOPMAT
        TABLES
          STB                   = ISTPO
        EXCEPTIONS
          ALT_NOT_FOUND         = 1
          CALL_INVALID          = 2
          MATERIAL_NOT_FOUND    = 3
          MISSING_AUTHORIZATION = 4
          NO_BOM_FOUND          = 5
          NO_PLANT_DATA         = 6
          NO_SUITABLE_BOM_FOUND = 7
          OTHERS                = 8.
      IF SY-SUBRC = 0.
    WRITE:/ 'MaterialNumber' ,21 'Description'.
    SKIP 1.
    WRITE: / W_TOPMAT-MATNR UNDER TEXT-H00 COLOR COL_HEADING,
             W_TOPMAT-MAKTX UNDER TEXT-H01 COLOR COL_HEADING.
    LOOP AT ISTPO .
      WRITE :/ ISTPO-POSNR,
               ISTPO-IDNRK,
               ISTPO-OJTXP,
               ISTPO-MENGE,
               ISTPO-MEINS.
    ENDLOOP.
    ENDIF.
    *ENDLOOP.
    SKIP 5.
    ENDLOOP.
       here i gave the material no , it gave the bom of that materials.
      i restricted posnr itemnumber.
    postnr   component number complonentdesct u
    010        sfg
       010
       020
    020       sfg
    030       sfg
       010
       020
        i want  to get only sfg component how to use this logic in above coding.
    very urgent. give me a solutions
    Regards
    ds

    HI,
               my requirement is to explode the summaried bom ,using tcode cs13,
    we ll get multilevel  cs12 , in my report i got cs1 explosion,
    but i need to get like cs13 ouput using select-option,
    but i got the output i would like to restrict levels
      ABC IS MATERIAL
       D
         E
         F - E and f required to make a d,
      G
        H
           I  H  and i requried to make a g,
    i want to get only H , I, E,F =====> A
    D,G IS SFG.
    Regards
    ds

  • Can we restrict the printing of PO Item text based on PO types?

    Dear Experts,
    We have a requirement related to printing of PO Item Text.
    We need to print a perticular Item text  only for a certaing PO type (ex:  NB only).
    How can we restrict the printing of PO Item text based on PO types?
    Please advise.
    Regards,
    Shashidhar

    Hi,
    In one of my earlier Projects we had a similar requirement and the Best solution we could give to our client was to Create New Output Type and asked our ABAPer to Delete/Deactivate the fields / texts which were not required  for PO printing and the User was asked to select the New Output type for Printing.
    Take help of a ABAPer to change the fields required for Printing  this new Output Type.
    Discuss with your client and see if it works.
    Best regards
    Amit Bakshi

  • How to restrict the user from making any changes in Sales order- item level

    Hi to all
    How to restrict the users from making any changes in sales order at item level if the same sales order is released by senior user through status profile.
    Regards
    Anish Parikh
    Edited by: anish parikh on Jan 24, 2008 5:16 AM

    Hi Anish,
    This can be achieved through the roles and authorization.
    This can be done through the basis team. they can create user profiles and roles.
    For the roles they assign some transaction codes so that they can view the only assigned tr. codes.
    Like that ur requirement can be done.
    Also u can prevent the user to change any fields in the sales order screen (VA02). for that please modify the authorisations.
    Hope i answers.
    Reward points if useful.
    Edited by: kaleeswaran bhoopathy on Jan 24, 2008 9:57 AM

  • How to restrict the number of items in Sales Contract - QCTR

    Hi,
    Is there any standard way or BADI exit to restrict the number of items  in the Sales Contract?(QCTR). I want to restrict number of items in the Sales Contract. Ex - Contract A - Max of 10 ITems(Materials); Contract B - Max of 20 Items(Materials).
    Thanks in advance.,
    Robin

    you can use ORDER_SAVE badi and check before method you can use CRM_ORDER_READ FM and count line items , if count is more than allowed number you can raise RAISE DONOTSAVE exception and issue a message to user. hope it helps you.

  • F-58: Restrict the selection of no. of open items

    Is it possible to restrict the number of selected open items (to a max of 10 items at a time) in F-58 transaction?

    Can't be restricted.

  • How to restrict the user to enter the item in purchase order?

    I want to restrict user to enter the item in purchase order.
    How can i do this?
    Please help
    Abhishek

    Hi,
       You may create a transaction variant for ME21N in SHD0 transaction. Make the item field as output only as shown below:
    Result:
       You may check the doc: Learning SHD0 with Example
    Regards,
    AKPT

  • Re : Restrict the number items in Billing

    hI
             How to restrict the number items in Billing ? For Example No. of item in billing is maximum 5. Suppose our delivery document contains 7 items then I need first 5 in one invoice and remaining in another invoice. How to do this?.
    Thanks
    mani

    Hi,
    Go to SPRO>>>IMG>>>Sales & Distribution>>>Billing>>>Billing Documents>>>Country-specific features>>>Maintain Maximum No. Of Billing Items.
    This is where you can define a maximum number of items allowed for all billing documents within a given sales organization.
    However, maintaining data here is not enough alone to bring about a billing split by number of billing items.
    You must also go to copying control for order/delivery to billing document at item level under "Data VBRK/VBRP" and maintain routine 006 "individual invoice limited" or a similar routine that accesses the data maintained here.
    Thanks

  • REGARDING RESTRICT THE DELETION OF LINE ITEM FROM CONFIRMATION SCREEN

    Dear All,
    Plz let me know how can we restrict to delete the line item(components) from the goods movement screen of confirmation of order(Cor6n) screen.
    Thanks & Regards,
    Arvind S

    Hi Aravind
    i just want to restrict the deletion only for particular user id's.
    I know we can do through authorization by creating authorization object.. am i right??
    I am not sure bout any authorization object can help you. However you can have the transaction variant for COR6N with quantity field as output also note this can be user specific.
    So you have no need to have custom transaction or development.
    Regards,
    R.Brahmankar

  • How to set the item property to restrict the user to not to copy from above

    Hi Guru's,
    I have a requirement like, There were two items on the form name email Id, Confirm email Id.
    I have to ristrict the user to not to copy from email Id item.. make him/her to enter the value into confirm email id item field manually.
    How to set the item property to restrict the user to not to copy from above item and paste it in this item.
    Please help.
    Thanks!!

    Just an opinion here, but that is about the dumbest requirement I have ever seen.
    I am always annoyed by web sites that ask me to enter my email twice. I ALWAYS copy the email address from the original entry and paste it into the second one.
    People enter their email addresses so often, it takes a real klutz to not get it right. And what makes you think that if they enter it twice, that they won't enter it wrong both times anyway???

  • Restricting the systems items on the 'find system items' window

    I am trying to do some customizatiosn on form POXPOEPO. block PO_LINES and item_name is po_lines.item_number which is beside field 'Type' (line_type). when the three dots are pressed then a window appears to input 'enter reduction criteria for long list' when the percentage is pressed 'System Items' find window appears listing all the items defined. what i want this window to display only those items for which item_type = 'Consums' on MTL_system_items and 'user item type' on 'master item' definition window tab 'main'.
    What is the way to achieve this.
    i did like this but it is not working:
    procedure event(event_name varchar2) is
    form_name varchar2(30) := name_in('system.current_form');
    block_name varchar2(30) := name_in('system.cursor_block');
    item_name varchar2(60) := name_in('system.cursor_item');
    begin
    if (event_name = 'WHEN-NEW-ITEM-INSTANCE') then
         if (form_name='POXPOEPO') then
              if (block_name='PO_LINES') then
                   if (item_name='PO_LINES.ITEM_NUMBER') then
                        FND_MESSAGE.SET_STRING('Iam here now');
                        fnd_message.show;
                   fnd_key_flex.update_definition(
                   BLOCK=>'PO_LINES',
                   FIELD=>'ITEM', -- tried various things here like 'ITEM_NUMBER_MIR, PO_LINES.ITEM_NUMBER
                   ENABLED=>'Y',
                   WHERE_CLAUSE=>'item_typet = ''Consums'''
                   end if;
                   end if;
         end if;
    else
    null;
    end if;
    end event;
    any guidance in this regard is appreciated.
    PS: nav: purchasing super user->purchase orders->purchase orders

    Hi,
    Please can you tell me How did you resolved this?
    I want to modify the Item List as follows: show me all items on mtl_system_items_b where attribute10='Y'.
    I did It:
    IF( form_name = 'POXPOEPO' AND block_name = 'PO_LINES' and item_name='PO_LINES.ITEM_NUMBER') then
    fnd_key_flex.update_definition( BLOCK=>'PO_LINES'
    ,FIELD=>'ITEM_NUMBER'
    ,ENABLED=>'Y'
    ,WHERE_CLAUSE=>'ATTRIBUTE10=''Y'' '
    END IF;
    But the list not show me all items where attribute10='Y'. I don't know why.
    I see that list only show me the items where organization of master organization.
    I would like to know: How to the standart forms define flexfield and where?. If i know it i guess i can show all items.
    Thnks

  • In Free goods how to restrict the quantity to not to alter.

    Dear All,
    I have maintain condition record for free goods in VBN1.EX.102.While creating sales order for 20 quantities system populates 204.But if am changing this as 152 or 205,system is allowing to do.Same is the case at delivery.How can we restrict the system to not to allow the changes in sales order in case of free goods .Please guide me.
    Regards,
    Deepti

    Hi
    KIndly check the  below user exit and make the free goods item as in display mode
    MV45AFZZ 'USEREXIT_FIELD_MODIFICATION'
    to change the SCREEN-INPUT = 0 to make it display  for free goods item category Tann
    By doing above if any one changes main item  system will accordingly change the free goods item also
    Regards
    Damu.

Maybe you are looking for

  • HP OFFICEJET 6310 DRIVERS FOR WIN8

    Hello, I need a compatible driver for hp officejet 6310 (all in one), to be used on win8.

  • Best way to work with AVI

    Hi there, I am expecting a bunch of Super 8 mm transfert that will be in the AVI format. What is the best way to import the AVI files into FCP in order to get the best quality and edit them ? Thanks in advance Ivan

  • Need to ommit the short form letter from the given string

    HI,      I need to ommit the Short form letter from column data. EX : CREATE table #testdata (id int identity(1,1),cust_address varchar(max)) insert into #testdata (cust_address) select 'first street 5N, North' union select 'second street W, west' un

  • How do i change Maps on Mac desktop from km to miles

    is there a way to change the setting in the Maps application for my imac. directions are displayed in km. on my IOS evices it displays correctly but i cant find option to change it in maps. r/

  • Multiple selection in value help  with Web service

    Hi All, I want to get data from web service and store in data base. I created input form with set of inputfields. For some input filds in that input form, I want to get value from web service.So I have used value help wizard. I followed below link to