‎2008 Feb 21 3:12 AM
Hi All,
my requriment is like standard program RQEEAL10 to Z_Program. then i need to add one ICON(through PF status)
in application bar. So my doubt is in which PF status i need to add this icon because they used more then 2 PF status.
Thanks
‎2008 Feb 21 3:20 AM
Hi
For every screen they mite hav used different PF status.So u need to check which on which screen u need to add this icon then go to the corresponding PF status and add it.
Thanks
Vasudha
‎2008 Feb 21 3:20 AM
hi sasmita,
Check
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/set_pf_s.htm
Also, try this.
Use class cl_gui_alv_grid and not the old SLIS modules
I've coded an example in a previous post.
However for the PF status just have a standard Status with EXIT, BACK and CANCEL buttons (SE41).
In the PBO code
set pf-status '001'.
set titlebar '000'.
Code this after the display of the grid statement in your PBO module.
call method grid1->set_table_for_first_display
exporting is_layout = struct_grid_lset
changing
it_outtab = <dyn_table>
it_fieldcatalog = it_fldcat.
Then in your PAI just code something like
module user_command_0100 input.
case sy-ucomm.
when 'BACK'.
leave program.
when 'EXIT'.
leave program.
when 'RETURN'.
leave program.
when others.
endcase.
endmodule
hope this helps.
cheers,
Hema.
‎2008 Feb 21 3:21 AM
Hi,
According to logic check that which PF status they are setting.