How to block PR creation with no release strategy

Hi,
We have this PR release strategy implemented. Currrently, user are able to create the PR even there's no release strategy determined. Thus, PO can be created as the processing state is "02 Active". 
Would like to block user from creating the PR if there's no release strategy determined. How should we do in order to achieve this?
Many thanks in advance.
Sue

Hi Sue
Assuming that you are using release with classification.
Create a new characteristic for PR document type (CT04)
Attach this characteristic to your Class (CL02)
Create new release strategy and in Characteristic data you will have to assign all your PR document type. This will ensure that all the PRs need to be released.
Regards
Rajesh
-Do reward if this is useful.

Similar Messages

  • How to block the creation of a Sales Orders without a linked Purchase Order

    Hi. I'm trying to block the creation of a Sales Order that doesn't have a linked Purchase Order. The first thing I did is using the SBO Transaction Notification as follows:
    IF  @transaction_type = 'A' AND @object_type='17'
    BEGIN
         IF (SELECT PoPrss FROM ORDR WHERE DocEntry = @list_of_cols_val_tab_del) = 'N'
         BEGIN
              SET @error = 1
              SET @error_message = 'Purchase Order Missing...'
         END
    END
    This works good. I create the Sales Order, I tick the purchase order field on the logistics tab, I click Add, and then the purchase order window appears...
    Then, the problem begins... If I click the Cancel button, the purchase order is obviously not created, but the Sales Order is created.
    Can someone tell me how to block the creation of the sales order If the user press the cancel button on the purchase order window (and the purchase order is not created)
    As far as I can see, after clicking the add button in the sales order document, the Sales Order is created on the DB. If there's no way of blocking the creation of the Sales Order, can I avoid closing the purchase order window by the SBO_TransactionNotification? (if the purchase order has not been created)
    Thanks...

    Hi Yail,
    I think you can't close the purchase order with the stored procedure.
    Try to catch the Event when the user click on Cancel button.
    So you can list the vents with event logger : https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ede3be37-0e01-0010-1883-cd1b5293473e
    You can block the cancel button and force the user to create the purchase order.
    Hope i help you
    Best regards
    Michael

  • Issue with PO Release strategy

    Hi experts,
    I have problem with Po release strategy in 5 to 10 purchase orders, i have created few purchase orders(2000 Po's) with same document type and company code ..etc and saved, then release strategy has been triggered.
    For few purhcase orders release strategy has not been triggered.
    If i take 1 po from that few purchase orders(Release strategy has not triggered) as reference and again if i create PO,new purchase order have getting created with release strategy.
    Can some body tel how this ican be possible, hope this might be standard syatem behaviour.
    Hope i should delete thos e purchase orders and i should create new PO's instead of of old PO's (Without release strategy).
    Some experts can share their experiance in this regard.
    And how i should proceed further with this issue.??
    Thanks

    Hi,
    You issue in your system has 2000Nou2019s purchase orders  with release strategy has been triggered but 5 to 10 purchase orders do have release strategy.
    & when you are creating a new PO with reference to old purchase orders (which release strategy has not triggered) and on saving NEW PO created with triggering release strategy.
    Cause for above:
    PO which release strategy does not trigger because the purchase orders are created before setting release strategy for PO. Those PO triggered release strategy and all are created after setting release strategy for PO.
    Action:
    Its completely business call for business users to go for options:
    Option-- >1# You can use same old PO which release strategy does not triggered, do GR and all other process
    Option-- >2# You can create new PO with reference old PO which release strategy does not triggered and upon saving you will have new PO number with release strategy triggered, then release PO & do GR and other related process.
    Regards,
    Biju K

  • How to block IT Creation in PA30 ??

    Hi Everyone!!
    I would like to block the creation of an occurrence in Pa30. And authorise the creation only in a measure.
    Do you have any idea how can it be achieved?
    Any help would be greatly appreciated.
    Have a great day

    Hi Quentin,
    I assume that you've found the user-exit for PA30. Now the code you can place there is as follows.
    *****************Begin of code by Sam********
    DATA: GS_PERNR LIKE P9020-PERNR,
          GS_PERNR1 LIKE P9020-PERNR,
          GS_CNT TYPE I.
    To check Transaction Code.
    IF SY-TCODE = 'PA30' and INNNN-INFTY = '0000'.
      MOVE INNNN TO I0000.
    To check whether - Creation of new record.
      IF IPSYST-IOPER = 'INS'.
    To check for user-id. 
         IF SY-UNAME <> 'SAMUEL_D' AND SY-UNAME <> 'HRADMIN'.
            MESSAGE E000(ZH) WITH
            'You are not authorized to create a new record'.
         ENDIF.
      ENDIF.
    ENDIF.
    *********END OF CODE**********
    Put this code in the user exit for PAI of PA30. It'll work perfectly. In this case, you can also store the user-ids in a ZTABLE and check the same from it rather than hardcoding it in the program.
    Hope this helps. Kindly award points if this was helpful for u.
    Cheers,
    Sam.

  • How to block the Creation of Mulitple Excise Invoice in J1IS

    Hi Sap Gurs,
    Can any tell me how to block the System allowing  to Create One more Excise Invoice in J1IS against Same GI Material Document no (Ref Trans Type:MATD) for Outgoing Materials ie:Stock Transfer from One Plant to onother Plant by Mvt Type 351(Single Step Procedure)
    In SD, System is not allowing to Create One more Excise Invoive against One Billing Document Untill we Cancell the same.
    I want to make it like same for the above Issue.
    Pls check it in your system and give a Feed Back.
    Thanks in advance.
    Bye
    Sathish

    Hi Yail,
    I think you can't close the purchase order with the stored procedure.
    Try to catch the Event when the user click on Cancel button.
    So you can list the vents with event logger : https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ede3be37-0e01-0010-1883-cd1b5293473e
    You can block the cancel button and force the user to create the purchase order.
    Hope i help you
    Best regards
    Michael

  • Verison Management with PO release strategy - CEKKO-REVNO

    Hello,
    I'm a bit stuck... I'm trying to do a PO release strategy using version management, were the PO goes through a release strategy if the PO gets changed (not the intial PO creation).. So once the field RENVO is greater then 0, it should go through R.S.
    I've read to create a characterstic CEKKO-REVNO and then assign it as a valuet <0...  I  intital;y created it with a NUM Data type, but the ABAP dictonary overides it with a CHAR instead... So I read to mark the value as a default value (<0)
    However, after I add it to my class, I go to the define release strategy - classifcation section (to add the value <0)  I'm getting  a value inconsistency check.
    How do i setup this characterstic so I can use it in release strategy?

    Based on adding 00000000 the release strategy will work when its version 0 (intial). However, I'm trying to have it so it goes through a release strategy when the version is 1 or greater...
    It seems like I cant get the strategy to work for more then one version... I can get it to work for version 0 but no others, or version 1 and no others etc...
    I need to have it some it works for anything greater then zero, in which i tried <0000000  and even >000000
    I also tried adding 000001, 000002, 0000003, 0000004 etc..  An although the release strategy tab is still applying, it will NOT result to a blocked status...
    I cant get this to work... How should the characterstic value look to get this requirement?
    Edited by: farmerj3 on Feb 20, 2012 3:16 PM
    Edited by: farmerj3 on Feb 20, 2012 3:43 PM

  • Issue with retriggering Release Strategy

    Hi all,
    We have a one off situation here. We had already 10 release staragies in our system. We added 2 more release strategies with a new characteristic. We updated the characteristic value only for the new 2 release strategues and did not update the rest 10. Although now we had updated the characteristic value for remaiining strategies, the purchase documents created in the mean tme is not subjected to release strategy. To ensure business control we need to retrigger back the release strategy for almost 1000's of documents.
    As any change to purcahsing document will retrigger it when done manually, but given the number of documents and as per Note 493900 we cannot trigger it by any backgoriund job to modify as below:
    16. Question :
    Why is there no release strategy determination when a program changes in
    background a purchasing document which corresponds to the classification of
    a release strategy ?
    Answer :
    This is the system design that a release strategy determination can only be
    triggered through a user action and not by changes made in background
    process.
    If you create a document (e.g. PO, Contract, etc), the determination of the
    release strategy takes place only in case of a user event like checking or
    saving the document.
    Kindly suggest any best practise to retrigger release strategy  for the missing documents to ensure business control. Any easy and time savig measure to get it resolved will be appreciated.
    Regards,
    Anand Sampath

    Hi Arnand,
    After investigation by searching customer messages database ,I found              
    other customer has  similar problem as the release strategy has changed           
    after creation of the SES please review the  explanation from developer           
    :(whose release code is 03 )                                                                               
    When you try to revoke the acceptance of the service entry sheets                 
    in ML81N or ML81, the 'Enter release code' pop  up window appears, but            
    entering the code that is determined via the menu path Goto -> Entry              
    Sheet -> Release Strategy (which is the 03), the SES remains the same.            
    Nothing changes. The status does not vary and no error or warning                 
    message is issued.                                                                               
    Checking the customizing for the release strategy, the release code               
    03 should have never been assigned to the SES 800024272 as the values             
    for the relevant characteristics were not included under that code.               
    I do not know how it was managed to accept the SES.                                                                               
    Now, when you try to revoke it, it seems that no release                          
    strategy can be determined, not even including the values RCARESANO               
    and 012 between the valid values for the characteristics of the release           
    code 03 (RCARESANO as valid value for SUPERVISOR_SERVICIOS                        
    (CESSR-ERNAM)and 012 as valid value for GRUPO_COMPRAS (CESSR-EKGRP)).                                                                               
    The only Possibility is to change now the SES so that the release                 
    strategy can be re-determined by the system.This is the Only possible             
    way that the system can  redetermine the Release Strategy , but it will           
    not be possible to do so as the SES is already accepted with the Old              
    strategy and it does not admit any further changes.                               
    To be able to change it you would need to revoke the SES first,                   
    but this Will also not be possible as the Release Strategy was changed            
    and the system still applies the old rules for determining the Release.           
    Solution to our Problem                                                                               
    The Only way to revoke the SES is to Restore back the Old Strategy that           
    was prior to 03 in the customizing.So now what will happen is that by             
    applying the Old Rules the System will be able to revoke the SES that#s           
    using the Old one. Once the necessary SES are revoked then go back to             
    customizing and apply the new strategy as it was did now, and                     
    Change the SES and save , the new value of the Release Strategy will get          
    updated in the table ESSR and the field frgsx will now have 03.                                                                               
    Problems associated if the Release strategy is changed                                                                               
    Actually the release strategy is not supposed to be changed when there     
    are some documents in the System that uses it and even if you change the   
    Strategy the Old records will not get AUTOMATICALLY UPDATED by the        
    system.The Release Strategy routine has to run again to update the         
    values. This is Possible by changing the document SES ,                    
    This change will happen only if the SES is not accepted and if its         
    accepted then you need to revoke and to revoke you need to restore the     
    old strategy , revoke and then change the SES , and have to go back to     
    customizing and Start using the New strategy from now on by doing so the   
    Routine will update the old record with the new strategy.                 
    b) You may want to use CEKKO-BADAT(Requisition Date) or any other
    structure in CEBAN or CEKKO and create a new release strategy    
    to differentiate the old release strategy.
    Hope this helps,
    Kind Regards,
    Matthew

  • Problem with my release strategy (PR), Please help

    Folks,
    I have designed a release strategy with three characteristics:
    This is what I entered in characteristic
    1.PRQuantity with table name MEREQ3211GRID and  Field :MENGE
    2.PRmaterial # with table name RMMG1 and  Field :MATNR
    3.PRPlant with table name RMMG1 and  Field :werks
    the value for PRQuantity is >= 10000,000.
    Also, I have set the indicator for (allow interval) in characteristics
    Classes, procedure with classification, Release startegies are all proper.
    I am getting the Release startegy tab in PR, but the problem is when I adopt a PR to create a PO with PO quantity >=10000, the release starategy gets picked up, which is perfect but it is also getting picked up with PO Quantity <=10000.
    I dont understand why is it getting picked up for <=10000..Please suggest!!
    Thanks in advance!!
    Megha

    Megha,
    In your original post you said,
    "1.PRQuantity with table name MEREQ3211GRID and Field :MENGE
    2.PRmaterial # with table name RMMG1 and Field :MATNR
    3.PRPlant with table name RMMG1 and Field :werks"
    Per documentation I have seen, the table you should use for your characteristics for PRs should be CEBAN and CEKKO for POs.  Here are some links to SAP notes you may find useful.
    [365604 - Release strategies in purchasing|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=365604]
    [493900 - Release Strategy|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=493900]
    [672719 - Release strategies in the service|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=672719]
    Note 365604 may be by far the most descriptive of how to set up the entire process.  Hope this helps if you are still having problems.
    Regards,
    Paul

  • HR organisation Structuer Link with PR release Strategy

    Dear Gurus,
    As per our organisation, once the PR is created, it has go to  the Cost Center Owner and it has to follow the HR organization structure. we have 200 Cost centers in different departments.
    Please help me how to configure this with HR organization structure
    Your help is most appreciated and Full point will be rewarded.
    Thanks
    RS

    Neetu,
    Hi Neetu,
    My Release strategy working fine and nothing wrong with it. My question is, why only NB type is falling for Rel Strategy. I think I found answer from Rosa's Answer. If you check overall release at Document Type, then that document type falls for Release Strategy.
    Thanks all. I am closing this with Answered and points goes to Rosa...

  • No PO Creation without PR release strategy

    Hi all,
    Is there any way of preventing a user from creating a PR on which no release strategy is applied (i.e. no release strategy exists for that user) and then creating a PO from it?

    This is standard functionality of SAP that whenever PR is not subjected to release strategy PO can be created against that PR.
    Why do u want to not to create a PO if no release strategy is ther
    If ur requirement is like that, u can develope a BADI with logic that, if no release strategy is triggered for PR, then PO can not be created

  • Migration form W/O Classification to With Classification Release Strategy

    Hi MM Experts,
    Our client is currently having purchasing requisition release strategy based on without classification. There are almost hunderds of release codes for multiple sites.
    Now he wishes to migrate to release strategy with classification. So, Can anyone guide me on what all the cut-over tasks that has to be considered before going live ???
    Thanks in advance.
    Best Regards,
    Devendra Gaware

    hi,
    first for doing  the settings
    follow this link
    http://www.sap123.com/showthread.php?t=59
    all these settings should be done in development server and test it
    if it working good
    migrate the data to production server
    if useful Reward me
    Thanks & Regards
    Swathi

  • How to Use User Exit M06E0004 for RElease Strategy

    Hi All,
    MY client is currently having release strategy based on Net order value. Now they want that release order should be based on Net order value plus other charges (Frieght).
    I have to write logic that this will be done through User exit M06E0004.
    BUt I have no idea that how to carry out user Exit.
    Please let me know that what logic shoul I mention in the functional design to change this Release strategy.
    Thanks

    create a prohect.
    assign component
    activate project

  • Multiple release of Service Entry sheet in ML85 with a release Strategy

    Hello Techies,
    We have requirement where in we need to each release service entry sheet created in each month.
    We have created a release strategy and now using ML85 for releasing SES instead of ML81N.
    Is there any process so that all the SES are released at once(Mass release) .
    Thanks
    Jayashree

    Hi Dear,
    you select the SES as per your Release code and Code Grp, henceofrth the no of service entry sheets will be  display you can choose the multiple Entry sheets and select the green flag w/o coming to the same T-Code again and again.
    Hope it will help you.
    Regards,
    Yawar Khan

  • After Creation of PO Release strategy is missing

    Hi Experts,
    We have a problem that we have created a PO but we found after that release strategy is getting missed out.
    What could be the possible causes for this?
    Note: We have checked in CL20N everything seems to be in place.
    Cheers,Kumar.S///

    Hi Jurgen,
    Very sorry for the late reply as i was not in office.
    I have checked the following char in CL20N transaction,
    Plant,Purchasing group,order type,total net order value,Purchase organisation,Vendor account group.
    This is FYI.
    Please reply ASAP.
    Cheers,Kumar.S///

  • How to block a visitor with an abnormal behaviour (visiting 50 times/day a website)?

    I've developed a website with Adobe Muse. My website is hosted by Business Catalyst. The website displays resources, mostly links to other websites. I don't keep any information about my visitors, there is no registration. I haven't any forum or blog, just a contact form with the BC Captcha (the hardest one to read).
    A visitor from Germany, always the same town, is coming on my website periodically. It looks like every half an hour, night and day. The number of visits equals the number of page views.
    The Adobe help/support line has no answer about that. I'm not a web designer at all, I don't use HTML programming, just Muse. I'd like to make it stop because this problem is modifying my website analytics. I'm using the visitors geographic location to find sponsors because it's a non-profit project.
    Any idea of what is happening? How to fix it?
    Many Thanks in advance!
    Jackie

    Jackie,  I am having the same issue and agree that it obscures our site analytics.
    I only have the "WebMarketing" subscription - so I cannot see how often people visit my site (unless I just dont know how to view that).  Here is a screen shot of how many different locations I have and how much it affects my site visitor count based on the other locations which seem "legit" because they have more page views than visits.
    I hope there is a way to fix or block this.

Maybe you are looking for

  • Some photos don't open in edit

    Some of my photos won't open in edit. When I try to do this I get a grey screen with a question mark in the middle. Also, other photos will open but they are not enlarged in the edit window. Still others work in edit fine. There is no rhyme or reason

  • How do I share one photo library across accounts?

    Hi, We have four accounts on one family computer (a Powermac G5), and I would iPhoto in each of these accounts to point to the same photo library. (This is iPhoto 6.) Here is what I have done: I placed the iPhoto Library into the "Shared folder (unde

  • Newb VoIP End to End Qos Questions

    I'm at a site that has Layer 3 Cisco switches and routers end to end. Cisco IP phones plug directly into Layer 3 switches with various routers in the core. 1) If all connections are Layer 3 do I need to concern myself with trusing COS? I would trust

  • Aperture vault issue

    I just updated my vault (3.2.3) Now a boatload of projects are blank. What did I do wrong and can I get them back? Thanks

  • Itunes counts CDs with more than 1 artist more than 1 CD....why??

    for example Talib Kweil, The Beautiful Struggle...the first 3 songs are only him but song 4 is with Faith Evans, song 5 is just him and song 6 has Mary J. on it. So songs 1-3 are grouped as 1 CD, but songs 4, 5, 6 are all grouped singly. So instead o