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: 

f4 from standard domain in ALV

Former Member
0 Kudos

Hi friends,

In ALV output i have a column, which needs to be editable and F4 should come from Domain.

Domain is - XUBNAME, which is list of users from USR02 table.

while building fieldcatalog i made

LS_FIELDCAT-EDIT = 'X'.

LS_FIELDCAT-DOMNAME = 'XUBNAME'.

but still i am not able to get F4 functinality but column is editable.

Whats wrong?

Do i have to set any other parameter?

appreciate your help.

Regards,

Simha

6 REPLIES 6

Former Member
0 Kudos

Hi,

Check with DRDN_HNDL of fieldcat. ( Drop Down Handler)

Hope this helps.

RSS

Former Member
0 Kudos

check this field

fildcatlog-F4AVAILABL = 'X'.

and also see field CHECKTABLE in field catalog

if still it is not coming fill

REF_FIELD

REF_TABLE

Edited by: S.r.v.r.Kumar on Jun 18, 2008 1:22 PM

Former Member

Former Member
0 Kudos

Hi,

have u registered ur F4 help in fieldcatalog , chk this

if gs_fieldcat-fieldname = 'FIELD'.

    * gs_fieldcat-edit = 'X' ( Remove this ).

gs_fieldcat-F4AVAILABL = 'X'.
modify gt_fieldcat from gs_fieldcat index sy-tabix.
endif.

where FIELD is ur field where u want F4 help

Thansk

Vikranth

0 Kudos

Hi Kumar and Vikranth,

Thanks for your help. Its working with addition of F4 Available for the fieldcatalog.

But earlier when i worked for other report, it worked absolutely fine with out giving

gs_fieldcat-F4AVAILABL = 'X'.

But now why am i forced to give?

I have given LS_FIELDCAT-REF_TABLE also and the field i am referring to is also having check table as USR02 table.

But why is it not coming unless i enable F4AVAILABL??

what could be the reason?

Former Member
0 Kudos

used field F4AVAILABL lf lcs_s_fieldcat