cancel
Showing results for 
Search instead for 
Did you mean: 

Release strategy for PO

Former Member
0 Kudos
98

Hi all experts,

I have a situation like this.

Can we block PO for releasing if the items in that PO already been blocked ?

Please advise.

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Simon,

Please check your Release Indicator set-up, the BLocked (REL ID) must be UNTicked the Released Box, inorder the PO will not be approved when it has blocked status.

try this it will solve your problem.

regards,

Maia

Former Member
0 Kudos

Dear Maia,

I already try to UNTICK it but the PO still can be release. Anything that i miss? Pls advice.

Thank You.

Former Member
0 Kudos

Hi Simon,

Can you try below steps:

1. Untick the Blocked Rel ID-SPRO

2. Change the all the PO Iine items to delete Status-ME22N-Save the PO.

3. Approve the PO - ME29N- In this stage, there should be NO release strategy triggers or Rel strat Tab at the header.

try again.

regards,

maia

Former Member
0 Kudos

Hi Maia,

Thanks for replying.

I try to delete the PO item and the PO will not subject to release strategy. But if i block the PO item, it still can subject to release strategy. Pls advise.

Thank you.

Former Member
0 Kudos

Hi Simon,

I believe, it a standard SAP that the PO is blocked only for Receiving, but it is still can be approved unless it is deleted.

What i can suggest is you have to use enhancement or user exit to block the PO from aprroval once it has Locked status.

MM06E005

FUNCTION EXIT_SAPMM06E_012.

Insert your logic here, consider the field EKPO-LOEKZ if equal to S, no release strategy trigger.

regards,

Maia

Former Member
0 Kudos

Hi

As per Standard Process it is not Posssible

Please use the BAdi

The Business Add-In (BAdI) ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order on an individual basis.

You can thus influence the dialog transactions ME21N, ME22N, ME23N, and ME29N, and the BAPIs BAPI_PO_CREATE1 and BAPI_PO_CHANGE.

Typical applications for this BAdI include:

Processing of own objects

Processing of additional data on standard objects

Implementation of additional checks and derivations

Change of data in standard fields

Change in field selection

The CHECK method enables you to check an entire document.

This method is invoked when the document is posted or the user chooses the 'Check' function. Typically, at this point the system either carries out checks or identifies dependent data that is not necessary during the processing in PROCESS_HEADER etc. or would impair performance.

CH_FAILED - Operation failed

If, when checking, you have detected an error making it impossible to continue processing the document, you can populate this parameter with 'X'. Processing is not then continued. You must ensure that an appropriate error message is issued to the message handler.

Thanks & Regards

Kishore

Former Member
0 Kudos

Thanks Maia,

my problem solve. Thank you for ur help.

Regards,

Simon.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Simon,

If you are referring to PO deleted or locked status. You can check your PO rel strategy, you have to set your release indicator set-up, the BLOCKED Rel ID must be UNTICKED inorder for the PO not to be approved when the PO has blocked status.

try this it will sove your problem.

regards,

Maia