SAP ABAP IMG Activity CPF_A_FORM (Define Formula)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   SD-BF-PR (Application Component) Pricing and Conditions
     VF_PRC_IMG (Package) IMG Activities for ERP Pricing
IMG Activity
ID CPF_A_FORM Define Formula  
Transaction Code S_V7S_56000003   (empty) 
Created on 20121031    
Customizing Attributes CPF_A_FORM   Define Formula 
Customizing Activity CPF_A_FORM   Define Formula 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name CPF_A_FORM    

Use

In this Customizing activity, you can define formulas with their parameters to use them for pricing in documents, for example, to calculate a price.

A formula consists of parameters from the parameter catalog and predefined usage tasks. For each usage task, you define how the usage task result is calculated.

Requirements

Standard settings

Activities

Define Formula

You enter a unique formula identifier and a description so that you can reuse the formula later in a document. A formula has to include at least one parameter.

Note: A formula is automatically assigned to a specific CPF usage.

Assign Formula Parameter

For every formula ID, you can assign parameters from the parameter catalog.

If subparameters exist, the system assigns them automatically. In addition, you can enable formula parameters for the use of scales. The system displays the predefined result parameter for each usage task.

Note: The system adds the corresponding result parameter into the list of formula parameters when you create a formula.

Assigned Usage Task

  • For every formula ID, the system displays all predefined usage tasks.
  • For every usage task, you generate or assign a BRFplus function by choosing the Generate BRFplus Function pushbutton or the Assign Existing BRFplus Function pushbutton. During generation or assignment, you can select another BRFplus application than the one set as the default application in Customizing activity Assign BRFplus Application to CPF Usage.
  • After you have assigned the BRFplus function, the system automatically assigns the default CPF routine '1'.

Note: When you create a BRFplus function, an additional context parameter (PRICING_CPF_CONTEXT) is created automatically. During formula evaluation in the business document, this context parameter provides additional data, such as customer, material, quantity that is used in pricing.

  • If you assign an existing BRFplus function to the usage task, the system checks whether the parameters of the assigned BRFplus function match the entered formula parameters. If the parameters do not match, you must map them manually in the additional step Manual Mapping. We recommend you to use BRFplus functions.
  • If you want to use user-defined CPF routines, you can assign a CPF routine for each usage task. If you assign a CPF routine to the usage task, the system checks whether the parameters of the assigned CPF routine match the entered formula parameters. Unless the parameters match, you must map them manually in the additional step Manual Mapping.
  • For the joint usage of BRFplus function and user-defined CPF routine, see Customizing activity Define CPF Routine.
  • For the same usage task, you must have marked the routine as BRFplus enabled in Customizing activity Define CPF Routine.

Note: The result parameter contains the result of the respective usage task.

Manual Mapping

If the formula parameters differ in name and data type from the parameters of the assigned BRFplus function or the assigned CPF routine, you must map them manually. The system checks the data type match of your mapping.

By choosing the Get Parameters of BRFplus Function and Routine pushbutton, you can insert all parameters of the assigned BRFplus function and user-defined CPF routine. After that, you can map the formula parameters to these inserted parameters.

Example

Business Attributes
ASAP Roadmap ID 105   Define functions and processes 
Mandatory / Optional 1   Mandatory activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG CPF_A_FORM 0 HLA0006561 Pricing and Conditions 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
CPF_A_FORM T - Individual transaction object CPF_A_FORM  
History
Last changed by/on SAP  20121031 
SAP Release Created in 617