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

Excluding statement

Former Member
0 Likes
1,067

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,040

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
Read only

former_member195698
Active Contributor
0 Likes
1,040

it will hide the button if you are referring to

set pf-status exlcuding table_ucommand.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,040

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

Read only

Former Member
0 Likes
1,040

Yes ... It does the same ...

Regards,

Santosh

Read only

Former Member
0 Likes
1,041

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

Read only

0 Likes
1,040

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

how to achieve this...

Read only

0 Likes
1,040

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

Read only

0 Likes
1,040

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

Read only

Former Member
0 Likes
1,040

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