Pricing in Product Modeling for the Utilities Industry (PMU)

Use

Both product modeling for the utilities industry (PMU) and the Product Finder and Configurator (PFC) are based on the execution of BRFplus functions. This also applies to pricing. You maintain these BRFplus functions in product modeling for the utilities industry. For more information about these settings, see the section Working with the BRFplus Editor.

In the Saleable Products section of the PMU, you find the Pricing tab page in addition to the version details. The BRFplus functions that you can create or select here have the application usage PD (pricing). This means that a BRFplus application must be available for this usage in Customizing. If this is not the case, create a corresponding application in Customizing for Customer Relationship Management under Start of the navigation pathIndustry-Specific Solutions Next navigation step Utilities Industry Next navigation step General Settings Next navigation step BRFplus Integration Next navigation step Maintain Utilities BRFplus ApplicationsEnd of the navigation path.

Activities

If you now create a new BRFplus function for pricing for a product, the system gives you three options:

  • Without

    The system creates a blank BRFplus function without a top expression here. You can then define this function in the BRFplus editor using BRFplus expressions that determine prices, such as formulas.

  • Decision Table

    If you choose this option, the system first generates a decision table as a top expression in the new BRFplus function, which it also offers for all other application usages. You must then implement pricing in the BRFplus editor.

  • Price Source Procedure

  • If you choose this option, an additional field appears in which you can select one of the price sources that has been maintained. The BRFplus function generated from this contains a procedure call for the static method CL_CRM_ISU_PRC_MGR=> CALL_PRICE_OBJECT_STATIC( ). The system provides the IV_PRICE_SOURCE parameter with the price source selected. No additional BRFplus activity is required here, since pricing is transferred from the ABAP class that corresponds to the price source.

The return table in which you must always make entries has the type CRMT_ISU_PRC_COMPONENT_DATA_T. You maintain the price components in the column COMPONENT. If a price component is to return more than one row (for example in the event of a price change for a consumption unit during the simulation period), you can subsequently use the component number (COMPONENT_NO) to target a specific price component row. If no entry is made in this column, the system always does this automatically by increasing the value for each component accordng to the return sequence starting from '001'. In the menu for the BRFplus editor, you can use the option Extend Context to generate configuration attributes (such as consumptions) in the context of the BRFplus function, so that you can also access these attributes in the BRFplus functions.

You must implement the interface IF_CR_ISU_PRC_SOURCE> for ABAP classes that are to transfer a price source for pricing. The interface contains the method READ_PRICE_COMPONENTS( ) in which you program the pricing logic. The import parameter IO_PRICE_CTXT, which is used to call the methods in the interface, is used to prepare the data required for the associated order item. You can use the method IO_PRICE_CTXT->GET_CONFIGURATION( ) to access the configuration attributes in the product. You can access consumptions using the corresponding configuration attributes or from the consumption table directly using the method IO_PRICE_CTXT-> GET_CONSUMPTIONS( ).

You can also query other systems, for example using RFC, in the method READ_PRICE_COMPONENTS( ). This is for example the case for the price source „S“ = „IS-U: Simulations-Workbench“ provided. The system performs a price calculation for the product using a master data template in the IS-U system in the simulation workbench. For more information, see the sections Price Source IS-U Simulation Workbench and Price Simulation in SAP ERP.