SAP ABAP IMG Activity BADI_SDOC_VIEW_CUS_F (BAdI: Add Pushbutton)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   SD-SLS-GF (Application Component) Basic Functions
     ERP_SALES_REPORTING (Package) SAP ERP Sales Reporting
IMG Activity
ID BADI_SDOC_VIEW_CUS_F BAdI: Add Pushbutton  
Transaction Code S_EX1_23000078   (empty) 
Created on 20121128    
Customizing Attributes BADI_SDOC_VIEW_CUS_F   BAdI: Add Pushbutton 
Customizing Activity BADI_SDOC_VIEW_CUS_F   BAdI: Add Pushbutton 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_SDOC_VIEW_CUSTOM_FUNC    

Use

You can use this BAdI in the sales document reporting (such as List of Sales Orders, VA05 transaction) to add custom functions to be available in the selection result in the toolbar.

Requirements

The BAdI implementation is only considered by the system if the business function Sales and Distribution, Optimized Reports (LOG_SD_REPORT_OPT) is active.

You make the Customizing settings for this function in Customizing for Sales and Distribution -> Sales -> Lists -> Optimized Lists -> Activate Optimized Reports, to activate the reporting transactions, such as:

  • List of Sales Orders (transaction code VA05)
  • List of Inquiries (transaction code VA15)
  • List of Quotations (transaction code VA25)
  • List of Contracts (transaction code VA45)
  • List of Orders Within Time Period (transaction code SDO1)

Standard settings

The method of this BAdI does not provide default coding or a fallback class.

Activities

The BAdI consists of the following methods:

  • DEFINE_CUSTOM_FUNCTION

    This method can be used to define custom functions which can be used on the result screen (selection result list).

  • DO_CUSTOM_FUNCTION

    This method can be used to execute custom defined functions on the result screen (selection result list).

The additional functions are provided in an output list. A maximum of six functions can be displayed as pushbuttons. The system determines the total number of functions defined in the BAdIs BADI_SDOC_VIEW_CUSTOM_FUNC and BADI_SDOC_VIEW_CUSTOM_FUNC_INT.
If more than six functions have been defined, when you choose the sixth pushbutton, a dialog box appears displaying the rest of the functions.

For more information, see the relevant interface method documentation and SAP Note 1780163.

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 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20121128 
SAP Release Created in 616