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

S_Tcode Should not be *

Former Member
0 Likes
980

Hi,

I need to find the Roles which contains S_TCODE value as *.When I tried on SUIM & SE16(AGR_1251).It takes * as Wild Card Value and It displaying all the Roles.

Even I tried '' and "" also.But I didnt get the correct value.

Kindly help in sorting out this problem.

Regards

Karthika

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
772

Dear Karthika,

Try giving #* or #** for the values of S_TCODE and run it.

Regards,

5 REPLIES 5
Read only

Former Member
0 Likes
773

Dear Karthika,

Try giving #* or #** for the values of S_TCODE and run it.

Regards,

Read only

0 Likes
772

Thanks a Lot!

Read only

0 Likes
772

Hi Lakshmi ,

Could you please tell me what is the difference in giving * alone and or giving # or #* in place of *

Regards

Kanti

Read only

0 Likes
772

In report selections * will look for any value, #* 'escapes' the star and will look for the value , #* 'escapes' the first star and will look for any value starting with a *.

This escaping is found in almost every system/programming language to be able to work with characters that have special meaning to the system.

In Excel it's the ~ (tilde) symbol. You can try this to see the difference:

Fill an empty sheet from cell A1 thru A5 with:

a

b

c

d

*

Now look at the different outcome if you type these formulas in another cell:

=COUNTIF(A1:A5;"*") to look for anything

=COUNTIF(A1:A5;"~*") with the star escaped.

Read only

0 Likes
772

Thank you