HOW WE CAN VALIDATE A FIELD THAT SHOULD NOT BE SPECIAL CHARACTER?

HOW WE CAN VALIDATE A FIELD THAT SHOULD NOT BE SPECIAL CHARACTER?

data : v_abcde like sy-abcde,
         v_num like '0123456789',
          v_data(60) type c.
start-of-selection.
v_abcde = sy-abcde.
concatenate v_abcde v_num into v_data.
if ur field co v_data
else.
message.
endif.

Similar Messages

  • How i can validate a entered text against regular expressions ?

    Thank you for reading my post.
    how i can validate an entered text to checkk its syntax to ensure that it is a domain name ?
    I think i should use RE , but i do not know how i can do this.
    Thank you

    If you want to validate at client side, you need to create a javascript function (validation) and add it to the "onBlur" attribute of the TextField component In the propertysheet (Set it via JavaScrip->onBlur in the property sheet). To put the Actual Java Script, you need to edit the JSP page. If you need to do it server side, create a custom validator.
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/customvalidator.html
    - WInston
    http://blogs.sun.com/winston

  • How can I display images that are not included in any collection?

    How can I display images that are not included in any collection (some filter or smart collection)? A smart collection with parameters "Collection - contains - empty field" does not work. Lightroom 5.

    Thank you! Good idea! I ordered letters of the alphabet (space separated), and it works.

  • How can I find photos that are not assigned to any collection?

    Hi !
    I'm using LR 5.7.1 on a Mac.
    When I've retouched raw pictures with PS CC (and do not need the PSD file any longer) I export the PSD (that is in my catalog) as JPG and let it add to my catalog automatically. After that I delete the PSD file. That works fine.
    But .... the new JPG file is not assigned to any collection. That's no problem unless I forget to do it manually after that export (and import).
    That brings me to my question.
    How can I find photos that are not assigned to any collection?
    I tried it with a smart collection after I found nothing suitable in library filter. The search criteria I tried are Source -> Collection with any of the conditions. One with an empty value field, then with just a space and so on.
    Has anybody a good hint for me?
    Thomas

    You can also add numbers if you have collections that don't use alphabet characters.

  • How we can add custom field in standard report 2kee.

    Hi,
    How we can add custom field in standard report 2kee.
    I need one extra field to add in 2kee report for the same is there any customization req.
    Regards
    Ravi

    Ravi,
    Which extra field do you want to add or see?  Without specifying the field, it is difficult for one to tell you precisely whether you need a custom field or just change the layout to get the standard one.
    There are so many fields which exists but are not displayed when you execute 2KEE. You need to change the layout selections to your preference.
    Nonetheless, if the field you want to add does not already exist, then yes you can do customization.  Is there a customization requirement? No. But remember, you are making changes to SAP Standard program which will no longer be supported by SAP should in the case an issue arise in the future related to this very program.
    Have your abaper add the said field in the program or why not just create a query to pull the report?
    Elias
    Edited by: Elias Akorli on Sep 18, 2009 9:02 PM

  • How do you change the fields that are displayed on the email preview list after a search?

    How do you modify the fields that are displayed in the mail preview list in the center column of Mac mail after you conduct a search of your email?   All of a sudden the displayed fields changed on me whenever I do a search in mail.   When I have not filtered my email with a search, the default field shown in bold at the top of each message's preview is the "From" field.   However, when I do a search this changes to the "To" field.   Can anyone help?   Thanks, ccarey

    ipicus
    But why would you want this?
    iTunes is responsible for the File Management, let it get on with it, you do your organisation in the iTunes window. And everything you need to do, you can do via the iTunes Window. Want to find the file of a track quickly? Right click on it in the iTunes Window and select Show File: A finder window pops open with the file already selected.
    Regards
    TD

  • How I can erase the components that I have created in a content area?

    hello. Somebody knows how I can erase the components that I have created in a content area. I have created an area of content and the archives, categorias or perspective that I generate not let erase. The same it happens to me to the forms, reports and other components created under a certain application

    goto portal navigator --> content areas --> next to the content area --> click Edit Properties --> Items tab --> last button on the page is Purge..
    this should take care of it

  • How do we validate input fields on the selection screen

    How do we validate input fields on the selection screen

    hi balram,
    u can validate input fields using <b>AT SELECTION-SCREEN</b>  Event.
    PARAMETERS : p_werks TYPE marc-werks.
    AT SELECTION-SCREEN ON p_werks.
    SELECT SINGLE *
    FROM t001w
    WHERE werks = p_werks.
    IF sy-subrc <> 0.
    MESSAGE 'Invalid Plant' TYPE 'I'.
    ENDIF.
    Like this, we can validate user input for plant.
    check this link:
    http://help.sap.com/saphelp_nw04s/helpdata/en/9f/db9a2e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/content.htm
    Reware me if useful......
    Harimanjesh AN

  • Field that is not visible in my editing screen but showing in web preview. How to remove it?

    Hi Support,
    When I preview my form in web preview, I am seeing a field that is not visible in my editing screen. It starts at the left margin of the web preview and runs off the edge of the right side of the page.
    The form is also crashing when I attempt 'page view' or 'save as pdf' and I believe this phantom field is the culprit. I have spent considerable time on the form and do not want to recreate from scratch.
    Can you please advise how I can make this field visible in the editing section so that I can permanently delete it?
    Further information:
    I do not have any rules set for any of my fields
    I have tried to remove it in Chrome, IE and Firefox
    My cache has been cleared today
    My plug-ins and flash player are all current versions (updated today and performed a restart)
    Thanks,
    Kate

    Hi Kate,
    Could you please share your form with me ([email protected]) so that I can investigate and correct this problem? Instructions on sharing can be found here:
    http://forums.adobe.com/docs/DOC-2462
    Thanks,
    Brian

  • In layout  how we can define screen field ie customer no -------- to ------

    hi,
       in layout  how we can define screen field ie
                    customer no -
    to -
                     my screen should be like this?
           reply me soon.

    we cannt able declare select-options in module pool program .But we have ranges
       so delclare two varibles
    DATA:  v_kun_low LIKE zcust-kunnr ,
           v_kun_high LIKE zcust-kunnr.
    RANGES r_kunnr FOR zcust-kunnr  .
       in PAI
             CASE SY-UCOMM.
                WHEN 'FCTCODE'.
                 r_KUNNR-low = v_KUN_low.
                 r_KUNNR-high = v_KUN_high.
                 r_KUNNR-option = 'BT'.
                 r_KUNNR-sign = 'I'.
             APPEND r_budat.
    in screen designing
       ie layout>f6>get from program fields

  • How to compare two dates that should not exceed morethan 3 years

    hi all,
    can you please tell me how to compare two dates( basically dates are string type)
    that should not exceed more than 3 years? in JAVASCRIPT
    Thanks in Advance.

    This is not a JavaScript forum.
    [*Google* JavaScript Forum|http://www.google.co.uk/search?q=JavaScript+Forum&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a]
    Good luck.

  • Following a software update, I can no longer access/authorise music purchased via iTunes from my old Apple ID, which I have not used for 8  years, and no longer have password.  Any ideas how I can re-access/recover that music?

    Following a software update, I can no longer access/authorise music purchased via iTunes from my old Apple ID, which I have not used for 8  years, and no longer have password.  Any ideas how I can re-access/recover that music?

    Apple ID FAQs  >  http://support.apple.com/kb/HT5622

  • I have started a photo book in iPhoto (OS 10.7.5). How can I add photos that were not in the original album?

    I have started a photo book in iPhoto (OS 10.7.5). How can I add photos that were not in the original album?

    Thanks for your quick response. I thought I had tried that but I must not have because it worked perfectly.

  • When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message. I use Exchange 2010 only local users.

    When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message.  I use Exchange 2010 only local users.

    I think there is not native rule for this, but you could try a transport rule which removes all attachments over a very small file size like 1KB.
    http://blogs.technet.com/b/exchange/archive/2009/05/11/3407435.aspx
    CRM Advisor

  • Hi, you know how i can fix the problem that my iPhone5s not have any coverage in place? Please.

    Hi, you know how i can fix the problem that my iPhone5S not have any coverage in place?
    Please, and thanks.

    If it's out of warranty, Apple will replace your phone for $269.

Maybe you are looking for

  • User Status

    Dear all how to genarate user wise status report for example  how many po/Sale order / production order/material document made in particular year /date ? Regards Suresh

  • Urgent- o/p of report in excel format

    Hi All, I want to generate o/p of my report in excel format. Please send me the sample code for it at [email protected] Thanks in advance bhushan

  • CP60-615DX Touchpad and external mouse no longer work after WIndows 7 SP1 update

    Let me start by saying I am in the IT field, though clearly far from being great at it. I was updating a CP60-615DX at work with Win 7 x64 SP1. It installed with no errors or anything I'd consider abnormal. Once it was finished, the touchpad no long

  • I dont get to reinstall Premiere Pro CS4. I ve log file here! Help me Pls!

    Hi, I m trying to reinstall premiere pro cs4 but it shows a screen saying: Critical errors were found in setup for Adobe Premiere Pro CS4: - Incompatible payloads already installed Please see the Setup log file for details. Click Quit to exit Setup.

  • Missing cd artwork

    When importing some cd's into iTunes and it does not get the artwork, how do I get the artwork ? I used to just scan the artwork into my Mac as a jpeg, and then "drag and drop" onto the cd in iTunes. That does now not work. ANY help gratefully receiv