Current date as deafult for Calender Day and user entry

Hello All,
There is a select option for Calender Day for a BW query.
This Calender Day should have a default as Current Date and User entry is also possible.
I have used a Customer exit and written the following code under i_step = 1
data: v_currdt like sy-datum.
clear: v_currdt, vfl_range.
         if i_step = 1.
          vfl_range-sign = 'I'.
          vfl_range-opt = 'EQ'.
          v_currdt = sy-datum.
          vfl_range-low = v_currdt.
          append vfl_range to e_t_range.
         endif.
Please inform if this code is incorrect, because I am not able to see the date at all.
Cheers,
KP

Hi
Check with this code!
Implemented for the same function as you require.-
if i_step = 1.
  case i_vname.
    WHEN 'ZZZZZZ'.
      IF i_step = 1.
        REFRESH e_t_range.
        CLEAR l_s_range.
        l_date1 = sy-datum.
        L_S_RANGE-LOW = l_date1.
        L_S_RANGE-SIGN = 'I'.
        L_S_RANGE-OPT  = 'EQ'.
        APPEND L_S_RANGE  TO E_T_RANGE.
      endif.
  endcase.
endif.
Regards
M.A

Similar Messages

  • My husband just got me an iPad 2 for Mothers day and today when I tried to sign on it is saying I don't have any cellular data left?  I'm at work and we have wi-fi, why can't I access my webmail and the internet with just that?

    My husband just got me an iPad2 for Mothers day and today when I tried to sign on to it it said I do not have a cellular data network?  I'm at work where we have Wi-fi.  Can't I just use that to sign onto my webmail and to get onto the internet?

    If you are in a wi-fi only area, then you need to join a wi-fi network. Does your office have wi-fi? Has the Admin given you the iformation to join the wi-fi network?
    To join a wi-fi network...
    1. Go to Settings/Wi-Fi
    2. Tap Other...
    3. Enter the name of your wi-fi network
    4 Tap Security
    5. Tap the type of security the network uses and return to Wi-Fi
    6. Enter the password and tap Join

  • Can i return my new ipad that i upgraded i have only had it for 11 days and i still have its box and all it came with

    Can i return my new ipad that i upgraded i have only had it for 11 days and i still have its box and all it came with

    You have 14 days from date of purchase. You need all the packaging plus your receipt.

  • During an app update it froze and has said waiting for 2 days and I am unable to open or delete

    During an app update it froze and has said waiting for 2 days and I am unable to open or delete. How do I recover my app?

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
    iOS 7: Help with how to fix a crashing app on iPhone, iPad (Mini), and iPod Touch
    http://teachmeios.com/help-with-how-to-fix-a-crashing-app-on-iphone-ipad-mini-an d-ipod-touch/
    Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/TS1702
    Delete the app and redownload.
    Downloading Past Purchases from the iTunes Store, App Store and iBooks Store
    http://support.apple.com/kb/ht2519
     Cheers, Tom 

  • Multicast works for a day and then stops

    I'm running multicast in unicast mode on our WLC because I can't enable PIM on wired side yet for a couple reasons.  It works consistently on 3 out of 6 WLAN's.  And the weird thing is the other 3 WLAN's will work for a day, and when I come in the next day, multicast traffic has stopped flowing.  I have verified this through IGMP snooping, using a bonjour browser, testing airplay, and using packet capture on a wireless NIC.  2 of the WLAN's are configured almost identically, but one works consistently day after day, and the other only works for a day after resetting the wlan.  I have been coming in the morning and changing a single setting back and forth just to reset the WLAN so it will work for the rest of the day.  I'm just writing this to see if someone can think of why it would work fine for the shole day and then stop working by the next morning.  It's not an IGMP timeout setting, because it works for much longer than the timeout and behaves the same way even without IGMP snooping on.  It started doing this after upgrading to 7.0.240.0.  We have very little amount of multicast traffic on wireless, and low channel utilization.  It does the same exact thing whether 802.11a or 802.11g so I don't think it has to do with data rates.  When I have IGMP snooping on, and on the WLAN's where it's not working, the controller will see the multicast group join message from the client, but the client doesn't see the IGMP query from the controller.  It shouldn't be wired config related since it's unicast mode.  I've tried with and without broadcasting enabled.  Any ideas?

    Okay, so I discovered two things, but I still don't know what caused this problem.  When I was running 7.0.230.0 I had increased my EAP-Broadcast key interval to 86400 due to a bug.  This seems to be related to the fact that on the wlan's where multicast was not working, it stopped by the next day.  When I backed this interval down to 3600 the multicast stopped working after an hour instead of a day.  So that's why I believe it was somewhat related to the broadcast key, since that key is used for multicast. 
    What I realized is that multicast was working on all the wlan's on all AP's that had been rebooted since the controller upgrade (They had been rebooted due to a switch losing power).  This is weird because all the AP's were rebooted when they received their own 7.0.240.0 software upgrade, so I don't know why they would have needed to be rebooted again.  Anyway, I rebooted a few more AP's and multicast works properly on all wlan's on those.  I'm just replying to my own thread here in case someone has a similar problem after upgrading your controller - try rebooting all your access points again.  Or maybe reboot after changing EAP-Broadcast Key interval.

  • I have had my macbook pro for 3 days, and it will not charge.  I tried several differnt outlets, tried cleaning and wiggling the magnet charger, still nothing.  Has this happened to anyone else? Any suggestions?

    Has this happened to anyone else?

    Jaybunni wrote:
    I have had my macbook pro for 3 days, and it will not charge.
    You have 14 days from the date of purchase to return your MBP.  Personally, I would not waste my time "troubleshooting" if the normal solutions do not work.
    Return the MBP for one that works before your 14 days are up and/or call AppleCare ASAP!!!
    Good luck!

  • I dropped my ipod in the pool and put it in rice for three days and now the screen stays white. what is the cheapest way to fix my ipod?

    i dropped my ipod in the pool and put it in rice for three days and the screen just stays white now. what is the cheapest way to fix thiss?

    There are companies that specialize in data retrieval but it's costly (probably cheaper to buy a new iPod) and more than likely as Allan said, your circuits are probably damaged beyond all hope of retrieving anything. It's worth calling Apple you maybe able to get a discount or a refurbished iPod. Can't hurt to ask, Good luck. (And in the future... no texting in the john.) Sorry, couldn't resist it.

  • Current date of birth for my column is null getting error....

    Hi All..
    i am calucating the current date of birth for my column which is date field and accept nulls (cust_dob) in my table.
    select cust_dob,Add_Months(
    to_date(cust_dob, 'dd/mm/yyyy'),
    Months_Between(
    trunc(sysdate, 'year'),
    trunc(to_date(cust_dob, 'dd/mm/yyyy'), 'yyyy')
    ) as current_dob from m_customer_hdr
    when i execute my query in toad. it is showing the result. but when i scroll down to see data it thow error as
    ORA-01858: a non-numeric character was found where a numeric was expected...
    Thanks in advance..
    Abdul rafi

    What datatype is cust_dob datatype. Somehow I have a feeling it is DATE. If so, expression:
    to_date(cust_dob, 'dd/mm/yyyy')Implicitly converts cust_dob to a string using session nls_date_format and then converts it back to date using 'dd/mm/yyyy' format. Now if NULL dob are fetched first, you might get something like:
    SQL> ALTER SESSION SET NLS_DATE_FORMAT='DD-MON-RR';
    Session altered.
    SQL> SET SERVEROUTPUT ON
    SQL> BEGIN
      2      FOR v_rec IN (SELECT  TO_DATE(cust_dob,'mm/dd/yyyy') cust_dob
      3                      FROM  (
      4                             SELECT TO_DATE(NULL) cust_dob FROM DUAL UNION ALL
      5                             SELECT TO_DATE(NULL) cust_dob FROM DUAL UNION ALL
      6                             SELECT TO_DATE(NULL) cust_dob FROM DUAL UNION ALL
      7                             SELECT sysdate cust_dob FROM DUAL
      8                            )
      9                   ) LOOP
    10        DBMS_OUTPUT.PUT_LINE('DOB = "' || v_rec.cust_dob || '"');
    11      END LOOP;
    12  END;
    13  /
    DOB = ""
    DOB = ""
    DOB = ""
    BEGIN
    ERROR at line 1:
    ORA-01858: a non-numeric character was found where a numeric was expected
    ORA-06512: at line 2So if column CUST_DOB is DATE, use:
    select cust_dob,Add_Months(
    cust_dob,
    Months_Between(
    trunc(sysdate, 'year'),
    trunc(cust_dob, 'yyyy')
    ) as current_dob from m_customer_hdrSY.

  • HT4623 after I update my iphone 4s with ios6 it worked ok for one day and now it is not turning on

    after I update my iphone 4s with ios6 it worked ok for one day and now it is not turning on

    Reset the device by pressing and holding the home and power buttons for 15-20 seconds until the white Apple logo appears.  No data will be affected.

  • I've only had my blackberry for a day and everything is ...

    I've only had my blackberry for a day and everything is fine apart from instant messaging. If i try and add someone, it just lists them as pending even though they don't receive anything on their phone. Likewise, if someone tries to add me, i receive no notification. I've tried sorting out the problem on the phone but that doesn't seem possible! So basically, i have no idea how to get it to work.

    Question92568 wrote:
    I've only had my blackberry for a day and everything is fine apart from instant messaging.
    Is this when using BlackBerry Instant Messenger? This application works ONLY with other BlackBerry, please know that.
    Try this, ask the other user to email you their PIN number by composing an email on the BlackBerry to you, and typing "mypin" in the email, and when you receive their PIN, enter that number in the BlackBerry Messenger to Add Contact.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I have 3 mail accounts in apple mail. One of them has had the spinning ball going for several days and I cannot receive mail in this account. I can receive mail in this account on my iPad and by signing into aol on safari. It's obviously a glitch in Apple

    I have 3 mail accounts in apple mail. One of them has had the spinning ball going for several days and I cannot receive mail in this account or delete messages etc. For some  reason, I CAN send mail on Apple mail using this account, although it takes several minutes. I can receive mail in this account on my iPad and by signing into aol on safari and internet explorer on my office PC. It's obviously a glitch in Apple's Mail. I've deleted this account and reopened it in Mail on my Mac Pro with no difference. Any suggestions would be greatly appreciated, this E amil account is major to my business.

    http://support.apple.com/kb/TS3276
    sounds like a corrupt database or index
    the glitch is your home folder and mail folder, esp look at syncservices
    I'd post in the mail or Lion forum where you will find similar issues being discussed.
    http://www.apple.com/support/mail

  • My Apple ID is locked for 90 days and can't even purchase anything

    I had my personal Apple ID and I made an second Apple ID for my business. I logged into my iphone6 with that second business apple ID - this apple ID has no credit card information at all. then I tried to log into my personal previous apple ID - this account was locked for 90 days and I can't even re-download my previous purchases anymore. There was a NO NOTIFICATION before I made a second account about this situation and I really do not know what can I do next.

    Contact Apple Support
    https://getsupport.apple.com/GetproductgroupList.action
    BTW, Apple content is locked to the original Apple ID that purchased it and cannot be merged or transferred to another Apple ID

  • I have a MacBook Pro. I was gone for 30 days and when I got back it tells me that my startup disk is full. I have a 500 GB drive and it shows that I have about 500 MB available. It constantly changes.  How do I fix this?

    I have a MacBook Pro that is telling me my startup disk is full. I left for 30 days and when I came back to use it, it tells me that the disk was full out of 500 GB. I don't have that much on it and it was perfectly fine when I left.  I Verified the disk through disk utility and it told me it had issues so then I repaired it and it said everything is fine. It still says the hard drive is full. How do I fix this problem. Any help is greatly appreciated.

    Have a read here Where did my Disk Space go?
    Stefan

  • My ipad automatically tried to update skype to version 4.1.1 It has been showing installing for 3 days and says waiting on the icon. It will not allow me to delete the app. When someone calls me on skype it rings but turns off as soon as I try to answer.

    My ipad automatically tried to update skype. It has been installing for 3 days and the message waiting is on the icon. I am unable to delete skype to try and re install. I have gone to the licence page but there is nowhere that I can agree the terms as it is still trying to load.

    delete the app on itunes (on PC) then download it again.

  • I didn't charge my iphone 5 s for two days and now my iphone doesn't charge how can i fix it

    i didn't charge my iphone 5 s for two days and now my iphone doesn't charge how can i fix it

    Plug it into a wall outlet, & while plugged in, reset it: Press the Sleep/Wake button & Home button at the same time, keep pressing until you see the Apple logo, then release.

Maybe you are looking for