01-09-2008 11:45 PM
Hello Experts,
How can we make the fields in a "maintenance view" as mandatory fields? The requirements is I have created a maintenance view with 5 custom fields. And the business analyst wants to make all these fields as the mandatory fields i.e, without filling all the values for the first record, it should not allow them to enter the values for the second record.
Is it possible?
PS: I have tried to make all these 5 fields as the key-fields but as some of them are type "numeric", I am getting warning messages while activating.
Thanks
01-10-2008 2:15 AM
After you generated the maintenance dialog, go to the generated screen in the screen painter and select the field you want to be mandatory. Double click to get the attributes popup for the selected field. In the frame 'Attributes' select tab 'Program' and for field 'Input' select 'required'.
This will make that field a mandatory field and you have to enter a value into it to be able to proceed.
Repeat this for all fields that should be mandatory.
Regards,
Michael
01-10-2008 2:15 AM
After you generated the maintenance dialog, go to the generated screen in the screen painter and select the field you want to be mandatory. Double click to get the attributes popup for the selected field. In the frame 'Attributes' select tab 'Program' and for field 'Input' select 'required'.
This will make that field a mandatory field and you have to enter a value into it to be able to proceed.
Repeat this for all fields that should be mandatory.
Regards,
Michael
01-29-2008 6:16 PM
01-10-2008 5:40 AM
Hi Dev,
u can make any field mandatory by
parameters : matnr like mara-matnr obligatory.
or,
There are two ways to make this field mandatory
1) Check the SPRO settings with your BASIS Consultant
(Maintain screen fields for User Settings)
2) Modify the screen 100 for GUI program SAPLSUU5 use -Code SE51
or,
You can do this by using transaction variant ( tcode SHD0).
when you are creating the transaction variant just check the check box required .
for some tutorial help pls go through this.
http://help.sap.com/saphelp_nw04s/helpdata/en/67/232037ebf1cc09e10000009b38f889/content.htm
kindly reward if found helpful.
cheers,
Hema.
01-10-2008 5:41 AM
Hi Dev,
if you want to make a field as mandatory, we have to use the keyword "OBLIGATORY'.
Example:
select-options: kunnr like kna1-kunnr OBLIGATORY.
cheers,
Hema.