Ansicht
Dokumentation

BADI_SD_REF_DOC_CUST - BAdI: Enhancements for Determining Reference Documents

BADI_SD_REF_DOC_CUST - BAdI: Enhancements for Determining Reference Documents

TXBHW - Original Tax Base Amount in Local Currency   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Sales (SD-SLS) component.

You can use this BAdI to enhance the automatic search for a reference document at item level when you create a sales document. If you want to consider archived reference documents, you can define which archive information structures are used.

This BAdI is optional.

In the standard system, there is no activated BAdI implementation.

Create a BAdI implementation for BAdI BADI_SD_REF_DOC_CUST of enhancement spot BADI_SD_SALES_ITEM.

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.

When you create a sales order, the system automatically checks - if configured for the associated document type - whether there are quotations or contracts for the material that you can use as reference for a sales order item. You can use this BAdI to select a certain document when there are several quotations or contracts. For example, you can select the most recent quotation or the one that offers the best price for the customer. This means that you don't have to select from a list of quotations or contacts.

You can include documents from document categories other than quotations or contracts as the reference for a sales order. For example, you can use a previous sales order as a reference.

When you create a returns order, you can automatically determine a sales order or billing document as the reference. For example, you can determine that the reference document is the most recent sales order or the sales order with the lowest net price for the material created within a certain period.

You can extend the search for a reference document to archived quotations or contracts when creating a sales order or to archived sales orders or billing documents when you create a returns order.

This BAdI uses the interface IF_SD_REF_DOC_CUST. For more information, display the interface in the Class Builder.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2929 Date: 20240524 Time: 014001     sap01-206 ( 183 ms )