Work flows...Sales order approval

How to trigger the workflow after creating the Sales order n send the SO for approval through Mail?

Hi,
If that Workflow, Matches your Requirement.
Activate the workflow and test it.
Once you created a Sales Order you want the workflow to trigger right.
Do the following steps,
1) Create sales order
2) Goto t.code SWEL, give the user id from which created the
    Sales order in 'Creator (User)' & Execute it.
3) You will find the Business Object (BO) and event, if your workflow is active it will come under the 'Name of Receiver Type'
4) Once you activated the workflow  you can find it  below the 'Name of Receiver Type'.
Activating the Workflow.
1) Goto T.code SWDD -- Give the workflow number
2) Goto Basic data (Ctrl+F8) --> 'Start Events' Tab and click the active button, Once it active it will become green if it not active it will become Grey.
Regards,
Surjith

Similar Messages

  • Work flow - sales order

    Good evening to u all.
    I wanna know whether there is any standard work flow in SD for the blocked sales orders (For any sort of reason) ? So that the authorised users will receive an email once the sales order is blocked due to certain reasons.
    If u have so would u please give me the documentation or any urls please.
    Assured reward points.
    regards,
    satish

    Hi Avinash thanks for ur time. You would say that there is no standard SAP work flow for this sinario and it is not complicated to create one. Right? thanks once again.
    Regards,
    satish

  • Sales Order Approval flow

    I wish to know if there is any standard procedure for the below in SD.
    "Sales Order Approval. There is a need from business to align on confirmation control.
    User requests to change the sales order flow to include SO confirmation step."
    rgds,
    Pri

    hi
    <u><b>U will follow this steps:</b></u>
    1.First create the status profile.
    2.In this status profile,u have create the Approval and Non-Approval and Double click to the Processing Process.
    3.Then assign to the Sales document header or Item Level.
    <b>IMG - Sales and Distribution - Sales - Sales Documents -Define And Assign Status Profile</b>

  • Fiori Approve Reqs - Custom Sales Order Approval Issue

    Hi All,
    Urgent Help required .
    We are developing Sales Order Approval apps using Approve Requests as baseline.   We have requirement to  display the sales Order details in Apps Like the PO apps.  Please help me find out how to add business data to Approve request apps . I have checked below Doc .
    .http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0ab2463-4e16-3110-b08e-d93918e513a1?QuickLink=index&overridelayout=true&58789512365087
    Step 8 Extensibility section .
    8.2 we have implemented . all the steps mentioned in Doc were implemented in the backend system as we have to retrieve data from ECC/ERP
    Created Model Provider Class.
    Created the data provider Class.
    Created Service and maintained the customization table /IWPGW/C_TGW_CTX with Service.
    But i am not able to see the fields i have added to Entity when testing in the metadata fields in TASKPROCESSING. However, it does show there is Contextserviceurl with the context service what we have created
    Please let me know the Next step or if i am missing some steps .
    Please suggest me best approach to develop the Approval apps if not delivered by SAP ???
    Thank you very much for your help.
    Thanks,
    Deepanker
    Tags edited by: Michael Appleby

    You need to REDEFINE   method ENTITYSET_TASK and couple of other methods like GET_ENTITY etc. I am showing one for reference:
    Please look at std SAP method for GET_ENTITY in the std class. Here is a sample example:
    first get a handle to the Instance ID
    CASE iv_entity_name.
        WHEN 'InvoiceItem'.
    * get work item's instance ID   
          READ TABLE it_key_tab INTO ls_key WITH KEY name = 'InstanceID'.
          READ TABLE it_key_tab INTO ls_key_item WITH KEY name = 'InvoiceLineItem'.
          lv_wiid = ls_key-value.
    *     retrieve Invoice details
                      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                      EXPORTING
                        input  = lv_wiid
                      IMPORTING
                        output = num.
                     CALL FUNCTION 'SAP_WAPI_READ_CONTAINER' destination lv_destination
                       EXPORTING
                         WORKITEM_ID              = num
                         BUFFERED_ACCESS          = 'X'
                       IMPORTING
                         RETURN_CODE                = lv_returncode
                       TABLES
                         SIMPLE_CONTAINER         = lt_simple_container
                         SUBCONTAINER_BOR_OBJECTS = lt_subcontainer_bor_objects
                         SUBCONTAINER_ALL_OBJECTS = lt_subcontainer_all_objects.
                   if lv_returncode = 0.
                   "TEST
                          READ TABLE lt_subcontainer_bor_objects with table key element = lc_element
                          into wa_subcontainer_bor_objects.
                                      " call rfc for data
                                         CALL FUNCTION 'ZRFC' destination lv_destination
                                          EXPORTING
                                                AUSBK = wa_subcontainer_bor_objects-value+20(4)
                                                BELNR = wa_subcontainer_bor_objects-value+24(10)
                                                GJAHR = wa_subcontainer_bor_objects-value+34(4)
                                          IMPORTING
                                                BLDAT = wa_BLDAT
                                                XBLNR = wa_XBLNR
                                                VENDOR = wa_vendor
                                                WRBTR = wa_wrbtr
                                          TABLES
                                                  LT_ITEM        =  lt_inv_item.
                    ENDIF.
    *     map details
          READ TABLE lt_inv_item INTO  wa_inv_item WITH KEY BZKEY = ls_key_item-value.
                    ls_item-instance_id = lv_wiid.
                    ls_item-invline_item =  wa_inv_item-BZKEY.
                    ls_item-COST_CENTER =   wa_inv_item-KOSTL.
                    ls_item-COMPANY_CODE =    wa_inv_item-AUSBK.
                    ls_item-FISCAL_YEAR =  wa_inv_item-GJAHR.
                    ls_item-GLACC_TEXT =   wa_inv_item-TXT20.
                    ls_item-FISCAL_YEAR =  wa_inv_item-GJAHR.
                    ls_item-GL_ACC_NO =  wa_inv_item-SAKNR.
                    ls_item-INV_DOC_NO =  wa_inv_item-BELNR.
                    ls_item-INVOICE_AMT =  wa_inv_item-WRBTR.
          CALL METHOD copy_data_to_ref
            EXPORTING
              is_data = ls_item
            CHANGING
              cr_data = er_entity.
    You might have to handle exceptions in this code and this is just an example.
    thanks
    Ashish

  • Sales order approval workflow

    Hi,
    I am new to workflow. I have to implement sales order approval process in sap.
    Below are my queries:
    1) Can anyone tell me that is there any standard method for "approval" available in BOR.
    2) Organization level should be derived from the custom table in sap depending on the input coming to workflow.
    So how i can implement this process?
    3) Is there any possibility to approve the sales order through e-mail. If yes then how to do that.
    Can anyone suggest any example for this.
    Thanks in Advance.
    Sumit

    Hi Sumit,
    There are standard Objects available in BOR for sales order  you can extend that object type and use a
    new method for Approval process check object BUS2032.
    You can forward your workitem through email maintain settings in SCOT and SOST.
    Thanks & Regards
    Hari Sankar M

  • Sales Order Approval needed when price is changed

    Gurus,
    Here is the Scenario:
    User creates a sales order. If he changes the price of an item or adds a discount, it is required that the Sales Order needs approval from the Manager. Please let me know how to proceed with this.
    P.S.I found a similar thread but it was not answered.
    Referal Thread
    Approval at the time of price difference

    Hi Manoj,
    This can be done by using status profile at the sales order header and with function module I_Change_Status, you can change the user status in background and the order would need approval from the manager before allowing to create any subsequent documents.
    So create user status in your status profile
    SPRO - SD - SALES - DEFINE AND ASSIGN STATUS PROFILE - SALES DOCUMENT HEADER
    10 - Order Created
    20 - Order Confirmed
    30 - Order changes pending approval
    40 - Order Rejected
    50 - Order changes approved
    Now your abapper can write a logic in program MV45AFZZ wherein, whenever something in the order is changed after the order has been confirmed (status 20), then the status would automatically be set to 30. ((This can be done changes made to pricing if order is still at status 10. You have to decide the best possible scenario, i am just giving you an overview))
    Now your sales manager can come and either make it 40 if he wants to reject it, or make it 50, if he is okay with the new rates or discounts if any.
    You can find what changes have been made in the order by going to Environment - Changes.
    This will give the manager a clear picture of which fields in the order have changed.
    I have used this concept and it works perfectly fine.
    Try and let me know.
    Reward points for contribution if helpful.
    Regards
    Ravi

  • Copied layout is not working for Sales order item assinment block

    Hi Experts,
    I copied the standard componet BT115IT_SLS/items view layout  with custom role configuration key and worked fine.
    I have added one more field to the item view  with the same configuration and saved .When I opended the sales order in the WEB UI , The item assigment block is displaying with complete  BTADMINI context fileds and This is the issue.
    I have seen configured fields only in  the personalization and I have downloaded the items assigment block data to Execl.In the Execl sheet I can able to see the configured fields (availble fileds in the configuration tab in component workbemch) data only.
    But Items assignment block is displaying all the fileds (taking  from the context node BTADMINI).
    I have deleted existing customer configuration and again copied  from the standard layout.But I got the same issue.
    I have wriiten some code in the ON_NEW_FOCUS and commented the code.Still it not working.
    Please help me , where I have done the mistake and provide me some inputs.
    Thanks,
    Venkky

    Hi Experts,
    Solved isuues myself.
    The problem is inconsistency of BTAdminI context node . I have deleted the view enhancement and again enhanced the view .I copied the layout with customer role key and dispalyed expected layout.
    Thanks,
    Venkky

  • Both Credit Limit and L/C are not working in Sales Order

    Dear All,
    We are working on Export scenario where order are created based on L/C and Credit Limit. In my scenario both credit Limit and L/C check is not happening please suggest.
    I have created a sales order with value is 1024.00 INR. (My Credit Price is 1024.00 INR)
    Customer credit Limit is 50.00 INR. (In FD32)
    My L/C value is 1000.00 INR (In VX11N).
    I have Implemented Dynamic Check and Assigned L/C to Sales Order. During Order process system blocking the order through Dynamic check. As per the above value System should not block the order. But System blocking the order. When I check Header -> Billing -> Financial Document Log, System showing the value update error. Its comparing entire Netvalue of the Order(1024) with L/C value (1000). How it is possible.
    My requirement is system should consider both Credit Limit and L/C value. Please suggest.
    Thansk & Regards

    No reply received from any body. But there is limit to post the questions to post another one. I am closing this.
    Thanks & Regards

  • Orange arrow link doesn't work in Sales Order details window, Win2003 only

    Here is a weird one, I did some searching around and I couldn't see that anyone had asked about anything like this before.
    In Windows Server 2003 when our add-on is running the orange arrow linking back to the Customer window from the Sales Order window does not work.  If you click it, nothing happens.
    <br><br>
    <img src="http://6stringsamurai.brinkster.net/sapproblem.gif">
    <br><br>
    It's odd, it works on every other version of Windows.  I didn't even think our code could change that.
    Any ideas?  Thanks!

    My machine where this is being tested is using Service Pack 1 Patch Level 12.  The customer is running Patch 11.  I was able to recreate the problem on our machine using the SAP sample OEC Computers database.
    Our add-on does not add any functionality to the Sales Order Window, I traced through some things this morning and I found that we do capture events from the Sales Order Window but clicking the orange arrow does not trigger any actual functionality
    It checks out what form the event is from:
    If (pVal.FormType = SAP_DELIVERY_FORM) Or _
           (pVal.FormType = SAP_QUOTATION_FORM) Or _
           (pVal.FormType = SAP_ORDER_FORM) Then
    Then it checks the event against some conditions, all of which are false.
    Like these ones and a few others
    If m_oForm.Type = SAP_DELIVERY_FORM And pVal.ItemUID = BTN_AUTOPACK And pVal.EventType = et_CLICK And pVal.Before_Action = False Then
       ' Do some stuff
    If (pVal.EventType = et_FORM_LOAD) And (pVal.Before_Action = False) Then
       '  Do some stuff
    All of those statements are false in this case, they relate to other forms and general things to do when forms load and close.
    I've traced this on a machine where the link works and the Windows Server 2003 machine where it does not and it behaves the same way on both.  The only difference is, when it exits the sub that filters through those if statements, on Windows Server 2003 the customer window does not come up and everywhere else it does.  Strange.
    Thanks for taking a look at this, I really appreciate it!

  • Standard Work flow for Leave approval in HR module

    Hi ,
    My query is there any standard work flow available in HR module for Leave approval and Over time approval. We have negative time management and with out ESS and MSS.
    Pl suggest if any one has used this earlier with out ESS or EP
    Regards
    Punit

    I can think of the following but not without enhancement for the workflow part.
    - Since you are not using ESS, you (leave admin) may create the absence record directly in IT2001 (in LOCK mode).
    - In the user exit of 2001 you may trigger your Workflow process (i.e. call the function module to trigger WF here) depending on the LCCK status. You have to explore if standard WF can be used to your requirement.
    - Upon approval, you can UNLOCK the absence.
    - In the event that UNLOCK is unsuccessful, trigger WF to your Leave Admin for him to update via PA30.
    Standard SAP Workflow
    - Only 1 level approval
    - Using Chief Position
    IF your workflow requirement deviates, then you have to also customize workflow, does not matter whether you are using ESS or not.
    Finally test and retest to make sure all possible events are covered.
    OT is the same, except that you need to use 2007 vs 2002
    Edited by: sapuser909 on Nov 18, 2009 12:07 PM

  • Same number of work flow entries under "Approval" link for each user

    Hi All,
    We are implementing SRM 5.0 .
    The problem we are facing is that when we test the service BBPSTART , the number of work flow entries in the inbox for all users is same .
    We created a new user on SRM and tested BBPSTART with this user...it shows the same number of work flow entries in the inbox..
    What is the problem?
    Thanks & Regards,
    Anubhav

    Hi Masa,
    SPRO->SAP Reference IMG->Supplier Relationship Management->SRM Server->Cross-Application Basic Settings->SAP Business Workflow->Activate Standard Taks
    Activate Standard Tasks
    In this activity, you start a background report that defines certain tasks within the workflows of Enterprise Buyer as standard tasks. Any user can perform standard tasks, such as "Approve User Master Record". You use the workflow definition to narrow down who can actually perform the task. For example, in the case of approval of user master records, this depends on the organizational unit to which the new user master record belongs.
    You must perform this activity during the initialization of the Enterprise Buyer system, otherwise the SAP Business Workflow cannot determine who the approver should be.
    Is it somehow related to my problem?
    Regards,
    Anubhav

  • Multi user working on Sales order

    Hi Guru's,
    We have created a sales order for 2600 Mt and when we are going for delivery one user can process that document for delivery and billing, if other user want to create delivery at the same time it was locked by the used.
    SO please suggest me to how to use the multiuser facility for this order processing.
    If this senario does not works then we have to pay demarage charges To railway department.

    Hi Abdul,
    If one user is using the Sales order for Delivery and billing and at same time another user wants to use same Sales order then it will give error message something linke Sales order or material locked by user
    But if another user try to create Delivery or billing once first user completed his process then you will not get error.
    This is Standard Functionalitity and better not to change this one as this may cause over Delivery and Over billing

  • Sales Order Approval

    Hi All,
    1. I have set the approval for the SO. Once the SO is approved from the manager, In some cases there might be changes in Terms & Conditions and I want to make the changes of Terms & Conditions. These changes will be done after the approval only because we might know there is the change in the T&C. So how can I do this.
    2. Once the document is approved and after receiving the approved document If there is any changes in the document I am unable to change the modifications in SO. How can I do this.
    3. When the changes has updated it should again send for the approval.When the document is sent for the approval to the manager if there is any modifications in the SO can he make the modifications in the SO.
    Thanks

    Hi Sandy,
    1. I have set the approval for the SO. Once the SO is approved from the manager, In some cases there might be changes in Terms & Conditions and I want to make the changes of Terms & Conditions. These changes will be done after the approval only because we might know there is the change in the T&C. So how can I do this.
    Therefor you need a query, that check if the payment condition in sales order is the same like in the bp master.
    2. Once the document is approved and after receiving the approved document If there is any changes in the document I am unable to change the modifications in SO. How can I do this.
    3. When the changes has updated it should again send for the approval.When the document is sent for the approval to the manager if there is any modifications in the SO can he make the modifications in the SO.
    Thats a good question, we have a similar problem. Some approved orders need to be changed. I was searching for a solution, but it seems thats not possible to change a approved document. In our case we cancel eg. the order and duplicate it for a new approval procedure.
    Regards Steffen

  • Sales order approval based on Price

    Hi Champs,
    Have a scenario which needs to be mapped in SD.
    Flexibility to decide if the billing needs to be processed for the respective sales order even if the actual price is lower than the sales budgeted price is required.
    System will first compare the actual sales price with the budgeted price and if found lower a release for the sales order will be trigerred and attached to the sales order.
    The function of this release in sales order will be to block the sales order at the time of billing creation. Please note that in this option, system will not stop the user from creating the sales order.
    Until the authority does not release this order, the billing cannot be processed.
    Can you please guide me if you have come across any such requirement.

    Create one budgeted price conditon in the pricing procedure as statistical. The actual price should be compared with the budgeted price condition & if it is greater then automatically set a billing block. The billing block (VBAK-FAKSK) can be set automatically through the Module Pool MV45AFZZ & you make sure to put the logic that once the billing block is removed manually (Approved) then set VBAK-FAKSK eq initial.

  • Sales Order Approval questions

    Forum,
    I have an approval in place which is configured to alert when the Gross Profit % is less than 20. I just want to confirm that this is for the overall order total and not the individual items on the sales order?
    Regards,
    Juan

    Gordon,
    Thank you for your response. As this is the case, I am trying to create a query for an approval which if items are less than 20% of the gross profit % they will require approval.
    I have only got to this part, can anyone assist?
    SELECT 'TRUE'
    FROM OITM
    WHERE
    T0.ITEMCode = $[$5.0.0]
    Regards,
    Juan

Maybe you are looking for