Skip to Content
avatar image
Former Member

Drop Down clendar

Hi All,

Please help in detail with example i want to add a calendar in a drop down list in Selection screen.

and after selecting DATE i want to save the date and then want to execute the report

Thanks,

Chandresh.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Sep 30, 2008 at 05:38 AM

    Hi,

    This is just a sample to declare date in selection screen.

    tables : spfli.
    
    Data : itab type table of spfli,
           wa type spfli.
    
    parameters : p_carrid like spfli-carrid,
                 p_date type sy-datum.
    
    
    start-of-selection.
    
    select * from spfli into table itab where carrid = p_carrid.
    
    if itab[] is initial.
    EXIT.
    endif.

    Regards,

    Srinivas

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 30, 2008 at 05:38 AM

    Hai,

    Kindly declare the parameter type as SY-DATUM.

    PARAMETER : DATE1 TYPE SY_DATUM.

    Regards,

    Harish

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 30, 2008 at 05:43 AM

    hi,

    try this code. It works fine....

    selection-screen begin of block b1 with frame title text-001.

    parameters: pdate like sy-datum.

    selection-screen end of block b1.

    Regards,

    Shankar.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 21, 2008 at 07:24 AM

    thanks

    Add comment
    10|10000 characters needed characters exceeded