Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BBP_PDH_WFL_APPROVAL_SIMULATE

Hi,

I need help regarding BBP_PDH_WFL_APPROVAL_SIMULATE

While creating shopping cart this FM gives exception WORKFLOW_NOT_FOUND (as seen in debug mode)

Whereas if it is run from se37 for already existing shopping carts, it does not give the exception.

Could you please help me to know why it raises the workflow_not_found exeption at the time if SC creation ?

thank you in advance

rita

Former Member replied

Hello Rita,

I think you have the exception "WF not found" during shopping cart creation because neither the workflow nor the shopping are instanciated at this time, they are just buffered.

You should look for a way to retrieve the buffered workflow key and task and call the function approval_simulate with this values in case of shopping cart creation or modification.

Rgds,

Pierre

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question