cancel
Showing results for 
Search instead for 
Did you mean: 

Help Needed for Workflow without approval for Purchase order

Former Member
0 Kudos

Hi All,

We are using SRM 4.0, Standalone Scenario.

I need your help to set up a start condition for "Workflow without approval for Purchase order" for CHANGEVERSION SAVED

We are using the following logic currently in the start conditions SWB_COND for Changed version of PO

&EC Purchase Order. Total Value Diff.& < 99,999

and &EC Purchase Order.Simple Change List& NE PRT_MODIFY

and &EC Purchase Order.Simple Change List& NE ACC_MODIFY

All the workflows are going into error on any change in the Purchase order. The workflow error reads "OBject BUS2201 method SETRELEASED cannot be executed"

We need to change the start condtion so that for any change in the purchase order ( except for total price ), the start condition should pick the workflow without approval.

Any pointers will be really helpful

Thanks,

Upendra.

Accepted Solutions (0)

Answers (1)

Answers (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Upendra,

I think the error "OBject BUS2201 method SETRELEASED cannot be executed" is in end of WF, not starting point. If it the case the problem is not in the start condition.

Regards,

Masa

Former Member
0 Kudos

Masa,

Thanks for the response.

Can you let me know how to solve this?

Thanks,

Upendra

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Upendra,

There are several check points.

1. SM58 - tRFC error

2. BBP_PD - Check Document status and WF info

3. SWI1 - check WF log

4. SWO1 - test the method

Regards,

Masa

Former Member
0 Kudos

Masa,

I check all the suggested things but the error still appears. The error on the work flow log reads

Error handling for work item xxxxxxxx

Work item xxxxxxxx : Object BUS2201 method SETRELEASED cannot be executed.

Am I missing any customizing setting?

Any help will be greatly appreciated.

Regards,

Upendra.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Upendra,

What was the test result executing the SETRELEASED method in SWO1 transaction. Was it successfully executed or any error.

Regards,

Masa

Former Member
0 Kudos

Masa,

I am not a technical person. Can you please know the steps that needs to be executed using SWO1 T-code?

Once again thanks for all your help in advance.

Regards,

Upendra.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Upendra,

Please try following steps.

1. T-code BBP_PD, Object Type BUS2201

Search the PO, Cut the GUID to clipboard

2. T-code SWO1, Object BUS2201, Test

3. Instance, Paste the GUID from clipboard

4. Execute the method setreleased

5. input the purchaser user ID in INITIATOR import parameter

6. execute

7. Check the export parameter. It should be "X" if it is sucess.

Regards,

Masa

Former Member
0 Kudos

Masa,

I followed the steps suggested by you. After executing the setreleased method, I got export parameter value as "X". This means that the test is successful.

But, when I change the PO, the workflow still goes in error.

Whatelse can be the problem?

Regards,

Upendra

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Upendra,

Please double check the PO is not locked by edit mode in other session.

Regards,

Masa

Former Member
0 Kudos

Masa,

Thanks for all your help. This looks like an issue with SAP.

We did a customizing change to stop issuing print outs when a PO is changed. This in turn has affected the start conditions of the workflow.

I will keep you posted with the information that I receive from SAP.

regards,

Upendra.