on 08-13-2008 4:22 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.