2023 Sep 24 11:20 AM
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.
2023 Sep 24 11:59 AM
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.
2023 Sep 25 2:04 PM
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