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: 
Read only

How authorization comes into play in Persistent Classes

sudarmanikandan
Explorer
0 Likes
456

Hi Experts,

We can directly update the standard database table via persistent objects without authorization. How can i include authorization before getting update the database.

1 ACCEPTED SOLUTION
Read only

mvoros
Active Contributor
0 Likes
419

Hi,

you can directly update any table from ABAP program. So your application should have all required authorization checks before writing anything to DB (it does nor matter if you use SQL statement of persistent object). I don't think that there is a special point within persistent object for authorization check. You could use [check agent|http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/f23c12330411d5992100508b6b8b11/frameset.htm] but I don't think that it is a good idea.

Cheers

Hi Experts,

We can directly update the standard database table via persistent objects without authorization. How can i include authorization before getting update the database.

1 REPLY 1
Read only

mvoros
Active Contributor
0 Likes
420

Hi,

you can directly update any table from ABAP program. So your application should have all required authorization checks before writing anything to DB (it does nor matter if you use SQL statement of persistent object). I don't think that there is a special point within persistent object for authorization check. You could use [check agent|http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/f23c12330411d5992100508b6b8b11/frameset.htm] but I don't think that it is a good idea.

Cheers