SAP ABAP IMG Activity RMSL_APPLY_RULE_IN (BAdI: Ingredient Label Data: Execute Rules)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PLM-RM (Application Component) Recipe Management
     RMSL (Package) Labeling Application
IMG Activity
ID RMSL_APPLY_RULE_IN BAdI: Ingredient Label Data: Execute Rules  
Transaction Code S_PRN_53000217   (empty) 
Created on 20061107    
Customizing Attributes RMSL_APPLY_RULE_IN   BAdI: Ingredient Label Data: Execute Rules 
Customizing Activity RMSL_APPLY_RULE_IN   BAdI: Ingredient Label Data: Execute Rules 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name RMSL_APPLY_RULE_IN    

Use

This Business Add-In (BAdI) is used in the Labeling (PLM-RM-LBL) component.

This BAdI gives you the following options:

  • You can adjust the declared values in the ingredient label list.
  • You can sort the values.

If the BAdI has been implemented, you can specify in the Include BAdI Implementation for Rules activity that the BAdI is called when the ingredient label list is created. You can also define a pushbutton that you can use to call the BAdI manually in change mode on the Ingredient Label List tab page.

Requirements

Standard settings

In the standard system, the following BAdI implementations are activated. The system executes them when it creates the ingredient label list.

  • RMSL_RULE_INGRED_TRANSFER_CALC

    In this implementation, the BAdI causes the system to automatically transfer the calculated values to the declared values and round them to two decimal places. You can edit these values afterwards.

  • RMSL_SORT_INGR.

    In this implementation, the BAdI causes the system to sort the values.

The BAdI is not designed for multiple use.

The BAdI is filter-dependent.

Activities

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Example

To display the sample code, select the example displayed in the Implementation Examples screen area of the BAdI Builder.

The example shows how declared values in the ingredient label list can be rounded and sorted.

See also

This BAdI uses the interface IF_RMSL_APPLY_RULE_IN. For more information, display the interface in the Class Builder.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-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 RMSL_APPLY_RULE_IN 0 AER0000071 Labeling 
SIMG RMSL_APPLY_RULE_IN 1 /PLMI/E5C0000011  
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20090902 
SAP Release Created in 700