cancel
Showing results for 
Search instead for 
Did you mean: 

Unblock/delete indicator in Pur.Order - authorization object

Former Member
0 Kudos

Hello,

I need to acomplish the closing of PO items after being open (without Goods Receipt) for more than six months. I want to do this using the "Lock" button in the PO-item. (The "final delivery flag" does not actualy "close" the POitem as I can still do a goods receipt!).

The question is, ones closed a PO-item, I want to acompish that only certain users can "unblock" the Item if necesary.

I want to know if there exists an authorization object asociated with this "unluck button" in the PO-Item?

If not, is there another way how to tackle this problem?

Thanks for any reply.

Aart

Accepted Solutions (1)

Accepted Solutions (1)

JL23
Active Contributor

You have got a wrong assumption. the lock does not close a PO. It just locks any further processing, which includes the closing.

A lock is meant as a short term solution, e.g. you need to create the PO but do not have the final price yet. so you lock the PO item after printing to avoid that anybody can enter an invoice or a goods receipt until the price got updated with the correct price.

If you do not care about correcting the problems now, then you just postpone them to a later time when e.g. somebody gets an archiving project. All POs with locked items cannot be archived. All POs that are not correctly closed cannot be archived. Better you solve the issues now than later.

There is no extra authorization object.

If you want prevent further receipts (based on what info and why should one do this?) then you have to use a BADi or an user exit to stop this.

Former Member
0 Kudos

Hello Jürgen,

So if I cannot use the "Lock" button, how can I close a PO (item)  preventing that users can open it again. Use the "delete-button"? This would serve me either because I would have to use the same "unlock" button which as no autorization object attached!

The company has to apply to SOX rules, and one of the rules is to close old POs after x months.

Important in this case is that the POs cannot be opened again by the user (unless it´s autorized).

How can one acomplish a procedure like this systemically?

Thanks,

Aart

JL23
Active Contributor
0 Kudos

you have to use a BADI or an Exit to control that, there is no customizing

you can even create your own authority objects and check them in user Exits.

can you post a link to that rule?

Answers (2)

Answers (2)

BijayKumarBarik
Active Contributor
0 Kudos

Hi,

For your requirement,no need to block or delete the line item in purchase order and its standard behaviour of system even the delivery completed indicator (DCI) is set in purchase order, you can do goods receipt if all quantities in purchase order not completely receipt in your system.To control the GR accordingly WRT DCI,check for BADI: MB_GOODSMOVEMENT_DCI.

OR to prevent, you have following options:-- >

Option-1: Reduces the purchase order quantities to already goods receipt quantity for that purchase order and then set the DCI(delivery completed indicator)

Option-2: Can use to enter Latest GR Date (PO item in delivery TAB), which will not allow receipt beyond that date & set message M7 163 as Error.

Refer SCN Blog for Delivery Complete Indicator of PO and Goods Receipt
http://scn.sap.com/community/erp/logistics-mm/blog/2009/12/31/delivery-complete-indicator-of-po-and-...

Regards,

Biju K

PollyGan
Advisor
Advisor
0 Kudos

Hi,

I think you can set the "delivery complete" indicator for PO, and implement the BAdI MB_GOODSMOVEMENT_DCI to issue error M7433 to prevent further goods receipt.

Regarding the unlock/lock in PO, yes, you have to follow Jürgen's suggestion to accomplish it

via user-exit in purchasing.

Thanks and regards,

Polly