cancel
Showing results for 
Search instead for 
Did you mean: 

PR BANF Change Document

Former Member
0 Kudos
516

I have an issue with the purchase requisition workflow (header level) . The user creating the Purchase requisition and HOLD it for futher changes . Now there are two things I need to discuss.

The workflow should not be triggered if it is in HELD state.But currently for me the workflow is getting triggered.So for this I created an additional step in which I check that the workflow is ON HOLD or not .If it is on HOLD than complete the workflow.

Therefore,I need to re-trigger the workflow when the user made the changes and chooses the SAVE button.For this I have used BANF change document and in the field restriction I have selected MEMORY field of EBAN in old 'X' and new 'space' and the event I choose is RELEASESTEPCREATED.

Now the workflow is triggering but with the error. I check the container the Release Code field is empty .Now I need to know how to overcome this problem how to pass the release code to the workflow container.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Please create the linkage between the workflow and the event RELEASESTEPCREATED .

Make the binding between EVTOBJECT ( in event container ) and you Business Object ( workflow container ).

As a result of that all required data will be passed in the workflow along with the release code.

Thanks and regards,

SNJY

Former Member
0 Kudos

The binding is already maintained for EVTOBJECT to the Workflow and it is passing the values correctly but there is one more mandatory binding 'ReleaseCode' in event which is also correctly bind with my workflow object but the value is not getting passed.

Former Member
0 Kudos

Hi ,

I am the system is reacting in the following manner.

1. When you create a PR and hold it, the event RELEASE_STEP is created that very moment.

2. According to your setup the workflow is bypassed and set to complete.

3. When you change and unhold the PR, the change event is trigerred but it does not supply Release code.

4. So your workflow is giving an error.

Now the solution.

In the PR release step, just mention a start condition which should check if the PR is unhold or not. You can use a no. of ways for the same.

Hope this works for you...

Regards

Gautam

Former Member
0 Kudos

Is this possible that the workflow could not be triggered if its put on the hold???

Former Member
0 Kudos

Hi,

This is somewhat functional task....

This is basically linked to activation of release strategy for that PR...If he can set a condition that release strategy shall only be activated when the PR is in unheld mode... youy can achieve what you are looking for...

He will basically have to change the release strategy for the same...

Regards

Gautam