Skip to Content
0
Former Member
Dec 20, 2012 at 05:42 AM

F4 help for a field in editable ALV

45 Views

Hi !

I am having a ALV report generated by using FM "REUSE_ALV_GRID_DISPLAY". I have field "Storage Location" for which I am trying to put F4 help based on entries of WERKS. Presently my code for F4 help looks as below, which I am adding at the time of creating field catalog :

WA_FIELDCAT-DATATYPE = 'CHAR'.

WA_FIELDCAT-INTTYPE = 'C'.

WA_FIELDCAT-REF_TABNAME = 'MSEG'.

WA_FIELDCAT-REF_FIELDNAME = 'LGORT'.

In this case, when I press F4 help in ALV, it gives me all LGORT for all plants available. I want this to be filtered out to particular Plant which is there in report.

Is this possible and if yes, how ?