cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow is not triggered for Purchase Order Approval

rameshraja_r
Advisor
Advisor
0 Kudos

When i create a Purchase Order with release strategy, workflow is not triggered. All necessary setting are done and I can release the PO in ME29N. But workflow is not triggered for approval.

I took a trace in SWEL and below is the error log:

QCYBUS2012 CREATED Exception (Object type 'QCYBUS2012' is not defined)

BUS2011 QUOTATIONCREATED Exception (Event 'QUOTATIONCREATED' is not defined for object type 'BUS2011')

BUS2012 RELEASESTEPCREATED WS20000075 Feedback after error (Import container contains errors (are any mandatory elements missing?))

former_member598417
Discoverer
0 Kudos

Hi Ramesh Raja,

I have same issue, Is this issue fixed? If so could you please help me to fix this issue.

Regards,

Dharma

rameshraja_r
Advisor
Advisor
0 Kudos

Hi Dharma,

No it is not resolved yet.

Thanks,

Ramesh

Accepted Solutions (1)

Accepted Solutions (1)

rameshraja_r
Advisor
Advisor

Problem Solved after activating services in Fiori App Manage Workflows for Purchase Orders: https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F2872')/S12OP

Answers (6)

Answers (6)

nabheetscn
Active Contributor

Bus2012 feedback after error mandatory field missing is the reason. Chcek the workflow binding.and nake sure release code and other elements are passed in workflow event container mapping

Nabheet

rameshraja_r
Advisor
Advisor
0 Kudos

Hi Nabheet,

I have followed all steps in https://blogs.sap.com/2016/10/03/purchase-order-releaseapproval-process-my-inbox-fiori-app-with-s-in...

Still issue persists.

Please let me know if there i missed out something.

Thanks,

Ramesh

rameshraja_r
Advisor
Advisor
0 Kudos

error.txt

Hi All,

Attaching the error. Kindly help.

Thanks,

Ramesh

StephaneBailleu
Active Contributor
0 Kudos

Hi

Can you check if you do not have two instances of WS20000075 started ?

One in error and another one started.

The cause of the error you described is just because SAP is being delivered with an entry that shall not be there, in transaction SWEC remove the entry EINKBELEG BUS2012 with event releasestepcreated.

SWEC, allows workflow to start based on modification document, but in this case is not necessary because the event is sent directly via the standard programm delivered by SAP (with the parameter releasecode) . There is no parameter define with the swec event so remove this entry.

Then do a test and in SWI1 or directly from the PO can you check that you do have a workflow that has started ?

If yes but it is in error (this time not due to the parameter)

Then haveb you also manage the agents on your workflow ? is you task marked as a general task ? or have you defined a role for all the potential agents ?

Best regards

Stephane

former_member182546
Contributor
0 Kudos

Hi Ramesh Raja ,

Please check if the event linkage is done for the custom business object and your workflow in SWE2.

With Regards ,

Sudhir S

anjan_paul
Active Contributor
0 Kudos

Hi,

It is seems to be purely a Release Strategy configuarion issue.

Thanks

TMSingh_SAP
Participant
0 Kudos

Hi Raja,

Please check FREBUS2012 object type and CREATED event ... If it works ...

Else copy BUS2011 to ZBUS2011and create an event.

Also since your are using ME29N..so create a subtype and delegate..and then create a event.

thanks,

Mohan

rameshraja_r
Advisor
Advisor
0 Kudos

Hi Mohan,

Yes FREBUS2012 is created. Please refer the attachment.