Reset release strategy

I've added a logic in user exit "ZXM06U22" to reset release strategy once the net price have been changed both increase or deducted. The program source as below, but it can't work. How can i reset the release strategy once the net price deducted. Thanks!
    i_cekko-usrc2 = 'X'.
    loop at it_bekpo into wa_bekpo.
      select single NETPR into lv_netpr from ekpo where ebeln = wa_bekpo-ebeln and
                                                        ebelp = wa_bekpo-ebelp.
      if wa_bekpo-netpr < lv_netpr.
        clear i_cekko-usrc2.
        rel_flag = 'X'.
        exit.
      endif.
    endloop.

hey did you get the answer for this.... I am having the same problem ...
If posible could please reply on this as soon as possible... thank you in advance...

Similar Messages

  • Reset Release Strategy for any change in the Purchase Order

    Hi,
    Is it possible in SAP standards to reset release strategy for even minor changes in the Purchase Order irrespective of whether it is value change or any change in the text or Purchasing group change or whatever it is?
    If so, where do we need to make the configurations.
    I have seen in some thread about resetting the release strategy for decrease in Purchase Order value.Even that was possible through some BAPI.
    Thanks in Advance.
    S.Raghavan

    hi sandesh,
    sorry, i know it's too late.
    i tried your suggestion, it works blocking the purchase order after release strategies are setted.
    sandesh, raghavan:
    i need to reset the strategies after to make any change in the po. i'll appreciate your help if you can give it.
    regards
    f

  • Mass po reset release strategy

    i   want to know transaction or program or function module name or any other ways for performing
    " mass po reset release strategy "  ,  please   help

    Hi Veeru,
    You can release the PO's all at once. Please sit with your technical consultant and ask him/her to write the code which takes the inputs of the Release Codes and the indicator Released and pass this information (PO number, Release Code, Release Indicator etc what ever is required) in the BAPI_PO_RELEASE. Some coding needs to be done to do this.
    Hope this helps.
    Regards,
    Saroopya.

  • ME38 resets Release strategy of Scheduling agreement

    Hello,
    It seems when the users change the delivery date  in the delivery schedule (transaction ME38), the system in some cases resets the release strategy of the scheduling agreement from "Release" to "Not Release".It happened only in some case,release indicator set to "4" in our case.
    I cannot understand why this happens.
    Has anyone encountered such a problem before.
    Thanks
    Sunil

    Below are the (changed) item fields :
    Purchasing Document Item Change Date   AEDAT
    Item Delivery Date   EINDT
    Schedule Line is "Fixed  "FIXKZ
    Below are the (changed) header fields :
    Release Indicator: Purchasing Document  FRGKE
    Release status  FRGZU
    Purchasing document processing state PROCSTAT
    Item and header changes have same "Change document number " and transaction code "ME38" , this happened only in some cases,Rel Strategy is on  document type level ,I am also confused on this .
      Please assist  on this

  • Cannot reset release strategy for RFQ

    Dear SAP gurus,
    I set release procedure for RFQ. I set anyway that the changeability is 6, and the tolerance is zero. I expect that after it is released, whenever anyone is changing everything the release strategy will be reset.
    But this is not happening. In my case, the manager already approve the RFQ but the RFQ has not been sent yet. Then someone change the quantity of the RFQ, and the release strategy is not reset. When I check again I realize that changeability 6 means the release will be reset if the value is changed; while in RFQ there is no value mentioned anywhere, it means that the release strategy for RFQ will never be reset.
    Do i miss something? Is there any way to make sure that the release for RFQ is reset if someone change anything in the RFQ?
    Best regards,
    John.

    Why are you having a value based release in RFQ? And more important, why do you need release for RFQ?
    However, if you still want to go ahead with release, then you need to use the user exit for purchasing document release to achieve your objective. Please search for my earlier posts on how to reset release even on decrease of PO value. You can use the same logic for RFQ also.
    Lakshman

  • Reset release strategy PR

    Hi!!!
    How can I do to reset an strategy when the document is modified in some level of approval in a document PR.
    Thanks in advance!!!

    Hi,
    I have a similiar problem.  We are running ECC6 and have noticed that when a user with no release approval makes a change to a PM work order (change of work order basic start date, TECO the work order etc) then the release strategy on the associtated purchase requisitions is reset.
    This is causing PRs to be set as "blocked", even though the PR lines are deleted on TECO of the work order.
    The opposite also occurs, where a user with release approval greater than the value of a released requisition changes the PM work order, it then deletes the PR release strategy as the release strategy would not have been initiated if that user created it in the first place.
    Our release indicator "2 - RFQ/Purchase Order" has the changes after start of release set to 4 (changeable, new release in case of new strategy or value change) and 0.0% value change set.
    As there are no changes to value when the date or PM work order status is changed, why does this reset the release strategy?
    Any help will be greatly appreciated.
    Matt

  • Acknowledging old P.O's : retriggers Release Strategy?

    Hello,
    I know that when you acknowledge an old Purchase Order in the Confirmations tab, it can retrigger the Release Strategy, therefore disapproving the P.O.
    Does this apply also if we acknowledge a P.O line item that has the Account Assignement Category "Y" (Non-Recurring)?
    Example:
    P.O line item #1: part number ABC, already acknowledged
    P.O line item #2: "Y" non-rec charges, not acknowledged
    If we acknowledge line item 2, will it retrigger the Release Strategy?
    Patricia

    Hi,
       The release strategy re-triggering depends on the release indicator used and it will re-trigger only if there is a value change or new strategy is determined. If you are simply flagging acknowledgement in a PO, it wont make any value change / new strategy and hence new release wont be triggered. Please check the note: 493900 - FAQ: Release Strategy Question number 3
       Also, please check whether version management is activated for the PO document type and version number is used as release characteristic. The release strategy will reset when version is set to complete and the new total net value is higher than the old net value. Refer the note: 1961482 - Reset release strategy when version number is set as Characteristic in Customizing
       You may note the above two points and analyze whether new strategy will be triggered for the corresponding changes in PO.
    Regards,
    AKPT

  • User exit (To change the PO Release Strategy): M06E0004

    Dear Experts,
             I am trying to implement the enhancement for changing the PO release strategy, using exit M06E0004 for following situation.
    If PO is already released and then if any changes made to it affects the net amount which makes it less than previous net amount. We have to change the PO Release indicator to 'Blocked'.
    We have tried to change the value of  USRC1 USRC2 USRN1 USRN2 of structure E_CEKKO but it is not workingu2026
    Please help me *how / what to change in the E_CEKKO structure*.
    I am new to User Exit.

    Hi Nagarajun,
    I am able to solve this problem.!
    All u have to do is follwoing two step.
    1.maintained a flag in ur enhacement part (FM to Z_FIND_PO_RELEASE_STRATEGY)
    inorder to know whether the current PO is without PR or not then export its value to memory.
    2.Do enhancement in standard FM ME_REL_STRATEGIE_EKKO
    (which is used to reset release strategy and indicator).
    Inside this fm u can find  below code
    if xchange ne space.
    *- Strategie geändert --------------------------------------------------
        if e_frgst ne i_frgst or
           e_frggr ne i_frggr.
          perform reset
             using e_frgst e_frggr
                   e_frgzu e_frgkz e_frgrl.
          e_reset = 'X'.
    *- Wertänderung prüfen -------------------------------------------------
        else.
          if t16fb-kzfae eq '4' or
             t16fb-kzfae eq '6' .
             perform currency_conversion using *cekko-waers
                                              bwkurs_old
                                              hwaers
                                              fwaers
                                              bwkurs
                                        changing *cekko-gnetw.
            f1 = *cekko-gnetw * t16fb-tlfae / 1000.
            f1 = f1 + *cekko-gnetw.
            if cekko-gnetw gt f1.
              perform reset
                using e_frgst e_frggr
                      e_frgzu e_frgkz e_frgrl.
              e_reset = 'X'.
            endif.
          endif.
        endif.
      else.
        perform reset
           using e_frgst e_frggr
                 e_frgzu e_frgkz e_frgrl.
      endif.....
    above code is use to check the PO amount and with old net amount,Since normally code is done to reset indicator only when amount is greater than old one, u can copy above code and modify with ur condition(i.e flag) and paste in last line.
    Please check & reward is useful.

  • Release Strategy to be reset for any change in purchase order

    Hi Experts,
    At present the release strategy configured is for any change in the value of the purchase order, the release strategy is reset. Now the the client wants that for even any text change of a word, text, quantity, value, addition, deletion the release strategy should be reset.
    Can any one guide to configure the release strategy for any change. Also please provide the list of standard parameters/scenario (E.g. change of price, change of quantity etc) for which the release strategy can be configured to be reset.
    Thanks in advance.
    AJ

    Hi Diwakar,
    I too have the same problem. I tried with Changeable indicator "1". The system does not allow to make any change to the Purchase Order even after the first level of Release. But the requirement is that the system should Reset the Release Strategy for even minor Change in the PO.
    Regards,
    S.Raghavan

  • Source Determination resets the release strategy of the PR

    Hi
    I am trying to automate the Purchasing Cyle by running ME57 as a batch job along with ME59n for stock items on contract, however when I create the PR and approve it, when ME57 picks this approved PR it assigns the source automatically but removes the approval! I am having the ABAP consultants debug this, however is there something elementary that I have left out?
    Regards
    Thasmei Reddy

    Check if u have release strategy based on vendor - FLIEF. This could be a reason. When u change the vendor or assign a vendor, the release strategy is getting reset .

  • Reset Of Purchase Requisition Release Strategy

    Dear Peers,
    Release strategy for PR at header level is defined (Overall Release). If we make any changes or add another line item to the same PR, the release strategy is required to get reset to unreleased state. But this is not happening.
    Same for PO is valid & working ok
    Please suggest
    Mayank

    Read this -- With the Changeability indicator, you specify the effects of         
    changes to a requisition. For example, certain changes may require   
    a new release strategy to be determined for the requisition.         
    Via the Value change field, you can cause the release strategy to    
    be re-started if the value of a purchase requisition item is         
    increased by more than a certain percentage (e.g. 10%). To do so,    
    set the Changeability indicator to "4 - Changeable, new release in   
    case of new strategy or value change" and enter a percentage in the  
    Value change field.                                                  
    <b>
    The release stra can be reset in one case only and that is whenever you change the reqs which changes teh value of reqs then system will reset the release back to original statu and to do that you have to set the changebility indicatior to 4 and changes 0.1 that means whenever req change and value is changes to .1 % then ystem will reset the req to relase again </b>
    Hope this will help you

  • PR release strategy reset after change in quantity/inclusion of line item

    If a user adds a line item or increases the quantity of an existing line item to a fully released purcahse requisition, then the system does not render the PR for reapproval. Is there any way to configure SAP such that the release strategy resets if any of the above changes are made in a fully approved PR?

    Hi,
    the release strategy will ONLY be reset if one of the fields that are contained in your classification are changed.
    For example
    If you strategy is determined by Plant and value, if the plant or value doesn't change then the release strategy will not be affected.
    So if you change qty and do not change value then the release strategy will not be reset. This is a basic limitation of the design.
    But if you ARE changing one of the characteristic values of your strategy and you are saying that the release strategy is not being reset, then something else is wrong.
    Steve B

  • Release strategy does not reset after PO change - tried changeability 4 & 6

    Hi,
    After my PO is released, I change the item quantity/price such that the net PO value (increased) is changed MORE than the tolerance % set in the changeability.  I expect that the PO release should be reset but it does not.
    However if my PO value is changed (increase) such that my PO value is now in a different "release bracket/range" -- as it falls into a different release strategy, then the release is reset.
    Could anyone advise me what is wrong?  I tried everything - i tried changeability = 4 and 6. i deleted the whole release class, release strategies and recreated -- nothing.
    According to OSS note 493900 below, it should reset when the tolerance % is breached.
    I'm on SAP 4.7.
    Anyone could advise?
    thanks!
         3.  Question :
         Why is the release strategy not reset ?
         Answer :
         A reset of the release strategy only takes place if
                -  the changeability of the release indicator is set to '4' in
                   case of a purchase requisition and '4' or '6' in case of
                   another purchasing document (purchase order, request for
                   quotation, contract, scheduling agreement),
                -  the document is still subject to the previous release
                   strategy,
                -  the new TOTAL NET ORDER VALUE is higher than the old one.
         The total net order value is linked to CEKKO-GNETW for a purchase order,
         CEBAN-GSWRT for a purchase requisition item-wise release and CEBAN-GFWRT
         for a purchase requisition overall release.
         If you have maintained a Tolerance for value changes during release
         (V_161S-TLFAE), the release strategy is reset when the value of the
         document is higher than the percentage you have specified and if the
         document is still subject to the previous release strategy.

    Hi,
    Thanks.
    The release strategies are able to be determined correctly when the PO is created so I guess that means its all setup correctly?
    The issue is only with PO change - how to cause the reset when the PO value increases by more than the tolerance %.
    cheers.

  • Resetting of PO Release Strategy

    Hi,
      I configured all the needed step to activate PO release strategy.
      But its not working in scenario whereby a completely release PO should reset thePO amount/qty will be increase after its complete release.
    My setting for Release Indicator are below
    1- Release, 4- Changeable , no percentage indicated..
    Did i missed out anything?
    Thanks in advance.
    Rgds
    She

    Hi,
    I use  below characteristic.
    CEKKO-BSART
    CEKKO-BUKRS
    CEKKO-EKGRP
    CEKKO-GNETW
    still nothing happen even i increase the PO price after its complete release..
    i feel i have completed the config needed but still not working fine..

  • Reset Purchaser Order release strategy

    Hi All
    Does any one knows how to configure the Resetting of Release Strategy when the PO value/amount is reduced? We are in 4.6C, is it standard or are there any settings or transaction code?
    Please help.
    Thank you
    Jesielle

    Hi,
    Use release indicator '4'  or '6" during designing of release strategy.
    And
    If you want PO release strategy should trigger for reduced value ,then you can for User exit OR modify standard function module which help to reset existing release strategy for reduced/increased and/or values.
    For more check the SAP note:493900
    Regards,
    Biju K

Maybe you are looking for

  • Connect to SharePoint Online Document Library from Excel

    We have a number of people in the field who fill out fairly complex evaluation forms in excel. These forms are submitted to a document library in SharePoint Online What I need to be able to do is report off these submitted excel files reading and con

  • Problem with Alter View

    Hello folk, It´s my first post here! I Hope that I can help us in question and ask! I have a dificult to alter table command. I think that I do nothing wrong, follow the command: ALTER VIEW desenv_pw.PRCR_MCVW903_CSP_DIM (CSP, DESCRIPTION) AS SELECT

  • Installing itunes

    After i downloaded the new itunes, it will not install and i get a error message saying the device or file specified can not be found. I have deleted all the ipod content thinking that was the issue but its not. Im not sure what the problem is, pleas

  • Safari keeps crashing please please help me

    Safari keeps crashing on macbook pro. I have tried deleting extra software, restarting, and installing an update. Please Help me Here is the information: Process:               Safari [587] Path:                  /Applications/Safari.app/Contents/Mac

  • Getting input from a file(user I/O redirection)

    alright i am stuck on this program. Heres what i have to do I have to write a program usinbg arrays and looping. The program should get its input from a file (user I/O redirection). The first number in the file will be the number of numbers that foll