Show TOC

Process documentationControl of Task Processing Locate this document in the navigation structure

 

You can use this process to check the status of task processing of POS transactions. You can start the processing of tasks for POS transactions manually. You can cancel task processing and then run it again. You can change the status of task processing manually.

Prerequisites

The task you have scheduled for processing is relevant for the POS transaction. For more information, see the section on Task Processing. The status of task processing for POS transactions can be seen independent of the relevance of the task.

Process

You start the POS Workbench, define your settings, and restrict your selection area. Ensure that the view display is selected for POS transactions in the workbench and then carry out the selection.

In the navigation area, you navigate along the folder hierarchy to the level of the individual POS transactions and display them in the overview.

  1. Check status of task processing.

    In addition to the actual POS transaction data in the overview, you can also find information on the task processing for each POS transaction that you can use when checking the task status:

    • You can see if tasks are in status Ready. The system displays a gray status indicator.

    • You can see if tasks have been processed without errors. The system displays a green status indicator.

    • You can see if tasks have been processed with warnings. The system displays a yellow status indicator.

    • You can see if tasks have not been processed due to errors. The system displays a red status indicator.

    • The transaction status displays a summary of the task processing for the relevant POS transaction. It can be one of the following:

      • All Tasks Processed Without Errors, if all relevant tasks have been processed and no warnings or errors have occurred.

      • Unprocessed Tasks Exist, if at least one relevant task has not yet been processed and no warnings or errors have occurred for all tasks that have been processed.

      • Tasks with Warnings Exist, if at least one task exists with a warning but no other task has been processed with errors.

      • Tasks with Errors Exist, if at least one task has been completed with errors.

    The status of the task processing is reflected also in the folder hierarchy in the navigation area for the relevant area.

    To see detailed information on the status of each task of a POS transaction, you highlight the POS transaction and choose the pushbutton Task Status: Overview. This brings an overview of the tasks assigned to the POS transaction. You can see if a task is relevant for the POS transaction and if it can be processed or not. In addition, the system shows whether processing of a task can be started manually. For more information, see Task Processing.

    The status of each task is displayed. The following table provides an overview of the possible statuses of tasks.

    Task Status

    Meaning

    Ready

    The task is ready to be executed. This is the initial status for new POS transactions.

    Error

    The task cannot be executed due to an error.

    Completed with warning

    The task was executed successfully but warning messages were issued.

    Completed

    The task was completed successfully.

    Ready to be canceled

    The task is to be canceled.

    Error during cancellation

    An error occurred when canceling the task.

    Canceled with warning

    The task was canceled successfully but warning messages were issued.

    Canceled

    The task was canceled successfully.

    Rejected

    The task was not completed and will not be processed further.

    You can change the task status manually by choosing the relevant pushbutton or you can decide to cancel or process a task based on its current status.

  2. Carry out task processing manually.

    Within the POS Workbench, you have the facility to manually change the task processing for POS transactions. To do this, you select one or more POS transactions in the transaction overview and choose the pushbutton Process Tasks Online. A dialog box appears in which you can define the details for task processing. You can now process either one specific task or all tasks for the selected POS transaction(s). Only those tasks that have been assigned in Customizing are offered for selection. For more information, see Task Processing.

    Since the assigned tasks result from Customizing at the time of generation of a transaction, you must, if you have changed the Customizing in the meantime, flag the checkbox Take Account of Customizing Changes, if you wish to take note of the changes.

    As an additional option, you can choose whether to process tasks that have been completed with errors. You do not have to manually set the tasks to Ready first, you can carry out processing again immediately.

    As soon as you have carried out the task processing, a further dialog box appears providing you with a processing protocol. The system shows whether the processing has been carried out, in some cases with warnings, or if it could not be completed due to errors. The system shows the error messages that have occurred in the processing protocol. The processed task then receives a status corresponding to the result.

  3. Cancel task processing

    You can cancel a task that has already been processed. This operation is useful if you wish to reset the processing of a task in order to carry it out again under different conditions.

    To do this, you first set the status of the task to be canceled for the relevant POS transaction(s) to Ready to be Canceled. Then you can carry out processing of the task again as described in the previous section and the system carries out the cancellation. Manual conversion of the task status is described in the following section. After you have canceled the task, you must reset the status to Ready in order to be able to process it again.

    Note Note

    You can enable Task Cancelation Tracking so that task with a status Canceled or Canceled with Warning will be tracked in transaction records. When a task is canceled for a transaction, the TASK_CANCELED field in the TLOGF table will be set to X for each row associated with that transaction. You can enable Task Cancelation Tracking in   Tasks   One-Step Processing   Define Tasks   in the Customizing.

    Also note, that following a transaction reversal, performed using task 0040 Perform Transaction Reversal in the standard SAP POS DM profile, tasks are only cancelled if they have been assigned to task group 0009 Tasks Relevant for Transaction Reversal in the standard profile.

    End of the note.
  4. Manual change of the task status and related status transitions

    In the POS Workbench, you can manually change the status of tasks for POS transactions. You highlight a POS transaction for this and choose the pushbutton Task Status - Overview. In the following dialog box, you choose the pushbutton Task Status – Change for whatever tasks you wish. Depending on the current status of task processing and the intended further processing, you can now select a new status.

    Below, the different statuses and status transitions in task processing are clarified - from the beginning to the end of task processing of a new transaction.

    Before they are processed, the tasks have status Ready.

    There are various ways of ending a process for a task:

    • You can reject processing of the task immediately. The task receives the status Rejected.

    • An error occurred during the first processing of the task. The task receives the status Error.

      You now have two options:

      • You reject processing of the task. The task receives the status Rejected.

      • You correct the error. You assign the task status Ready and restart processing.

    • No errors occurred during the first processing of the task. If no warnings are issued during processing of the task, the task receives status Completed.

      If, however, warnings are issued during processing of the task, the task receives status Completed with Warning.

      You now have two options:

      • You ignore the warning and set the status of the task to Completed.

      • Due to the warning, you wish to cancel processing of the task. You flag the task for cancellation. The task receives the status Ready to be Canceled.

        You can also cancel a task that has status Completed. You flag the task for cancellation. The task receives the status Ready to be Canceled.

    • If an error occurs during cancellation of a task, the task receives the status Error During Cancellation.

      You now have two options:

      • You remove the cause of the error and reset the status to Ready to be Canceled.

      • You stop the cancellation and set the status to Completed.

      If a warning is issued during cancellation of a task, the task receives the status Canceled with Warning.

      In this case, you have two options:

      • You ignore the warning and set the status to Canceled.

      • You schedule the task for further processing and set the status to Ready.

      If no warnings are issued during cancellation of a task, the task receives the status Canceled.

      You can flag tasks with status Canceled and Canceled with Warning for repeat processing.

      The following graphic shows the relationships between the different task status values and the permitted status transitions:

      This graphic is explained in the accompanying text.

      Task Status

      The following table provides an overview of the meaning of the status transitions.

      Status Transition

      Meaning

      Process

      The task is processed in a processing run. It is either executed or canceled.

      Reject

      The processing of the task is rejected. This can occur as a result of action taken by the user or as a result of the occurrence of specific conditions during the processing run.

      Execute

      This transition is used when a task is no longer to be carried out, for example, in the case of duplicate POS transactions or with incorrect data.

      Ignore warning

      The task is to be executed. The user triggers this change.

      Cancel

      Warnings should be ignored. This is triggered by the user. This means that the user can convert a status with warning to a status without warning thus removing the POS transaction from the worklist.

      Stop cancel

      A task that has been executed is to be canceled. The user triggers this change.