cancel
Showing results for 
Search instead for 
Did you mean: 

Delete selection only by it's owner

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

If you read through this previous discussion it may help solve your problem:

[APO DP Authorization Discussion|]

Regards

Ian

Answers (1)

Answers (1)

srinivas_krishnamoorthy
Active Contributor
0 Kudos

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.