Application Development 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: 

Toolbar options(back button etc) not working on execution of program!

Former Member
0 Kudos

Hi Gurus,

I have prepared a report where in i use ALV grids to display output in table format .

Initially i am calling a screen with ALV containers.

In my MODULE pbo, i pass the table with vaues to alv grid and display them using 'set_table_for_first_display'

And my pai looks like this:

-


MODULE pai INPUT.

CALL METHOD cl_gui_cfw=>dispatch.

CASE ok_code.

WHEN 'EXIT'.

LEAVE PROGRAM.

WHEN 'BACK'.

LEAVE TO SCREEN 0.

WHEN OTHERS.

  • do nothing

ENDCASE.

CLEAR ok_code.

ENDMODULE. "PAI INPUT

-


When i execute my report i get output, All fine.

But, on the top (toolbar) the toolbar options (Back button etc) are missing!

Could you tell me whats the issue? I am not able to figure out.

I have to use transaction /nex to come out of that page now, no other way.

Pls help.

Thanks & Regards,

Rashmi

4 REPLIES 4

Former Member
0 Kudos

hi,

1. check all obj are activate(main prg, scr, pf-status)

2. r u used SET PF-STATUS <name of pf> in PBO module

3. PAI module to trigger the code(you did this)

Former Member
0 Kudos

Hello

You must create PF-STATUS for program and into this set function names for buttons.

Then in PAI process this functions.

former_member188685
Active Contributor
0 Kudos

in the PBO module you need to set the pf-status otherwise it will not display those icons.

enable the functions in application toolbar by providing the function code and activate the status . Now check the Program.

Former Member
0 Kudos

Thanks a lot gurus.

The issue is solved!