cancel
Showing results for 
Search instead for 
Did you mean: 

PO release strategy value changes

Former Member
0 Kudos

Hi All,

We configured PO release strategy with value, purchasing organization characteristics.

Please let us know how to configure system,

not to have release for PO if value reduces.

only to have new release if value increases.

With Regards,

Vijaykumar P

Accepted Solutions (0)

Answers (6)

Answers (6)

Sumeetpatil
Explorer
0 Kudos

Add this code in user exit EXIT_SAPLEBND_002 .

Code=> This code use to change release status on PO amount decrease and increase.

================================

**** Start of changes for Release status change on PO amount decrease .

E_CEKKO = I_CEKKO .

DATA : wa_bekpo type BEKPO,

       wa_ekpo TYPE ekpo,

       WA_CEKKO TYPE CEKKO,

       w_reset(1) TYPE c VALUE 'X'.

if sy-tcode eq 'ME22N' OR sy-tcode eq 'ME22'.

WA_CEKKO = I_CEKKO .

IMPORT WA_CEKKO = WA_CEKKO FROM MEMORY ID 'ZREL_COST'.

IF SY-SUBRC NE 0.

  EXPORT WA_CEKKO = WA_CEKKO TO MEMORY ID 'ZREL_COST'.

ENDIF.

ENDIF.

if ( sy-tcode eq 'ME22N' OR sy-tcode eq 'ME22' )

  and sy-ucomm eq 'MESAVE' or sy-ucomm eq 'MECHECKDOC'.

*Import/Export the origninal values.

*Check if the limit is passed.

LOOP AT it_bekpo INTO wa_bekpo .

SELECT SINGLE NETWR FROM ekpo INTO wa_ekpo-netwr WHERE ebeln eq wa_bekpo-ebeln and ebelp eq wa_bekpo-ebelp.

IF SY-SUBRC EQ 0.

IF wa_bekpo-netwr < wa_ekpo-netwr.

    w_reset = 'X'.

  endif.

ENDIF.

ENDLOOP.

*IF limit passed - reset the value to high limit beyond tolerance.

IF w_reset = 'X'.

E_CEKKO-GNETW = WA_CEKKO-GNETW + 1000000.

ENDIF.

endif.

**** End of changes for Release status change on PO amount decrease .

Message was edited by: Sumeet patil

former_member192050
Participant
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi,

The system can only reset a release strategy if you increase
the value. this is the standard SAP.

Tolerance limits are maintained in customizing only for increase of
quantity of value. When you increase the amount or quantity beyond the
set tolerance limit, the system will reset the release.

When you reduce quantities or values the system only resets the release
if another release strategy is determined for the lower quantity or the
lower value.

Please refer to the note below for more detailed information on release
strategy :
493900    FAQ: Release Strategy (Please refer to question 3)
662993    Resetting an already occurred release

But the restarting of a new release strategy also depends on the
value of changeability you set.

See the following notes

672719     FAQ: Release strategies in the service

365604     FAQ: Release strategies in purchasing

207490     Release procedure purchasing: Documentation fo

BR

Nadia Orlandi

ajitkumar
Active Contributor
0 Kudos

if the lowered value belongs to another release strategy, ( for  eg stg A for 1 - 1000 and b for 1001 - 2000 ) if the release was for B and upon lowering it comes to the range of A, it will trigger the strategy again with A.

the option is no new determination which wont determine even if the value go up

former_member193326
Active Contributor
0 Kudos

Hi,

You do not need to do anything. It is standard. If the value decreases, the release strategy will not be restarted.

Best Regards,

Arminda

BijayKumarBarik
Active Contributor
0 Kudos

Hi,

To achive your requiremnt,you need to use User exit EXIT_SAPLEBND_002 and do ABAP necessary work for release to trigger if PO value increase.

Regards,

Biju K

tejyadav
Active Contributor
0 Kudos

I think it is SAP standard, Reduction in value will not trigger Release, only Increase in Values will affect the Re-Release.