Requirement in workflow

Hi
I have a requirement in workflow, where i need to mail the changes made to cross material plant status in MM02 transaction to a particular group. I can retrieve new value frm database, but can u tell me how to retrieve the old values?

Hi richa
In your case, you need the change document number. This change document number can be retrieved as soon as event is triggered. So in transaction 'SWEC', click details tab. you need to mention a Function module of type template.. 'SWE_cd_template_container_fb2'.
you can copy this template and make changes acc to ur requirement.
regards
- rishika

Similar Messages

  • Custom Approval Screen required for workflow to be executed via CRM Web UI

    My requirement is to create a custom approval screen for workflow. I am Not aware as to how to create a custom approval screen for workflow that could view via CRM Web UI and Execute the workitem as well.
    Experts please help me with the creation of a task with custom approval screen.

    Hi Surjith, thanks for your answer but is not the right one.
    This is an standard method and is working fine, I think the problems must be in some setup I have to do but I'm missing.
    Thanks a lot.
    Regards
    Felipe

  • Require a Workflow Example

    Hi All,
    I'm looking for a workflow example, where the workflow calls a procedure that runs some queries on a table and returns the results in a workflow notification. Preferably a workflow already supplied by Oracle.
    i.e. what i am planning on doing is to create a workflow that queries the ap_credit_card_trxns_all table, and for any transactions that are not coded over a certain timeframe (i.e. 30 days), sends the card holder a workflow notification email, and in that email is a table of the outstanding transactions.
    I've been going through the workflows within Oracle but haven't found one that does something similiar to what i require.
    Cheers,
    RussH.

    Hi RussH,
    There are a number of ways to do this. The "easiest" is to create an Attribute (e.g. body_text) on the Workflow Item type e.g. a Document (LOB), and the create a process prior to the Notification that populates this with the content of the notification body. Then the Message on the Notification has just &body_text and you'll get what you want. Make sure you handle creating a lob not varchar2 or you may hit maximum lengths (32K). An example of this can be found in Release 11i AP Remittance Advice Email, package appewfpb.pls (AP_PAYMENT_EVENT_WF_PKG) and workflow "AP Remittance Advice" APPEWF. Note in R12 AP Remittance Advice has been replaced with BI Publisher based solution.
    Regards,
    Gareth
    http://garethroberts.blogspot.com

  • What further customization required for WORKFLOWS ?

    Hello,
    I build a workflow and i want to run it when a certain event occurs in the system. But it is not running, the event trace is showing an error, so are there any further customization / linking required to be performed so that the workflow can run when the even occurs in the system ?
    Points are awarded
    regards

    Hi Hassan,
    you could use transaction SWU3 to check if your customizing is on the right way,
    if you haven't done yet.
    Hope this helps.
    Regards
    Bernd
    For further checks call SWUD.
    Message was edited by:
            Bernd Köhn

  • Http server to configure mod plsql for creating DAD required by Workflow

    Hi,
    I have a question.
    Actually, I am working on Oracle Workflow 2.6.3, which need the Oracle HTTP server to configure the DAD.
    I have already installed Oracle HTTP server (which called Apache Standalone 10.1.2.0.0) using the Oracle Database10g Companion Products 10.2.0.1.0 CD on my Windows 2000 SP4.
    At the end of the installation, it refers to http://<computer_name>:7777
    to open the HTTP server page.
    It seems work fine that it showed the Welcome page of HTTP Server.
    But I could'nt do anything of using the mod_plsql components nor another
    Modules (mods) which showed in the welcome page
    since there is no link to such things.
    BTW, I have experienced with the HTTP server previously on Oracle9i
    When I open the HTTP server page, it showed links to some Modules (mods)
    components such as mod_plsql, etc.
    Does it need to be configured or anything else to use the links like in Oracle9i?
    Or the new Oracle HTTP server does not support for this thing?
    Please, can anybody help me to solve this problem.
    Thanks,
    Buntoro

    look at
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b12255/confmods.htm
    hope this helps
    carlos

  • Table names required for workflow definition

    Hi All,
    I need to know which tables stores all the task level information for a given workflow.
    Also alongwith the above query need to know which table stores information of exception and parameter for BOR methods.
    Thanks in advance,
    Imran

    Hi Imran,
    If I understand your query... you need a table that stores information of the workitems.
    See if the table SWWWIHEAD (Header Table for all Work Item Types) helps you.
    Hope this helps!
    Regards,
    Saumya

  • Information required about WORKFLOW

    Hi mates,
    What is Workflow in SAP ABAP?can u plz sent me info abt where can i get tutorials on WORKFLOW.

    Hi,
    Workflow automates the steps and activities in a business process according to predefined procedures and rules.
    Workflow presents information and documents to the appropriate knowledge worker or agent (another entity such as a program) to make a decision or perform an activity.
    Workflow tracks each and every step in the process flow and maintains an ongoing status.
    Workflow also collects and reports all of the metrics associated with the execution and completion of the process.
    Check the below links u will get lot of info..
    http://www.sap-press.com/product.cfm?account=&product=H950
    Workflow
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    For examples on WorkFlow...check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    Go through the following links on FORK :
    http://help.sap.com/saphelp_nw04/helpdata/en/24/e2283f2bbad036e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/8d/25f1e7454311d189430000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/c5/e4a930453d11d189430000e829fbbd/content.htm
    http://www.insightcp.com/res_23.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    For more reference on workflow: http://****************/Tutorials/Workflow/Workflow.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/04/9277a346f311d189470000e829fbbd/frameset.htm
    Check these links.
    http://www.sapgenie.com/workflow/index.htm
    /people/ginger.gatling/blog/2005/12/01/link-workflow-business-objects-to-your-collaboration-tasks
    http://help.sap.com/saphelp_nw04/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
    http://help.sap.com/saphelp_bw33/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
    http://help.sap.com/saphelp_bw31/helpdata/en/8d/25f94b454311d189430000e829fbbd/content.htm
    http://www.sap-press.com/product.cfm?account=&product=H950
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    Workflow
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    For examples on WorkFlow...check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
    http://www.sapgenie.com/workflow/
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2857887
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2855919
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2735228
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    Debug a workflow.
    This has a step by step procedure :
    http://fuller.mit.edu/workflow/debugging.pdf
    www.erpgenie.com/sap/workflow/debugging.htm
    http://www.erpgenie.com/workflow/debugging.htm?2b5de440
    Workflow tutorials with step-by-step and with screenshots are available at
    http://www.****************/Tutorials/Workflow/Workflow.htm
    http://www.sapgenie.com/workflow/
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2857887
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2855919
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2735228
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/WORKFLOW_tutorial.html
    Regards,
    Priyanka.

  • Refresh document call in RESTful workflow is taking long time.

    Hi,
    I am facing an issue with the Refresh Document step, in Raylight Workflow using RESTful API.
    We are using this Refresh Document call, To make the dataprovider mappings formed.
    For few WEBI documents, this Refresh document step is taking much time to complete. After some investigation, we got to know that there are a series of SQL scripts running against actual data source, for each Refresh Document call. If the SQL script is taking much time, then the refresh document call is taking much time as well.
    Up to now, we are able to solve this problem in some cases, Like below.
    1. For a WEBI Document with Contexts to Answers during Refresh Document:
    Ex:
    Method: PUT
    URI: http://localhost:6405/biprws/raylight/v1/documents/1111/parameters
    Request Body: (setting default Context)
    <parameters>
      <parameter>
        <id>3</id>
        <answer>
          <values>
            <value id="4">Context1</value>
          </values>
        </answer>
      </parameter>
    </parameters>
    Result: Success (No Time out Exception)
    2. For a WEBI Document with some prompts to Answers during Refresh Document:
    Ex:
    Method: PUT
    URI: http://localhost:6405/biprws/raylight/v1/documents/1111/parameters
    Request Body: (With Some Dummy Values)
    <parameters>
      <parameter type="prompt" optional="true">
        <id>1</id>
        <answer type="Text">
          <values>
            <value id="1">Dummy Text</value>
          </values>
        </answer>
      </parameter>
      <parameter type="prompt" optional="true">
        <id>3</id>
        <answer type="Numeric">
          <values>
            <value id="1">0</value>
          </values>
        </answer>
      </parameter>
    </parameters>
    Result: Success (No Time out Exception)
    3. For a WEBI Document with No prompts and No Contexts to Answers during Refresh Document:
    Ex:
    Method: PUT
    Request Body: (Empty)
    Result: Time Out Exception (from my C# code)
    Only In this scenario (3) i am facing issue, As I have no answers to set any default values to Parameters. So the SQL scripts are executing. Due to this, if there is any time taking scripts, then the Refresh document step is taking much time or even throwing Time out exception from my C# code. I tried by increasing the timeout for WebRequest in C#, But still not solved.
    For creation of a WEBI document, Can we skip the SQL scripts, running in Refresh Document API call?
    If yes, then please let me know your valuable ideas to solve my problem.
    Please let me know for more information.
    Thanks in advance.
    Thanks,
    Mahendra

    Hi Anthony,
    Yes, I tried creating same WEBI Document using Web Intelligence Rich Client and also using Web Intelligence from BI Launch Pad.
    On both WEBI Clients I am able to create the same WEBI Document, which I am trying to create using RESTful API.
    My observations are like below:
    Observation 1: After selecting required Result Objects/columns in Query Panel, by clicking on Close -> Apply Changes and Close button, I can create the WEBI Document and Save it successfully.
    Observation 2: After selecting required Result Objects/columns in Query panel, If I click on Run Query, It is taking much time to bring fresh data.
    Just like in my first observation, I am only looking for creating WEBI Documents successfully, without bringing fresh data. It is enough for me, If I can create the WEBI documents from RESTful API successfully. Here I am not looking for any fresh data from this Refresh Document step, except the dataprovider mappings.
    As mentioned in my previous reply, Without dataprovider mappings, we are unable update Report Specification. For this, to make the dataprovider mappings formed, we are using this Refresh Document step, After updating dataprovider specification
    Is this Refresh Document call required in Workflow?
    Please suggest me if any other REST API Call, that I can use to get the dataprovider mappings formed, other than Refresh Document step.
    Thanks in advance. Currect me if I am wrong.
    Thanks,
    Mahendra

  • How to retrieve comments from one OfficeTask activity and use them in another OfficeTask activity for Multi level Approval sequential Workflow

    I'm designing a sequential site workflow using Visual Studio 2010 for Project Server 2010. In my case, I have following 6 stages in the workflow:
    1. InitialProposal Stage
    2. Approval Stage1 -- Needs approval from Approver Project Security Group Members1
    3. Rejection Stage
    4. Approval Stage2 -- Needs approval from Approver Project Security Group Members 2
    5. Execution Stage
    6. Completed Stage
    Requirement is workflow should move to Approval stage2 from Approval stage1  if approved by all members of Approver Project Security Group1and it should move to Rejection Stage even if a single member rejects it.
    Workflow should move from Approval Stage2 to Execution Stage if approved by all members of Approver Project Security Group2 and it should move back to Approval Stage1 on rejection by a single member of the group.
    I'm using inbuilt PSWApproval content type and OfficeTask activity for creating approval task for the group members at both stages.
    On task rejected in Approval stage2, task will be assigned again to Approval Stage1 and I want to show comments given by members of Approver Project Security Group2 to the members of Approver Project Security Group1 with this assigned task
    but I'm not able to retrieve comments from officeTask activity.
    My question is where exactly these comments are saved? how can we retrieve them and use them in another officetask activity? If this is not possible then what is the possible solution for meeting above mentioned business requirement?

    Hi Paul,
    Thanks for your suggestion.
    By comments field I'm assuming OfficeTask.Comments field. Problem is, this field is always null. I tried accessing this field in CheckExitCondition activity as well as in OnTaskCompleted but in both the cases, it was null only(I wrote comments while approving
    the task).
    I used a code activity within OnTaskCompleted activity and following code for accessing Comments and Description fields:
    public string officeComments;
            public string officeDescription;
            private void TaskCOmplete(object sender, EventArgs e)
                CodeActivity Sender = (CodeActivity)sender;
                Microsoft.Office.Workflow.Actions.OfficeTask ofctask1 = ((CompositeActivity)Sender.Parent).Parent as Microsoft.Office.Workflow.Actions.OfficeTask;
                officeComments = ofctask1.Comments;
                officeDescription = ofctask1.Description;          
    Please tell me if I'm doing anything wrong here, I'm very new to Workflows. Also, do I need to set any specific property of officeTask for retriving comments?
    Thank you

  • Workflow does not start on a event: document copied in from another library's workflow.

    I'm using SharePoint Online for Office 365.
    I have a workflow that initiates as soon as a new item is added to a folder. That workflow gets approval from a group of people. Then copies the document to a new folder and deletes the original.
    I have another workflow set to initiate as soon as a new document is created or changed that gets approval from a second set of users and moves the document again.
    Problem: Both workflows work great on their own. The problem i'm having is the second workflow doesn't initiate when the document is moved. There's apparently no way to trigger a workflow from within a workflow. Is there a way to edit the data in the current
    item after it's moved to trigger the second workflow?
    Also, I tried to nest the second workflow within the first but it didn't link the document to the second workflow.
    Any help is appreciated.

    From what I'm told, this is purposeful. It's to protect the user from firing a million workflows on accident. I believe you can run an impersonation step (requires 2010 workflow) on the document moving part and it will then successfully fire.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • Credit Clarification workflow Contract Accounts Receivable and Payable

    Dear Experts,
    I am having the requirement of workflow in credit clarification process. I am not able to activate the workflow for this process.
    Could anyone suggest me how to activate the workflow in credit clarification.
    Thanks
    Aswin

    Hi ,
    The event 4255 is specifically provided for authorization in credit calrification .
    Here you would have to define your custom flow of document , check the same with your Abaper regarding creation of a workflow for the same and using this event you would be able to trigger the same .
    Regards ,
    Dewang T

  • Po workflow( release strategy)

    hi,
      we had defined release strategy for po workflow. i assigned the users to release codes in SPRO. what my doubt is .... is there any further configuration is there to go purchase order to agent inbox.
    i am not defining workflow template.
    is it required define workflow template  for po, or is it sufficent release strategy.
    let me give reply asap,
    thanks
    suresh

    Hi,
    You MUST have the workflow template  for PO release strategies.
    There is a SAP standard workflow, which you need to activate for the workitems to go to respective agents.
    Hope it helps.
    Regards,
    Shashank

  • SQL Server 2014 support for Workflow Manager?

    Is this configuration supported?
    The prerequisite requirements for Workflow Manager are out of date and do not even list SQL 2012 R2 as a supported DB server.

    Hi JB
    We installed Workflow Manager 1.0 on a Dev SharePoint 2013 SP1 + April 2014 CU Farm running Against SQLServer 2014 which I suspect in not much different under the hood to your SQL2012R2.
    Freelance consultant

  • How to call java method from workflow script?

    Hi
    I have a requirement of updating field value 'Document Status' based on review/approve of content from Workflow and hence need to update the version number. For that I need to call my java method from workflow during submit of review/approve condition. Please let me know how to call java method from workflow?
    Is there any alternative better way to achive this requirement from workflow? Please suggest.
    Thanks,
    Sarang

    OK. So, I think we can all conclude that you don't need to call any Java method, can't we? And, that wfUpdateMetadata is the command that will update your metadata.
    Now, the question is what are its arguments. It has two - the first is the name of a custom metadata field to be updated (let's suppose that one field is called xMinorVersion, and the other xMajorVersion), the other is the new value, e.g. <$wfUpdateMetaData("xMinorVersion", "New value.")$>As for new value - do you insist on using strings? Since you want to increase the value, it would be more convenient to work with numbers. For instance, with integers you could go with <$wfUpdateMetaData("xMinorVersion", xMinorVersion + 1)$>With strings you will need to convert it to numbers and back to strings. Besides, what happens if you have more than 100 minor versions? (you mentioned you want to add 0.01, but that would finally increase the major version, wouldn't it?) So, I think these two numbers are independent (perhaps, with exception that increase on the major version set the minor version to .00).
    If you want to present it, you can use profiles that will construct for you the representation 2.304 out of MajorVersion = 2, MinorVersion = 304
    Solved?

  • Workflow Approval on Material Document

    Hallo,
    My client requires approval workflow on good receipts.
    I would like to share my vision and check with you feasibility or alternatives.
    I was thinking to exploit the 'Hold' status, as follow:
    1) go to MIGO, input data, put the document on hold
    2) start an approval workflow.
    3) when workflow ends, create the material document.
    Issue is on the business Object, as cannot use MKPF, as the Document on hold status does not get a document number yet.
    I have found that 'Held' document are stored in table MMIM_PREDOC_ORG,
    I was thinking to create an ZBusiness Object based on the key of table MMIM_PREDOC_ORG, and there create all the relevant methods.
    Still I have not figured out how can the approval can be performed technically. (no approve or release button on MIGO)
    Would you say this is a viable solution?
    Please let me have your feedback.
    Best Regards,
    Marco

    Either you create a module pool that looks like the MIGO Tcode with some button or you use a decisiontask with some options.
    Thanks
    Arghadip

Maybe you are looking for

  • Setting Duration of Photos (still clips) in iMovie '11 Does Not Work

    Howdy - I realize there are already similar posts to this one, but so far as I could tell, most of them involve (& focus on) transitions, whereas my issue is strictly with setting the duration for which a photo is held in iMovie. Effectively, I am tr

  • Won't connect to wireless when other cpu's are connected

    I apologize if this has been answered, I did look through and didn't find an answer to my issue.. Normally I have no problems connecting my MacBook with 10.4.1 to wireless internet, however, when other users in my household are on it, it will not let

  • Role Config Key when testing component using BSPWD_CMP_TEST?

    Hello, I have component view for which we have done some configuration change and saved with some Config Key. This key has been already assigned to the business role. Now when testing this component how can I force the component to load the view base

  • Digital Imaging missing files

    I cannot use scan functions on my Windows 7(64) PC .  I have used the Print and Scan Doctor and have downloaded, installed and unistalled many times the newest drivers.  The uninstall/install hangs up because a file (or more) is corrupted or missing.

  • Print message - Output is continuous or contains too many pages ( 4)

    I have created a new page in SAPScript called COVER_PG and now when I attempt to print an invoice I get that message.  I am using Esker to send an email to a recipient and then the message comes up.  I am not sure what it means or how to fix it.  Any