Ansicht
Dokumentation

GENIL_PRO_01 - Define Objects

GENIL_PRO_01 - Define Objects

CPI1466 during Backup   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

In this activity, you define objects with the object type 'Query' if you require new search functionality in the application concerned. To do this, you also have to create an attribute structure in the ABAP Dictionary containing all search criteria required for the search. It must not have any deeper nesting and, in particular, not include table types. You also have to create a class for the search functionality to implement the interface IF_CRM_PRIL_QUERY. The method GET_PRODUCT_LIST() is used to pass the search result to the generic interaction layer in the form of a list of product GUIDs. It may also be worth using the class CL_CRM_PRIL_QUERY_BASE for inheritance. Frequently used search criteria, which are contained in the header table for products (COMM_PRODUCT), have already been defined as protected attributes in this class and certain generic methods implemented.

Make sure that the object name lies within the customer namespace and begins with 'Prdct' or 'Z...'.

As of SAP CRM 5.1, you do not have to make any entries in this table when creating your own set types and attributes. The relevant entries are generated automatically when the set type is created, with the following naming convention:

  • ZPRODSET: Organization-independent set types
  • ZPRODDCS: Distribution-chain-dependent set types
  • ZPRODSETA<01-99>: Multiple-value attribute of set type (consecutive numbering)
  • ZPRODDCSA<01-99>: Multiple-value attribute of distribution-chain-specific set type (consecutive numbering)

The set types you have created are automatically part of the business object layer. There are no restrictions related to the type of set type. Entries are generated in the table for both multiline set types and multiple-value attributes, thus making them available in the business object layer.

When upgrading to SAP CRM 5.1, you must run the report COM_PRODUCT_UPGRADE, which generates the entries in this table.






ABAP Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2255 Date: 20240523 Time: 202445     sap01-206 ( 62 ms )