Application Development and Automation 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: 
Read only

Set pf-status.

Former Member
0 Likes
443

What is the use of Set Pf-Status Excluding Statement?.

Regards

Priya.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
394

Hi

Suppose if u want to Disable some push button in the report for each list, then u should use this statement.

Reward me if helpful.

Hi

Suppose if u want to Disable some push button in the report for each list, then u should use this statement.

Reward me if helpful.

2 REPLIES 2
Read only

Former Member
0 Likes
395

Hi

Suppose if u want to Disable some push button in the report for each list, then u should use this statement.

Reward me if helpful.

Read only

Former Member
0 Likes
394

Hello

You can use it to exclude some functions on your code....Check this..

The addition EXCLUDING can be used to deactivate functions of the set GUI status. An inactive function cannot be selected in the user interface.

Example:

Setting the GUI status STATUS_0100 of the main program in a PBO module, whereby the functions with the function codes "CHANGE" and "SAVE" are deactivated.

DATA fcode TYPE TABLE OF sy-ucomm.

...

MODULE status_0100 OUTPUT.

APPEND 'CHANGE' TO fcode.

APPEND 'SAVE' TO fcode.

SET PF-STATUS 'STATUS_0100' EXCLUDING fcode.

ENDMODULE.

Hope this helps

Gabriel