Hierarchy

⤷

⤷

IMG Activity
ID | BADI_SD_REF_DOC_CUST | BAdI: Enhancements for Determining Reference Documents |
Transaction Code | S_E4A_94000246 | (empty) |
Created on | 20080624 | |
Customizing Attributes | BADI_SD_REF_DOC_CUST | BAdI: Enhancements for Determining Reference Documents |
Customizing Activity | BADI_SD_REF_DOC_CUST | BAdI: Enhancements for Determining Reference Documents |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | BADI_SD_REF_DOC_CUST |
Use
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.
Requirements
Standard settings
In the standard system, there is no activated BAdI implementation.
Activities
Create a BAdI implementation for BAdI BADI_SD_REF_DOC_CUST of enhancement spot BADI_SD_SALES_ITEM.
For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.
Example
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.
See Also
This BAdI uses the interface IF_SD_REF_DOC_CUST. For more information, display the interface in the Class Builder.
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | BADI_SD_REF_DOC_CUST | 0 | HLA0009601 | Sales |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20090311 |
SAP Release Created in | 604 |