Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: WL - Workflow: run-time messages
Message number: 860
Message text: The callback function module must be set for work items of type E
When a wait step work item (type E) was created, the parameter for the
callback function module for the callback to the workflow manager (WFM)
was not set. However, this parameter is mandatory for work items of
this type as opposed to all other work item types.
Creation of the work item was terminated.
When you create a wait step work item, always specify a callback
function module. Make sure this corresponds to the required interface.
As an example, consider the interface of the function module
SWP_CALLBACK_WI_DONE.
Error message extract from SAP system. Copyright SAP SE.
WL860
- The callback function module must be set for work items of type E ?The SAP error message WL860 indicates that a callback function module must be set for work items of type E (which typically refers to "Event" work items). This error usually occurs in the context of SAP Business Workflow when the system is trying to process a work item that requires a specific function module to handle it, but that function module has not been defined.
Cause:
- Missing Callback Function Module: The most common cause of this error is that the workflow definition does not have a callback function module assigned for the specific work item type.
- Incorrect Configuration: The workflow might be incorrectly configured, leading to the absence of necessary function modules.
- Custom Development: If there are custom workflows or modifications, the required function module may not have been implemented or registered correctly.
Solution:
To resolve the WL860 error, you can follow these steps:
Check Workflow Definition:
- Go to transaction code
SWDD
(Workflow Builder).- Open the workflow definition that is causing the issue.
- Check the properties of the work item and ensure that a callback function module is assigned.
Assign Callback Function Module:
- If a callback function module is not assigned, you need to assign one. This is typically done in the workflow definition under the "Work Item" settings.
- You can use standard function modules provided by SAP or create a custom one if necessary.
Use Transaction SWU3:
- Run transaction
SWU3
(Automatic Workflow Customizing) to check and adjust the workflow settings. This transaction can help ensure that all necessary configurations are in place.Check for Custom Code:
- If you have custom workflows, ensure that the custom function modules are correctly implemented and activated in the system.
Testing:
- After making the necessary changes, test the workflow to ensure that the error does not occur again.
Related Information:
SWDD
: Workflow BuilderSWU3
: Automatic Workflow CustomizingSWI1
: Work Item SelectionSWI2_FREQ
: Work Item Selection by FrequencyBy following these steps, you should be able to resolve the WL860 error and ensure that your workflows function correctly. If the problem persists, consider reaching out to your SAP support team for further assistance.
Get instant SAP help. Sign up for our Free Essentials Plan.
WL859
Latest end & & is not in the future
What causes this issue? The specified latest end for the work item is not in the future.System Response The action was terminated.How to fix this er...
WL858
Requested end date & & is not in the future
What causes this issue? The specified end date for the work item is not in the future.System Response The action was terminated.How to fix this erro...
WL861
Workflow definition for task & cannot be read
What causes this issue? The system cannot read the workflow definition for workflow task &v1& since the workflow task does not have a consist...
WL862
Work item &: Dependent work item & cannot be deleted
What causes this issue? The dependent workflow work items of the specified work item could not be deleted. This error message is output if the underl...
Click on this link to search all SAP messages.