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: 

How to get the F4 help for a date field in ALV using Reuse_ALV_GRID_DISPLAY FM.

0 Kudos

Hi Team,

Is it possible to get the f4 help for a editable Date field in the ALV. We should get the Calendar and user can select the same while inputing the value.

I am using the Reuse_ALV_Grid_DIsplay FM. Please advise.

If yes please let me know how can we do the same.

Thanks in Advance,

Sunil Kumar.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Please do as below.

http://scn.sap.com/thread/3186712

Thanks,

Shambu

6 REPLIES 6

Former Member
0 Kudos

Please do as below.

http://scn.sap.com/thread/3186712

Thanks,

Shambu

0 Kudos

Hi Shambu,

The above link is based on oops methodlogy where field catelog parameters are passed for generating F4help.

But in my field catelog structure does not have the option of passing F4available.

Regards,

Sunil Kumar.

0 Kudos

Just pass REF_TABLE and REF_TABLE to field catalog.

lt_fieldcatalog-ref_table = 'SYST'.

lt_fieldcatalog-ref_field  = 'DATUM'.

0 Kudos

Addition with Shambu's reply:

Add this to your fieldcatalog together with Shambu's answer.

lt_fieldcatalog-f4availabl = 'X'.

lt_fieldcatalog-ref_table = 'SYST'.

lt_fieldcatalog-ref_field  = 'DATUM'.

The link provided by Shambu was a working one.

Regards,

-Jake

0 Kudos

Hi Jake,

There is no field F4AVAILABl in SLIS_T_FIELDCAT_ALV.

Passing the  REF_TABLE and REF_FIELD would add the searchhelp.

Thanks,

Shambu

0 Kudos

Just pass the Field catalog parameters as follows

lt_fieldcatalog-f4availabl = 'X'.

lt_fieldcatalog-ref_table = 'EKKO'.  " Table Name

lt_fieldcatalog-ref_field  = 'EBELN'. "Field Name