Skip to Content
avatar image
Former Member

Delete selection only by it's owner

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 04, 2008 at 09:23 AM

    Hi

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

    [APO DP Authorization Discussion|apo-dp-security-model]

    Regards

    Ian

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 04, 2008 at 08:16 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded