‎2007 Sep 12 12:32 PM
Hi,
I have one basic list and 5 secondary list, i have function keys 'ASCENDING', 'DESCENDING' in basic list, but i don't like to display that function key in THIRD's Screen. but i need to display the same function keys in fourth and fifth screen. how i can do it? explain with examples.
‎2007 Sep 12 12:40 PM
hi,
do like this.
DATA fcode TYPE TABLE OF sy-ucomm.
at line-selection.
case sy-lsind.
when 3.
APPEND 'ASCENDING' TO fcode.
APPEND 'DESCENDING' TO fcode.
set pf-status 'MYMENU' excluding fcode.
endcase.
rgds,
bharat.
‎2007 Sep 12 12:35 PM
hi udaya
sure
u can put SET PF-STATUS f4 after sy-lisind = 4 or 5
‎2007 Sep 12 12:39 PM
hi,
try this.
AT LINE-SELECTION.
IF sy-lsind = 4.
set pf-status 'SEC'.
PERFORM sales_ord.
ENDIF.
‎2007 Sep 12 12:40 PM
hi,
do like this.
DATA fcode TYPE TABLE OF sy-ucomm.
at line-selection.
case sy-lsind.
when 3.
APPEND 'ASCENDING' TO fcode.
APPEND 'DESCENDING' TO fcode.
set pf-status 'MYMENU' excluding fcode.
endcase.
rgds,
bharat.
‎2007 Sep 12 1:20 PM
Hi Bharat,
I used your code but after third screen, at line selection is not triggred. Tell me correct solution immediatly