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: 

Problem in ALV Grid..( F4 help button )

Former Member
0 Kudos
258

Hi,

I am using ALV Grid. and am building field catalog as follows.

But in my grid, am not getting F4 help button for certain fields (say:'PROJN_NET', 'DISPO_NET').

I could not make out why the button is not appearing. Please help me out.

FYR: some piece of code:

DATA : wfcat_net TYPE LINE OF lvc_t_fcat.

CLEAR wfcat_net.

CLEAR list_fcat_net.

CLEAR wfcat_net.

wfcat_net-edit = ''.

wfcat_net-fieldname = 'AUFNR_NET'.

wfcat_net-col_pos = 1.

wfcat_net-ref_field = 'AUFNR'.

wfcat_net-ref_table = 'AUFK'.

APPEND wfcat_net TO list_fcat_net.

CLEAR wfcat_net.

wfcat_net-fieldname = 'PROJN_NET'.

wfcat_net-edit = ''.

wfcat_net-col_pos = 3.

    • wfcat_net-checktable = 'PRPS'.*

    • wfcat_net-ref_field = 'PSPEL'.*

    • wfcat_net-ref_table = 'AUFK'.*

wfcat_net-f4availabl = 'X'.

APPEND wfcat_net TO list_fcat_net.

CLEAR wfcat_net.

wfcat_net-fieldname = 'KDAUF_NET'.

wfcat_net-edit = ''.

wfcat_net-col_pos = 4.

wfcat_net-ref_field = 'KDAUF'.

wfcat_net-ref_table = 'AUFK'.

APPEND wfcat_net TO list_fcat_net.

CLEAR wfcat_net.

wfcat_net-fieldname = 'DISPO_NET'.

wfcat_net-edit = 'X'.

wfcat_net-col_pos = 6.

wfcat_net-f4availabl = 'X'.

wfcat_net-ref_field = 'DISPO'.

wfcat_net-ref_table = 'AFKO'.

APPEND wfcat_net TO list_fcat_net.

2 REPLIES 2

Former Member
0 Kudos
37

Hi,

Try assigning to tablename and fieldname instead of ref_table and ref_field. Remove wfcat_net-f4availabl = 'X'.

Cheers.

...Reward if useful.

0 Kudos
37

Hi,

Thanks for your reply.

But it still does not work. Now the button is coming. But if I click, it is going to dump saying "Field symbol has not been assigned" in (CL_GUI_ALV_GRID).

Kindly help me out if there is some other way.

Regards,

SAP Lover.