Need to put check at the year selection

hi,
how to put this check at selection screen.
1.     Program will check at the year selection, that should not be more than 3 years, otherwise, the program will raise the error message of u2018Only allow 3 years difference!u2019.
2. is there any fn module which gives the begin and end dates for a year.
requirement: determine the begin date and the end date of selection period for year selection at the selection screen.
Need this urgently.
Thanks.

HI,
for the first one.
data date type sy-datum
data  year(2).
date = 20.11.2008
year = date+6(4).
then date contain 2008.
if the user enters 2004 in parameter p_year.
then
year = year - 3. equal to 2005
if p_year <  year.
give some error message
endif.
for the second one.
go to se37 give year or date
this will give you all the related FM
regards
Ramchander Rao.K

Similar Messages

  • I signed up for the edge program and need to send back my old phone.  The instructions say I need to put it in the edge bag provided with my new phone order, but no bag is in the box.  Can I get one at a store?  Please respond!!

    I signed up for the edge program and need to send back my old phone.  The instructions say I need to put it in the edge bag provided with my new phone order, but no bag is in the box.  Can I get one at a store?  Please respond!!

        monkeybuttqueen,
    Thank you so much for reaching out to us today. I hope you are enjoying the new device! I do apologize that you didn't get the proper info sent to you to send back your old device. You can always print a label online from My Verizon. You can do that at www.verizonwireless.com/printlabel Pleaes keep us posted if you have any questions or concerns.
    KevinR_VZW
    Follow us on Twitter @VZWSupport

  • Bifoure i waz have the version 4.3.3 ...i update whit the new one......bat naw i need tu put it back the old version 4.3.3   haw i can change it back?

    bifoure i waz have the version 4.3.3 ...i update whit the new one......bat naw i need tu put it back the old version 4.3.3   haw i can change it back?

    There is no legit way at all to go back.

  • My battery on my iphone theree is growning and it turns off around 80% then in order for it to turn back on i need to put it on the charger , somebody please help me i need to fix this is there anyway  ican??

    my battery on my iphone three is growning and it turns off around 80% then in order for it to turn back on i need to put it on the charger , somebody please help me i need to fix this is there anyway  ican?

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.
    If the issue persists, then take the device to Apple for evaluation.
    FYI, Apple will not replace the battery without first doing basic troubleshooting or testing the battery.

  • HT1212 Brought iPod 4 for Daughter, she put on Passcode and she can't remember it, the ipod is saying "ipod is disabled" connect to itunes. Connented to iTunes come up with need to put passcode. The on/off button does not work, can't turn off and hold hom

    Brought iPod 4 for Daughter, she put on Passcode and she can't remember it, the ipod is saying "ipod is disabled" connect to itunes. Connented to iTunes come up with need to put passcode. The on/off button does not work, can't turn off and hold home button to reset please help.

    Place the iPod in recovery mode using one of these programs and then restore via iTunes:
    For PC
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    If necessary:
    Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
    and                                           
    RecBoot tip
    For MAC or PC       
    The Firmware Umbrella - TinyUmbrella
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • Javascript needed - need checkbox to check automatically based on selected item from dropdown list

    I am building a fillable form.  In this form, I have created items in a dropdown list.  Based on the item picked from the dropdown list, I need a corresponding checkbox to be checked.  I am certain there is an easy javascript to resolve my current problem.  Please assist.
    For example: dropdown list field (SubSupplier1) -   Demolition                            export value 2
                                                                                    Rough Carpentry Labor       export value 4
                                                                                    Rough Carpentry Material    export value 3
    I need the corresponding checkbox (SalesTax1) to automatically be checked when Demolition (export value 2) or Rough Carpentry Material (export value 3) is selected.
    Thank you,
    Jennifer

    Hi Jennifer,
    This should help you do what you need. Place it in the Custom Calculation property of the dropbox and select "commit selected value immediately" in the fields options:
    var drop = this.getField("SubSupplier1");
    var check = this.getField("SalesTax1");
    if ((drop.value == 2) || (drop.value == 3)){
    check.checkThisBox(0,true);
    else {
    check.checkThisBox(0,false);
    The code is asking if the export value of the field is either '2' or '3' and if so, check the box.
    Otherwise uncheck the box.
    If you don't want it to uncheck on other selections, remove the 'else' section of code.

  • Need to put info at the absolute bottom of the page

    I have to put info on the absolute bottom of an .rtf page. The problem is, the footer is there. Is there any way to get rid of the footer or force the info on the bottom edge?
    The info is check data in MICR format, it needs to be put on the bottom to be read by the processor.

    Either
    1. Put the info into the footer or
    2. Shrink the footer (File >Page Setup) to almost nothing. Not sure Word will let you remove it completely.
    Tim

  • Need to Add BKTXT in the dynamic selection in FB03

    Hi Gurus,
    In the dynamic selection FB03, the field BKTXT is not included in the dynamic selection. Would it be possible to add this field?
    Youre inputs would be greatly appreciated.
    Thanks and best regards,
    JeCCas_DJ

    Hi,
    You wants to add the BKTXT field on the selection screen of FB03?
    Why? for what purpose?
    Better copy the program related FB03 to some Zprogram and modify it by writing a select statement to get this BKTXT firld form BKPF/BSEG tables.
    SInce this is a text field, normally we don't put onthe selection screen.
    Regards,
    Anji

  • Needs to be checked when financial year is closing

    Hi,
    I want to know the things what to be check when the financial period 2006 is closing in SD. like number ranges,material document number range.

    Thank you so much.  But now I understand why you asked if the other boxes should be unchecked.
    I did the following but when I input 4 and change it to a 1. The box for 4 stays checked.  Also when the text field is blank the boxes stay checked.  What do I do make sure they are un-checked. 
    if (event.value=="1") this.getField("SetA1.1").checkThisBox(0, true);
    if (event.value=="2") this.getField("SetA1.2").checkThisBox(0, true);
    if (event.value=="3") this.getField("SetA1.3").checkThisBox(0, true);
    if (event.value=="4") this.getField("SetA1.4").checkThisBox(0, true);
    if (event.value=="5") this.getField("SetA1.5").checkThisBox(0, true);
    if (event.value=="6") this.getField("SetA1.6").checkThisBox(0, true);

  • Need to Put text in the Body of the email while sending PO as email attachm

    Hi MM friends,
    My client wanted to have the PO emailed to the vendor.
    I could do all the necessary steps to do that. thanks to the earlier posts in SDN for the same. It helped a lot.
    I have few other requirements that needs to be addressed.
    1.We need to send a 2 liner note in the email along with the PO attachment.
    how to put this note in the body of the email ?
    2.The PDF PO doc created as attachment to the email has a std name... starting  with SAPM....etc...
    Can we have PO no as the PDF doc?
    Request your help..
    Thanks in advance.
    Sarvan

    Hi Sarvan
    Go to messages >> communication method , change the field Cover Page Text with ur po number and send. This is a manual process which you will have to do it for each po.
    Now if you want to automate this then you can ask ur abaper to write a small program which will copy the po number to this field. 
    Table Name       NAST
    Field Name       TDCOVTITLE
    Regards
    Rajesh
    Do reward if useful.

  • I need help putting icons in the toolbar for quick access to my favorite site

    In the old firefox i was able to put small icons in the toolbar area. Now I am not sure how to put those back on because it deleted all of them when i updated to the 4.0 firefox. How can i put them 0n agian??

    Check that you still have the "Bookmarks Toolbar items" placed on the Bookmarks Toolbar
    * Make sure that you have the "Bookmarks Toolbar" visible: "View > Toolbars"
    * Check in "View > Toolbars > Customize" that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    * If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the Customize window onto the Bookmarks Toolbar
    * If you do not see the "Bookmarks Toolbar items" then click the "Restore Default Set" button
    This can also be caused by a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • Capital one CLI...do I need to put something in the "monthly spend" box?

    if I leave the monthly spend box blank will that negatively affect my CLI request? Income supports higher limit, but my monthly spend is less than my CL about $4000/mo on a $5000 limit card. Thanks!

    I put in 2k and got a 3k CLI. If you spend 4k, why not put it in? I don't think it matters either way, but it does seem like the majority of Cap1 CLI are only between 1k-3k anyway, although I have heard of a few 5k increases.

  • I need to put captions on the bottom on each picture

    This is my code
    I want to add a description for each picture on the slideshow
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script type="text/javascript" src="jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="jquery.cycle.all.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {
        $('#header').cycle({
                        fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
    </script>
    <style type="text/css">
    <!--
    #wrap {
              width: 960px;
              background-color: #8D8272;
              margin-top: 0px;
              margin-right: auto;
              margin-bottom: 0px;
              margin-left: auto;
    #header {
              background-color: #FFF;
              height: 150px;
              width: 760px;
              overflow: hidden;
              margin-top: 0px;
              margin-right: auto;
              margin-bottom: 0px;
              margin-left: auto;
    -->
    </style>
    </head>
    <body>
    <div id="wrap">
    <div id="header">
      <img src="images/bite.jpg" width="760" height="150" alt="image1" />
      <img src="images/mom.jpg" width="760" height="150" alt="image2" />
      <img src="images/water.jpg" width="760" height="150" alt="image3" />
      </div>
    </div>
    </body>
    </html>
    Your contribution is greatly appreciated

    JavaScript Function:
    <script type="text/javascript">
    $(function() {
        $('#slideshow').cycle({
            fx:       'fadeZoom',
            timeout:   2000,
            after:     function() {
                $('#caption').html(this.alt);
    </script>
    HTML:
    <div id="slideshow">
      <img src="images/bite.jpg" width="760" height="150" alt="image1" />
      <img src="images/mom.jpg" width="760" height="150" alt="image2" />
      <img src="images/water.jpg" width="760" height="150" alt="image3" />
      </div>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • I am trying to sync a playlist to my Nano,  but when I click on the Music tab at the top, it will not allow me to select the option Selected Playlist, Artists, etc.  I cannot un-check the Entire Music library option and check the Selected Artist - on

    I am trying to sync a playlist to my Nano,  but when I click on the Music tab at the top,
    it will not allow me to select the option Selected Playlist, Artists, etc.  I cannot un-check the Entire Music library
    option and check the Selected Artist … one.
    I have changed the Sync option to Manually sync, but that does not help.
    How can I change this to the second option?
    Thanks.

    There is a checkbox above those two options for how to sync.  It says Sync Music; it enables automatic syncing.  That box needs to be checked before you can select from the two options for how automatic syncing is performed.
    NOTE:  If the iPod is current set up to Manually manage music [and videos], checking that Sync Music box replaces its current content with content from your iTunes library, based on how automatic syncing is set up on that screen.
    So, if your goal is to add ONE playlist to an iPod that is managed manually, you do not want to do this because iTunes will erase the iPod's current content and replace it with just that ONE selected playlist (and whatever else you select on that Music settings screen).
    Instead, if the iPod currently uses the manual setting, you need to add playlists manually to the iPod (not use the automatic syncing setting).  Please post back with more details about your situation. 

  • How can I put asterisk in the beginning and end of a search parameter..?

    Hi!
         I'm developing a program for a user where he wants a search parameter for the description about some purchase orders....
    The problem is if the user want to make a search for any word he need to put asterisk in the beginning and end of the word because if the user don't put the asterisk the search will not find anything because the program don't know if the word is in the beginning of the description or in the end or in the middle...
    How can I put one asterisk in the beginning and end of the search topic entered by the user internally in the program..? I was thinking using the concatenate function but for this will not work because the program think that the asterisk is part of the word and not..
    The search parameter of the Description is in range.. (Select-Options).
    Thanks for your help!!

    Thanks keshav!
    OK... and if I concatenate the asterisk latter I can make this search?
    In the code desc_search is the select_option that I tell u. I use the DESCRIBE to see first if it is not initial... if desc_search have an entry then access the DELETE to remove all the records that are diferent from desc_search.. This desc_search will have the word with the asterisk... and the question is if it works if I use the concatenate before this... anyway I will try but I think that if I use the concatenate the program confuse and take the asterisk as part of the word..
    DESCRIBE TABLE desc_search LINES desc_count.
      IF desc_count IS NOT INITIAL.
        DELETE core_table WHERE desc NOT IN desc_search.
      ENDIF.
    Let u know if works!!
    Thanks!

Maybe you are looking for

  • After upgrading to Lion , itunes does not recognize my ipad, ipod touch anymore.

    Yesterday I updated to Mac OSC Lion on my original Intel Macbook (the first Aluminum Macbook) with 4GB RAM. Today I had a run in with my ipad and ipod touch, both of whom are not being recognized by itunes anymore. My ipod shuffle and classic are sti

  • Failing to update applicatio​ns?

    Hey, I've got a Tour, and have just downloaded Desktop for Mac.  I'm getting the following error when I try to manipulate/update applications: Blackberry Desktop Manager failed to validate your Blackberry device update. Validation failed because a mo

  • Will the new version have capability to allow me to use Fingerprint for username and password entry?

    I need to HP SimplePass Identity protection. This use of fingerprint technology allows sign in to websites by swipe of fingerprint and supports multiple users. Firefox supported that technology at one time but dropped support. Will the new version su

  • How to Import Apple Mail 4.2 to Eudora 6.2.4

    I have Eudora set up on my MacPro (OS X 10.6.2), and downloaded new mail to one of my e-mail accounts. That went rather smoothly. Now, I need to import mail from Apple Mail. I keep getting an error, which won't allow me to import mail from Apple Mail

  • Sound blaster live 24bi

    I have installed windows vista ultimate,, i donwloaded the lastes drivers from creative website,, it say they were to windows vista, then i installed em,, when i play some music I just listeng two spearks,, my hometheater 5. doesnt work well,,, im no