Blocking creation of order/notificaiton against a equipment

Hi Friends ,
My requirement is to block order/notification creation against an equipment . I have tried creating a user status and activating radio button for "forbidden" against following transactions :
But its not working . Please help . Am I missing something ...

Here is User-exit way of achieving this. Once code is put in the respective user-exit it is hassle-free. Only thing is it prevents at the time of Save. Suppose the Equipment user status which should not allow user to create Notification or Order is 'DAMG' (say damaged),
Code for user-exit QQMA0014 to prevent notification creation
IF I_VIQMEL-EQUNR IS NOT INITIAL.
  DATA: BEGIN OF I_USTAT OCCURS 10.
          INCLUDE STRUCTURE BAPI_ITOB_STATUS .
  DATA:END OF I_USTAT.
  DATA: BEGIN OF I_SSTAT OCCURS 10.
          INCLUDE STRUCTURE BAPI_ITOB_STATUS .
  DATA:END OF I_SSTAT.
  CALL FUNCTION 'BAPI_EQUI_GETSTATUS'
    EXPORTING
      EQUIPMENT     = I_VIQMEL-EQUNR
    TABLES
      USER_STATUS   = I_USTAT
      SYSTEM_STATUS = I_SSTAT.
  LOOP AT I_USTAT.
    IF I_USTAT-TEXT = 'DAMG'.
      MESSAGE: 'The Status of equipment does not allow Notification Creation'
      TYPE 'E' DISPLAY LIKE 'I'.
    ENDIF.
  ENDLOOP.
ENDIF.
This gives this error pop-up while saving, and the Notification is not created.
Similarly the code attached herewith, if used in user-exit IWO10009, would prevent Order creation giving rise to similar error pop-up. Hope this would be useful to you.
KJogeswaraRao

Similar Messages

  • Blocking creation of production order if standard cost estimate is not done

    Hi PP gurus,
    Can anyone help me in blocking the creation of production order if the standard cost estimate is not done for the particular posting period.

    Hi,
    I do not think there exist a standart check. You can use exit EXIT_SAPLCOZF_003 to block creation of production order by sending error messages based on any condition.
    Regards.

  • How we can block creation of PM order from non released notification

    Hi ,
    how we can block creation of PM order from notification if notification is not released.
    Regards
    AM

    Hi Luke and Maheshwaran ,
    thanx for your reply.
    One more thing the option 2 has not been suggested by some users in the thread mentioned by Maheshwaran.
    Can I still use BS22 or option 1 is the best one.
    REgards
    AM

  • Blocking of production order creation

    Hi All,
    I need a help on blocking of production order creation.
    I have few materials for which deletion has been activated in material master. But for these materials, while creating production order it is allowing to create by showing some warning message. But I want to totally block creation of production order.
    Regards,
    Vijay

    Dear,
    Youneed to define for block for productio.OMS4 --> create new one material status (08) for "Blocked for Prod Order" and set the prodution.
    If u want plant specific block then do not use this indicator in basic data 1 view ,use it in purchasing alse and MRP view.
    Please check with Message No M7-127 at OMCQ. Here u can set error message
    IMG>MATERIAL MANAGEMENT>INVEN>DEFINE ATTRIBUTES FOR SYSTEM MESSAGES. message no M7127
    Change the warning message to error. Then create the production order and check.
    Or Archieve material by SARA
    Regards,
    R.Brahmankar

  • Blocking creation of meter reading order for perticular installation

    Hi,
    I want to block creation of meter reading order for perticular installation within an MRU.
    This meter is disconnected in the installation.
    My requirement is if i create meter reading orders for  MRU it should not create MR oder for some installtions.
    your input on the same will be highly helpful.
    Thanks in advance.
    Regards,
    chetan

    Hi,
    Use Blocking Reason in ES31 (installation: Billing/Meter Reading control Tab)...During meter reading order creation, prevents meter reading orders from being created for the registers allocated to the installation.

  • Block creation of new line item in SO

    Hi,
    Scenario:
    In the sales order, the order quantity of line item 10 is 10pcs, only 5pcs is shipped. I want to allow the remaining 5pcs to be able to ship at some other time. However, no modification is allowed in the order quantity of this line item 10. Also, no addition of new line item in this sales order.
    Question:
    How to block creation/addition of new line item or block modification in the order quantity of the existing line item, but allow the existing line item to be shipped in a sales order?
    Thanks.

    Hi Wooi,
                 You can control through User authorisation, you maintain the authorisation for VA02 for the specific User with the help of BASIS people.
    If you donot want maintain the authorisation you need to activate the User Exit for the with the help of ABAPer.
    You can use these User exits.
    The program is MV45AFZZ
    USEREXIT_READ_DOCUMENT
    USEREXIT_SAVE_DOCUMENT
    USEREXIT_SAVE_DOCUMENT_PREPARE
    I hope it will help you
    Regards,
    Murali.

  • Block creation of PO if the release strategies is not applicable

    HI SAP,
    Can we block creation of PO if the release strategies is no applicable ?
    My release strategies is on the PO header. It's only work if the PO have one Plant only. If the user put more then one plant
    my release strategies will not work. how to solve this problem ?

    Hi,
    Check on it:-
    http://www.sapfans.com/forums/viewtopic.php?f=6&t=205684&start=0&st=0&sk=t&sd=a
    Re: Release Strategies in Purchase Order - possible values of caracteristics
    PO Release strategy question
    pherasath

  • Auto Creation of Order from Notification

    Hi all,
    As all of us are aware we can create notification automatically on creation of order, through Order/Notification integration setting in SPRO.
    Is it possible to create Order automatically on creation of Notification in standard SAP ?? Pls confirm.
    Thanks in advance,
    Talanki

    Hi
        Option given in ECC6.0 cration of order from notificaton automatically by direct and background
    With this option you can create the order from notification provided you need to update all the data in notificatin like funcitnal location/equipment/workcentre( so that it will fetch all the data from this master data while creating)
    then if you select the PM notification>function>order >create direct or create backgroup option then order will be created but it will throw in pop up saying details of order type and planning plant.. if you say ok...then order will be created in foreground. if you select backgroud also it will throw popup if you say ok it will create the order in back ground.
    For this you need to do the customization setting assigining the order type to notifiction so that it will automatically fetch the order type aganit the notification while creating the order.
    regards
    Krishna

  • Customer Credit Block at Sales Order Level

    Dear Experts,
    We have requirement,
    Example:
    If we received the Bank guarantee from customer(Berry) $10000,till $10000 it should able create the sales order, more than bank guarantee system should block the sales order creation.For same customer(Berry) some times will receive the cash instead of Bank guarantee.in this case system should not block the sales order creation and this sales order value should not update in FD33. Please guide, what configuration needs to be done to full fill this requirement. Thanks in Advance.
    Regards
    Shankarappa H L

    Dear shankarappa HL
    Please post this question in FI Forum may be it will help , i hope

  • Removing of Delivery block in Sales Order using Authorization

    Hello,
    I have a urgent requirement on removing a Delivery block using authorization.
    The object V_VBAK_AAT is assigned to me and the ACTVT : 43 is permitted so I can release the block.
    As this was  not working I have created my own object with values ACTVT as 01, 02 , 43 and LIFSK : 1-10,11,12-99 .
    I am trying to remove the block from VA14L from VA14L I select my order with respect to delivery block and it navigates to VA02.
    From VA02 I am trying to remove the block.
    As this requirement may be simple but it is blocking my development.
    Thanks.

    Please correct whether I understood your issue correctly or not.
    You have developed the program only to put delivery block to Sales Order. This block should be approved by Authorized people for allowing the users to create delivery else Sales order delivery should not be possible. Is that program has any other additional functionality other than setting Delivery block??
    To keep delivery impossible till the Authorized person approves Sales order, you have the option of User Status. Process for creation of User Status for your requirement
    Create User Status Profile in OIBS
    Keep BLCK (Blocked for Delivery) & APPR (Approved for Delivery) as 2 statuses (No. of status can be as per your requirement. Here, simply I have 2 statuses)
    Assign Object types as "Sales Order Header" (if you want the Authorized people to approve at header level) or "Sales Order Item" (if you want the Authorized people to approve at Item level, may be for partial delivery)
    Keep BLCK as Initial status & Double click on BLCK status & click New entries on "Business transactions"
    There are many Business transactions such as "Create Delivery" / "Create Goods Issue for delivery". As per your requirement, select Forbidden option in one of the above mentioned business transaction
    Create Authorization Key in BS52 for Authorized People, say, as MNGR (Manager)
    Assign that Authorization Key to APPR user status in User status profile
    Using PFCG, you can create separate role by assigning this Authorization key
    This can be different kind of solution from your way. For reference, you can refer below document. Document content points some other space & transaction. But you can relate to above steps mentioned.
    User Status in SAP

  • Slow calc time with SET CREATEBLOCKONEQ OFF for block creation

    Hello everyone,
    I have a problem with the slow execution of one of my calc scripts:
    A simplified version of my calc script to calculate 6 accounts looks like this:
    SET UPDATECALC OFF;
    SET FRMLBOTTOMUP ON;
    SET CREATEBLOCKONEQ ON;
    SET CREATENONMISSINGBLK ON;
    FIX (
    FY12,
    "Forecast",
    "Final",
    @LEVMBRS("Cost Centre",0),
    @LEVMBRS("Products",0),
    @LEVMBRS("Entities",0)
    SET CREATEBLOCKONEQ OFF;
    "10000";"20000";"30000";"40000";"50000";"60000";
    SET CREATEBLOCKONEQ ON;
    ENDFIX
    The member formula for each of the accounts is realtively complex. One of the changes recently implemented for the FIX was openin up the cost center dimension. Since then the calculation runs much slower (>1h). If I change the setting to SET CREATEBLOCKONEQ ON, the calculation is very fast (1 min). However, no blocks are created. I am looking for a way to create the required blocks, calculate the member formulas but to decrease calc time. Does anybody have any idea what to improve?
    Thanks for your input
    p.s. DataStorage in the member properties for the above accounts is Never Share

    MattRollings wrote:
    If the formula is too complex it tends not to aggregate properly, especially when using ratios in calculations. Using stored members with member formulas I have found is much faster, efficient, and less prone to agg issues - especially in Workforce type apps.We were experiencing that exact problem, hence stored members^^^So why not break it up into steps? Step 1, force the calculation of the lower level member formulas, whatever they are. Make sure that that works. Then take the upper level members (whatever they are) and make them dynamic. There's nothing that says that you must make them all stored. I try, wherever possible, to make as much dynamic as possible. As I wrote, sometimes I can't for calc order reasons, but as soon as I get past that I let the "free" dense dynamic calcs happen wherever I can. Yes, the number of blocks touched is the same (maybe), but it is still worth a shot.
    Also, you mentioned in your original post that the introduction of the FIX slowed things down. That seems counter-intuitive from a block count perspective. Does your FIX really select all level zero members in all dimensions?
    Last thought on this somewhat overactive thread (you are getting a lot of advice, who knows, maybe some of it is good ;) ) -- have you tried flipping the member calcs on their heads, i.e., take what is an Accounts calc and make it a Forecast calc with cross-dims to match? You would have different, but maybe more managable block creation issues at that point.
    Regards,
    Cameron Lackpour

  • Price Change & blocking of sales order

    Dear All,
    We have created a sales order with pricing date 30.01.2010 and delivery will takes place on 31.01.2010. In between, there is a price change on 31.01.2010. We want that, on delivery creation date system performs the check on customer balance and block the sales order for the creation of delivery. As during the time of sales order the price of an item was 100 EUR (i.e. 30.01.2010) and at the time of delivery creation price becomes 160 EUR (i.e. 31.01.2010)
    Is it possible????????????????????

    Hi,
    You want to block the delivery if there is a difference in u2018sales order priceu2019 and the u2018price on delivery dateu2019.
    Instead of blocking the delivery, you can create billing document with the latest price. The sales order was created with 100 EUR on 30.01.2010. You are creating billing on 31.01.2010; we can pick the price 160 EUR applicable on 31.01.2010 by copying control. In VTFL, select your billing document (F2), your delivery document type (LF) and then your item category (TAN). Check the details for the item category. If you change the pricing type to u2018Bu2019 (Carry out new pricing), the system will take the latest price.
    Hope this will be useful to you.
    Regards,
    K Bharathi

  • Set credit block at Sales Order

    Hi,
    I would like to ask how can I set the credit block for a particular Sales Order during creation.
    thanks.

    Hi,
    As suggested go to OVA8, set status block.
    Then go to OVAK, select your sales document type then select "B" which will block your sales order which you will have to release from VKM1.
    Hope this answers your query.
    Hrishi

  • To Remove Payment Card Authorization Block from Sales Order

    Hello All,
    I have a Scenerio of Payment Card Authorization where system receives authorization for Payment Cards and if authorization is Denied, Authorization Block Check is Set at Header of Sales Order in Payment Card Tab.
    Now if the Client Requirement is to Create a Z Program to Remove only the Check of Authorization Block in Open Orders.
    I have tried all the ways, unless we give Manual Authorization in payment Card Tab of Sales Order the Block cannot be removed.
    Can you provide a Way Out in Order to only Remove the Authorization Check without Manual Authorization in Sales Order.
    Looking Forward to your Views on the Same.
    Best Wishes,
    Onkar Khedekar

    Hi,
    MV45AFZH is the Standard User Exit that Runs when the order is Saved in Order Creation Mode.
    I wish to know a way out to remove Authorization Block in already Created Open Orders whose Payment Card Authorization is Denied.
    Regards,
    Onkar Khedekar

  • Blocking of Sale order-reg

    Dear Sir,
    Kindly let me know the provision for blocking  sale order creation if the  customer durg licence got expired .

    Hi,
    Kindly let me know the provision for blocking sale order creation if the customer durg licence got expired .
    You can block the sales order, by blocking the sales document type, but this will effect throughout the sales organisation. Therefore it is wise to block the customer whose drug licence got expired, for that You can block by XD05 / VD05
    Once the customer renews his licence, you can unblock the customer again with the same transaction code in change mode by removing the block.
    Regards,
    Sridhar

Maybe you are looking for

  • Data view web part to display the most frequently accessed pages based on the user that is logged in

    I am working on a project in which I would like to display the top 5 most accessed pieces of content as links, based on the user that is logged in. Our MOSS 2007 implementation has subsites for all regions that we do business in, as an example North,

  • Automatic adjusting of the volum level

    Does anybody know in witch way/how the player does the automatic adjusting of the volum level? How does the automatic adjusting of the volum level work? Is it just the decibel that is "normalising"? How does the player measure it? Are the frequenses

  • Problem while starting up Weblogic console (BSoD)

    Hello All, This is somewhat critical.. actually when i start admin server by command prompt...it goes well but after that when i start the console.. it give me a BSoD with the following error message.. please help me regarding this :-- **A problem ha

  • Lync meeting numbers got mixed up in Calendar

    Hi, We have Lync 2013 and we set the 2 international numbers that we have, both internal extension and full number(France and Spain) in the Lync Console. In Outlook, when I arrange a new Lync meeting, the numbers in the body of the meeting get mixed

  • Unchecked 'Sync Photos' box, but there's still photos shown in the capacity bar.

    When I plug in my iPhone 4 to iTunes, I noticed a large amount of space being taken up by the photos section. About 3.28 gb. The problem is, is that I only have 208 photos. I'm pretty sure that that amount of photos can take up that much space in my