Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

search help proble m for date

Former Member
0 Kudos
187

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

8 REPLIES 8

Former Member
0 Kudos
140

Hi John,

declare your date field with type S_DATE.

hope it will work.

Regards,

Anirban

0 Kudos
140

hi,

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

any solution

regards,

-john

GauthamV
Active Contributor
0 Kudos
140

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.

Former Member
0 Kudos
140

Hi,

Check the following code:

PARAMETERS:

p_var TYPE budat.

Thanks & Regards,

Navneeth K.

Former Member
0 Kudos
140

Hi,

Try to declare it as type of Standard table field.

For example :

DATA: CREDAT TYPE EDIDC-CREDAT.

Regards,

Amit.

Former Member
0 Kudos
140

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

Former Member
0 Kudos
140

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

Former Member
0 Kudos
140

Thanks ..My query is answered