Standard input format in a field

I'm creating a form that requires input of a sales order number, for which the format is always the same: XXXX-20. I'd like to make it so the -20 automatically populates, so they can only enter the first four numbers. Is this possible?

Sure. Under the Format tab select Special, Arbitrary Mask, and enter this:
9999-20
On Thu, Jun 5, 2014 at 4:49 PM, kylevansyoc <[email protected]>

Similar Messages

  • Dialog programming: making standard input field sensitive to double-click

    Hello,
    I'd like make standard input field sensitive to double-click. I know that I should register double-click event to input field class and write handler. But I can't find out from what class I should derive. What is class of standard input field? Can I derive from that class? Or is there another way to accomplish my requirements?
    Best regards,
    Josef Motl

    I agree with Kinshuk,  Not sure why you need this functionality.   Please implement this sample program do F4 help on the BURKS field and select a company code.  Notice that is populates all the rest of the fields.  Is this the functionality that you require?
    report zrich_0002 .
    parameters: p_bukrs type t001-bukrs,
                p_butxt type t001-butxt,
                p_ort01 type t001-ort01,
                p_land1 type t001-land1.
    data: dynfields type table of dynpread with header line.
    data: return type table of ddshretval with header line.
    at selection-screen on value-request for p_bukrs.
      call function 'F4IF_FIELD_VALUE_REQUEST'
           exporting
                tabname           = 'T001'
                fieldname         = 'BUKRS'
                dynpprog          = sy-cprog
                dynpnr            = sy-dynnr
                dynprofield       = 'P_BUKRS'
           tables
                return_tab        = return
           exceptions
                field_not_found   = 1
                no_help_for_field = 2
                inconsistent_help = 3
                no_values_found   = 4
                others            = 5.
      read table return with key fieldname = 'P_BUKRS'.
    * Add it back to the dynpro.
      dynfields-fieldname = return-retfield.
      dynfields-fieldvalue =  return-fieldval.
      append dynfields.
    * Get the company code from db and add to dynpro
      data: xt001 type t001.
      clear xt001.
      select single * into xt001
             from t001
            where bukrs = return-fieldval.
      dynfields-fieldname = 'P_BUTXT'.
      dynfields-fieldvalue = xt001-butxt.
      append dynfields.
      dynfields-fieldname = 'P_ORT01'.
      dynfields-fieldvalue = xt001-ort01.
      append dynfields.
      dynfields-fieldname = 'P_LAND1'.
      dynfields-fieldvalue = xt001-land1.
      append dynfields.
    * Update the dynpro values.
      call function 'DYNP_VALUES_UPDATE'
           exporting
                dyname     = sy-cprog
                dynumb     = sy-dynnr
           tables
                dynpfields = dynfields
           exceptions
                others     = 8.
    start-of-selection.
    Regards,
    Rich Heilman

  • -wap-input-format not working properly in Nokia 58...

    I didn't know where to report this bug, so I'll try here.
    When you create web pages for mobile use you can set various input formats in form elements.
    This helps the user by setting up and validating input even before it reaches the server.
    One of these is the "-wap-input-format".
    I recently ran into a problem with at page that I couln't access from my Nokia 5800 and I decided to figure out why.
    The page has an input field like this:
    <input name="somenumber" type="text" style='-wap-input-format: "10N"' />
    (Which basically tells the phone that in this field you can only enter 10 digits.)
    However, even when I enter exactly 10 digits, the field turns red, and the phone refuses to continue until I "correct my error". The only input that the phone will allow is an empty field.
    However... if the field is made like this:
    <input name="somenumber" type="text" style='-wap-input-format: "NNNNNNNNNN"'/>
    everything works just as it should.
    But... the first type is also correct according to standards and should work too.
    My phone has the V21.0.025 firmware. (and no new updates available yet for this product code.)
    Does anyone know where this bug can be reported, or if its fixed in newer firmware?

    The solution is NOT changing the webpage. The page already follows the correct standard! 
    It its the browser in the XM5800 that has a problem. My example clearly shows this. The phone acts inconsistent depending on the syntax in the wap inputfield. Both of the above syntaxes are supposed to give the same result. But one works, and the other, which is probably the one most often used, does not work at all.
    Right now I use the Opera browser instead to access that page.(Because Opera does not have this bug.)
    My post was simply an attempt to notify Nokia of this problem...  Because I can't find any place to report bugs.
    And at the same time ask users who have the newer version of the firmware, if they know if this problem still exists.
    Message Edited by Timod on 08-Nov-2009 09:04 PM

  • Format of Date field is loading wrongly in the Infocube 0pp_c01.

    Hi,
    Format of Date field is loading wrongly in the Infocube 0pp_c01. But it is loading properly into PSA.
    I am loading data into PP infocubes from the following DataSources.(they all are 3.x datasources)
    1. 2LIS_04_P_MATNR
    2. 2LIS_04_P_ARBPL
    3. 2LIS_04_P_COMP
    The data is coming properly upto PSA.  For example Actual Start date is loaded in cube like 733.884.
    And, it is the same issue with all the cubes. So I checked the update rules. But, in it the mapping is done properly.
    Thanks $ Regards
    Shyne Sasimohanan
    +91-9632674245

    Hi,
    HEre also value is loaded correctly. The reason u are seeing it in this format is because it is mapped into a key figure in the info cube.
    It will store the value as number of days from a standard date like 1/1/1000 or 1/1/1900 - not sure which one of these, u should be able to search and find the correct date in the forums..but this is the logic behind it
    Hope it helps.
    Regards,
    Rathy

  • How to format a numeric field in ES2 ?

    Hi...
    I'm trying to format a numeric field in LiveCycle designer using six digit and allowing zero's "000000"…
    I went to patterns for setting the format, unfortunately I couldn't know how figure it out?
    I’ve tried this pattern: null{}|zero{000000}|num.integer{}
    It didn’t work!
    what actually I’m looking for is six digit at all time for instance if enter value of 1 in the field expect to appear 000001 ,and if i enter value 567 the appearance will be 000567 in the field and so on...etc.
    Another issue is how to validate a range of numeric value like 000001-999999 so that the input will be only restricted by those values…
    Hope this is clear! And sorry for my bad English
    Best Regards...

    Hi,
    could you please share your solution?
    I have a similar problem. I need to allow zeros before my integers to be inputed to the form.
    thanks.
    Please see my posting here:
    http://forums.adobe.com/thread/870306?tstart=0

  • XD01 Batch Input Program RFBIDE00  Some fields not seeing in Structure Mapp

    Hi,
       I'm using Batch input for customer master Uploading ... Some fields like Mobile Number , Email which is there when i go through XD01 TCode is  not showing in any of the structures like BKNA1,BKNB1.. Can anyone plz give a solution for this ...
    Is this possible through Standard Batch to map these fields or i need to go for any other method ..,.....

    They should appear in structure BIADDR2
    Regards,
    Raymond

  • Formatting A Percentage Field

    I am trying to format a text field to produce a percentage. Currently when I input 50 into the field, it produces 50.00% (rather than 50%).  I am using a javascript that another member recommended, but I would like to know how I can remove the 2 decimal places. 
    I am currently using the following document-level JavaScript:
    function percentKeystroke() {
        AFNumber_Keystroke(2, 0, 0, 0, "", false);
    function percentFormat() {
        event.value = util.printf("%.2f%", event.value);
    Along with the following for the custom format and keystroke scripts for the field:
    // Custom Format script
    percentFormat();
    // Custom Keystroke script
    percentKeystroke();
    Thanks in advance for your help!

    I am trying to use the above script to format a field so the end result will be the percent value and the percent symbol. The user needs to be able to enter values of 0%-100%.
    If I use the percent option it requires the user enter the value as a decimal other wise 50% enters as 5000% and trying to explain this to my client is useless.
    For now the field has no format. so it takes numbers and letters.
    I tried the script above but it leaves the field with no formatting, is allowing  letters,  and the user still needs to enter the %.
    Any sugguestions.
    Thanks

  • Passing BAPI standard Inputs using User inputs

    Hi,
    I have a requirement where i need to update SAP using an Adobe Interactive form.
    I got a BAPI which can do this job.It worked fine with BAPI standard inputs...
    But my requirement is to show something different in form and its corresponding value should be passed to BAPI.
    Eg: I should provide a dropdown box which has A,B,C...etc if A is selected I should pass 100 as input value to BAPI and if B is selected in dropdown I should pass 200.
    Along with this I should also pass few more standard inputs..
    Any help is greatly apprecited.
    FYI.. I developed this using JAVA Webdynpro .
    Rgds
    Vara

    Hi,
    For this do one thing .
    Create a local attribute.
    Craete a simple type.
    Move to Enumeration and fill the Value & Description fields.
    What ever you want to display in the dropdown give it in the "Description".
    The value you want to pass to R/3 give it in "Value".
    Now give the attribute type as the "Simple type" that is created by you
    Now when ur passing data to R/3 do one thing.
    Pass the data available in the local attribute to teh RFC import parameter.
    Sorry i dont have any idea
    On passing more data then this.
    "Along with this I should also pass few more standard inputs"
    Thanks & Regards,
    Lokesh

  • Oracle Retail standard file format for batches - specification needed

    Is there any accurate specification of Oracle Retail standard file format for batches, such as EdiUpcat.pc (possibly with examples)?
    I am trying to produce a file with supplier cost changes for Cost Change Batch (ediupcat.pc).
    In "Operations Guide - Batch Overviews and Designs - Volume 1" I found some brief description, though it is not clear to me
    1) what should I do with empty values (obviously, pad with appropriate number of spaces?)
    2) What if some string value has less characters than specified? Should I left-pad or right-pad?
    3) What does Number(12,4) means? How many characters exactly? 17? Why then values in some fields are multiplied by 10000 (so that to obtain integer value) while in others they go in Number(12,4) notation?

    Hi Roman,
    I am glad to be of help.
    Try to see it like this:
    A number 20 is of char-length 20 in a flatfile, and the value is what it is 1:1.
    A number 12,4 is of char-length 12 in a flatfile, but needs to be divided by 10^4 (10000) to get its real value.
    Indeed there is a funny asymmetry in the documentation how the decimals are handled - but we needed to read carefully already anyhow... :)
    I always like to construct a file by hand in an editor (vi, whatever) and then run it through the program, and check the errors in the error file.
    Good luck and best regards,
    Erik
    Edited by: ErikYkema on Oct 13, 2011 3:01 PM

  • Asterisk format for password field.

    Hello every one.
    I have to create 'PASSWORD' field in screen painter but this field should be in encoded format
    shows with  '******' (asterisk).
    How can I create asterisk format for PASSWORD field in module pool?
    How can I show this type of field in runtime environment?
    The screen element for password is input/output field.
    Ex:- I have created username and password field in module pool screen programming (screen same as login screen of SAP) but I have to shown password field in encoded format menas with asterisk.
    Waiting for your opinion....
    Thanks
    Regards
    Anukul

    Hi,
    Make the pass word field as invisible in the screen painter.
    Thanks,
    Sri.

  • Customize standard gb_bacs format tree

    Hi SAP Experts,
    I am new to DMEE file genaration.I have a requirement to creat file as per the cilents file format i.e BACS format.
    I have some issues.Please try to solve the below issues.
    1) I have copied standard GB_BACS format tree to ZGB_BACS format tree.so i have all functionality of standard tree
    in my Zformat tree.How i can add extra fields as per the requirements into my ZFormat tree.I searched from internet
    and found that standard structures are there i.e FPAYH,FPAYHX,FPAYP.So shal i copy the standard structures
    into Zstructures and add the extra fields there or any other process there to add the fields in tree structure.
    2)How can i see what fields are coming in file.Beacuse if i know what fields are coming,then i can add extra fields as per
    requirement.So i should debug F110 or DMEE transaction codes or any other process is there to check the fields.
    3) I am unable to understand the file formats genarated from F110.Please give me idea how these file formats are
    maintained.
    4)Please give sample codes for file genaration through DMEE.
    Please reply as early as possible as it is a urgent requirment.
    Thanks,
    maharanask

    Hello
    maintain DME user IDs in Customizing for Financial Accounting, by choosing Bank Accounting ® Business Transactions ® Bill of Exchange Transactions ® Bill of Exchange Receivable ® Present Bill of Exchange Receivable at Bank ® Define DME User IDs.
    In this activity, you specify the house bank, account ID, and DME identification, but leave the payment method blank.
    You can only maintain one account number for each DME user ID. If you have several accounts at one bank, you must specify a different DME user ID for each account.
    Reg
    *assign points if useful

  • Checking/Validating user input in a text field

    How can I validate a user's input in a text field and require them to input it in the following format:
    AAA 9999-999
    (where A can be letters and 9 can be numbers)
    Is there any documentation on how to validate user inputs in this manner?
    Thanks!
    BoilerUP

    Hi,
    Create a validation PL/SQL process, select Function returning Error and use something similar to the example below.
    I tested it but may be I missed something. I used field name P1_TEST.
    DECLARE
    v_number NUMBER;
    v_error VARCHAR2(1000);
    BEGIN
    --check if you have numbers in positions 5-8 and 10-12
    v_number:=SUBSTR(:P1_TEST,5,4);
    v_number:=SUBSTR(:P1_TEST,10);
    --check string length
    IF LENGTH(:P1_TEST)!=12 THEN
    RETURN 'String length must be 12 characters';
    END IF;
    --check if position 4 is empty
    IF INSTR(SUBSTR(:P1_TEST,4,1),' ')=0 THEN
    RETURN 'There should be a space between letters and numbers';
    END IF;
    --check if position 9 has "-"
    IF INSTR(SUBSTR(:P1_TEST,9,1),'-')=0 THEN
    RETURN 'There should be a dash between numbers';
    END IF;
    --check if positions 1-3 has letters
    FOR i IN 1 .. 3 LOOP
    SELECT ascii(substr(:P1_TEST, i, 1)) INTO v_number
    FROM Dual;
    IF v_number>=48 AND v_number<=59 THEN
    RETURN 'Only letters are allowed in positions 1,2,3';
    END IF;
    END LOOP;
    RETURN NULL;
    EXCEPTION
    WHEN OTHERS THEN
    v_error:=SQLERRM;
    IF INSTR(v_error, 'ORA-06502')>0 THEN
    RETURN '...must be integers only';
    ELSE
    RETURN v_error;
    END IF;
    END;
    I hope it will give you an idea on this type of validation.
    Val

  • How can i create a photobook with a layout that respect standard photo format?

    I used iphoto to create a photobook but there is serious problem, i can use only fixed layout and this layouts are problems.
    I can't put my shoot in standard photographic format, so i need to zoom and move my photo to fit well in your fixed layout.
    I can't change the composition of all my shoots to fit in wrong layout.
    There is a way to disable layout and put manually the photo in original format on pages?
    Thank you
    Mario Aprea

    iPhoto books can only be created using the fixed templetes supplied - you can not modify them
    I have no idea what a "standard Photographic Format is" - neither I nor Google knows that that is
    So I do not understand what you want to do
    One possible suggestion is that in a book you can right click on a photo (in most temes) and use the fit to frame option to show an entire photo that is in the wrong dimensions
    LN

  • How to format large number field in XML so that it appears as is in Excel

    Hi
    I need help in formating the number field so that the number displays completely in Excel.
    Ex: 12345678889453 and this appers in Excel as 1.23457E+13
    Please let me know if you have any idea on this.
    Thanks

    Hi friends,
    Thanks to all of you that you all have replied my question and given your answers.
    Thanks to all of you specially Alpana Phapale, Wallie Chang, Poonam Thorat and Raghavendra Gadhamsetty, the answers given by you is the perfect one may be in different ways and only one can be used by me. But your answers were exactly correct.
    Thanks to Asha Lund, your answers is also correct but the result as per my report should be in figures and not in words.
    Whatever it may be but for repling thanks to you too.
    Please be always with me, I am very new to Crystal Report and just learnt by my own as my Boss ordered me to do this and I have to make about 50 reports within 15 days. I think the day will start from today.
    Well friends thanks a lot again for all your effort.

  • Trouble with calculating fields. Can't select (check) fields. Also can't figure out what's wrong with a division field (percent) that I created. Keep getting the pop up that format of the field doesn't allow blah blah blah... Help!

    Trouble with calculating fields. Can't select (check) fields. Also can't figure out what's wrong with a division field (percent) that I created. Keep getting the pop up that format of the field doesn't allow blah blah blah... Help!

    1. Use the mouse to select the field and then press the space bar.
    2. A null string is the same as zero. What is the result for division by zero?

Maybe you are looking for

  • System freezes after extended time in standby after 10.6.2 update.

    After updating to 10.6.2 my laptop freezes if left in standby for an extended time...say 45 minutes. I then have to force the system to crash / shut down in order to restart. I have to do this several times per day. Any one else with this problem...a

  • Exporting Canon XHA1 from final cut pro?

    I have a problem with my export. my footage plays fine in my browser when playing on final cut pro (before export). i have been exporting for YOU TUBE as a quick time conversion (mp2 & mp4) but when i play it back the footage cant keep up with the so

  • Calling pl/sql in ADF

    Hi , I have a requirement to create a table dynamically. There is a procedure which returns me the columns header and data. So based on the number of columns need to create a table programatically. The procedure has in,inout and out parameters. Its n

  • Regarding MailBox Creation

    What are all the attributes that must be added to the LDAP for creating mail boxes (INBOX/TRASH/SENT/DRAFT) . Whenever i try to do add the following entries: nswmExtendedUserPrefs :meDraftFolder=Drafts nswmExtendedUserPrefs :meSentFolder=Sent nswmExt

  • X4100 ILOM 1.3 upgrade downgrade problem IPMI not initialized

    Hello Gurus. X4100 is giving me lots of problems, I upgrade to ILOM 1.3 following Sun docs but Redirection started to give me problem during Windows 2003 installation. I checked some forums and decided to downgrade to ILOM 1.2.1 but now when I log in