on 12-06-2007 8:15 AM
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,
Try changing the project name or any of the project attributes.
Does the workflow get triggered now?
Please let me know.
Regards,
Vivek Pandey
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Hi Vivek,
Thanks for your reply.
I have checked IMG setting for cProjects > Basic Settings>'Activate Change Documents'.
It is already there.
Also I have tried changing status of Project but it is not helping. Is there anything wrong with Workflow ??? How can we chaeck the same ???? Have any idea about the same ????
Regards,
Niraj Sikligar
Hi Niraj ,
I am not 100 percent understand your requirement with your settings.
Typically for the workflow with change document, you have to set for which field change, the workflow should be tiggered. For example, the duration of the project is changed => the workflow xxx should be triggered.
Would you please check with SWEC, if the 'Field Restictions' is maintained or not?
Kind regards,
Zhenbo
Hi Zhenbo
I have checked the transaction SWEC, there are no field restrictions maintained.
My requirement is that if someone changes the staus of the project or any changes made in any project element email should be triggered. Are field restrictions required to be maintained for this for business object type ??? if so what are they?????
Thanks and Regards,
Niraj Sikligar
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.