Items (imput field) only numeric?

Hi all,
I m trying to create items (imput field) to insert new record into table
TABLE_A(id numeric, value numeric) value is desired column, id is sequence and not important.
So I have format mask $5,234.10(FML999G999..) 5,234.10(999G999G999..) 5,234.1000 5,234 5,234.10- -5.234,10 <5.234.10>
but i need only this digit 0123456789. or this format 5234.00
is there any simple solution for this items numeric only format ?
regards
Gordan

APEX Version?
Database Version?
Browsers in use?
Answering these questions will go a long way in answering you question..
(Why I say this is, if you are using a PRE 4.x version of APEX, you would use some java script, a 4.x version of APEX would allow you to use a plugin  like this: - Item Plugin - Text Field with Masked Input
Thank you,
Tony Miller
LuvMuffin Software

Similar Messages

  • How to right align a read only numeric field in a panel form layout

    Hi, does anyone know how to right align a read only numeric field in a panel form layout? I am using: Style Class = AFFieldNumberMarker, but it only seems to work if the field is disabled. Disabling the field gives it a difference appearance that does not look right on our forms. These are calculated fields, which cannot be modified, so read only is necessary.
    I have looked online for some answers, and it seems that others are having similar issues.
    I have tried different combinations for the properties, but so far I cannot get it to work.
    Thanks
    Judy
    I am using JDEV 11.1.1.5

    Sorry for the delay in my response. Here is the code
    <af:inputText value="#{bindings.TotalAirlineCostEst.inputValue}"
    label="#{bindings.TotalAirlineCostEst.hints.label}"
    required="#{bindings.TotalAirlineCostEst.hints.mandatory}"
    columns="#{bindings.TotalAirlineCostEst.hints.displayWidth}"
    maximumLength="#{bindings.TotalAirlineCostEst.hints.precision}"
    shortDesc="#{bindings.TotalAirlineCostEst.hints.tooltip}"
    id="it20" readOnly="false"
    disabled="true"
    styleClass="AFFieldNumberMarker">
    <f:validator binding="#{bindings.TotalAirlineCostEst.validator}"/>
    <af:convertNumber groupingUsed="true"
    pattern="#{bindings.TotalAirlineCostEst.format}"
    type="number"
    maxFractionDigits="0"/>
    </af:inputText>
    thank you,
    Judy

  • WebPart is raising the following error "Invalid data has been used to update the list item.The field you are trying to update may be read only"

    I have created a farm solution and then i deploy it to SharePoint server, the code looks as follow, and i use it to update a page info values (as the current page values represents old info):-
    [ToolboxItemAttribute(false)]
    public partial class VisualWebPart1 : WebPart
    // Uncomment the following SecurityPermission attribute only when doing Performance Profiling using
    // the Instrumentation method, and then remove the SecurityPermission attribute when the code is ready
    // for production. Because the SecurityPermission attribute bypasses the security check for callers of
    // your constructor, it's not recommended for production purposes.
    // [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Assert, UnmanagedCode = true)]
    public VisualWebPart1()
    protected override void OnInit(EventArgs e)
    base.OnInit(e);
    InitializeControl();
    using (SPSite site = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb web = site.OpenWeb())
    SPList list = web.Lists["Pages"];
    web.AllowUnsafeUpdates = true;
    foreach (SPListItem items in list.Items)
    items["Author"] = "SharePoint";
    items["Created"] = "01/08/2014 01:44 PM";
    items.Update();
    list.Update();
    web.AllowUnsafeUpdates = false;
    protected void Page_Load(object sender, EventArgs e)
    but when i try adding this web part to a page i got the following error:-
    Invalid data has been used to update the list item.The field you are trying to update may be read only
    so can anyone advice?

    i only changed lines bitween 
    web.AllowUnsafeUpdates = true;
    and
    web.AllowUnsafeUpdates = false;
    and other parts of code remains without change
    so it will updates all pages in current web
    yaşamak bir eylemdir

  • Alv output to Excel with numeric fields as numeric fields only and not char

    Hi,
    When we download the alv output to excel format in the locat file using the toolbar button provided in the ALV, the numeric fields get converted to character format. Is there any other way or settings in ALV so that the numeric fields will be get saved as numeric fields only and not character?
    Rgds,
    MAdhuri

    any idea for above problem is welcome

  • How to restrict the user to enter only numeric values in a input field

    How to restrict the user to enter only numeric values in a input field.
    For example,
    i have an input field in that i would like to enter
    only numeric values. no special characters,alphabets .
    reply ASAP

    Hi Venuthurupalli,
    As valery has said once you select the value to be of type integer,once you perform an action it will be validated and error message that non numeric characters are there will be shown. If you want to set additional constraints like max value, min value etc you can use simple types for it.
    On the project structure on left hand side under local dictionary ->datatypes->simple types create a simple type of type integer
    The attribute which you are binding to value property ;make its type as simple type which you made
    Hope this helps you
    Regards
    Rohit

  • VA01 Item category display only for specific order type

    Hi,
    I have a requirement to deactivate(display only) item category field in VA01 table item for certain order type . I tried the user exit  MV45AFZZ(USEREXIT_FIELD_MODIFICATION). This is working only if the table item has a value. i.e I could able to enter an item category first and then enter the material and quantity.
    So please suggest any alternative how to make the item category field(VBAP-PSTYV) column display only for centrain order type.
    Regards
    Aromal R

    Hi,
    Create a Custom Authorization Object so that you can control it for certain users.  2. Write implicit enhancement spot in the include TCS MV45AF0T_TCTRL_U_ERF_AUFTRAG_I,
    FORM TCTRL_U_ERF_AUFTRAG_INIT
    AUTHORITY-CHECK OBJECT 'ZITMCAT'
              ID 'ACTVT' FIELD '02'.
    IF SY-SUBRC NE 0.
    *    DATA: WA_COLS LIKE LINE OF TCTRL_U_ERF_AUFTRAG-COLS.
    LOOP AT   TCTRL_U_ERF_AUFTRAG-COLS INTO WA_COLS.
       IF WA_COLS-SCREEN-NAME = 'VBAP-PSTYV'.
       WA_COLS-SCREEN-INPUT = 0.
       WA_COLS-SCREEN-OUTPUT = 1.
      MODIFY TCTRL_U_ERF_AUFTRAG-COLS FROM WA_COLS.
       ENDIF.
    ENDLOOP.
    ENDIF.
    Regards
    Aromal R

  • Item status Field in FIAR

    Dear All
    We are using Standard business content to extract FIAR Data. We have not written any rules for Item status field for AR.
    We are getting wrong item status field. For some customerseven if document is cleared and moved to BSAD table, The document shows Open in my FIAR cube. What could be problem in this case
    Regards,
    Saurabh.

    Hi
    It shows only Open Item as the partial payments can not be maintained through the Info Cubes. Because Info Cubes always Addition concept.(Hope you are using Reverse/inversion field here for fetching the data to BI side)
    You can Use DSO for this purpose as it has the Over write functionality but still your problem is not solved because it shows the Open here also, But can trace the changes through Change log table.
    Try to use 2 Info Objects to map with both the Open and Clear because you have partial payment concept is one way OR
    Take functional Team help to create one more Item as Partial Concept would be the Best option in your case to report correctly either by Cube/DSO.
    Hope it helps and clear

  • Is it possible to change the VBAP-ADRNR item address field value?

    Hi,
    Is it possible to update the VBAP-ADRNR item record field value?
    I am trying to update this field value from BAPI_SALESORDER_CHANGE but it is not changing the value.
    I am only able to change the corresponding address for that address number.
    But I need to change the address number( I want to replace with header address number) itself.
    If any ideas please let me know.
    Thanks,
    Mohan.

    ajitabap wrote:
    Hi
    >
    > Schedule Lines related Data USING BAPISDORDER_GETDETAILEDLIST Then Pass them to BAPI_SALESORDER_CHANGE Then It work and update the field.
    >
    > Regards
    > AJIT
    eh????
    What's the relevance of schedule lines and ADRNR?
    @OP: Don't. There is a reason why SAP gives out a new ADRNR. And manually changing the value of a primary/foreign key is never a good thing to do.

  • Printing form fields only on Reader

    Before I get to the meat, a little background.  We are in the process of converting all of our forms into PDFs so to keep everything the same across the company.  My company is a contract packager, and we ship out many items.  We have purchased forms for Bills of Lading and Packing slips that have duplicate copies for the back.
    We would like to be able to scan the form into the computer, and create a PDF with text fields to type in the information, but then only print the form field data.  Basically, I want the form to show up on the computer screen but only print the data that's entered.  With Acrobat, I can select in the printer box to print form fields only, but when I put the form on the system and tried it on a computer that only has Reader it doesn't give me the option of printing the fields only.  (I'm the only computer that has and uses Acrobat).
    I'm not a programmer of any sorts, but is there a way to have Reader do what I want it to?
    Thanks in advance for any help!
    Bret

    Hello Eveyone
    My solution for this is simple
    In Adobe Pro, go to menu bar in:
    Documente-->
    Backgroup-->
    Add and Replace or Update
    in Apperance select
    Apperance Options
    remove the check for "SHOW WHEN PRINTING"
    This solved the problem to print forms with background in your company.
    GOOD LUCK

  • SAPscript - output of delivery item text field

    Hello,
    I would like to show an item text field of a delivery (VL02n) on one of the output script forms.
    I've used the function read_text in my print program for the output type:
    DATA: BEGIN OF TEXT_CARTONQUAN OCCURS 20.    
          INCLUDE STRUCTURE TLINE.
    DATA: END OF TEXT_CARTONQUAN.
    CALL FUNCTION 'READ_TEXT'
                 EXPORTING
                   ID        = 'Z005'
                   LANGUAGE  = SY-LANGU
                   NAME      = VBDPL-TDNAME
                   OBJECT    = 'VBBP'
                IMPORTING
                   HEADER    = THEAD
                TABLES
                   LINES     = TEXT_CARTONQUAN
                EXCEPTIONS
                   NOT_FOUND = 1.
            READ TABLE TEXT_CARTONQUAN INDEX 1.
            MOVE TEXT_CARTONQUAN-TDLINE TO VBDPL-USR01_VBLB.
    Now I put this code into my sapscript:
    IL    &VBDPL-USR01_VBLB&
    For some reasons, it does not come up on the form, but I know it should have a value.
    Am I missing something?
    Thanks,
    Anne
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Jan 7, 2009 11:25 AM

    Hello,
    thanks for the answers!
    @Ramiro Escamilla  
    I've tried that already, but for some reasons, the break point doesn't work, it is not stopping during the print out. I've tested if it is using that print program and uncommented the entry subroutine and I got an error message then, so it's the correct print program. Any suggestions why break point is not working?
    @Pawan Kesari  
    I did that and this is working. But the problem is, I need this value within an IF statement, because I only want to give this and some text out, if  INCLUDE &VBDPL-TDNAME& OBJECT 'VBBP' ID 'Z005' has a value. Unfortunately I cannot use the Include statement within an IF statement.
    Thanks
    Anne

  • Can't print "Form Fields Only" from newly-installed Acrobat Reader XI

    I have created numerous forms for our agency on which our employees used (in previous versions of Acrobat Reader) the "Form Fields Only" print function. We finally got the boss to give us the OK to upgrade to Acrobat XI Pro for me, and Acrobat Reader XI for the employees. However, they open the same forms we've been using and find that they no longer have the menu option to choose "Form Fields Only" for printing purposes. I would be very grateful to anyone who might be able to steer me in the right direction as to how I resolve this issue. Unfortunately, the job does not afford me a lot of time for research and "playing" with new software, and we need to have these forms work for us by Thursday. Help, please! And Merry Christmas to everyone!

    One possible workaround is to export the form data and then import it into a "blank" version of the same file, that has only the form fields. This would require using a script to export and import the data, and to create that additional version of the file for printing purposes.
    Or you can put the file's contents on a non-printable layer when creating it...

  • Prompts to use local items keychain, but no numerically named folder in library/keychains folder to delete?

    There are. Prompts to use local items keychain, but no numerically named folder in library/keychains folder to delete? What to do?

    This procedure is a diagnostic test. It makes no changes to your data.
    Please triple-click anywhere in the line below on this page to select it:
    ls -@Oaen L*/Keyc* | pbcopy
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    Wait for a new line ending in a dollar sign ($) to appear below what you entered.
    The output of the command will be automatically copied to the Clipboard. If the command produced no output, the Clipboard will be empty. Paste into a reply to this message.
    The Terminal window doesn't show the output. Please don't copy anything from there.
    If any personal information appears in the output, anonymize before posting, but don’t remove the context.

  • Item catagory field display in sales order lin item

    Hi experts,
    I would like to have your view points to gray out item catagory field at sales order item level.
    In our scenario, company has outsourced sales order creation to third party vendor. Also we have restricted sales order creation for these user's via role creation for certain document types.
    Even after these settings, now they have access to item catagory field to modify. We want to gray out this field so that they will not be able to update it to another item catagoroy.
    Thanks in adavance for your reply.
    Regards,
    Prabhaharan

    I have a suggestion, which can act as a work around through configuration. Maintain only one default Item category & do not maintain any alternative item category, which can be changed manually. this will serve the purpose of not changing the Item Category & even if user tries to change, it will not accept any other item category.
    Menupath: SPRO --> Sales and Distribution --> Sales --> Sales Documents --> Sales Document Item --> Assign Item Categories
    Regards,
    Rajesh Banka
    Reward points if helpful.

  • Add item detail field into items overview table on ME2xN transactions

    Hi all and happy new year !
    We want to add an item detail field (manufacturer part number = MEPO1321-MFRPN) into items overview table
    on ME21N, ME22N and ME23N transactions.
    Does someone know if it's possible with a badi or other kind of exit ?
    thanks for your help
    Eric

    Hello Eric,
    If you want to system to show  Mfr Part Number you must not maintain the "MPN Profile" in materail master.
    But if you are using a material with profile, you will only get these fields pooulated  if you order the MPN material, and not the internal one. See also information in note 615722.
    Regards,

  • Restricting Duplication in Item Code Field

    Dear Experts,
               I am designing an FMS on sale order Item Code Field. When it will executed on first line it will show all the sale items but as it will be executed on 2nd line it will show sale items excluding the item which has been entered at first line and same scenario will occur at 3rd line means it shows Sale Items excluding Items entered on line 1 & 2 and same for other lines. So the user will not be able to enter a single item twice not even by mistake.
    Please tell me what would be the FMS query for this.

    Hi Muhammad,
    Executing a stored procedure will not solve your problem.
    Stored procedure can only evaluate when your records is written in table.
    In your case, when user enter an item code, it is not yet committed to database.
    Thus your stored procedure will never know what items have been entered.
    Your current requirement cannot be addressed by FMS.
    You have 2 choices.
    1. If you insists on validating live as when the user enter the items, you need an UI API addon.
    2. If you can live with validating when the user click the add/update the document, you can use Transaction Notification.
    Regards
    Edy

Maybe you are looking for