Ansicht
Dokumentation

QM_FOA_DEFVAL_RETRIE - Follow-Up Action Default Value Retrieval

QM_FOA_DEFVAL_RETRIE - Follow-Up Action Default Value Retrieval

ROGBILLS - Synchronize billing plans   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Quality Task Management (QM-QN-TSK) component. You can use this Business Add-In (BAdI) to set default values for follow-up action parameters that were provided by the BAdI FOA_TASK_FIELD_RETRIEVAL.

Whether the default values retrieved by the BAdI are changeable or read-only depends on the implementation of the BAdI FOA_TASK_FIELD_RETRIEVAL.

Processing in Quality Tasks

There are two situations in which the BAdI is called in a quality task:

  • When you assign a follow-up action to a quality task by a task code
  • When you reset a follow-up action in a quality task because it was not successful. The BAdI retrieves the field values again and updates changed values.

Processing in Notification Tasks

If you have implemented the BAdI FOA_BACKWARD_COMPLIANT, you can also use the BAdI in tasks of quality notifications. Follow-up actions in notification tasks can be processed on a generic UI called by an action box function module. You can use the action box function module QM06_FM_TASK_FOR_FOA_BADI for this purpose. The fields and values retrieved by the BAdIs FOA_TASK_FIELD_RETRIEVAL, FOA_DEFAULT_VALUE_RETRIEVAL, and FOA_MOVE_AFFCDOBJ_TO_ADDLLIST are checked when confirming the entries on the UI or if the BAdI FOA_TASK_SIMULATION is called. The follow-up action is only executed if all entries are valid.

There are active implementations of the BAdIs FOA_EXECUTION_FOR_TASK and FOA_TASK_FIELD_RETRIEVAL.

The follow-up action has the object type Quality Task/Notification Task.

  • FOLLOWUPACTION
Filter parameter: Provides the follow-up action
Enter the key of the follow-up action that you defined in the Customizing activity Define Follow-Up Actions for Quality Tasks.
  • QUALITYTASK
Importing parameter: Provides the data of the task
  • DEF_ADDITIONALFIELDS_SINGLE
Changing parameter: Default values for follow-up action parameters
With this parameter the implementation can provide values for the follow-up action parameters that are set when the follow-up action is assigned to the task or when the parameters are to be reset.

You can transfer data from the task header such as the task code and corresponding defect to the follow-up action parameters and also additional data from fields specific to a defect category, for example, plant and storage location.

This Business Add-In (BAdI) is used in the Quality Task Management (QM-QN-TSK) component. You can use this Business Add-In (BAdI) to set default values for follow-up action parameters that were provided by the BAdI FOA_TASK_FIELD_RETRIEVAL.

Whether the default values retrieved by the BAdI are changeable or read-only depends on the implementation of the BAdI FOA_TASK_FIELD_RETRIEVAL.

Processing in Notification Tasks

You need to implement the BAdI FOA_BACKWARD_COMPLIANT if you want to use the BAdI in tasks of quality notifications.

If follow-up actions require additional follow-up action parameters that the user has to provide, a generic UI can be created with an action box activity and an implementation of the BAdI FOA_TASK_FIELD_RETRIEVAL.

You have created a follow-up action of function Quality Task/Notification Task in your configuration environment under Define Follow-Up Actions for Tasks.

There are active implementations of the BAdIs FOA_EXECUTION_FOR_TASK and FOA_TASK_FIELD_RETRIEVAL.

  • FOLLOWUPACTION
Filter parameter: Provides the follow-up action
Enter the key of the follow-up action that you defined in your configuration environment with activity Define Follow-Up Actions for Tasks.
  • QUALITYTASK
Importing parameter: Provides the data of the quality or notification task
  • DEF_ADDITIONALFIELDS_SINGLE
Changing parameter: Default values for follow-up action parameters
With this parameter the implementation can provide values for the follow-up action parameters that are set when the follow-up action is assigned to the task.
Note:
In the Process Quality Tasks app you can internally provide values for follow-up action parameters with this BAdI and process them with the BAdI FOA_EXECUTION_FOR_TASK. The fields are provided by the BAdI FOA_TASK_FIELD_RETRIEVAL but not displayed on the UI.





General Data in Customer Master   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 5535 Date: 20240523 Time: 215701     sap01-206 ( 79 ms )