cancel
Showing results for 
Search instead for 
Did you mean: 

Contract one step approval

Former Member
0 Kudos

Hello workflow Expert,

We are on SRM SREVER 5.5. We are using one step approval for contract. While releasing one of the contract which is in held status it is not changing its staus to awaiting approval. There is no error in swi6 and pftc for the contract except the workitem is in status waiting.

Workitem-ID 000000070953

Task WS14000088

Text One-step approval of Outline agreement no. Interagency Agreemen 5600000042, GUID 4950DD2D7AD00070E1008000A5EB3A8F

Status WAITING

Statustext Waiting

Date 01/05/2009

Time 16:23:40

When I tried to exeute workitem in swia i got the following message "Work item "000000070953" cannot be executed in status "WAITING"

Any help in this regard is highly appreciated.

Thanks,

Accepted Solutions (0)

Answers (2)

Answers (2)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Is there any entry in SM58 transaction. It is pending tRFC call.

Regards,

Masa

Former Member
0 Kudos

Hi,

Please check the note 962488 this can help.

A. Run the function module SWD_WFD_REPLICATE_FROM_9999 and copy it.

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

Regards

Hussain

Former Member
0 Kudos

Hi Masa/Hussian,

Thank you for your response. Sorry but no luck. Any other suggestions please. This is happening on our production system only. Also this is not occuring for all contracts but only to few on a re- occuring basis. We want to know what is the root cause of the problem and why these contracts workitem status is in waiting.

Former Member
0 Kudos

Hi Masa,

Sorry for the previous post. Actually when run sm58 for longer period I observe the the following

CONMK SWF_RUN_REMOTE_ERVICE WORKFLOW_LOCAL_100 01/27/2009 11:35:31 Operating system cannot close file dev_PrintTrace BBP_BGRD_APPROVAL BBP_BACKGROUND_APPROVAL

Could you please suggest what it could be (seems like something to do with the workflow RFC and user WF-BATCH)

Thanks,

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Please try Execute LUW in SM58.

Regards,

Masa

Former Member
0 Kudos

No it did not help. Is there any other you would like to suggest. Also what could be the root cause.

Thanks again for your help

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Please go to SWI1 transaction and check the Workitem-ID 000000070953 detail.

Find which step is pending and the status.

Regards,

Masa

Former Member
0 Kudos

Staus is in waiting but how would I know that which step is pending

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

What is the last step in the Workflow Log screen?

You can also select Go to -> Graphical workflow Log and List with Technical details.

Regards,

Masa

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

If you do not see any step, problem is in workflow template. In this case, Hussain has suggested a solution.

>Please check the note 962488 this can help.

>A. Run the function module SWD_WFD_REPLICATE_FROM_9999 and copy it.

>B. Re-activate the WF definitions in the transaction SWDD

>Regards

>Hussain

Regards,

Masa

Former Member
0 Kudos

I saw the workflow log in the graphical screen. It is stopping before parallel section between approval.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

You can fix this issue with above generating workflow template. It will be OK for new document.

For old documents,

First, Try to re-edit the document.

If it does not help, you can create event manually to start workflow again.

Transaction: SWUE

Select Object and Event.

Check the document GUID in BBP_PD then set to Object key.

Create Event.

Go to BBP_PD and check the workflow status.

Regards,

Masa

Former Member
0 Kudos

Hi Masa,

Are you saying apply the note (FM SWD_WFD_REPLICATE_FROM_9999 ) 962488 will help for new Contracts.

Thanks

former_member206968
Active Contributor
0 Kudos

Hi

Workflow in Waiting means workflow trigger event has not ocurred. Your contract is not able to come out of Held status.

Pl. check if there are any errors on the contract. Execute FM BBP_PROCDOC_CHECK, with contract guid and find out if any error messages are thrown. If there are no errors, then go into change mode and try releasing again.

Regards,

Sanjeev

Former Member
0 Kudos

...

Edited by: Pradeep Kumar on Feb 5, 2009 10:49 PM

Former Member
0 Kudos

Hi Masa,

Did you mean that implementing sap note 962488 can help (SWD_WFD_REPLICATE_FROM_9999 ) to fix the issue for new contracts.

Thanks

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

The note 962488 does not have any code correction. It is information note how to generate workflow template. If contract workflow always in waiting status, generating workflow template helps for your issue. If some contract works fine, this note is not relevant.

Regards,

Masa

Former Member
0 Kudos

Yes we have this problem with few contract only and occurs on a random basis. Remaining contracts goes fine with the release process.

former_member526144
Active Contributor
0 Kudos

Hi Pradeep,

Please check the agent assignment for task TS14007969 . Hope it is defined as a General Task.

Thanks

Ravi

Former Member
0 Kudos

Hi Ravi,

In the transaction OOCU I found that task 140007969 is defined as general task. IS there any other thing we need to check....

Thanks