Show TOC

  Reel Calculation Process and Formulas

Use

The system carries out a number of checks and subsequent calculations to enable the reel calculation to find the optimal reel.

Prerequisites

You have made the required settings for the reel calculation in Customizing for Reel Calculation , by choosing Start of the navigation path Logistics - General Next navigation step Reel Calculation Next navigation step Set Plant Data End of the navigation path .

In variant configuration , you have created the required dependencies for the reel calculation as follows:

  1. Create function group :

    On the SAP Easy Access screen, you have created a new function group, for example Z_MILLCA, by choosing Start of the navigation path Tools Next navigation step ABAP Workbench Next navigation step Overview Next navigation step Object Navigator End of the navigation path , or you are using an existing function group.

  2. Create function module :

    You have created a function module, for example ZMILLCA_REEL_DEP, for the function group created under Create Function Group (see 1) or for the existing function group, as follows:

    • Import parameter:

      GLOBALS TYPE CUOV_00: Global data for calling functions in object dependencies

    • Table parameters:

      QUERY LIKE CUOV_01: Interface for function call from object dependencies

      MATCH LIKE CUOV_01: Interface for function call from object dependencies

    • Exceptions:

      FAIL

      INTERNAL_ERROR

    • Coding:

      call function ´/SAPMP/LO_RC_TRIGGER_DEP´

      exporting

      globals = globals

      tables

      query = query

      match = match

      exceptions

      fail = 1

      internal_error = 2

      others = 3.

  3. Create function :

    On the SAP Easy Access screen, you have created a variant function of the same name, such as ZMILLCA_REEL_DEP, without characteristic assignment for the preceding step Create Function Module , by choosing Start of the navigation path Logistics Next navigation step Central Functions Next navigation step Variant Configuration Next navigation step Tools Next navigation step Function Next navigation step Create End of the navigation path . Because the variant function has the same name as the function module, the system fills many of the fields automatically.

  4. Create Single Dependency

    On the SAP Easy Access screen, you have created a single dependency, for example MP_REEL_CALC, as a procedure on the Basic Data screen under Dependency Type , by choosing Start of the navigation path Logistics Next navigation step Central Functions Next navigation step Variant Configuration Next navigation step Dependency Next navigation step Single Dependency Next navigation step Create. End of the navigation path You have then entered the basic data, such as texts. In the Dependency Editor , you have entered the following source text for the dependency:

    pfunction <Variantfunctionname> ()

    The variant function name must be the same as the name of the function created under Create Function above, for example, ZMILLCA_REEL_DEP. To indicate that the name is a function, you have entered an opening and closing round bracket with or without blanks in front of the variant function name.

  5. Create Configuration Profile

    On the SAP Easy Access screen, you have created a configuration profile for the class type 300 for the configurable cable material, by choosing Start of the navigation path Logistics Next navigation step Central Functions Next navigation step Variant Configuration Next navigation step Configuration Profile Next navigation step Create End of the navigation path . After you have selected the class assignment, by choosing Start of the navigation path Goto Next navigation step Class Assignments End of the navigation path , the system copies the class from the configurable material to the profile.

    In the profile overview, you have chosen with the quick info text Profile Details . Under Start of the navigation path Extras Next navigation step Dependency Next navigation step Assignments, y End of the navigation path ou have entered a description for the single dependency MP_REEL_CALC that you created under Create Single Dependency and you have saved your configuration profile

Features

Depending on the Customizing settings for the Reel Calculation , the system performs the following checks:

  1. The system checks whether it is possible to deliver a coil (coil delivery indicator).

  2. The system checks whether the reel type is relevant for the reel calculation. Has the data for inner width, core diameter and outer diameter been maintained?

Activities

The system automatically triggers the reel calculation to find a suitable reel type after you have entered the relevant individual length and packaging material type data in the sales order, production order , purchase order or purchase requisition on the characteristic value assignment screen and have confirmed your input by choosing with the quick info text Enter (see Subsequent Additional Checks and Messages ).

If you have switched off automatic reel calculation for purchase orders in Customizing for the Reel Calculation , you can trigger the reel calculation manually in Fast Entry of Characteristics in Purchase Orders . To do so, you need a characteristic display that contains the individual length, packaging material type, and packaging material characteristics that are relevant for the reel calculation. Enter the required data in the item overview and then choose in the Reel Calculation column to start the reel calculation manually.