cancel
Showing results for 
Search instead for 
Did you mean: 

Execute PO release for spesific vendor

Muask
Participant
0 Kudos

Hi experts,

As my business scenario; there are 2 release codes in my PO release strategy.


PM —> 1. release code

GM —> 2. release code

If the vendor is selected in PO is a specific, there is no need to executed release for GM release code. PO must be released after the PM release code execution.

I plan to create a Z table to specific those vendors. And I will use the EXIT_SAPLEBND_002 to be able to release the PO on be half of GM release code. I will check the vendor code if it is listed in that Z table or not. Also I need to know current release code and the next release code.

After PM released is completed, If the vendor takes in place in that table and the next release code is GM, the release must be executed automatically for GM release code.

But how can I find the next release code? Which structure keeps this?

Also how can I execute release for GM? Should I call fuction ME_RELEASE_PURCHASE_DOCUMENT?

Please take me some advice.

Accepted Solutions (0)

Answers (1)

Answers (1)

farhan1122
Explorer
0 Kudos

Hi Urasam

As far I understand, you have two scenarios

1- If the selected vendor is specified anywhere in the list, then there is no need for the approval of GM.

2- If the selected vendor is not specified in the list, then the PO should float to PM first and then to GM.

Answer: You can handle this scenario by creating a character (CT04) with CEKKO-LIFNR, adding that character to the class (CL02), and creating two release strategies.

The first release strategy has both release codes (PM & GM) and the second release strategy would only have one release code where the approval of GM is not required.

Now you have to maintain the combination in the release strategy.

1: Release strategy (PM & GM)

Maintain all vendors except the vendors for which only GM approval is required.

2: Release strategy (GM)

Maintain vendors for which only GM approval is required.

Thanks.