Skip to Content
author's profile photo Former Member
Former Member

Fields in a Maintenace View

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jan 10, 2008 at 02: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 05: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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 05: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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.