SAP ABAP IMG Activity /LIME/QCI_ACT (BAdI: LIME QCI Converter)
Hierarchy
SAP_AP (Software Component) SAP Application Platform
   AP-LIM (Application Component) AP-LIM Logistics Inventory Management Engine
     /LIME/RFC_CORE (Package) Core Package of the RFC Interface
IMG Activity
ID /LIME/QCI_ACT BAdI: LIME QCI Converter  
Transaction Code /LIME/86000095   (empty) 
Created on 20021030    
Customizing Attributes /LIME/QCI_ATT   BAdI: LIME QCI Converter 
Customizing Activity /LIME/QCI_ACT   BAdI: LIME QCI Converter 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /LIME/QCI    

Use

This Business Add-In (BAdI) is used in component SCM-ECT-LIM.

With the filter BAdI /LIME/QCI, you can achieve the following for each filter value /LIME/QCI_TYPE that is determined for a goods movement in the implementation of Business Add-In /LIME/MASTER_DATA:

  • Carry out a quantity conversion for missing units of measure
  • Check quantities for several units for consistency and, in the case of error, reject the posting

In the default implementation of BAdI /LIME/MASTER_DATA, the QCI-TYP (type of quantity conversion) is set. SAP supplies entries in the relevant Customizing table for two values (DOC and MARM). These values are used in the default implementation of the Business Add-In /LIME/MASTER_DATA. A quantity conversion is not allowed within this BAdI for the value DOC. In this case, the system runs through the method for checking the quantity only. For the filter value MARM, the default implementation of this BAdI is run through and a quantity calculation executed.

Requirements

Standard settings

The default implementation for this BAdI carries out a calculation of the stock quantity from the document quantity, if the stock quantity or quantities is/are not included in the table of the document quantity. The calculation only takes place for movements in which the stock index tables with index 001 or 002 are involved. The calculation is based on the standard R/3 quantity conversion (table MARM). SAP uses a service class /LIME/CL_SRV_QCI for the default implementation of this BAdI, which is also available to customers.

Important:
If the stock quantity is calculated from a document quantity, this may lead to the following situation: A goods movement is posted for a material with 2 pc and 6 liters. The stock is to be managed in kg. As the starting unit of measure for the calculation, there are now 2 quantities available in different units. The default implementation rejects this case with an error message, because no general decision as to which quantity the quantity in kg is to be calculated from can be arrived at.

Activities

To activate the Business Add-In, you must create an active implementation. To do so, go to Customizing and choose the relevant IMG activity under Business Add-Ins (BAdIs).

After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.

If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:

  1. In the dialog box, enter a name for the implementation of the Add-In and choose Create.
    The system displays the initial screen for creating Business Add-In implementations.
  2. On this screen, enter a short description for your implementation in the Implementation Short Text field.
  3. If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
  4. Save your entries and assign the Add-In to a package.
  5. To edit a method, double-click its name.
  6. Enter your implementation code between the method <Interface Name>~<Name of Method>. and endmethod. statements.
  7. Save and activate your code. Navigate back to the Change Implementation screen.
    Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step:
  8. Choose Activate.
    When the application program is executed, the code you created is run through.

For more information, see the SAP Library under SAP Web Application Server -> ABAP Workbench (BC-DWB) -> Changing the SAP Standard (BC) -> Business Add-Ins -> Implementing Business Add-Ins.

Example

To display default code, choose Goto -> Default Code -> Display.

To display example code, choose Goto -> Example Code -> Display.

See also

You can also call the documentation for a BAdI method from the menu:

  1. Select tab page Interface.
  2. Double-click on the corresponding method.
  3. Click the right-hand mouse button and choose Documentation on Component.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20030205 
SAP Release Created in 401