09-24-2008 6:30 AM
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
09-24-2008 6:42 AM
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)
09-24-2008 6:47 AM
Hello
You must create PF-STATUS for program and into this set function names for buttons.
Then in PAI process this functions.
09-24-2008 7:52 AM
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.
09-25-2008 9:40 AM