SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

How can we restrict users from marking service orders as deleted

former_member199650
Participant
0 Kudos

Hi,

Please guide me :

Is it possible to restrict users (who are having authorization of marking service orders as deleted) from marking some service orders as deleted, if they have not created these service orders?

In other words, requirement is : only the person creating the Service Order should be authorized to delete.

Please guide.

Thanks and Regards

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Create a seprate role for the deletion indicator of the service order.Assign the suitable user's responsible to delete the service orders to that role.

This can be mapped simple.Contact your basis or authoriztion team to perform the above task.

I hope it helps.

Regards,

Sasi Kumar.D

View solution in original post

8 REPLIES 8

Former Member
0 Kudos

Hi,

Create a seprate role for the deletion indicator of the service order.Assign the suitable user's responsible to delete the service orders to that role.

This can be mapped simple.Contact your basis or authoriztion team to perform the above task.

I hope it helps.

Regards,

Sasi Kumar.D

0 Kudos

Hi,

Thanks for your reply please.

But if the same authorization is with multiple users then how can we control that situation.

Then any user can mark any service order as deleted.

Please guide.

Thanks and Regards

0 Kudos

Hi ,

As i specified earlier,create a seprate role for the deletion indicator in the service order.You give only authorization to the restricted persons.(ex:super users etc..)Dont assign all the user's to that role.

I hope you discuss with your basis team,they can guide you.

Regards,

Sasi

0 Kudos

Hi,

Thanks for your reply please.

But could you please guide: it may be possible for one authorized user to delete the Service Order created by another authorized user. And we want to restrict these users from deleting the service orders created by other users.

Please guide.

Thanks and Regards

0 Kudos

Hi Vashishth ,

It seems that there is no configuration available to do this. You can try this technically as

While deleting the Service order, check in the exits that the SY-UNAME is Equal to ERNAM (Entered by) in the AUFK Table.

If yes, then proceed

If not, then stop the process and give an error message.

Hope this helps.

Regards,

Manish

Edited by: Manish Bisht on Jul 11, 2009 9:15 AM

Edited by: Manish Bisht on Jul 11, 2009 9:22 AM

Edited by: Manish Bisht on Jul 11, 2009 9:26 AM

0 Kudos

There are many BADI and EXITS available, you have find the appropriate place to put your code.

USER - EXITS

CNEX0013 Order: Cust. enhancement: Default item category comp. assgmt

CNEX0026 Customer enhancement for general inspection of material

CNEX0027 Customer enhancement: Plant, storage loc. finding for comp.

IWO10004 Maintenance order: Customer check for order completion

IWO10005 Maintenance order: Cust.-specif. determination of profit ctr

IWO10006 Maint. order: Fcode exclusion through cust. enhancement

IWO10007 Maint.order: Customer enhancement - permits in the order

IWO10008 Cust. enhancement: Determination of tax jurisdiction code

IWO10009 PM Order: Customer Check for 'Save' Event

IWO10010 Maint. order: Cust. enhancement for determining WBS element

IWO10011 Maint. order: Customer enhancement for component selection

IWO10015 Maintenance order: F4 Help for user fields on operation

IWO10016 PM Order: Cust. enhancement to check operation user fields

IWO10017 Determine external order number by customer logic

IWO10018 Maintenance order: User fields on order header

IWO10020 Maintenance order: Automatically include task list

IWO10021 Automatic task list transfer when creating order from notif.

IWO10022 Determine calendar from user exit

IWO10023 Service order: Change header data for advance shipment doc.

IWO10024 Service order: Changes to items for advance shipment

IWO10025 PM/SM order: Finding responsible cost center

IWO10029 Inclusion of bill of material in PM/SM order

IWO10030 Preset Fields for Event Object

IWO10031 Hide personnel number in PM/SM order

BADI

Name of a BAdI Definition

ARC_PM_ORDER_CHECK

ARC_PM_ORDER_DELETE

ARC_PM_ORDER_PREPROCESSING

ARC_PM_ORDER_WRITE

ARC_PM_QMEL_CHECK

ARC_PM_QMEL_DELETE

ARC_PM_QMEL_PREPROCESS

ARC_PM_QMEL_WRITE

IWO1_ORDER_BADI

IWO1_PREQ_BADI

IWO1_SCREEN_MODIFY

IWO1_TL_INTEGRATION

IWO1_TL_INTEGRATION2

Edited by: Manish Bisht on Jul 11, 2009 9:27 AM

Edited by: Manish Bisht on Jul 11, 2009 9:28 AM

0 Kudos

Hi,

Thanks for your reply please.

But i did not find most of the BADI definitions in our system.

For example: BADI Definitions ARC_PM_ORDER_DELETE and ARC_PM_QMEL_DELETE are not present in our system.

Please guide what can be the reason.

Thanks and Regards

Edited by: MP Vashishth on Jul 22, 2009 9:28 AM

Edited by: MP Vashishth on Jul 22, 2009 9:30 AM

former_member199650
Participant
0 Kudos

Hi everyone,

I am closing this request as there is a limitation of no. of open questions. I would request you all to please keep on sending your valuable replies.

Thanks and Regards

Edited by: MP Vashishth on Aug 6, 2009 3:28 PM