Ansicht
Dokumentation

CRM_ATP_PREVIEW_CALL - BAdI: ATP Check for Asynchronous Value Fetch

CRM_ATP_PREVIEW_CALL - BAdI: ATP Check for Asynchronous Value Fetch

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

This business add-in (BAdI) is used in the Availability Check (CRM-BTX-BF-ATP) component. You can use this BAdI to execute your own logic for the available-to-promise (ATP) check that is performed during an asynchronous value fetch for a line in an item list. Once it has been performed, the ATP check displays a status icon to indicate whether the entered quantity is available. This feature is available when using sales items in sales orders and sales quotations and sales items and service part items in service orders and service order quotations. This BAdI is called when a user enters a quantity for an item and moves to the next field so that an asynchronous value fetch is triggered.

This BAdI contains the following methods:

  • GET_INVOLVED_FIELDS
This method is used to retrieve the source and target fields.
  • GET_VALUES_FOR_TARGETS_UPDATE
This method is used to retrieve the new values to update the target fields.

You have used the UI Component Workbench (transaction BSP_WD_CMPWB) to create your own configuration variant and enabled the UI configuration attribute ATP_STATUS_PREVIEW for all relevant views.

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

The default implementation CL_CRM_ATP_PREVIEW_ERP calls the ATP information for the entered quantity minus any previously-confirmed quantity for the item in the connected SAP ERP system. The status of the ATP check is then determined based on the results of this call.

If you like, you can use the default implementation as an example and create your own implementation. If you do so, you must also implement the BAdI methods GET_INVOLVED_FIELDS and GET_VALUES_FOR_TARGETS_UPDATE.

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 3050 Date: 20240523 Time: 172715     sap01-206 ( 115 ms )