cancel
Showing results for 
Search instead for 
Did you mean: 

Activating Workflow for Change Documents

nirajsikligar
Active Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member

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

nirajsikligar
Active Contributor
0 Kudos

Hi Vivek,

Thanks for the reply.

I have changed the name of the Project and name of the Phase. But still no workflow is being trigger.

Any other settings to be checked ?????

Regards,

Niraj Sikligar

Former Member
0 Kudos

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

nirajsikligar
Active Contributor
0 Kudos

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

former_member201206
Active Contributor
0 Kudos

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

nirajsikligar
Active Contributor
0 Kudos

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

former_member201206
Active Contributor
0 Kudos

Hi Niraj ,

O.K, it seems the cause the problem.

No field restriction does NOT mean any changes as far as I know.

Example:

Events for Change Document

DPR_PROJECT BO BOR Object Type BUS2175 CHANGED

Field Restrictions:

CGPL_TASK_CD DURATION * *

DPR_ENL_CD RESPONSIBLE * *

Kind regards,

Zhenbo