Activating Workflow for Change Documents

Hi
I am working in cProjects 4.0 on ECC6.
I am working on the scenario of automatic email generation when change document is created for project element.
I have used sample workflow WS28700006 and following settings have been made :
1. Make the required settings in the SAP menu under Tools → Business Workflow →
Development → Definition Tools → Events → Event Creation → Change Documents
→
a. Overview (transaction SCDO)
Enter DPR_PROJECTS in the table.
b. Define Workflow Properties (transaction SWED)
Enter the following data:
Change document object DPR_PROJECT
Leading table in change document DPR_PROJECT
Change document key with structure DPR_PROJECT
Action: Change X
Structure DPR_TS_BUSINESS_OBJECT_KEY
Function module BAPI_BUS2175_OBJECT_KEY_SET
c. Linkage (transaction SWEC)
Enter the following data:
Change document DPR_PROJECT
Object category BOR object type
Business object type BUS2175
Event CHANGED
On change X
In cProjects I have I have attached word document, and another user changed it and changed document again checked in again with overwriting the old one.
But no workflow triggerd. In SWI1 transaction I cannot see any workflow triggered.
Is there any problem with workflow and process or changing document in cProjects is not write ????
Can someone help ????
Regards,
Niraj Sikligar

Hi Niraj,
Please ensure that you have made IMG setting for cProjects > Basic Settings>'Activate Change Documents'.
'Change Documents' means that any change in the Project Objects will be recorded, and not the changes in the documents that have been attached.
I am not too sure about the workflow settings that you have made, but just try with the img activity that I've mentioned. You can test the same by making some changes in Project (  for eg change the Project Status) and save it.
Let me know if it helps.
Regards,
Vivek Pandey

Similar Messages

  • Function module to find list of workflows for a document

    Hi
    Is there any standard function module where I can get list of active workflows for a document ?
    example : for business object FIPP I have a document number, fiscal yr and co code. I need to get like of workflow instances for it.
    what we do in SWI6 or in display transaction - services for objects - workflow overview.
    I need find function module as I need to call it in a user exit.
    thanks
    bhakti.

    Hi,
    Concatenate the fields in the following order:
    1. SourceCompanyCode
    2. DocumentNo
    3. FiscalYear
    Use
    CATID = 'BO'
    TYPEID = 'FIPP'
    INSTID = Concatenated value
    in SWW_WI2OBJ to find TOP_WI_ID. Use this TOP_WI_ID  as an input Parameter TOP_WI_ID of table SWWWIHEAD.
    This will give you all workitems for your Document.
    Regards
    Gautam
    Edited by: gautam maini on Jul 7, 2011 2:23 PM

  • Triggering of Workflow for park documents based on Document type.

    Hi,
    I have activated workflow for park documents but it is triggering for all document types. Client dont want workflow for Customer park documents.
    I assigned SA document only in "release approval path" but it is triggering for all document types.
    Please help me.
    Thanks.
    Azeem

    Hi Azeem,
    We have the same requirement. Would you mind sharing how you were able to accomplish this?
    Thank you,
    Mark.

  • ECMA script for checking active workflows for an list item

    Hi i am having more than 1 workflow associated with the list if there is any workflow that is active for an item then i need to prevent starting another workflow for the same item. I am using the following code to achieve the same. Can anyone please provide
    me the ECMA object model equivalent for achieving the same.
        //Check for any active workflows for the document
            private void CheckForActiveWorkflows()
                // Parameters 'List' and 'ID' will be null for site workflows.
                if (!String.IsNullOrEmpty(Request.Params["List"]) && !String.IsNullOrEmpty(Request.Params["ID"]))
                    this.workflowList = this.Web.Lists[new Guid(Request.Params["List"])];
                    this.workflowListItem = this.workflowList.GetItemById(Convert.ToInt32(Request.Params["ID"]));
                SPWorkflowManager manager = this.Site.WorkflowManager;
                SPWorkflowCollection workflowCollection = manager.GetItemActiveWorkflows(this.workflowListItem);
                if (workflowCollection.Count > 0)
                    SPUtility.TransferToErrorPage("An workflow is already running for the document. Kindly complete it before starting a new workflow");
            }

    Hi,
    According to your post, my understanding is that you wanted to use ECMA script to check active workflows for an list item.
    You can use the Workflow web service "/_vti_bin/workflow.asmx"
    - GetWorkflowDataForItem operation in particular.
    Here is a great blog for you to take a look at:
    http://jamestsai.net/Blog/post/Using-JavaScript-to-check-SharePoint-list-item-workflow-status-via-Web-Service.aspx
    In addition, you can use
    SPServices. For more information, please refer to:
    http://sharepoint.stackexchange.com/questions/72962/is-there-a-way-to-check-if-a-workflow-is-completed-using-javascript
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Payment release workflow for MIRO documents

    Hi,
    I have activated payment release function and successfully able to get workflow item for payment release for FI invoices posted through F-43 and FB60, but not on RE documents which are posted through MIRO,
    Can some body provide inputs on how to trigger a payment release workflow for MIRO documents.
    Thanks
    Amanullah

    Hi Amanullah, How are you?
    Did you get an answer about this situation ? I am trying to do the same thing by FI or by MM and I'm worrying if we can to do by Standard SAP. In FI I'm trying to do via spro:
    SAP Customizing Implementation Guide=>Financial Accounting=>Accounts Receivable and Accounts Payable=>Business Transactions=>Release for Payment
    Did you remember how can you get the solution?
    Thanks and regards,
    Jeovana

  • Table to look for change documents for users

    Hi friends,
    Is there any standard table to look for change documents for a user?change document through SUIM does not give the correct log.
    Thanks for you support.

    Julius
    Looking at another of Tracy's other post (http://scn.sap.com/thread/3598947) she's trying to use ACL. Hence needing to know the tables to write joins/queries to hit tables within ACL
    I've seen ACL used and have had the fun experience of Auditors using Google to find tables to perform checks on without context of what has actually been implemented in their particular system.
    Regards
    Colleen

  • BAPI for change documents like FB09

    Hi
    I need to change the Assignment Number (ZUONR) Field for several document positions just like FB09 ,
    Does somebody knows a BAPI for change document positions (BSEG) ?
    Regards
    Frank

    Hi,
    Please see this link, It may help you.
    Add documents to materials via BAPI
    Regards,
    Shamma

  • Create workflow for parking document

    hiiii all
    can any one tell me in detail, what is the function of  creation of work flow for parking document? and how do i configure? and how do i assign with user? please help
    menu path :- financial accounting global settings - document - document parking - create workflow for parking document
    regards
    rajesh
    Moderator: Please, search before posting. These are standard WF functionalities of SAP. If you have particular question about WF, please ask it on a proper forum

    Hi,
    Are there any special settings for SUBWORKFLOWS
    There is no Special Setting for Sub Workflow.
    Only error which i get in my inbox is
    Please repair the suspended workflow
    1) Once you get the Error, open a new session goto T.code SU53 and see any authorization issue
        If Yes, send the screen shot to Basis Team to get the authorization.
    2) If Authorization is fine, Check the binding for that Workitem Regenerate and Test it . Also Check the Workflow log and see  which step error is showing, then see the Step history comments.   .
    Regards,
    Surjith

  • Workflow for parking documents

    Hi all
    Can any one explain me, wht is workflow and how to create?????
    I need to creat workflow for parking documents??
    It is urgent..
    Thanks in advance

    Silky,
    Before putting up such a broad-bases query to this forum, try doing some homework. This (type of) query can't exactly be answered long distance!
    Anyway, to get you started, I'd recommend SAP Help: http://help.sap.com/erp2005_ehp_01/helpdata/en/fd/517b42303e0e53e10000000a155106/frameset.htm
    Second step - use Google!
    Trust me, it works - always.
    Best of Luck
    Regards
    Gulshan

  • 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

  • WORKFLOW  FOR PARKED  DOCUMENT

    Hello all,
       I need to know the customising settings for workflow on parked document.how  does the subworkflow  attached to thw wf element(variant) get triggered in my main workflow for posting  of  parked document(i have  modified teh std wf for parekd document i.e.ws0040004????I jst want to know  ,how do i configure the subworkflow  for release strategy(2 level release?).
    Also how  do i configure that the  workflow  shud  be  called at which point in my workflow?
    Thanks,
    Disha.

    Hi
    Workflow variants created for document parking control whether the document release is active ant the minimum amount.
    No documents are released if any company code is not assigned a workflow variant.
    Please check if w/f vairant is assigned to company code..
    RGDs
    KIM Khan.

  • Workflow for approving documents: rejected document

    Hi expert colleagues,
    at my client we are implementing the workflow functionality for approving documents (EhP2). I managed quite easily to set-up the basic workflow as described in the documentation. I have one question though, the problem is the following:
    Step 1: a correction document is entered by the corporate consolidation team person 1 and a workflow is triggered
    Step 2: the document is rejected by the approval agent of the consolidation unit
    Step 3: the rejected document becomes available for person 1 of the consolidation team, but the person is not present that day. Another person of the consolidation team wants to pick-up the rejected document, adjust it and start the workflow again. This seems to be impossible, the rejected document can only be modified (or discarded) by person 1. Even if person 1 identifies a substitute, the substitute cannot change the rejected document.
    Question: is there a way to let another person pick up a rejected document?
    Thx, ewald

    Hi,
    you can probably assign multiple approval agents to one consolidation unit. But in the case there is a rejection by one of the agents the document goes back to the initiator.
    The document initiator can only discard or change the document via the consolidation monitor, task manual posting. And the initiator is the only one who seems to have the power to call up a rejected document (in that way it looks a bit as a user specific held document).
    Any extra thoughts or should I look on the workflow forum?
    Kr

  • Error in Workflow for Parked Document (FV60)

    Hi Workflow Experts,
    I have a FI document parking Workflow scenario which is 3 level release that is if the amount is upto 10000 first person will release if it's more than that upto 20000  then second user has to release ,if more than that then third user will post.
    For this i have activated the main workflow WS10000051 and for two level release i have activated the sub workflows WS10000052 for first level release and WS10000053 for secondlevel release and WS10000054 for thirdlevel release.
    I have also done the Release strategy configuration in SPRO such as
    in the following SPRO steps
    1) Create Workflow Variant for Parking Document
    2) Define Entry Screens for Parking Document
    3) Assign Compaany Code to a Workflow variant for Parking Documents
    4) Define Release Approval Groups for Parking Documents
    5) Define Release Approval Path for Parking Doc
    6) Assign Release Approval Path for Parking Documents
    7) Assign Release Approval Procedure for Parking Doc
    8) Define Users with Release Authorization for Parking Document. ( I have assigned the Position of CEO created in HR to this)
    Now when the document is parked it throws the error
    Error in workflow Customizing for document parking (tranasction OBWE) and it stops in the step Determining Sub Workflow.
    Has anyone come across this issue.Please guide me in resolving in this issue, i am not able to identify whether this error is happening in workflow or due to some missed entries in SPRO settings of FI.
    So please provide me how to do settings in SPRO For Parking, mainly in Tcode OBWE.
    Regards,
    Sagar

    Hi,
    Your question is exactly same as below.
    [Re: Error in FI Document Parking Workflow;
    Hope you 've gone thru this link already, if not, pl. go thru the above link. Also, give us more details on the error you see on the wflow log, like you are not getting any wflow template ID in the cont.element "&ACTIVITY_000043_TASK&", This should have either WS10000052, 53 or 54 depending on the Amt. level. See if you are getting any value here. If not, then there is somethign wrong in your OBWE settings.
    Also, sometimes, even though this step of "Determe Subworkflow" step works fine, if there is no proper agent assignment, then also, it cannot create work item for next step of Sub wflow and hence will error out.
    Pl .check the above. May be a detailed error message from wflow log would help us out in suggesting better.
    Goodluck
    venu

  • Mnaual workflow for Park documents

    Hi all of you,
    Could any one please help me to customize the manual worlflow concept with 2 level releasing strategy for park documents. How it works, help me out.
    Thanks & Regards
    Ramki

    Hi Ramki,
    1. Create Workflow Variant for Parking Documents
             a.Here create workflow variant and assign it to company code.
             b. select posting release,minimum amount for workflow activation
             c. Give subworkflow WS10000055
    2.Define Release Approval Groups for Parking Documents
            use standard or create u r own ( if u want to control certain vendor and customers)
    3. Define Release Approval Paths for Parking Documents
           use standard or create u r own
    4. Assign Release Approval Paths for Parking Documents
    5. Assign Release Approval Procedure for Parking Documents
        a.Here give for level 1 workflow variant, maximum amt for release, levels 1,  sub work flow WS10000052
       b.Here give for level 1 workflow variant, maximum amt for release, levels 2,  sub work flow WS10000053. Read help (F1).
    6.Define Users with Release Authorization for Parking Documents
       Here give workflow varinat, approval path, amount and assigned this line to Organization objects of HR and in this assign user id.
    Regards,
    Azeem

  • Error releasing transport request for change document object

    Hi Gurus,
    I created a new change document object for a Z-table. When i try to release the transport request in the development system it terminated with a message "Export application-defined objects       17.12.2009 11:07:45 Not yet executed". The transport request continued to be in the "Release started" status and i am not able to release it.
    I checked in the co file & data file directory for this request, The co file is available but the data file is not created.
    Could you please let me know how to solve this?
    Regards,
    Immanuel.

    It was a problem with some basis settings. Was rectified by the basis team.

Maybe you are looking for