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: 

Fields in a Maintenace View

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member589029
Active Contributor
0 Kudos

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

4 REPLIES 4

former_member589029
Active Contributor
0 Kudos

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

0 Kudos

Thanks much Michael.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.