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: 

How to inhibit reset with exclamation mark on selection screen

Former Member
0 Kudos

For a dynpro field there exists a flag "no reset" to switch off the exclamation mark's reset functionality.

Structure SCREEN has no such flag.

Any idea how to allow exlamation mark as data input on a selection screen?

Thx

6 REPLIES 6

andreas_mann3
Active Contributor
0 Kudos

Any idea how to allow exlamation mark as data input on a selection screen?

I think you mean <b>not</b> allow !?

1 work around might be : set the field obligatory

Andreas

0 Kudos

If a "!" is entered in a already prefilled dynpro-field the field value is reset (by sapgui) to initial. i.e. the ! is not populated to PAI.

If ! is a valid entry which should be populated to PAI you can set the "Inhibit reset" flag in the field attributes of the dynpro.

Question: Is there a equivalent for selection screens.

i.e. normally it is not possible to populate a entered "!" to the report.

0 Kudos

yes it can be done, you can loop at screen and modify the screen.

you can do it in at selection-screen output.

this is like PBO, here you can modify the screen attributes,

using option screen-required you can make it either obligatory or initial.

Regards

Vijay

0 Kudos

Hi

No! I don't think it can change that attribute, it only allows to change the screen attributes by LOOP AT SCREEN/ENDLOOP statament, but structure SCREEN haven't that attribute.

Max

former_member188685
Active Contributor
0 Kudos

Hi,

use Obligatory.

Report ztest.

tables: mara.
select-options: s_matnr for mara-matnr obligatory.

Regards

vijay

Former Member
0 Kudos

Hi,

You can toggle a field as mandatory by using the structure field SCREEN-REQUIRED.

Best Regards,

Vijay