on 10-15-2007 10:44 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
<b>Please try following SAP OSS Notes -></b>
Note 1045902 Approval data missing from shopping cart archive
Note 1038660 Approval overview for archived Shopping Carts
Note 610716 BBP_WFL: Work item is sent to incorrect approver
Note 618253 Enhancements of report BBP_PD
Do let me know.
Regards
- Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Pls see these related notes;
Note 903200 - Workflow tracing for problem detection
Note 921319 - PREVIEW: Inconsistencies during workflow change
BR,
Disha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you see any errors in the application monitors in the workflow area? let me know.
and also is the shopping cart created after you get the error message?
might be error message is coming for newly created shopping carts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Usman,
I cannot see error in application monitor because the shopping cart is created succesfully and processed at the backend.
The shopping cart is getting created because this function module is used in a custom developement to display a warning message regarding the approvers. Since the FM gives exception the custom warning message is wrongly displayed. It does not effect the creation of the shopping cart.I need to rectify this custom warning meaage.
It is not for newly created shopping cart because as mentioned above I create the shopping cart succesfully and then if I run the FM independently with this newly created shopping cart it does not give the exception.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.