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: 

Excluding statement

Former Member
0 Kudos

Does excluding statement hide the button or greys the button on the app.tool bar ??

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Whether it hides or gray out, depends on a setting.

Open the GUI Status. and follow the Path

Go To > Attribute > Push Button Assignment

There you can see three radio button.

Select which ever you want.

If you want to hide, select "Hide All"

Reward points if helpful

8 REPLIES 8

former_member195698
Active Contributor
0 Kudos

it will hide the button if you are referring to

set pf-status exlcuding table_ucommand.

kesavadas_thekkillath
Active Contributor
0 Kudos

yes its used to hide buttons..

set pf-status 'ABC' excluding it_exclude.

it_exclude must ave the function code of the buttons to b hidden

Former Member
0 Kudos

Yes ... It does the same ...

Regards,

Santosh

Former Member
0 Kudos

Whether it hides or gray out, depends on a setting.

Open the GUI Status. and follow the Path

Go To > Attribute > Push Button Assignment

There you can see three radio button.

Select which ever you want.

If you want to hide, select "Hide All"

Reward points if helpful

0 Kudos

But, i dont want to hide.. i want it to be greyed out .. that is all..

how to achieve this...

0 Kudos

Hi,

Using Excluding statemnt like below

SET PF-STATUS 'BASIC' EXCLUDING itab.

excludes the push buttons,i.e they will be greyed out

regards

prasanth

0 Kudos

As mentioned before, check the settings first.

Make it "Display All".

And in your code

SET PF-STATUS <STATUS NAME> EXCLUDING <FUNCTION CODE>.

Here <FUNCTION CODE> is the Function code of the button you want to gray

former_member705122
Active Contributor
0 Kudos

Hi,

In regard to SET PF-STATUS, you can deactivate unwanted function codes by using EXCLUDING.

similarly, you can hide unwanted function codes by using

HIDE

http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba42335c111d1829f0000e829fbfe/content.htm

Regards

Adil