How can by default 'system date' needs come in selection screen automatical

Hi
I have 'Notification Date' in the selection screen of the report. And my client wants by default 'system date' needs to come automatically in the selection screen .
So how can i get the 'Default System Date' in the selection screen for 'Notification Date' when he runs the report .
Please let me know
kumar

Hi,
1. Create a variable for 0Calday with the following details..
        Type of variable : Characteristic
        Variable name : Give the variable name
        Description : Give the description
       Processing by : Customer exit
       Characteristic : 0calday
       Ready for input : Make the flag enable
       Variable represent : single value
        Variable entry : Mandatory.
2. Go to CMOD , include the below code for that variable.
      When 'XXXXXX' .   ( XXXXXX - Variable name)
       If  i_step = 1.
       clear l_S_range.
       l_s_range-low  = sy-datum.
       l_s_range-sign = 'I'.          " I: Include, E: Exclude
       l_s_range-opt  = 'EQ'.         " EQ: Equal, BT: Between, ....
       APPEND l_s_range TO e_t_range.
       endif.
Hope it helps..
Regards,
Siva.

Similar Messages

  • How can I  get System dates  with time scheduler using threads

    how can I get System dates with time scheduler using threads.is there any idea to update Date in my application along with system Date automatic updation...

    What the heck are you talking about and whatr has it to do with threads?
    Current time: System.currentTimeMillis. Date instances are not supposed to be updated.

  • How to get Default (System) Date Format Pattern?

    How to get system default date format which is defined in Regional Setting of Control Panel.
    We can get an instance of DateFromat using DateFormat.getDateInstance(DateFormat.SHORT) but problem is that there is no toPattern() exist in class DateFormat.
    However toPattern() exist in class SimpleDateFormat but there is no costructor like SimpleDateFormat(DateFormat)
    So please advise me, how can I get system short date format pattern?
    Thanks
    GAJESH TRIPATHI

    I reterieve the system date format but not which is currently defined in regional setting of control panel but it returns the format which is installed by default when windows(os) is installed.
    Edited by: gajesh on ? ????????, ???? ??:?? ?????????
    Thanks to provide me solution. My source code related problem is solved but still I am not getting format which is defined in control panel. but By Letting that it is not possible in Java,... I am doing my next work...so CLOSE THIS TOPIC Thanks'n Bye.

  • How can I set system date from java code?

    Hi. I need to set the system date from my application. It must works on Windows7 so the "cmd /C date" must be executed with Administrator privileges.
    I tried do it that
    Process p = rt.exec("runas /user:" + env.get("COMPUTERNAME") + "\\Administrator \"cmd /C date " + dateYYYYMMDD + "\"");
    Then process ask me for password for administrator but it terminates befor i send it. exitCode() returns 1.
    Have you some idea how can I do it?
    Regards for you.

    At the very least, you need to read this and follow the advice it gives. That may or may not solve your problem, but it's a bare minimum.
    http://www.javaworld.com/jw-12-2000/jw-1229-traps.html

  • How Can i SEt Dynamic Variant For WEEK on SELECTION Screen.pls help me..

    <b>Hi ALL..
    Pls Help Me for this Problem..i am very confused how can i do that...plese tell me proper process..
    i  want set Dynamice Varient for WEEK on Selection screen..
    I have ALrady SET Dynamice Varient for DATE on Selection Screen.ther isd option is D...but in case of WEEK there is a no option...
    Plese help me..
    thaks in advance..
    pls help me..</b>

    Hello,
    Define your select-option in TVARV (assume Z_THISWEEK). And use a program like:
    DATA:
      zlv_week TYPE KWEEK.
    call function 'DATE_GET_WEEK'       
       exporting date = syst-datum
       importing week = zlv_week.
    SELECT SINGLE *
          FROM tvarvc
         WHERE name = 'Z_THISWEEK'
           AND type = 'S'
           AND numb = '0000'.
    tvarvc-low = zlv_week.
    IF syst-subrc <> 0.
        tvarvc-name     = 'Z_THISWEEK'.
        tvarvc-type     = 'S'.
        tvarvc-opti     = 'EQ'.
        tvarvc-sign     = 'I'.
        tvarvc-numb     = '0000'.
        insert tvarvc.
    ELSE.
      update tvarc.
    ENDIF.
    Regards,
    John.

  • How to Make Field "Creation Date" Mandatory (in EP Selection Screen)

    Dear experts,
    I am on SRM 7.0.
    In Shopping Cart, i'd like to set Field "Creation Date" as Mandatory Field in EP Selection Screen / Criteria Maintenance.
    Is there BADI or SPRO need to be maintained?
    Thanks & regards,
    Jack
    Edited by: Jack4ever on Aug 9, 2011 7:42 AM
    Edited by: Jack4ever on Aug 9, 2011 7:43 AM

    Hi Jack,
    Not sure if it possible in standard with any customizing but it might be able to achieve this through webdynpro enhancements.
    Regards,
    Prasanna

  • How do we declare a date field in the selection screen?

    As an input,so that the user can give a appro date.
    Thanks in advance.
    Regards,
    Shilpa

    You can also do a select-option for a date.
    select-options: s_datum for sy-datum.
    REgards,
    Rich Heilman

  • How can we display below mention control in the selection screen

    I want to display a container in the selection screen. (the container which we can use/get in the alv out put when we select a ascending/decending sort buttons for filtering of sort order).
    thanks in advance.
    sree

    simply at selection-screen output. event do the following coding.
    1. create a docking container
    2. create you control on to the container.
    create object docking
      exporting
      repid = repid
      <b>dynnr = sy-dynnr</b>  side = cl_gui_docking_container=>dock_at_right
      extension = '200'
      exceptions
      cntl_error = 1
      cntl_system_error = 2
      create_error = 3
      lifetime_error = 4
      lifetime_dynpro_dynpro_link = 5.
    if editor is initial.
      create object editor exporting parent = docking
                                     wordwrap_mode =
                         cl_gui_textedit=>wordwrap_at_fixed_position
                                     wordwrap_position = 256
                                     max_number_chars = 100000.
    endif .
    Regards
    Raja

  • How can I obtain System date and time?

    Good morning to everyone !,
    Could anybody help me?
    I need to know how to get the current System time... ??
    I need the source code to get it as a Timestamp. I think this type belongs to the class java.sql.Timestamp
    Which is the easiest way to do this?
    I need to get it, to insert it in a database datetime field afterwards.
    Thanks in advance for your time.

    Hello again, thanks for all the kind replies...
    I think I will go for this Option:
    Timestamp time = new Timestamp(System.currentTimeMillis());Seems very coherent to me. Do you know If I can insert it inside a datetime field of a DB Table?
    Thank you guys, you always exceed my expectations
    Sincerely, Jose

  • How can I add the date to my home page screen, maybe next to the time.

    mini IPAD 8.2 . I would like the date to apprear on my home screen just like the time . Is there a way to do this?

    No. However, the Calendar App always has the current Day of the week and Day of the month displaying like so:
    Tuesday
    10
    Cheers,
    GB

  • 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 set document date automatically as system date?

    I use FBV1, FBV2, F-02, FB02. Posting date is automatically set as system date. I want to set document date automatically as system date.
    How can I set document date automaticall as system date?
    Wbr.
    İlker Çokkeçeci
    Computer Engineer
    Ankara, Turkey

    Hi Expert,
    Please refer the below link..
    Document date to be defaulted as system date for all FI transactions
    as there mentioned, please go to T-Code: SHD0.
    Regards,
    GK
    SAP

  • How we can update the  System Date,in java

    Hi guys,
    can U pls help me...
    How we can update the System Date,in java
    I need to get the System Date and time continuosly thruogh threads concept.kindly help me
    Thanking u in Advance

    System.currentTimeMillis() will give you the current
    system date and time as a long value.
    ~I think the OP wants to change the system time not just get the system time.

  • HT1320 how can i save me data stored on a non responding ipod classic and says you need to format before using it?

    how can i save me data stored on a non responding ipod classic and says you need to format before using it?
    in another way : how can i save my date stored on my classic iPOD as a external hard .... when that msgs appears .... volume doesn't contain a recognized file system , make sure the file system is loaded .... then , you need to format ??? can anyone help ?

    It sounds like the iPod's storage has data corruption.  You may be able to treat it like an external drive and use data recovery software on it, but it probably won't work because the system is telling you that the drive needs to be formatted before it is recognized.
    If the problem is data corruption and there is no hardware-related problem on the iPod's hard drive, a Restore should fix the problem.  But this will obviously erase the iPod's hard drive.

  • HI, I need your help. How can I delete all data, when I do not have the special security code, which I didn´t remember ? I also think, that I never create this code before. But I cannot put my settings back.

    HI, I need your help. How can I delete all data, when I do not have the special security code, which I didn´t remember ? I also think, that I never create this code before. But I cannot put my settings back.

    You must remember the code, if you can't then take the phone and proof of purchase to an Apple Store.

Maybe you are looking for

  • How to pass int array as an IN parameter to PLSQL Procedure

    Hi, How to pass int array in java to a stored procedure througn jdbc and what type of data type I should declare to this IN parameter in PLSQL Procedure. Thanks, Simi

  • Dynamic Varian Creation

    Hello Friends, I need to create one Dynamic variant for the Date Field in one of the Report.Where the date is supposed to be From Date : Fist day of the Month To Date : Current Date-1 I am aware of the process to create dynamic variant but i am not g

  • Upgraded to Yosemite, lost all sound fonts

    I recently upgraded my OS from Mavericks to Yosemite. Everything was going well-ish after the upgrade (generally slower than Mavericks, which is annoying) until I noticed that some instruments weren't making a sound in a Garageband composition. Turns

  • Seeded Reports

    Hi, Are there any samples available to show the concurrent program seeded reports available with OLM? I'm specifically looking for an example of the Attendance and Signature Sheet Report, Registration Report, and Student Sign-in Sheet. Any help would

  • Project  types..

    hi friends .. can any one tell me waht is a production proj and supporting proj ... as iam new to bw i could know the actual meaning ..so can one any one explain .. thanx