Application Development and Automation 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: 
Read only

F4 Valuehelp with own dataelement in ALV

timo_ehl3
Participant
0 Likes
1,338

Hi out there,

i createt own dataelement with own domain. in domain there are fixed values.

Now i designed an itab for alv grid. (abap oo methods).

Unfortunately the F4 Help does not appear.

How to config the corresponding fieldcat?

...
  CLEAR ls_fieldcat.
  ls_fieldcat-ref_table = '<Name ITAB>'.
  ls_fieldcat-fieldname = '<Name Column in ITAB>'.'.
  ls_fieldcat-DD_ROLL   = '<Name Dictionary Element>'.
  ls_fieldcat-F4AVAILABL   = 'X'.
  ls_fieldcat-edit = 'X'.
  APPEND ls_fieldcat TO pt_fieldcat.
...

Unfortunately nothing happens. Just empty valuehelp.

I testet the ddict-elem as selscreenparameter...and valuehelp appears..

Hi out there,

i createt own dataelement with own domain. in domain there are fixed values.

Now i designed an itab for alv grid. (abap oo methods).

Unfortunately the F4 Help does not appear.

How to config the corresponding fieldcat?

...
  CLEAR ls_fieldcat.
  ls_fieldcat-ref_table = '<Name ITAB>'.
  ls_fieldcat-fieldname = '<Name Column in ITAB>'.'.
  ls_fieldcat-DD_ROLL   = '<Name Dictionary Element>'.
  ls_fieldcat-F4AVAILABL   = 'X'.
  ls_fieldcat-edit = 'X'.
  APPEND ls_fieldcat TO pt_fieldcat.
...

Unfortunately nothing happens. Just empty valuehelp.

I testet the ddict-elem as selscreenparameter...and valuehelp appears..

4 REPLIES 4
Read only

Former Member
0 Likes
818

hi,

chk this pgm.

BCALV_EDIT_08 This report implements an ALV Grid Control with an application specific F4 help. The following aspects

are dealt with:

(1) how to replace the standard f4 help

(2) how to pass the selected value to the ALV Grid Control

(3) how to build an f4 help, whose value range depend on a value of another cell.

thanks & Regards.

Read only

Former Member
0 Likes
818

Hi ,

Check below wiki document

http://wiki.sdn.sap.com/wiki/display/Snippets/HowtoimplementF4searchhelpinOOALV+Grid

Thanks,

Pawan

Read only

0 Likes
818

Thanks!

I already got my f4 help. It's not a dynamic one. Jaust a custom Dataelement depending on Custom Domain WITH FIXED VALUES.

I suggest its not neccesary to use eventing etc. Just ddictfunctionality in alv grid.

I tried with

ls_fcat-inttype = <name DDICT Element>.

Like in BCALV_EDIT_08.

No Effect.

Read only

timo_ehl3
Participant
0 Likes
818

Need to use new ddict elem an gib TAble name in fieldcat