Show TOC

Background documentationWorkflow Error Resolution for Dispute Management

Features

You can use transaction SWI2_DIAG to check if the system does not process a work item due to an error in your system settings or a technical error. You must run the transaction to check for errors. The system provides information such as the cause of the error, the workflow step at which the error happened, and the ID of the work item. When you resolve an error, you must choose the Restart Workflow button on the Diagnosis of Workflow with Errors screen to process the work item again. The system continues with the workflow from the point where the error occurs.

Resolution of Specific Errors

The following list contains details on the errors you may encounter, and the steps you must take to resolve the errors:

  • Users not assigned to your purchasing organization

    You have not assigned users to the purchasing organization to which the freight order belongs. The service provider has created the dispute case against the freight order. The system cannot choose a user and therefore cannot create a work item. In transaction PPOME (Organization and Staffing Change) -> Staff Assignments, you must ensure your level-1 approver and level-2 approver are assigned to the purchase organization that you use in the freight order.

  • Incorrect roles assigned to approval levels

    You have assigned a level-1 approver and a level-2 approver to the correct purchasing organization. You have specified the role that the system uses for level-1 approval and level-2 approval in Customizing for Transportation Management under Start of the navigation path Settlement Next navigation step Freight Settlement Next navigation step Freight Settlement Dispute Management Next navigation step Define Approval Levels and Roles for Workflow End of the navigation path. However, although you have specified the level-1 approver and level-2 approver in the purchasing organization, you have not assigned the users to a role that you have used in the Customizing activity.

    For example, the following table contains the settings you specify in transaction PPOME for the users in your purchasing organization:

    User

    Role

    Role Description

    Josephine Green

    /SCMTMS/TRANSPORTATION_MANAGER

    Transportation manager

    John Brown

    /SCMTMS/SETTLEMENT_SPECIALIST

    Settlement specialist

    The following table contains the settings you specify in the Define Approval Levels and Roles for Workflow Customizing activity:

    Approval Level

    Role

    Role Description

    1

    /SCMTMS/TRANSPORTATION_PLANNER

    Transportation planner

    2

    /SCMTMS/PURCHASING_CLERK

    Purchasing clerk

    You have not specified a role for a transportation manager and settlement specialist in the Define Approval Levels and Roles for Workflow Customizing activity. The system does not create a work item.

  • Approval level number or role not specified in the Define Approval Levels and Roles for Workflow Customizing activity

    You must specify an approval level for level 1 and level 2 of the workflow in Customizing for Transportation Management under Start of the navigation path Settlement Next navigation step Freight Settlement Next navigation step Freight Settlement Dispute Management Next navigation step Define Approval Levels and Roles for Workflow End of the navigation path. You must also specify a role for each approval level in the Define Approval Levels and Roles for Workflow Customizing activity. This ensures that the system selects a role for an approval level. The system automatically sets the approval level when you use the Business Configuration Set (BC Set) Customizing Workflow Agents Approval Levels and Roles for Workflow for the Define Approval Levels and Roles for Workflow Customizing activity.

  • Incorrect logic in BAdI: User Determination for Dispute Case Workflow

    You may have implemented incorrect logic in the BAdI: User Determination for Dispute Case Workflow in Customizing for Transportation Management under Start of the navigation path Business Add-Ins (BAdIs) for Transportation Management Next navigation step Settlement Next navigation step Freight Settlement Next navigation step Freight Settlement Dispute Management End of the navigation path. The system uses your standard settings to determine the approvers for your workflow. However, you can use this BAdI to overwrite the standard settings, to add or remove workflow approvers according to your own logic. For example, the system determines John Brown as the level-1 user. You implement this BADI to override this standard determination. However, due to an error in the BAdI logic, the system does not identify an approver.

Note Note

If you specify levels and roles in the Define Approval Levels and Roles for Workflow Customizing activity but do not enable the approval workflow in the relevant settlement profile, the system takes the following action:

  • Displays a workflow status of Workflow Not Enabled

  • Does not use the level and roles settings as you have not enabled the workflow

End of the note.

More Information

Subject

More Information

Workflow process for dispute management

Workflow for Dispute Management

Prerequisites you need for dispute management

Prerequisites for Dispute Management

Key aspects of dispute management

Features of Dispute Management

Explanation of dispute management statuses

Statuses in Dispute Management

Standard SAP workflow process

SAP Library for SAP NetWeaver on SAP Help Portal at http://help.sap.com/netweaverInformation published on SAP site. Choose the appropriate release and in SAP Library, choose Start of the navigation path SAP NetWeaver Library: Function-Oriented View Next navigation step Application Server Next navigation step Application Server ABAP Next navigation step Other Services Next navigation step Services for Application Developers Next navigation step SAP Business Workflow Next navigation step SAP Business Workflow: Reference Documentation End of the navigation path.

Resolution of errors in standard SAP workflow process

SAP Library for SAP NetWeaver on SAP Help Portal at http://help.sap.com/netweaverInformation published on SAP site. Choose the appropriate release and in SAP Library, choose Start of the navigation path SAP NetWeaver Library: Function-Oriented View Next navigation step Application Server Next navigation step Application Server ABAP Next navigation step Other Services Next navigation step Services for Application Developers Next navigation step SAP Business Workflow Next navigation step Role Documentation Next navigation step Roles in Workflow Next navigation step Workflow System Administrator Next navigation step Business Workflow Administration Next navigation step Workflow System Administration Next navigation step Workflow Runtime Administration Next navigation step Diagnosing Workflows with Errors End of the navigation path.