Ansicht
Dokumentation

CRMV_ANA_OD_EXP - Define Value Expressions

CRMV_ANA_OD_EXP - Define Value Expressions

RFUMSV00 - Advance Return for Tax on Sales/Purchases   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you can create customer-specific value expressions.

These expressions can be used in filter and parameter definitions for SAP CRM HANA Live reports and are evaluated at runtime. The current user date is for example computed by the value expression EXPR_USERDATE.

The implementation takes place in the class CL_CRM_ANA_ODATA_EXPRESSIONS method GET_USER_DATE as follows:

rv_value = sy-datlo.

  1. Create an implementation for your customer-specific value expression in a class in a method . As reference, see the implementations of the standard delivery.
  2. Create a new value expression as follows:
    1. Specify an expression ID.
    2. Specify a corresponding description.
    3. Assign the class in the field Expression Class.
    4. Assign the method in the field Expression Class Method.

Value expressions are for example evaluated for queries made to the SAP NetWeaver Gateway Service CRM_ANA_ODATA_REPORTS regarding the entity types IReportCondition und IReportConditionExpression.

A query regarding the entity type IReportConditionExpression returns data for value expressions that were evaluated without errors occurring. Value expressions for which errors occurred during the evaluation (because for example the associated entry in this Customizing activity is incomplete or incorrect) are skipped and an explanatory entry is created in the application log under the object CRM_ANA_ODATA and the sub-object ODATA_SRV. Access these log entries using the transaction SLG1.






Addresses (Business Address Services)   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2041 Date: 20240606 Time: 152122     sap01-206 ( 39 ms )