PO Release Strategy User-exit

mpevans@micron.com mpevans at micron.com
Fri Jan 9 11:57:45 EST 2004


SAP has provided a user-exit (exit_saplebnd_002, include zxm06u22)
intended to allow customer to reset the Release Strategy on the PO (and
other documents).  Since our upgrade to 4.7 we have not been able to
make it work reliably.  We had it working in 4.5, but SAP has changed
how the PO behaves.
 
Changing the Release Strategy is simple.  All we do is set the value of
the variable 'e_cekko-usrc1' to the new release strategy and SAP does
the rest.  The issue is that SAP calls the user-exit more than once.
They call it at least two times: Once when you open the PO and Again on
saving the PO.  If you set 'e_cekko-usrc1' to the new Release Strategy
in the first pass through the user-exit SAP does not reset the
user-exit.
 
In order to make this user-exit to work you must be able to detect that
you are going thorough it for the last time and only on that execution
set the value of 'e_cekko-usrc1'.  Has anyone dealt with this situation
and come up with a good way to determine that you on the last execution
of the user-exit?
 
Thanks for your help.
Phil
 


More information about the SAP-WUG mailing list