Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Report

Hai friends,

in report program,hoe to create button in tool bar.

Thanks and regards,

Jinna

Tags:
Former Member
Former Member replied

Hi Jinna,

Without using the SET PF-STATUS statement, you can set a button in toolbar in selection screen.

Just check this code.

TABLES: SSCRFIELDS.

  • Button on screen

selection-screen: begin of screen 200.

SELECTION-SCREEN FUNCTION KEY 1.

selection-screen: end of screen 200.

INITIALIZATION.

SSCRFIELDS-FUNCTXT_01 = 'Test'.

AT SELECTION-SCREEN.

CASE SSCRFIELDS-UCOMM.

WHEN 'FC01'.

message i001(zmess).

ENDCASE.

start-of-selection.

call selection-screen 200.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question