SAP ABAP IMG Activity WRF_PRC_OTB_BADI_05 (BAdI: Selection Criteria for OTB Procurement "Open Documents")
Hierarchy
EA-RETAIL (Software Component) SAP Enterprise Extension Retail
   MM-PUR (Application Component) Purchasing
     WRF_PRC_OTB_APPL (Package) Seasonal Procurement: Open-To-Buy Area
IMG Activity
ID WRF_PRC_OTB_BADI_05 BAdI: Selection Criteria for OTB Procurement "Open Documents"  
Transaction Code S_XEN_65000056   (empty) 
Created on 20050805    
Customizing Attributes WRF_PRC_COC_BADI   Enhancements Using Business Add-Ins 
Customizing Activity WRF_PRC_OTB_BADI_05   BAdI: Selection Criteria for OTB Procurement "Open Documents" 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SELECT_TYPE_FOR_DATA    

Use

You can use BAdI WRF_POTB_X_SELECT_E to implement custom selection criteria for OTB procurement (transaction WOTB1). These criteria then affect the application function "Open Documents for the <Selected> Budget" (in application group OTB Procurement: Document Changes).

You can use this BAdI to implement your own criteria for determining which documents will be displayed as "open documents" for a budget.

During the selection for the application function, the following methods are called in sequence:

You can use method SELECT_DATA_INDIVIDUAL to override the standard selection.
You can use method GET_INDIVIDUAL_DATA for individual selection of the documents for a budget number, thus determining which documents will be modifiable ("open").
You can use method REFINE_SELECTED_DATA to define custom filter criteria for pre-sorting the data from both the custom and standard document selection.

Requirements

Standard settings

Activities

Example

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  20070112 
SAP Release Created in 600