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

Probleem regarding SM30

Former Member
0 Likes
445

Hi,

I have one scenario infront of me....

I need to restrict the data shown in maintenance view.

I think it would be same as pop-up window displayed when we tick on 2nd radiobutton ("ENTER CONDITIONS")

of intial screen of t-code SM30.

Please suggest what shud i do....

Thanks and reagrds,

Amit

Hi,

I have one scenario infront of me....

I need to restrict the data shown in maintenance view.

I think it would be same as pop-up window displayed when we tick on 2nd radiobutton ("ENTER CONDITIONS")

of intial screen of t-code SM30.

Please suggest what shud i do....

Thanks and reagrds,

Amit

2 REPLIES 2
Read only

Former Member
0 Likes
418

yes u can enter the conditions to restrict the data range

Read only

Former Member
0 Likes
418

Hi,

[Maintaining Selection Conditions of Views|http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed3a446011d189700000e8322d00/content.htm]:

Once you have defined the base tables and fields of the view, you can restrict the set of data records that can be selected with the view by defining a selection condition.

Procedure

1. You can enter a condition having the following form in each line of the Selection conditions tab page:

Table, Field name, Operator, Comparison value, AND/OR

2. The entries have the following meaning:

Table: Name of the base table from which the field was taken.

Field name: Name of the field for which the selection condition was formulated.

Operator: Operator for comparing the field contents and comparison value. You can find the valid operators with the F4 help.

Comparison value: Constant value with which the field value is compared. Text literals, which must be enclosed in apostrophes, and numbers are permitted as comparison values, depending on the data type of the field.

AND/OR: Link between two lines of the selection condition.

You can enter the fields for which you want to define selection conditions directly or copy them with Table fields.

3. If you enter more than one selection condition, you must link them with AND or OR.

OR operations are only possible between lines referring to the same field. Note that OR takes priority over AND. The condition <COND1> AND <COND2> OR <COND3> is therefore interpreted as <COND1> AND (<COND2> OR <COND3>).

4. Save your entries for the selection condition(s).

You can formulate selection conditions for all the fields of the table contained in the view. It is not important whether or not these fields were included in the view.

If you attach a table to your text table using a maintenance view you need no selection condition in the form text field = SY-LANGU since the system derives this restriction directly from the text foreign key.

Regards,

Srilatha.