Tuesday, January 13, 2009

Setting the Condition Technique SD Product Selection

Prerequisite

Product selection uses the condition technique to determine substitutes for a material entered in the order. Review the field catalog, condition tables, access sequences, and condition types in the standard system to determine if they fit your company's version of product selection. If not, you can modify the field catalog and create condition tables, access sequences, and condition types to meet your requirements.

Procedures

Modify the field catalog (OV26)

The field catalog for material determination contains fields for determining substitute products. Review these fields in the standard catalog. If your company determines substitutes based on a characteristic not listed as a viable field in the catalog, simply add it:

  1. Add the new field to the user include structure:
    • Header data KOMKDZ
    • Item data KOMPDZ.
  1. Add code to the routines for assigning values to the new fields in order processing in program MV45AFZA. Use user exits:
    • USEREXIT_MOVE_FIELD_TO_KOMKD (header fields)
    • USEREXIT_MOVE_FIELD_TO_KOMPD (item fields)
  1. Add the new field to the field catalog (Customizing activity Basic Functions ® Material Determination ® Maintain prerequisites for material determination ® Maintain field catalog).

Create a condition table for substitution (OV16)

You can create a table in the system based on how you perform product substitution. The condition table serves as the format and eventual storage area where detailed condition records on product substitution mappings are stored.

To create a table, perform the Customizing activity Maintain prerequisites for material determination ® Create condition tables:

  1. Key in a table number (using a number greater than 500), or leave the table field blank for the system to assign the next available number.
  2. Select the appropriate fields to be included in the table.
  3. Save and generate the table.

Create an access sequence for substitution (OV11)

You can create an access sequence in the system based on how you perform product substitution. The system uses the access sequence to search for valid condition records within the condition tables.

To create an access sequence, perform the Customizing activity Maintain prerequisites for material determination ® Maintain access sequences:

  1. Choose New entries.
  2. Enter a code and description for the access sequence.

  3. Save and choose Back to return to the main screen.
  4. Select the new entry and choose Accesses.
  5. Choose New entries.
  6. Enter an access level, the condition table number and, if necessary, a requirement. Add additional tables if needed.

  7. Save and choose Back.
  8. Select the new entry and choose Fields.
  9. Enter a direct value or select the initial value indicator.

  10. Save and and choose Back.
  11. Select the new access sequence and choose Utilities.

Complete the access sequence fields with the new access sequence number.

Create condition type and assign access sequence (OV12)

You can create a condition type in the system based on how you perform product substitution. A condition type directs the system to the access sequence and eventual condition table containing the condition records that are used to determine substitutes.

To create a condition type, perform the Customizing activity Maintain prerequisites for material determination ® Define condition types:

  1. Choose New entries
  2. Enter a code and description for the condition type.

  3. Assign a valid access sequence and identify the rule to be used to propose the from and to validity dates.
  4. Save.

No comments:

Archive