Critical parts goes below Re-order pt - to trigger email via Workflow

Hi Experts,
I am new to workflow and here is my requirement.
When Material goes below Re-order pt in MM , MRP runs and creates PR/Sch Line. I want to trigger email to some Group when few Critical parts goes below Re-order point via Workflow
A workflow should trigger and get email to Group I saw one standard workflow (WS03100020) but I dont know how to active and how it will work.
I can copy this to custom workflow using PFTC and do, but when the material document creates - Means Critical parts are consumed and Stock level goes below re-order point. how my copied custom workflow triggers?
Critical Parts A , C , F, X  and Z
If Material  A ,C and F goes below re-order pt then email to trigger to GROUP1.
If Material X and Z goes below re-order pt then email to trigger to GROUP2.
Need to know :
1) steps to copy and modify
2) How to Execute manually
3) How to execute automatically when Material stock falls below re-order point. ( Lets say in MM03 Re-order pt is 5 ) and IN MMBE current stock is 20, when there is consumption ( Material DOcument to Cost center - Mvtype 201 ) for 16 QTY.. then my Custom or Standard Workflow should Trigger and should get a email to Group.
How to achieve this. Please explain me with Step. Highly apprieciate your help and will reward points
Thanks in advance.
Bala M

o.k. lets first handle the check function module
you need to start from the key and run the check is it higher or lower then the reorder point,
if it's higher, raise an exception (use message... raising), else do noting.
test the function module directly and see if it works, then look at the event trace(SWEL) and see what happens when your event is raised, if it's higher then the reorder point you should see an error (specific linkage is red and the message you entered in the function module in the details) else the event linkage should be o.k (green).
now for the function itself: if you use the cl_bcs to send the mail, you do not need to link SWW_WI_CREATE_VIA_EVENT_IBF as the receiver function module, but the function module you create to send the mail. again test the function module directly first and only then link it to the event.
if you want to send the mail by workflow see the link in my earlier reply.

Similar Messages

  • Web orders do not trigger FMS via the DiAPI

    Hi,
    We rely upon a number of formatted searches at the sales order level to capture current stock and sales order totals into UDF's to provide analysis for stock outs etc. However, when an order enters the system via the DiAPI (via webtools) the formatted searches are not triggered. I presume that this is a limitation of using the DiAPI?, if so I would appreciate any ideas that anyone might have concerning a workaround.
    Thanks.
    Martin.

    Presumably this would be on the SAP server?.
    When does this stored procedure fire?, is it at the end of the synch process?.
    The current code within it is:
    set ANSI_NULLS ON
    set QUOTED_IDENTIFIER ON
    go
    ALTER proc [dbo].[SBO_SP_TransactionNotification]
         @object_type nvarchar(20),                -- SBO Object Type
         @transaction_type nchar(1),               -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
         @num_of_cols_in_key int,
         @list_of_key_cols_tab_del nvarchar(255),
         @list_of_cols_val_tab_del nvarchar(255)
         AS
         begin
              -- Return values
              declare @error  int                    -- Result (0 for no error)
              declare @error_message nvarchar (200)           -- Error string to be displayed
              select @error = 0
              select @error_message = N'Ok'
              IF (ISNUMERIC(@object_type) = 1)
              BEGIN
                   INSERT INTO PRX_Transaction_Queue (
                        object_type,
                         transaction_type,
                        num_of_cols_in_key,
                        list_of_key_cols_tab_del,
                        list_of_cols_val_tab_del
                   ) VALUES(
                        @object_type,
                        @transaction_type,
                        @num_of_cols_in_key,
                        @list_of_key_cols_tab_del,
                        @list_of_cols_val_tab_del
              END
              select @error, @error_message
         END
    How would I add my own update query to this (safely!).
    Thanks.
    Martin.

  • CRM Service - ECC Logisitcs Integration (Spare Parts in a Service Order)

    Hi Experts,
    We have been trying to configure a scenario for CRM Service Orders with SAP ECC logistics integration in CRM 7.0 EHP1.
    We are aware of the standard configuration wherein we assign one logistics scenario ( Purchase Requisition or Purchase Order or Reservation) for a specific service organization & Item Category for spare parts in service order.
    Our first query : Is it standard that the spare part will be automatically reserved if it is in stock (after ECC availability check from service order) and purchase requisition or purchase order is created only if it is not in stock?
    We also understand that while a reservation happens during Service order creation, the goods issue or material withdrawal happens only on service confirmation. If this the case, how will the physical delivery happen to customer? This is our second query.
    Please note that we are raising this query only for spare part items in service order and not for sales item in service order.
    It would be great if you could help us with this issue.
    Responses will be suitably rewarded.
    Thanks,
    Prish

    Hi Pritesh,
    Thank you for your prompt reply and help, appreciate the same, we would be going for the scenario where the service order in sap crm has saleable parts, the service order would get replicated to ecc as a sales order and the costs would get booked when the post goods issue is performed after creating the delivery in SAP ECC.
    Following are the configurations done
    1) Service Order type ZRVW is created in SAP CRM
    2) The same service order ZRVW is mapped in SAP ECC
    3) The service order in SAP CRM has the following number range and the same is kept internal
    4) The same number range is marked as external in SAP ECC in vn01 tcode
    5) The number range is assigned to the document type ZRVW in SAP ECC
    6) Item category determinations are done in SAP CRM, standard SRVS(Sales items are copied to YRVS)
    7) The same item category determination is also set in SAP ECC for Item category group NORM
    8) Item category determination is also set for ERLA as item category group in ECC
    9) The item category YRVS is set to delivery relevant in SAP ECC
    10) The standard schedule line is determined which is CP is relevant for delivery
    11) The sales area is also assigned to the document type ZRVW.
    12) In SAP CRM, the status profile YCONT is assigned, having the business transaction to be distributed, the status of the same is set to allowed for completed status
    13) The status profile has been assigned to the transaction type ZRVW
    14) Pricing configurations are also done in sap crm and sap ecc
    15) Now I am creating the service order ZRVW in SAP CRM, having saleable parts, customer's and material's exist in both systems having the same sales area, the status is set to completed at item and header level
    16) The system is throwing an error when I click on edit
    17) When checked In sap ecc the system says that the document does not exist
    18 I did open the error in SAP CRM and it says that there are some settings required for billing
    Since there is no billing relevance to this scenario in the item category the billing relevance is set to no billing
    Please advice further
    Kind Regards
    Atul

  • System generate PR for Stock material when it goes below specific quantity

    Hi Gurus,
    My requirement is that system should generate PR for Stock material when it goes below specific quantity eg. 5 Qty. I think it is possible through MRP in that respective material master but I am not getting exactly what data I need to maintain their. Should I need to check/change any config setting?
    Requested you to help me in this regard.
    Regards,
    Amol.

    Hi Rakesh,
    actualy i am new to this area, for one material i checked its available stock, it was ZERO & MRP Type is "ND-No MRP Planning".
    I changed its MRP type as you said to V1 or VB and maintained its Reorder point as 1.
    Now, as this material in not available in stock ie. it means it falls below the Reorder point(ie. 1). now i checked in MD04, system won't generated PR. afterwords, I created Maint order & reserved the same material. again i checked in MD04 but system won't generated PR this time also.
    plz suggest...even i am confused that, should i need do anything which i missed out?
    MRP Run means what i need to do?
    Regards,
    Amol.

  • Does apple have any explanations for why iCloud will not support iWeb & is there any viable solutions. iWeb is critical to my small business & we have all been trained via joint ventue on iWeb. Now it just goes away. Why?

    Does apple have any explanations for why iCloud will not support iWeb & is there any viable solutions. iWeb is critical to my small business & we have all been trained via joint ventue on iWeb. Now it just goes away. Why?

    turbodave2 wrote:
    I appreciate your repsonse, but the irony is that Apple is still scheduling "One-to-One" & Joint Venture training on iWeb knowing that it all will end next June. ..
    Just to add this : iWeb -- the app itself -- is still supported,updated only months ago and as part of the ilife '11 DVDs still widely spread even though it is not sold on the AppStore it is official part of iLife. It runs in Lion and there is zero issues with the app. So a training makes sense, doesn't it ?.
    They would only to exclude the "publish to me.com" part to be up to date for courses and trainings :-≠

  • Will an iPhone automatically turn off location services.  If it goes below a certain battery power level, and so how you disable this in settings.

    I am working with Georgia DOT and we have created an app to track our state vehicles using IPhone 5. My question is: will an iPhone automatically turn off location services?  If it goes below a certain battery power level, and if so how do you disable this in settings.
    Message was edited by: mickyel

    I don't believe that this will happen, however, the entire iPhone will shut down when the iPhone reaches the auto-shutdown power level. There is no way to turn that Off other that connecting the iPhone to power.

  • Critical Part in Purchasing Tab of Material Master

    Hi SAPGURUs,
    There is Field in the Material Master of the Purchasing Tab called Crtical Part in the bottom , Can u anyone explain what it is used for ?/and what are the adverse effects it has when we check the critical part field??
    Regards
    Balaji

    hi,
    Critical part indicator denotes for a material which is important.
    Eg:In a Diamond tool,Diamond is critical part.
    regards
    venkadesh

  • Parts reservation for Service Order

    Hi,
    I have a requirement where i need the function module to retrieve the parts reservation for service order if there is any.Otherwise tell me where i can get the parts reservation for service order.
    Thanks in advance.
    Regards,
    Himanth

    Thanks for giving valuable answer,
    what if in the service order i am replacing some spare parts along with services when FERT is not under warranty. How the cost will be transfered to invoice. In my case only one service is transfered.
    i waqnted to transfer cost of components as well..
    Thanks
    SUDIP SInha

  • Missing parts list at planned order level

    I have tried to use comac t-code for checking the missing parts list at planned order level. but no log has been generated. pls advise. Is there any way to do the same?

    Hi,
    Use MDVP, i think it should meet your need.
    If helpful award points
    Regards,
    Vivek

  • Sales order costing  - Z-report without going to sales order/quotation

    Dear All,
    Currently we are arriving the pricing thru sales order costing. After doing the sales order costing in sales order / Quotation, the costing value flow to condition type EK01. Now management has decided that, to go for manual price and put it in z-table. From z-table system will pick and show in sales order / quotation.
    Now management want to compare the sales order costing price as well as z-table price. They need z-report.
    They will put the material, plant, pricing date and costing variants in the initial screen. then after execution of this report, they should able to see sales order costing price and z-table price.
    They do not want to do the sales order costing thru sales order/quotation.
    Now the problem here is I do not know how to do the sales order costing without going thru sales order/quotation. Please provide the FM, or related table for this report.
    Waiting for you reply.
    Regards,
    Niranjan

    Hi
    Check the table KONV, with respect to VBAK-KNUMV. the table KONV keeps the record of all the Condition type of a documet and KNUMV no is a unique no. generated by the sytem for avery document.
    Hope it will help.
    Regards
    AA

  • Bought Elements and it appears I got only the part to edit photos and not movies. How do I get part 2 of my order?

    Bought Elements and it appears I got only the part to edit photos and not movies. How do I get part 2 of my order?

    Please post Photoshop Elements related queries over at
    http://forums.adobe.com/community/photoshop_elements

  • When my iPad battery goes below 75% or so Safari stops browsing

    When my iPad battery goes below 75% or so Safari stops browsing the Web on 3G and displays a "Server not responding" message. Charging the iPad fixes the problem temporarily. Any idea?

    First thing to try is a reboot of your iPad. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider until the Apple logo appears. Let go of the buttons and let the iPad restart. See if that fixes your problem.
    If that doesn't help try letting the iPad run down the battery until it shuts off on its own. Then plug in the wall charger and recharge. If that doesn't help it might be time for a trip to Apple Service.

  • Sent mail going to inbox, all replies as separate emails

    downloaded thunderbird to new computer. three big problems: 1 - address book has been lost 2 - all sent mail is going both to sent mail folder ans also to inbox 3 - all replies and conversations are showing up as separate emails instead of being part of one email thread. i.e., it is a total mess. I have configured the settings correctly I believe. what is going on?

    Hmmmm...... perhaps if you took the time to read instructions.
    Did you save the add-on XPI file and install it in Thunderbird like the instructions said. Or try and install it in Firefox, get the inevitable failure and complain here that it is not compatible. The web site offers instructions. Perhaps if you read these. http://chrisramsden.vfast.co.uk/3_How_to_install_Add-ons_in_Thunderbird.html That add-on works with the current version.
    "You don't recall any read only" Right click any file you copied off the DVD. Select properties and there you have a read only flag.
    Do you have anti virus software running? Disable any part of it involving SPAM, TRASH Phishing and email.

  • Work orders and updating user status (via IW32)

    Hello All,
    I was given a design to create a program that will retrieve all open work orders. The program needs to check on all the purchase orders for that work order to check if order quantity matches the received quantity and the invoice quantity. If it matches, I will do an IW32 to change the user status to 'AIP' (All Invoices Paid). If there are no invoices or purchase orders, I will again, do an IW32 to change the user status to 'AIP'.
    And since this is my first time to work on a PM ticket, I'm not very familiar with the tables being used. I've tried looking for a list of PM tables. One table I got is AUFK (Order Master Data). I searched through the table and it has the fields for Sales Order Number (KDAUF) and Item Number (KDPOS). Is this the Purchase Order related to the work order? Also, is there a way I can see or verify it through a transaction? I tried looking into transaction IW33 but I couldn't find any Purchase Order Number there. Also, how do you know if a work order is open or not? Is there a field that indicates it?
    I was thinking if there are any BAPI's I can use to change a work order's user status instead of doing a CALL TRANSACTION 'IW32'? I saw a function module, RFC_CHANGE_PM_ORDER, that does a remote function call to IW32 but this has dialogs. I'd appreciate any input.
    Many thanks in advance!
    Regards,
    Kristine

    Hi
    You can use the BAPI - BAPI_ALM_ORDER_MAINTAIN to maintain orders.
    Given below few order related tables
    AUFK     -Production order headers
    AFIH     -Maintenance order header
    AUFM     -Goods movement for prod. order
    AFKO     -Order header data PP orders
    AFPO     -Order item
    RESB     -Order componenten
    AFVC     -Order operations
    AFVV     -Quantities/dates/values in the operation
    AFVU     -User fields of the operation
    AFFL     -Work order sequence
    AFFH     -PRT assignment data for the work order(routing)
    JSTO     -Status profile
    JEST     -Object status
    AFRU     -Order completion confirmations
    This may help you.
    Thanks & Regards,
    Govind.

  • On my ipad mini, when I delete an email from the inbox (and it goes into Trash), it immediately deletes that email from the server (ATT/Yahoo).  I've called support for both ATT and Apple and can't find a way to have the emails remain on the server.

    On my iPad Mini, when I delete an email from the inbox (and it goes into Trash), it immediately deletes that email from the server (ATT/Yahoo).  I've called support for both ATT and Apple and can't find a way to have the emails remain on the server. 
    My husband and I share an email address and if he misses a day checking email on his notebook, he doesn't receive the items that I have sent to Trash on my iPad Mini.
    Appreciate suggestions.
    [The curious thing is, if I "move" the deleted emails from Trash on my iPad Mini into the Inbox, I can go to my notebook, open my online email and they are back in my ATT/Yahoo Inbox.]

    Is your Yahoo account set up as POP3 or IMAP?

Maybe you are looking for