SAP ABAP IMG Activity ADS2KIPBRO_SEL_SCR (Enhance IP Selection Screen)
Hierarchy
ECC-DIMP (Software Component) DIMP
   IS-AD-SPC-PR (Application Component) Provisioning
     ADS2KIPBRO (Package) Spec2000: Initial Provisioning Browser
IMG Activity
ID ADS2KIPBRO_SEL_SCR Enhance IP Selection Screen  
Transaction Code S_ALI_97000012   (empty) 
Created on 20040305    
Customizing Attributes ADS2KIPBRO_SEL_SCR   Extend IP Selection Screen 
Customizing Activity ADS2KIPBRO_SEL_SCR   Enhance IP Selection Screen 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name ADS2KIPBRO_SEL_SCR    

Use

This BAdI provides a way to enhance IP selection screen (transaction: ADIP) with additional selection fields. You can also restrict the data displayed in the IP browser, using this BAdI.

Four methods are provided in this BAdI:

  • SET_SEL_SCREEN_ICON
  • SHOW_CUST_SELECTION_SCREEN
  • FETCH_DATA_IPDB
  • FETCH_DATA_VIEW

Method: SET_SEL_SCREEN_ICON

This method provides an exit for placing custom button for calling the additional selection screen. You can define the icon, icon text, and tool tip text in this method. If the implementation is active, this button will appear on the main ADIP selection screen.

Sample code is available for reference.

Method: SHOW_CUST_SELECTION_SCREEN

This method provides an exit to define a custom selection screen. You can call the function module and define the custom selection screen therein. You also need to store the values entered in the custom selection screen. Additional validations can also be performed on the IP selection data passed into this method.

Sample code is available for reference.

Method: FETCH_DATA_IPDB

This method opens the cursor to the data based on the selection criteria. If you need to add custom selection criteria, you need to modify the queries of default implementation with the additional criteria. ADIP_DATA_TABLE is exported back to the ADS2KIP_BROWSER and further processing will continue to display data on IP Browser.

Following are the sequence of steps to implement this method:

  1. Copy the deafult implementation of this method.
  2. At the beginning of the method, retrieve the custom selection criteria.
  3. Modify the WHERE condition in all the 8 queries to add these custom defined selection criteria.

Method: FETCH_DATA_VIEW

This method fetches the data using cursor opened in the method FETCH_DATA_IPDB, and populates the ADIP_DATA_TABLE.

Default implementation is available.

Activities

  1. Use transaction SE19 to implement the BAdI.
  2. Enter an implementation name and choose Create.
  3. In the dialog box labeled: Definition Name, enter BAdI name: ADS2KIPBRO_SEL_SCR.
  4. Enter a short text and save the BAdI implementation.
  5. Go to the Interface tab of the implementation.

    The system displays the name of the implementing class alongwith the four methods discussed above.

  6. Implement the methods. See the Sample code and default code for reference. Also refer to the documentation of the methods above.
  7. Activate the BAdI implementation.

Example

See sample code for methods SET_SEL_SCREEN_ICON and SHOW_CUST_SELECTION_SCREEN.

See default code for methods FETCH_DATA_IPDB and FETCH_DATA_VIEW.

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 ADS2KIPBRO_SEL_SCR 0 KAD0000015 Provisioning 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20040305 
SAP Release Created in 500