01-07-2008 9:51 AM
hi all
in alv grid output there is a input enabled field say xyz, this field is given f4 help by creating ztable, and when f4 is pressed on xyz field, it is fetching all the data related to that field, but the user wants restricted value with respect to company code and land1.
how to restrict the value coming in through F4 help ???
thanking u in advance
rocky
01-07-2008 9:59 AM
Rocky,
In CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
check the name of the USER_COMMANG.Based on User command there will be one FORM ......... ENDFORM .
In that there will be selection statement to internal table by which you are getting F4 help.Put the condition WHERE company code eq and land1 eq.
Pls. reward if useful.....