cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with one step approval contract workflow

Former Member
0 Kudos

Hello SRM Gurus,

I have a problem related to one step approval contract workflow.

I have activated the start conditions for WS14000088 workflow and the event

linkage for this workflow is active but the system is unable to identifiy the

Approver.

I have checked the WS14000088 with transaction SWDD it is showing the error

message as " Workflow definition '' not in version '' Message no. WD401 ".

What should i do to remove the error for this workflow.

My system status is SRM 4.0 with SP 8.

Could any body please respond to my problem.

Thanks in Advance,

mahesh

Accepted Solutions (0)

Answers (2)

Answers (2)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Mahesh,

Workflow error: E WD:401 Workflow definition '' not in version '' error

Please check the Note 962488 "Workflow definition '&' not in version '&'".

1. Run the function module SWD_WFD_REPLICATE_FROM_9999 and copy it.

2. Re-activate the WF definitions in the transaction SWDD

3. Check Consistency in the transaction SWUD

Please also check the sub workflows.

Regards,

Masa

Former Member
0 Kudos

Hello Masa,

Thank you for your reply but i would like to know what do you mean by

Copy it In your message.

1.Until now i Ran the FM SWD_WFD_REPLICATE_FROM_9999 for the

contract workflow and the version is the same 0000.

2.Then called the transaction SWDD and activated the

workflow but still i am getting the sames error.

Workflow error: E WD:401 Workflow definition '' not in version '' error.

3.I have checked the sub workflows and these are error free.

with regards,

mahesh

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Mahesh,

Is there any info in the workflow log ?

Go to BBP_PD and open your contract. Find the workflow item ID.

Go to SWI1 and open workflow item ID. Log, Go to -> Technical log.

Regards,

Masa

Former Member
0 Kudos

Hello Masa,

I have activated both WS14000086 and WS14000088 for testing the contract one step approval.

I unable to find the approver in the Approval Preview nor i can add my Approver.

Now i can release the Contract with out my Approver.

As you said i went to SWI1 and in the Technical log i can see only the workflow

WS14000086.

My system stand is SRM4.0 with SP 8.

with regards,

mahesh

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Mahesh ,

WS14000086 - Without approval

WS14000088 - One step approval

Goto BBP_PD, open your contract, find the workflow item.

Goto SWI1, open the workitem

If the WS14000088 was not started, please check the start condition in SWB_PROCUREMENT.

Regards,

Masa

Former Member
0 Kudos

Hi All,

We have exactly the same issue. Workflow can not find approver. I noticed that the task TS14007969 uses &Agent_0001.Agents& as which means that only ad-hoc agents can be used. Do you know how we can use org. structure here?

regards,

Robert

Former Member
0 Kudos

Hello Robert,

I am facing this problem still now.

While creating 1 step approval contract i can able to identify the approver auotmatically.

Once this contract is released it is going for approval but the approver who should do approval has not got any item in his inbox.

This problem is coming to me only in SRM 4.0 sp 8.

I have tested the same thing in SRM 5.0 and it is working fine.

In the Org Structure try to maintain the role Strategic Purchaser for the creator of contract and try to maintain the role Purchase Manager for approver of contract with the selection as manager of the purchase organisation.

With Regards,

mahesh

Former Member
0 Kudos

Hi all,

This problem has been solved at last .I have added new SNOTE 877363 .

This is based on checking review workflows.

Finally i can able to create one step approval contract.

Thanks for your valuble support.

with regards,

mahesh

Message was edited by:

Mahesh Madasu

Former Member
0 Kudos

Hello Manesh,

Check in transaction SWB_PROCUREMENT the start conditions for this workflow, for example use the condition CreatorUser.Usuario to start, and check in PPOMA_BBP that the user that create the contract have a supervisor, this is the user that have to approve, this user have to have the role

Former Member
0 Kudos

Hello Jose,

Could you please clearly explain what should be maintained in the Start Conditions. Right now i have maintained Supervisor and a user in the Organisation structure.

Thank you in advance.

with regards,

mahesh madasu

Former Member
0 Kudos

Hello Manesh,

In transaction SWB_PROCUREMENT you have to define one condition at least to start the workflow, one and simple is define that the user that create the document is PURCHASER for example, the workflow starts, this for development scenario.

Regards

Jose Luis