How can i validate on ALV grid for the user

Dear Freinds,
                 I have developed one custom report using ALV Grid program , as per the requirement i have to enter on the
data and when i press the value save the program sumits the data into my custom table . Till here every thing is fine
but one particular field i have declared as Char1 in my internal table , on the ALV output it is allowing me to enter
more than one character   eg : it is allowing me to enter as Hyderabad .........even though i have declared as char 1 in the internal table ....however it is saving in the database table as H only that is correct.......but it is giving confusion to user
i want to validate that user shouldnt allow to enter more than one character in the alv output of the input field .
Please could any one let me know how can i validate.
regard
divya

Hi,
check  that field length in the final internal table .
might be that filed lenth in final internal table declartion is more than 1 char.
regards,
Rama reddy
Edited by: ram reddy on Jul 15, 2009 7:57 AM

Similar Messages

  • Can we have two alv grid in the output

    Hi
    Can we have two alv grid in the output?. If yes how can we do that using oops alv. I think first need to create the container on that two subscreen. is this correct? Thanks.
    Regards
    Raj

    >
    Rajitha1234 wrote:
    > Hi
    >
    >  Can we have two alv grid in the output?. If yes how can we do that using oops alv. I think first need to create the container on that two subscreen. is this correct? Thanks.
    >
    > Regards
    > Raj
    Hi Rajitha,
    You can have as many as ALV output in the screen By using OOPS.
    By using Container you can pass ALV output.
    see the sample Program SALV_TEST_TABLE.
    Regards,
    Prabhudas

  • How can I set up my Mac for two users to share photos, music etc

    How can I set up my Mac for two users to share photos, music etc?

    On the Mac with the libraries you want to share:
    iTunes Preferences click on the Sharing tab and put a tick in 'Share by library on local network'.
    iPhoto Preferences click on Sharing and put a tick against 'Share my photos'.
    When launching the same apps on other Macs on the network the libraries should be available, listed on the left.

  • HT1660 how can I use one single library for all users on the same laptop?

    how can I use one single library for all users on the same laptop?

    You are most of the way there. Each user having access to hard drive is the key. If users are limited in file privileges this is harder.
    Any files you add to your library and any files she adds to her library are available to the other. Just not automatically. Each user must add the files to their own library using the add file or add folder option from menu bar.
    What I have done is set library location to a location outside of My Documents\My Music. On my network storage I have a folder names s:\itunes. Both accounts iTunes are set to use this location for the library.

  • I downloaded a Trial version of Adobe Acrobat XI.  Now the trial has runout and I've signed up for a subscription.  However, my software still needs a serial number.  How can I get a serial number for the installed software?

    I downloaded a Trial version of Adobe Acrobat XI.  Now the trial has runout and I've signed up for a subscription.  However, my software still needs a serial number.  How can I get a serial number for the installed software?

    There is no serial number and you don't need one. What you need for a subscription is to SIGN IN within Acrobat, so it knows the subscriptions you own.

  • Realtek network card seems to be disappeared. how can i make it visible again for the OS?

    i can't access my LAN card. somehow it is disappeared. how can i make it visible again for the OS? my OS is windows 7. thanks very much for your help

    right click on the button bar, then select "customize toolbar", drag any button you like into the toolbar and you're done!
    Diego

  • I would like to update my eMac from 10.4.11 to 10.6. How can I get this os version for the update?

    I would like to update my eMac from 10.4.11 to to 10.6.x How can I get this os version for the update?

    Highest an eMac can go is 10.5.8...
    Leopard requirements/10.5.x...
        *  Mac computer with an Intel, PowerPC G5, or PowerPC G4 (867MHz or faster) processor
    minimum system requirements
        * 512MB of memory (I say 1.5GB for PPC at least, 2-3GB minimum for IntelMacs)
        * DVD drive for installation
        * 9GB of available disk space (I say 30GB at least)
    Trouble is appl no longer sells it, you have to search eBay & such for the full retail version, not any grey Install Disc.
    There are workarounds if the 867MHz is the only hangup...
    http://sourceforge.net/projects/leopardassist/
    List of Applications Not Compatible with Leopard...
    http://guides.macrumors.com/List:Applications_Not_Compatible_with_Leopard
    Snow Leopard/10.6.x Requirements...
    General requirements
       * Mac computer with an Intel processor
        * 1GB of memory (I say 2GB at least)
        * 5GB of available disk space (I say 30GB at least)
        * DVD drive for installation
        * Some features require a compatible Internet service provider; fees may apply.
        * Some features require Apple’s MobileMe service; fees and terms apply.

  • How can i do Procurement of land for the company?

    how can i do Procurement of land for the company?wher we cannot assign a cost center or any other cost object?

    Hi ,
    Procurement of Land is a Asset Purchase.
    You have create a Asset Master with help of Finance team and create PO with A/c assignment A. Their you have to mention the Asset no. and the respective GL a/c.
    Hope this will help.
    Thanks,
    Kumar Arcot

  • How can I install and activate extensions for all users

    Hi, within the version 7.0.1 I am able to install noscript extension for example for all users.
    With version 8.0 the extensions are disabled by default, so I do not install it on company computers.
    How can I manage extensions and settings for all users in 9.0?
    Best regards
    Jens

    Hi John,
    I appreciate your prompt response.
    We have an Australian client here in the Philippines and would want to purchase an adobe software under Creative Cloud Licensing.
    Since this type of licensing is not yet available here in the Philippines, they are suggesting that they can purchase it in their country.
    My main concern is, will there be any conflict upon installing/activating an adobe software under Creative Cloud which will be purchased from their country?
    And what are the steps for installing and activating a software under this type of license.

  • How can I find my Mac Adress for the Ethernet Port from a Apple Airport Express Device ?

    How can I find my Mac Adress for the Ethernet Port from a Apple Airport Express Device ?

    You can only locate, lock or erase your device when it is logged into iCloud and 'Find My Phone' is enabled, additionally the device will need to be switched on and connected to a wifi or cellular network.
    Unfortunately, you cannot activate iCloud or 'Find My Phone' remotely.

  • Since updating my iPhone 4 to iOS5, my music stats (play count, last played, etc.) no long sync to iTunes. How can I fix this? Thanks for the help.

    Since updating my iPhone 4 to iOS5, my music stats (play count, last played, etc.) no long sync to iTunes. How can I fix this? Thanks for the help.

    If you have any podcasts in your iTunes library you should see a Podcasts sync setting tab to the right when you connect your phone and click on its name on the left sidebar (see image below).  On this tab check to sync podcasts and sync your phone.

  • How can I post a simple message in the User Forum's page, immediately after logging in ?

    I had earlier asked a question re: including Merriam-Webster online dictionary into the list of search engines in the text area to the right of the location bar. I received a very helpful answer from cor-el, using which, I was able to include both the Dictionary and Thesaurus into the said list.
    I WISH TO THANK core-el SINCERELY FOR THIS HELP.
    The question is as follows:
    How can I post such messages directly in the Users Forum's pge?
    - - S.Rajaram

    what is your requirement can you please confirm.
    Regards
    Shobhit S

  • In the Date Picker, How can I default to select * dates if the user does ..

    In the Date Picker, How can I default to select * dates if the user does not select a date.
    Thanks,
    Doug

    Doug,
    Now lets say l want everythingCould you post some sample data and the output that you want to get..? It would be much easy to understand the requirements...
    When you mean everything, I am assuming you need all possible dates possible between date1 and date2.
    you can use... (from asktom.oracle.com).
      1  select to_date('12-jan-2009','DD-MON-YYYY') + rownum -1
      2    from ALL_OBJECTS
      3    where rownum <= (to_date('20-jan-2009','dd-mon-yyyy') -
      4*                     to_date('12-jan-2009','DD-MON-YYYY') +1 )
    sql> /
    TO_DATE('
    12-JAN-09
    13-JAN-09
    14-JAN-09
    15-JAN-09
    16-JAN-09
    17-JAN-09
    18-JAN-09
    19-JAN-09
    20-JAN-09
    9 rows selected.
    For your case, since you have date1 and date2...
    select to_date(:p12_date1,'DD-MON-YYYY') + rownum -1
      from ALL_OBJECTS
      where rownum <= (to_date(:p12_date2,'dd-mon-yyyy') -
                        to_date(:p12_date1,'DD-MON-YYYY') +1 )Should work.. in my opinion...Haven't tested the second one in Apex .
    Is this what you were looking for ..?? If not, please elaborate...
    Thanks,
    Rajesh.

  • How can I make a survey automatically identify the user in the results?

    How can I make a survey automatically identify the user in the results (so that it won't be anonymous)?

    I am not sure what information to provide.  Here is what I am trying to do.  I am trying to create an HR questionnaire with multiple choice questions and several multiline textboxes to capture comments.  I want to send it out by email address and/or embed the questionnaire somewhere on the company's intranet website.  But we don't want the questionnaire to be anonymous. If someone makes a particular comment, we want to be able to communicate with the person who made that particular comment.  How would we be able to trace the person? By email address, or by user ID?

  • How can I get Disco Viewer to remember the user's final filtered worksheet?

    Hi every one:
    How can I get Disco Viewer to remember the user's final filtered worksheet?
    Each time the users login they have to make several operations (drillings, pivots, etc) to get their reports customized as they want. I wonder if is there a chance I could configure Disco Viewer in order to remember the last worksheet layout, and set it as the initial worksheet the next time the user login?
    Thanks in Advance
    Jorge

    Once your users have customised the report to their requirements, they can add the URL of final data diaplay screen to their favourites menu in the browser.
    Next time they want to run the same report, they can access the URL saved into favourites, they'll just need to enter their password to run the report when prompted.
    I know that this works with Oracle Applications user id's, and that the URL "remembers" User Name, Oracle Apps Responsibility, Workbook Name, and Paramteters Used, Table Layout Customisations, and Page Item selections... so in theory it should record Drill information too.

Maybe you are looking for