Workflow to aprove changes

Hi,
I have a requirement.
for eg., For sales order, any changes should go through Workflow approval.
Say the <i>customer</i> is changed from ABC to XYZ, is it possible that the order still retains ABC (old value)...And then if the superior <b>approves</b> the change from the Workflow, then the DB is updated with XYZ.
1. If so, how can I do it ?
2. are there any standard WFs that you can show me that might have this implemented..
Rgds,
Prash.

Hi again,
Offcourse, it has to be a customer requirement. I was just trying to understand the exact requirement.
anyways.. there can be two suitable approaches
1) You can use the user exit USEREXIT_SAVE_DOCUMENT when a sales order is saved. The changed values are available in this user exit.
You can trigger a workflow from this exit and pass the values to the workflow.
2) Use standard business object BUS2032. CHANGED event of this object can also trigger a workflow and all the values will be available to the WF in the attributes of the object BUS2032.
Hope this helps..
Regards,
Shashank

Similar Messages

  • Trigger workflow when PR changed and copmlete activ workflow for same PR

    Hi,
    i am triggering the workflow for all line item of PR when PR is created. now i want to create workflow when PR change also.
    but before triggering the workflow i have to check the any in process workflow for the same and if then complete is and delete all its work item.
    for Ex.
    PR -4500000001 created with item 10 workflow triggerd ,
    suppose i changed it and agan save next workflow trigged now before triggerin this workflow we have to complete the 1 instance of workflow , delete all workitem of that instant
    Please suggest how can i achive this .
    Thanks in Advance
    Deepanker Dwivedi

    Hello,
    We have already implemented this in our old  project.Please find below the solution.
    No config change is required.
    1.Go to tcode SWETYPV
    2. Double click on your linkage.
    3. You will see there check function module.
    4. MAke a custom custom function module of yours and it will have CDPOS and CDHDR as its component.
    5. When so pr is changed or created this function module will be triggered there you can identify whether pr is changed or not using cdpos and cdhdr.
    6. If it is change raise two events one for completeion of old worklfows which are in process second for creation of new workflow instance.
    7. Create a wait step in your workflow which will wait for the completion event to be raised.
    Hope it helps.
    Regards,
    Nabheet Madan

  • How dynamically get an agent f a level-by-level workflow after PO changed

    Hi  all:
         I'm trying to create a level-by-level workflow after PO  changed, but how dynamically get an agent and how assign it to
    task dynamically?
        Thank you very much!!!

    Hi Sony,
    There are diffrent ways to get agent level by level....it depends from where you are getting the agents.
    1>Suppose you have 2 level PO worklfow and my agents are stored in some custom table:-
        level1 -- agent1
        level2 --agent2
    2> You can create two attributes in your BO i;e zgent1& zagent2.
    3> Inside the attributes zagent1 u will get the actual agents from custom table by putting code
       i.e select agent1 into zagent1 from zcus_tab where level = 1.
    4> Inside the attributes zagent1 u will get the actual agents from custom table by putting code
       i.e select agent1 into zagent1 from zcus_tab where level = 2.        
    5> Now generate the BO...and test it ..u will se the user id of agents in the attributes populated.
    6> Now bind these both attributes to workflow container.
    7> Use attribute ZAGENT1 for level 1 approval task in worlfow.
    8> Use attribute ZAGENT2 for level 2 approval task in worlfow.        
    The values will comes dynamically from custom table...which u will maintain.

  • How can I customize Workflow for Organizational Change (WS01000014)

    Hi ti all!
    Let me know please, How can I customize Workflow for Organizational Change (WS01000014)?
    What steps must I do?
    Thank!

    Oracle Workflow home page is basically static HTML content rendered by Mod PLSQL code written in WFA_HTML.HOME procedure. There is no supported way of customizing this page.
    Thanks

  • Workflow query for change contract - VA42

    Hi,
    Has anybody worked on workflow for contract changes VA42. I have a requirement as when we change the contract, data is not updated properly for some line items. Can anybody please tell me how workflow is getting trigger once we change something in VA42. Any userexit or any configuration ?
    Many Thanks,
    Niki

    Try using change documents to trigger a workflow event - transaction SWEC.

  • Workflow for material changed

    Hi Gurus,
    I would like to implement a workflow with a mail which wil be triggered whenever a material is changed.
    I have created a workflow using SWDD..How can I link this workflow to Material change transaction(MM02)..
    I am new to this workflow...Pls help me...
    Thanks in advance...
    Regards,
    Saj

    Hi,
    you need to create an event for your change document  BOR 1001006 thru SWEC.
    create a similar event in your BOR Event and use this event in the Basic Data of your WF.
    So whenever a material is changed your event would trigger your WF.
    Hope I am clear,
    any issues reply back to this thread.
    Aditya.
    P.S
    just a suggestion, could you put in your name instead F1 (as I like referring to names, though I just address all by initials) offcourse no hard n fast rule,
    but since its a <b>wonderful Forum</b>, lets know each other .
    Well my friend I still have no issues with your Display Name, it was just a thought.

  • Workflow for organization change request

    Hi all,
    I need to develop a workflow for all changes done to organization structure.Whenever any change is done in the organization structure,a notification should go to the highest node user that what changes have been done to the nodes below.Is it possible to develop a workflow for this?
    If so,can some one explain me the tasks that will be involved and the Business Object type to be used?
    Thanks!

    Hi,
    Please check Alert customizing.
    Event Control for Organizational Management
    Use
    In this IMG activity, you can define whether the events of the event schema for the employee (DEPARTMENT_CHANGED and ADRESS_CHANGED) are to be used. These events are then triggered when the organizational unit or the address data of an employee is changed. Then, depending on the settings in the associated event schema, SRM Alert Management is used to trigger an alert, provided that you have entered the schema.
    You maintain this in the IMG activity Define Event Schema.
    You can change the event text under Define Events.
    Activities
    If you want to activate the event schema for the employee, enter the value for the business object Employee (BUS1006003) in the Event Schema field. The default value is MA.
    To deactivate it, leave the field empty.
    Regards,
    Masa

  • Setting up workflow for bom change LO-ECH

    Hi all,
    I am trying to set up the workflow for BOM change.  I have followed the Preparation step for the setup and was stuck at the step 'Define the Organizational Plan for the Change Department (LO-ECH)', step number 6.
    <a href="http://">http://help.sap.com/saphelp_46c/helpdata/en/f1/499a34272a5f2ee10000009b38f83b/frameset.htm</a>
    5.  Select the object type SAP Organizational Object, and click .
    The Add SAP Organizational Object screen appears.
    6.  In the field SAP org. object type, enter one of the following organizational object types:
    TCC11
    Responsible for changes of this change type (master record)
    TCC13
    Responsible for object changes of this change type
    When I click on either TCC11 or TCC13, it give me the below error message
    "Method CREATE not defined for object type Person responsible for changes of this type.
    Message no. 5W003"
    I have debugged the program and seems like it error out because there is no entries for 'CREATE' in the table SWOTDV for objecttype = 'TCC13' or 'TCC11'
    May I know what am I missing here?
    Regards
    Khong Kiam

    But I find if I have as original media - one jpeg still, one 480 x 720 video clip
    480x720? Do you mean 720x420? And what CODEC? DV? Some odd whackball one like MPEG-4? Look at COMPRESSOR in the BROWSER in FCP.
    Stills you have to render...
    and are employing opacity, a filter like Blink,some color correction, etc. That I get minutes to render a 30 second clip.
    That is still adding a filter, and opacity..and color correction. That will require rendering.
    If you find that you drop a clip onto the timeline, and you instantly need to render, then something is wrong with your settings. You shouldn't have to render clips in the timeline. Not if they are captured or imported PROPERLY, meaning that they are codecs that FCP edits with.
    If you want to just grab random clips or use random codecs and throw them all into an application and begin editing, then you should look at another editing application, like Vegas or Adobe Premiere CS5.
    Shane

  • How to configure workflow for status change of a salesorder.

    Dear Friends,
    I want to generate Idocs after a sales Order delivery  status changes
    using workflow.
    Please tell me the procedure ,as i am doing this for the first time.
    thanks,
    jeevan.

    Suggest using "Modes" in PPM. Mode 01 will have "x" capacity, mode 02 will have "y" capacity and so on. You will have to give a slightly different resource name for each mode. E.g, If there is a multi capacity resource named "RESOURCE", then first create following resources in the Resource master : RESOURCE_X and RESOURCE_Y. Define individual capacities ( Resource is same, only we are separating capacities). Then include these in the PPM -  mode 01 = RESOURCE_X, mode 02 = RESOURCE_Y.
    Hoe this helps

  • Regarding Workflow trigerring using change document

    Hi all,
    I am trying to trigger a workflow using change document object.
    I want that to trigger the workflow on the material master change through MM02.
    I have created  a business object ZBUS1001 and wanted that on change of material master
    the custom change document object should call the workflow
    I went through all the material avaialable over SDN ,but can not find a change object for change in material master through MM02  for std business object  BUS1001.
    Please tell me how to find one.
    Please reply if any one of you have some solution.

    Hi,
    Thanks for your reply.
    I am using an existing change object - MATERIAL_N of Business Object - BUS1001 and the event
    BASICMATERIALCHANGED.
    I have mentioned  the details in the tcode SWEC.
    And even in the workflow i have given the start of event  as the BUS1001 and event BASICMATERIALCHANGED.
    But workflow not called .
    Do we need to maintain an entry in SWED?
    If yes then in function module column what we need to mention.

  • SharePoint Online, Stop Workflow when Item Changed

    Hello,
    I have a workflow that sends an email to certain individuals upon creation and then sends a follow up reminder in 30 days if a specific field has not been changed.  I want to edit that workflow to only send the reminder if the list item has not been
    changed since creation (ie: modified date is after created date).  Then create a second workflow that starts once the item is changed to send a different reminder email if the list item has been updated but not completed.
    The problem I am having is that the workflow that sends the initial email is technically "changing" the list item and therefore triggering the second workflow which I don't want to happen.  I tried to use the "If any value equals value"
    condition on the "created" (date/time) and "modified" (date/time) fields but sending the initial email changes the modified field so they're never equal.
    If there were a way to define a timestamp as [created date/time + X] I could set X to be 1 miute and then use the greater than or less than functions of the "If any value equals value" condition to make this work.  Doesn't seem possible
    to do.
    Does anybody have any ideas of how to get around this?
    I'm using SharePoint Online with O365 if that makes a difference.
    Thanks,
    Jared

    add a column called 'start next workflow' which should be a Boolean with a default value of NO
    in your first workflow, only at the point it should end, make the last action to change this new field to YES
    in your second workflow, add a condition so that it only runs if this field is set to YES
    Regards
    Sergio Giusti Sergio Blogs
    Linked
    In Profile
    Whenever you see a reply you think is helpful, click Vote As Helpful.
    Whenever you see a reply you think is the answer to the question, click Mark As Answer.

  • Workflow  keying off changes in the customer master

    I have created a workflow that triggers  off of changes to a particular field in the customer master.
    Everything works great.. However, users are requesting to see the old value as well as the newly changed value.
    The event container doesn't seem to hold the previous changed value, only the new one.
    It does have have the object key and the event time and date.The only option I see is to have my custom method go back and read the change doc table (cdhdr & cdpos) in and around the event time for the object key ( kna1) to retrieve the old value.
    Any suggestions are appreciated.

    Hi,
    The address data is always saved with the dates (look in table adrc). SO maybe you can retrack the original address.
    Why do you print again an invoice. And if you do i think it is alright when it is sent to the current address and not to the old address.
    Gr., Frank

  • Standard Workflow for ESS changes.

    Hi Experts,
    We have a requirement where we need to change the Employee personal data and it has to be approved by the manager and then update the database.
    We can do it by custom workflow, but is there any standard workflow template for this process and any standard screens for Manager approval process.
    Kindly help. Thanks in advance.
    Regards
    Vijay.

    go to swo3 and find related bo, then go to swe2 to find workflow according to bo

  • Stop a workflow on item change

    Hello Guys,
    I'm working on a sharepoint workflow, i want to terminate the workflow on the item change. How can i achieve this with the Sharepoint designer? I read something about adding a second workflow. Can you guys give me some more information about how to achieve
    this?
    Regards,
    Niels.

    http://office.microsoft.com/en-in/sharepoint-designer-help/create-a-secondary-workflow-HA010237656.aspx
    http://social.msdn.microsoft.com/Forums/en-US/a0f52cd9-6b12-443f-8efc-e81463c14061/how-to-automatically-cancel-a-running-workflow-when-the-item-has-changed?forum=sharepointcustomizationlegacy

  • Shopping Cart Workflow - "Wait for change event" not firing?

    Hi there,
    I have a scenario where if I create a shopping cart above my spending limit it will go into the approver's inbox, that is fine.
    Now if I change the total value of the shopping cart to be within my spending limit the original workflow should be "logically deleted" and a "no step approval workflow" should be triggered.
    I see when the SC workflow triggers it also branches with a "wait for events", so that if it changes etc it will get caught here.
    When I change the SC it does not do anything, the value of the cart changes but it still sits in the approvers inbox and the "no step approval workflow" does not trigger.
    We are busy upgrading to SRM 5.0, it worked perfectly in the SRM 3.0 system we had.
    Any ideas what would cause the "change event" not to fire?
    Thanks for the help
    Lynton

    Hey Masa,
    You are the man!! That solved it.....I have implemented the BBP_WFL_SECUR_BADI and for whatever reason I set the security level to 4 when it should have been 2.
    4     "High" (workflow is never restarted when changes are made)
    3     "Medium" (WF restarted conditionally when changes are made)
    2     "Low" (workflow is always restarted when changes are made)
    1     "None" (changes to the object are not allowed)
    0     "Not defined"
    Thanks for the help
    Lynton

Maybe you are looking for

  • Diagnostics not working in web role for Azure SDK 2.5.1

    I am working with Azure SDK 2.5.1, mainly on the new designed diagnostics stuffs. However, I found I cannot get it run for my web role. So, I created a cloud service project, added a web role. Then, I appended one Trace message at the end of Applicat

  • Dump while executing this Funciton Module PT_ARQ_REQLIST_GET.

    Hi, I am using the function module  PT_ARQ_REQLIST_GET to get the leave requests. when i execute this function module first time i am getting the values, when i come back and change the personal number in the import parameter and execute the same mea

  • JSP - My sql Connection issue

    HI, I using JSP and MySql, In URL If i gave "Local Address its working fine,                dbconn = DriverManager.getConnection("jdbc:mysql://localhost:3306/report","root","nbuser");but if i gave my IP address Its not working                dbconn =

  • How do I delete folders in Thunderbird?

    I want to delete folders in Thunderbird and nothing seems to work. How do I do it?

  • Create Cluster Wizard in SCVMM 2012 doesn't have IP Address page

    i installed the SCVMM 2012 version 3.0.6019.0. When i use the Create Hyper-V Cluster under Fabric page to create a Cluster. the Create Cluster Wizard doesn't have the IP Address page to let me input the IP for the Cluster. after i answer all the wiza