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

Regarding selection-screen error

Former Member
0 Likes
3,591

Hi,

Can any body please resolve the error.In selection-screen given input is *.

When i press enter getting '@28\QSelect: Include pattern@' .what was the reason behind this?

Regards,

Suresh Kumar.

14 REPLIES 14
Read only

Former Member
0 Likes
3,328

Hi Suresh

What type is the selection screen field?

Regards

Meera

Read only

0 Likes
3,328

Meera,

Thanks for your quick respond. Field type is char.

Regards,

Suresh KUmar.

Read only

0 Likes
3,328

Hi,

Can yuou send me the code which you are getting the error.

Regards,

Ram

Read only

Former Member
0 Likes
3,328

SELECTION-SCREEN begin of block b1.

parameter: p_test type mara-matnr.

selection-screen end of block b1.

write:/ p_test.

Am not getting any error when i input '*' in p_test.

Rgds

Meera

Read only

0 Likes
3,328

Meera,

In my selection-screen field which i used is 'TPLST' (Transport planning point).

But here i am getting the error '@28\QSelect: Include pattern@'.

Regards,

Suresh Kumar.

Read only

0 Likes
3,328

Hi Suresh,

Declare like this, i am not get any error.

SELECTION-SCREEN begin of block b1.

parameter: p_tplst type tplst.

selection-screen end of block b1.

Read only

0 Likes
3,328

Hi,

Declare like this..

SELECTION-SCREEN begin of block b1.

parameter: p_test type A556-TPLST.

selection-screen end of block b1.

write:/ p_test.

I am not getting the error you have mentioned..

Regards,

Ram

Read only

0 Likes
3,328

Hi,

use this way....

parameters: p_tpslt type vttk-tplst.

can you show your selection screen design..

Regards

Vijay

Read only

0 Likes
3,328

Vijay,

My selection-screen field is not a parameter. That is select-option.

Problem has resolved. Problem was in loop at screen.

Thanks for your quick respond.

Regards,

Suresh Kumar.

Read only

0 Likes
3,328

Hi Suresh,

This is Pradeep.

I am having a similar issue on my selection screen. Could you please let me know how the issue was resolved.

Thanks & Regards,

Pradeep Reddy

Read only

0 Likes
3,328

Hi Suresh,

I'm facing a similar problem in my report.

It would be of great help if you could tell me how you resolved the issue.

Thanks in advance.

Best Regards,

Ashwini

Read only

0 Likes
3,328

I ran into the same problem just now so here is the explanation:

This is caused by setting the SCREEN-INPUT value to 1 on the select-option icon field inside a LOOP AT SCREEN loop.  In my case the loop was checking SCREEN-GROUP1 (aka MODIF ID) to determine whether or not to enable the field, by setting the SCREEN-INPUT value.  Note that SCREEN contains a couple of extra fields for select options, one of which is the field used to display the wildcard search icon.  When the MODIF ID is set for the select option, that value becomes the SCREEN-GROUP1 value for every element related to the select option, including these extra fields.  Setting SCREEN-INPUT to 1 seems to change the icon to a field which displays this text.

The fix?  Don't set SCREEN-INPUT to 1 on this field.  SCREEN-ACTIVE works fine.

Read only

Former Member
3,328

Add this code in your 'AT SELECTION-SCREEN OUTPUT' in loop at screen.

CASE screen-name.
       WHEN '%_S_AS_%_APP_%-OPTI_PUSH'.
         screen-input = 0.
         MODIFY SCREEN.
ENDCASE.


At place of  '%_S_AS_%_APP_%-OPTI_PUSH' , write your screen element name.

For getting the correct screen elemet name,follow the following steps : -

step 1.double click on your screen no.

step 2. Click on Element list tab.

Step 3. search the element name before your input field name. My input field name is s_as, ands_as is a select option,so search for the name before s_as-low.

Step 4. wow, you will get your element name here . In my case it is '%_S_AS_%_APP_%-OPTI_PUSH'.

So just insert the following code with your element name .

CASE screen-name.
      WHEN '
your element name'.
        screen-input = 0.
        MODIFY SCREEN.
ENDCASE.

reward if helpfull .

Read only

0 Likes
3,328

Thank you so much for illustrated explanation. Had same problem. You helped me resolve it.

Thanks to Suresh for posting.

I still guess we can permanently disable it in selection screen properties checkbox. I am not sure though. Yet to try.

Regards,

Jayaprakash.