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

Replace button F8 on report mode

Former Member
0 Likes
1,397

Hi,

How can I replace the button with in the report mode.

I also need that the report only runs on background.

Thanks!

Hi,

How can I replace the button with in the report mode.

I also need that the report only runs on background.

Thanks!

6 REPLIES 6
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,249

Just use your own pf-status with RS_SET_SELSCREEN_STATUS in INITIALIZATION or SELECTION-SCREEN OUTPUT. Replace the ONLI function code with SJOB.

Or use good old trick like

AT SELECTION-SCREEN.

  CASE sscrfields-ucomm.

    WHEN 'ONLI' OR 'PRIN'.

        sscrfields-ucomm = 'SJOB'.

      ENDIF.

  ENDCASE.

Regards,

Raymond

Read only

0 Likes
1,249

It worked pretty well!

Is it possible to change the icon?

Read only

0 Likes
1,249

Thank you very much Raymond!

Read only

0 Likes
1,249

What I mean is: I need wo write the word BACKGROUND on button F8

Read only

0 Likes
1,249

By default the report use status "%_00" of program "RSSYSTDB". So, copy and rename this status (SE41) to your report, change the icons, and set this status in INITIALIZATION block using RS_SET_SELSCREEN_STATUS.

Regards,

Raymond

Read only

0 Likes
1,249

Thank you very much Raymond! It worked pretty well!!