Skip to Content

How to restrict access to ABAP CDS

Hello All,

We have built lot of ABAP CDS views, but we don't want all our team to be able to open and change it. So we want to restrict access to who can view and who can change it. We have implemented data level access and I am not talking about that. How can we restrict certain users can see the view but cannot make changes to it.

if anyone has done this kind of Authorization (most probably using roles created using PFCG) please let me know.

Thanks in advance,

Arthur.

Add a comment
10|10000 characters needed characters exceeded

  • I think I have SAP_ALL Access so it does not show any restriction. But when I assigned it to a new user, the user does not have access to create ABAP CDS View. (Not even able to add ABAP project from ABAP Perspective). What are the roles that are to be assigned to a user to have access and able to create ABAP CDS from HANA Studio.

    Thanks,

    Arthur.

Related questions

2 Answers

  • Best Answer
    Posted on Oct 24, 2019 at 12:27 PM

    Hi,

    it should be possible with:

    Authorization Object: S_DEVELOP

    OBJTYPE = DDLS (=CDS View)

    OBJNAME= ZABC* (= all ZABC* CDS Views)

    ACTVT=01 (01 Create, 02 Change, 03 Display )

    lg

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 24, 2019 at 04:32 PM

    and to add Johann you would be restricting the SQL view of an CDS not the DDL names

    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.