02-21-2006 9:13 AM
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
02-21-2006 12:47 PM
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
02-21-2006 1:12 PM
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.
02-21-2006 1:17 PM
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
02-21-2006 1:22 PM
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
02-21-2006 12:52 PM
Hi,
use Obligatory.
Report ztest.
tables: mara.
select-options: s_matnr for mara-matnr obligatory.
Regards
vijay
02-21-2006 12:55 PM
Hi,
You can toggle a field as mandatory by using the structure field SCREEN-REQUIRED.
Best Regards,
Vijay