Skip to Content
1
Former Member
May 03, 2017 at 01:18 PM

PF-Status icons not showing using ALV table

1786 Views Last edit May 05, 2017 at 06:19 PM 2 rev

I've created a custom PF-Status, both from copying salv_test_table_layout/salv_standard and creating from scratch. I get the same results from either approach. When I test my layout, all icons and menu options show. However, when I run my program, only part of the icons show. I've deactivated and reactivated the problem icons/functions, I've moved them around in the order, I've deleted and re-added, nothing is changing the results. Here is my latest pf-status screen below, the test results and the results when I use it in my program.

test of the pf status :

using the pf status in the pgm

Program results:

The select all and deselect all wouldn't show, so I defined custom methods for those. Now the change layout icon and menu option will show, but the choose and save layout icons will not (nor will the menu options ungray).

If I do a system status on the program, it is using the right pf-status:

I've tried everything I can think of for 2 days. I've created programs from scratch, I've copied the example programs, I've logged out and back in before running the program. I'm using the table control because the users want full screen no matter what computer they use. I know I can switch to grid and dock it - which at this rate may be my only option. However, this is driving me crazy and I hate to just leave it and not understand the issue. My experience with ALV before this assignment has all been in webdynpro and I never had these issues there. Is this a lack of knowledge on my part? The SAP demo programs appear to do the same steps. Their pf-status's load just fine - they show like they test.

Attachments

pfstatus-test.png (10.3 kB)
code.png (15.2 kB)
pfstatuspgm.png (22.1 kB)
systemstatus.png (18.5 kB)
pfstatuspgm.png (36.0 kB)