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: 

module pool

Former Member
0 Kudos
98

Hi Experts ,

I have query related to the Pf-Status.

I am using the same Pf-status for 3 different screens.

There are 'Save', 'Exit' and 'Back' icons on the standard tool bar. Is it possible to enable only 'Save'

icon on the third screen ?(it should be enabled on other two screens).

Narayan

1 ACCEPTED SOLUTION

andreas_mann3
Active Contributor
0 Kudos
73

Hi,

try to exclude it:

append: 'EXIT' to extab.

if sy-dynnr = 200.

set PF-STAUS 'Z123' excuding extab.

endif.

A.

Message was edited by: Andreas Mann

4 REPLIES 4

andreas_mann3
Active Contributor
0 Kudos
74

Hi,

try to exclude it:

append: 'EXIT' to extab.

if sy-dynnr = 200.

set PF-STAUS 'Z123' excuding extab.

endif.

A.

Message was edited by: Andreas Mann

suresh_datti
Active Contributor
0 Kudos
73

yes you can exclude the function codes based on the screen no..

~Suresh

Former Member
0 Kudos
73

While calling the PF-STATUS do like this:

TYPES: BEGIN OF ty_excl_menu,

fcode(20) TYPE c,

END OF ty_excl_menu.

data: i_excl_menu TYPE STANDARD TABLE OF ty_excl_menu,

wa_excl_menu TYPE ty_excl_menu.

CLEAR wa_excl_menu.

wa_excl_menu-fcode = 'EXIT'.

APPEND wa_excl_menu TO i_excl_menu.

CLEAR wa_excl_menu.

wa_excl_menu-fcode = 'BACK'.

APPEND wa_excl_menu TO i_excl_menu.

SET PF-STATUS 'STATUS_100' EXCLUDING i_excl_menu.

Regards,

Prakash.

Message was edited by: Prakash Ramu

0 Kudos
73

Hello Narayan,

you may copy the initial status and delete in this copy the 'Exit' and 'Back' icons. In the PBO of third screen call to the new copy status.

Regards.