on 03-04-2008 9:05 AM
Dear Forum Experts,
We are implementing a DP, and the customer requirement is to delete the selections only by the Author who created them.
We looked in transaction MCPSELDEL and noticed that an "Author" attribute do exists per selection (in table /SAPAPO/TS_SELKO), but unfortunately we could not manage to find this attribute within the appropriate authorizations object (c_APO_SEL2 / c_APO_SEL3 / S_SELE) in order to limit the deletion to the selection's author.
Is there an appropriate authorization object that enable to controll the deletion of a selection by it's author?
If not - how we can limit the deletion to the author?
Thank you in advance,
kobi Sagi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you can resolve it through a simple development approach. Transaction /n/sapapo/MCPSELDEL refers to report /SAPAPO/RMSDPSELDEL. you can create a Z version say Z_RMSDPSELDEL.
In line 103 of the code for standard program reads as
SELECT * FROM /sapapo/pbmvw INTO TABLE gt_mview_f4
WHERE
pareaname IN s_parea
You can make a small change here
SELECT * FROM /sapapo/pbmvw INTO TABLE gt_mview_f4
WHERE
pareaname IN s_parea and autor =sy-uname
This will ensure that whoever runs the program will automatically filter for that ID while coming up with the pop-up list.
Hope this should resolve the requirement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.