SAP ABAP IMG Activity BADI_ODATA_MY_QUOTA (BAdI: Enhancements for My Quotations)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   SD-SLS-QUT (Application Component) Customer Inquiries / Quotations
     ERP_SD_ODATA_MY_QUOTATION (Package) OData Services for My Quotation App
IMG Activity
ID BADI_ODATA_MY_QUOTA BAdI: Enhancements for My Quotations  
Transaction Code S_E17_83000029   (empty) 
Created on 20130916    
Customizing Attributes BADI_ODATA_MY_QUOTAT   BAdI: Enhancements for My Quotations 
Customizing Activity BADI_ODATA_MY_QUOTAT   BAdI: Enhancements for My Quotations 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_ODATA_MY_QUOTAT    

Use

This Business Add-In (BAdI) is used in the Sales and Distribution (SD) component. You can use this BAdI to change the parameters that limit the quotations that are returned by the OData service to the individual field sales representatives.

The following methods are provided:

  • Retrieve Customers of Individual Field Sales Representative <GET_CUSTOMERS_FROM_USER>

    You can use this BAdI method to retrieve a list of customers that the Field Sales representative is assigned to.

  • Confirm Field Sales Representative of Quotation <IS_SALES_EMPLOYEE_FOR_QUOT>

    You can use this BAdI method to confirm if the field sales representative is authorized to view quotations.

  • Determine If Search Criteria are Fulfilled <IS_SEARCH_CRITERIA_FULFILLED>

    You can use this BAdI method to determine if the header search criteria are fulfilled and the field sales representative can view the quotations.

  • Preprocess Quotations Based On Custom Parameters <PREPROCESS_PARAMETERS>

    You can use this BAdI method to include additional custom parameters to filter the quotations that a field sales representative can view.

Requirements

Standard settings

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

BAdI Implementation

  • BADI_ODATA_MY_QUOTATION

    The default implementation is designed to work together with the Customizing activity Define Common OData Settings. The Customizing defines a sales partner that, along with other search and preprocess criteria, limits the quotations that are returned by the OData service to those customers and quotations that are assigned to the field sales representative.

For information about implementing BAdIs as part of the Enhancement Framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View-> Application Server-> Application Server ABAP-> Application Development on AS ABAP-> ABAP Customer Development-> Enhancement Framework.

Activities

Example

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
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_ODATA_MY_QUOTAT 0 HLA0006008 Customer Inquiries / Quotations 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20130923 
SAP Release Created in 617