Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

user exit for triggering release strategy

Former Member
0 Likes
6,321

Hello Experts,

My requirement is when changes are made in purchase order (ME22N) then once again release strategy will have to get trigger.

is the user exits exists for this purpose,if yes, What is it?. I searched alot but not able to find right exits.

1 ACCEPTED SOLUTION
Read only

prakashjasti
Contributor
3,478

Hello

Yes this can be done using CMOD exits

and BADI.

ZPORCEKK PO Release statagy retriggering CEKKO

ZPOREL For PO Release

Classic Badi : ZRELEASE_STRATERGY

Regards,

Prakash.

Prakash J
5 REPLIES 5
Read only

prakashjasti
Contributor
3,479

Hello

Yes this can be done using CMOD exits

and BADI.

ZPORCEKK PO Release statagy retriggering CEKKO

ZPOREL For PO Release

Classic Badi : ZRELEASE_STRATERGY

Regards,

Prakash.

Prakash J
Read only

AnjaneyaBhardwaj
Contributor
0 Likes
3,478

Hello ,

I think you can achieve this via configuration .Basically you want the release strategy to get redetermined based on the changes in the item or if the price of these items increase a certain level .if you have the release startegy as changeble in the SPRO ticked it will automatically go for new release strategy if you have the value of release indicator set .This can be done SPRO->MM->Purchase order->Release procedure for purchase order->Define release procedure->Release indicator.

Set the appropriate value .

Remember you need to know what is that it retrigger that release strategy .

The link below deals with similar requirement ....

[http://sap.ittoolbox.com/groups/technical-functional/sap-log-mm/retrigger-release-strategy-for-purchase-requisition-with-any-change-1858101]

Thanks

Anjaneya .

Edited by: Anjaneya Bhardwaj on Aug 31, 2011 8:21 AM

Read only

Former Member
0 Likes
3,478

Solved.

Had implemented the exit EXIT_SAPLEBND_002.

Read only

0 Likes
3,478

Hi shubh,

As at the end of the tread you mentioned that you resolved your problem...So you just want to retrigger release for PO price(specially) or for any other changes like header text or etc,

I do have similar requirement that i want to reset relase for any kind of change in PO, so if you can plaese help out.

Regards

Read only

0 Likes
3,478

Hello,

I had written following code in exit:

if sy-tcode eq 'ME22N' and sy-ucomm eq 'MESAVE'.
e_cekko = i_cekko.
e_CEKKO-USRC1 = 'Y'.
e_cekko-gnetw = e_cekko-gnetw + '0.01'.
endif.

Here, when the user saves the PO by making any of the changes, then release strategy will trigger.

Adding 0.01 to value of PO doesn't effect anything after automatically rounding off.