Skip to Content
author's profile photo Former Member
Former Member

search help proble m for date

Hi All,

Am using 4 screen fields which are of DATS type ,but am unable to attach F4 help.

i have tried several posibilities like declaring the fields like sy-datum and many more,but nothing is working out.

pls help me out.

regards

-john

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 29, 2008 at 12:05 PM

    Hi John,

    declare your date field with type S_DATE.

    hope it will work.

    Regards,

    Anirban

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 29, 2008 at 12:08 PM

    hi,

    use 'F4_DATE' function module.

    DATA: DATE  LIKE WORKFLDS-DAY.                          
      
    CALL FUNCTION 'F4_DATE'
           EXPORTING
                DATE_FOR_FIRST_MONTH         = SY-DATUM
           IMPORTING
                SELECT_DATE                  = DATE
           EXCEPTIONS
                CALENDAR_BUFFER_NOT_LOADABLE = 1
                DATE_AFTER_RANGE             = 2
                DATE_BEFORE_RANGE            = 3
                DATE_INVALID                 = 4
                FACTORY_CALENDAR_NOT_FOUND   = 5
                HOLIDAY_CALENDAR_NOT_FOUND   = 6
                PARAMETER_CONFLICT           = 7
                OTHERS                       = 8.
    

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 29, 2008 at 12:10 PM

    Hi,

    Check the following code:

    PARAMETERS:

    p_var TYPE budat.

    Thanks & Regards,

    Navneeth K.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 29, 2008 at 12:12 PM

    Hi,

    Try to declare it as type of Standard table field.

    For example :

    DATA: CREDAT TYPE EDIDC-CREDAT.

    Regards,

    Amit.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 29, 2008 at 12:41 PM

    hi.

    plz show me code where u r facing problem.

    bcoz

    parameters: date1 like sy-datum

    will automatically attach the help with it.

    best regards.

    tahir naqqash

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 29, 2008 at 01:18 PM

    hi,

    what do u mean ?

    "am getting f4 help but am getting f4 symbol ( f4 help symbol ) for the field"

    you mean the following.

    your are getting F4 help but not want to show symbol ?

    kind regards,

    Faisal

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 02, 2008 at 08:56 AM

    Thanks ..My query is answered

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.