Show TOC Start of Content Area

Function documentation New Attribute and Action Definition Locate the document in its SAP Library structure

Use

The function enables you to create new attributes and new actions to enable specialized determination requirements.

Activities

·        You can create your own attributes and actions by:

¡        Defining them in the ERMS Repository

¡        Defining the corresponding services

Attributes refer back to a Fact Gathering Service and Actions to an Action Handling Service. Both types of services can be maintained in the Customizing activity Define Services.

¡        Specifying an ABAP class that implements the service

¡        Implementing the corresponding ABAP classes

In most of the cases, new attributes and actions require new implementing classes. You can create them in your name space.

For more information, see Customizing for Customer Relationship Management and choose Transactions  ®  Settings for Leads  ®  Rule-Based Distribution  ® Define Repository and Define Services.

·        You can implement new attributes and actions by referring to the following instructions:

¡        Inherit your action classes from the base class (Required). This is required because document distribution actions must fill the result structure CRMT_DDF_RESULT and pass the data through the ERMS context mechanism to the calling distribution framework. This function is incorporated in the base class CL_CRM_DD_ACTION and in other useful codes needed in every action. It is sufficient only to redefine the method SELECT_PARTNERS.

¡        Add the parameters PARTNER_FUNCTION, STATUS and STOP_BEHAVIOR to your actions. For more information, see Actions for Document Distribution.

¡        Create input Help for your new attributes or action parameters and implement them as Simple Value Help by inheriting your action classes from the base class CL_CRM_DD_F4.

End of Content Area