Application Development and Automation 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: 

giving authorization to edit the field

gkfla4290
Discoverer
0 Kudos
695

Hello

I have several fields that needs to be filled, but i want to give the authorization to edit the field to specific IDs only.

Thus, i want them to be filled in particular order.

For example,

But also, the order to edit the field should be field A -> field B -> field C.

I have used fieldcat-edit = 'X'. to enable edit function.

So for the field B to be enable for edit, it needs to check if field A is filled in.

What source code can I use to illustrate above?

If there are some parts that are unclear, please comment. I will enunciate further.

Thanks in advance.

2 REPLIES 2

Sandra_Rossi
Active Contributor
0 Kudos
605

It looks more like a workflow.

User A has to work on it first, then user B...

Different screens would be better.

I don't get your question about source code, as you already know how to do it.

ozturkozan
Explorer
0 Kudos
605

Hi Haley

You can make your cells editable/non-editable according to your conditions.

For FIELD A->it is enough to control the authorization of user

For FIELD B->check authorization of user and check FIELD A is filled in or not.

For FIELD C->check authorization of user and check FIELD A and FIELD B are filled in or not.

For example code, you can check below link.

https://answers.sap.com/questions/3823848/edit-one-cell-in-alvs-based-on-some-condition.html