CL_EX_CRM_ISU_PRODSEL_EXIT - BAdI Class CL_EX_CRM_ISU_PRODSEL_EXIT

CL_GUI_FRONTEND_SERVICES - Frontend Services   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Functionality

This class, which is generated from the Business Add-In CRM_ISU_PRODSEL_EXIT, contains the necessarymethods for integrating the new fields in the search help. These methods are only to be used in connection with new fields.

1.) CHANGE_SELECTION_OPTIONS:

You use this method to process incorrect entries in the selection screen. If, for example, an industry sector is entered, which is not available in the system, then the user can issue a corresponding message.

2.) COLLECT_SELECTION_OPTIONS:

This method is used to map the field names from the search help interface to the field names from thedatabase table CRM_UTIL_PROD. This is necessary because the field names are generated from table CRM_UTIL_PRODand begin as follows: "FF00xx". The method is also required to create a table of all selection criteria, from the entries in the selection dialog box.

3.) COMPLETE_OUTPUT_STRING:

You use this method to prepare the hit list. Only values from those fields that appear in the hit listare written in the output string. You define this in advance in the Customizing. First you must programcustomer-specific selections in this method. This allows you to include customer-specific fields asselection criteria. If you do not do this, only the standard fields are used as selection criteria, and the customer-specific fields are not included.

4.) FILL_FIELDS_ON_DYNPRO:

You use this method to preassign the new fields in the search help CRM_ISU_GET_PRODUCT in the selection screen. If necessary, you can also make these fields so that they are not ready for input.

5.) FILL_GRID_LEVEL_VALUE_TABLE:

You use this method to dynamically fill the value table for the grid level (field GRID_LEVEL), dependingon the division. In the standard system, the value table CRM_ISU_GRIDLEV2 is only maintained if division01 (electricity) is found. For all other divisions the table remains empty and this method must be defined, in order to start this process.

6.) READ_FURTHER_ENVIRONEMNT:

This method is used to read additional data/information from the connection object, premise, and pointof delivery area. This is required to preassign the new fields in search help CRM_ISU_GET_PRODUCT at the selection screen.

7.) SELECT_VIA_CUSTOMER_CRITERIA: This method is used to select products, using only customer-specificselection criteria. However, it is only used if no product can be found using the standard criteria. Otherwise, the method COMPLETE_OUTPUT_STRING is used.

Relationships

This class is closely related to the Business Add-In CRM_ISU_PRODSEL_EXIT and the elementary searchhelp CRM_ISU_GET_PRODUCT. The methods for this class should, however, only be used or implemented if additional fields are to be added to the search help.

Example

Notes

Further information



ABAP Short Reference   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.


Length: 2939 Date: 20120526 Time: 122657     triton ( 161 ms )