cancel
Showing results for 
Search instead for 
Did you mean: 

Purchase order Workflow

former_member586438
Participant
0 Kudos

Hi

I'm using standard workflow WS20000075 for Purchase order approvals.

The workflow gets de-activated after every run .

I checked the log and it's complianing about all parameters not received.

I checked and found that the purchase order number was sent but the release code is blank .

How do I get the release code into the WF ?Is it something that needs to be done on the release startegies?

Many thanks

Gerhard

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In workflow builder, go to the workflow "header" by clicking the hat. There you should find a place to define the event bindings. You need to bind the release code parameter to the workflow. Or this is something I assume that is not working in your case.

Regards,

Karri

former_member586438
Participant
0 Kudos

Hi Karri

The binding was done from event to workflow for &RELEASECODE& to &RELEASECODE&

Former Member
0 Kudos

Hi,

That seems correct. There should be:

EVTOBJECT -> PURCHASEORDER (or whatever is the name of your BO)

RELEASECODE -> RELEASECODE

EVTCREATOR -> WF_INITIATOR (I think that is not really mandatory)

Regards,

Karri

former_member586438
Participant
0 Kudos

Hi

Yes the binding is correct and in the WF.

Former Member
0 Kudos

Well, that is expected since you are using standard WF.

I don't know what might be wrong. I think that if the event is triggered at the first place, I would assume that also the release code configuration should be OK too. If you check the PO in the PO transaction, I assume that you can see the release code etc. there? Well, I don't really have that much experience with PO WF - only with PR - but it should be quite similar.

Regards,

Karri

Former Member
0 Kudos

Hi Gerhard ,

Please check ST22 for any dump. Are you saying the event linkage between the WF and the event are getting deactivated every time you run it...?

Regards

Anik

former_member586438
Participant
0 Kudos

Hi Anik

No dumps under ST22

Yes the WF start events gets deactivated.

Former Member
0 Kudos

Hi Gerhard,

Go to SWETYPV, find the BO event and WF linkage, double click it and change 'Behavior Upon Error Feedback' to 'Do not change Linkage'. This should solve your problem.

Regards

Anik

former_member586438
Participant
0 Kudos

Thanks Anik

That sounds like a good solution

Let me test and will let you know

former_member586438
Participant
0 Kudos

Hi Anik

Worked perfectly

Thanks

former_member185167
Active Contributor
0 Kudos

Hello,

That will not fix the problem, unless you're talking about a Test system. You have to find the underlying cause.

It could be that releasecodes aren't being passed. Even if the binding is there, it could be that no value is being provided.

The setting mentioned basically means "ignore the errors" - not a good idea.

regards

Rick Bakker

hanabi technology

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

If you are using SAP Forecasting & Replenishment , would suggest go through this note... 797775

Regards

Gautam