Skip to Content
0
Former Member
May 31, 2008 at 06:10 PM

How do I check authority for a screen element

632 Views

Hello friends,

I've been assigned to work on the following problem:

In an ABAP program, in fact PAI of a screen, I must add the authority check for a screen element (which is based on a Z table element).

That is to say, some users must be allowed to edit the screen element, while the others are only allowed to display.

I was told to look at the AUTHORITY-CHECK statement. It talks about ID and FIELD and other stuff. I find this statement very cryptic and I have no idea what these things are and how to use them. So the questions are:

1) Can I use it to restrict the ability of changing contents of a screen element?

2) If yes how do I do it? That is to say, what ID, FIELD, value, etc. do I use?

3) If not, how else can I do this?

Your help is greatly appreciated.