Application Development and Automation 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: 
Read only

Problem in Reports

Former Member
0 Likes
638

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
572

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.

4 REPLIES 4
Read only

Former Member
0 Likes
572

hi udaya

sure

u can put SET PF-STATUS f4 after sy-lisind = 4 or 5

Read only

Former Member
0 Likes
572

hi,

try this.

AT LINE-SELECTION.

IF sy-lsind = 4.

set pf-status 'SEC'.

PERFORM sales_ord.

ENDIF.

Read only

Former Member
0 Likes
573

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.

Read only

0 Likes
572

Hi Bharat,

I used your code but after third screen, at line selection is not triggred. Tell me correct solution immediatly