Application Programming Interface (API) Interface Used to Create DSM Objects

Use

You use the API IF_CRM_IU_DSM_API_CRT to create demand-side management (DSM) objects. The following table lists the different methods used in this API:

Method

Level

Description

CREATE

Instance Method

This method creates a DSM application or agreement with all the sub-objects.

CREATE_HEADER

Instance Method

This method creates a DSM application or agreement header object only.

ADD_MEASURE

Instance Method

This method creates a measure for a given header object.

ADD_INCENTIVE

Instance Method

This method creates an incentive for a given measure object.

ADD_HEADER_PARTNER

Instance Method

This method adds a partner for a given header object.

ADD_MEASURE_PARTNER

Instance Method

This method adds a partner for a given measure object.

ADD_HEADER_ATTACHMENT

Instance Method

This method adds a new attachment to the header.

ADD_MEASURE_ATTACHMENT

Instance Method

This method adds a new attachment to the measure.

ADD_SERVICE_ATTACHMENT

Instance Method

This method adds a new attachment to the service order

ADD_HEADER_NOTE

Instance Method

This method creates a note for a given Header Object. For more information, see Creating a Note (Text).

ADD_MEASURE_NOTE

Instance Method

This method creates a note for a given DSM Measure. For more information, see Creating a Note (Text).

ADD_SERVICE_NOTE

Instance Method

This method creates a note for a given DSM Service Order Item. For more information, see Creating a Note (Text).

CHECK_EXISTENCE

Instance Method

This method checks the DSM file number to see whether a duplicate application or agreement already exists

More Information

For more information, see Extending Standard Demand-Side Management Functions.