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

how can we prevent a user from entering a value in Parameter Field?

how can we prevent a user from entering a value in Parameter Field and Select-options Field?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 30, 2008 at 12:16 PM

    make it invisible, make it inactive, make it display only.

    if the field is not there or not to be seen the user WILL have problems inputting data.

    BUT once the field is there you can NOT prevent that the user fills it with data.

    all you can do is on PAI check if the data the user inputted was good or bad, and clear his inputs, but you can NOT prevent him inputting something.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 30, 2008 at 12:15 PM

    Made that field display only.

    at selection-screen output.

    loop at screen.

    if screen-name = 'P_MATNR'.

    screen-input = 0.

    screen-output = 1.

    modify screen.

    endif.

    endloop.

    Regards,

    Ravi

    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.