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:
- Add the new field to the user include structure:
- Header data KOMKDZ
- Item data KOMPDZ.
- 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)
- 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:
- 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.
- Select the appropriate fields to be included in the table.
- 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:
- Choose New entries.
- Save and choose Back to return to the main screen.
- Select the new entry and choose Accesses.
- Choose New entries.
- Save and choose Back.
- Select the new entry and choose Fields.
- Save and and choose Back.
- Select the new access sequence and choose Utilities.
Enter a code and description for the access sequence.
Enter an access level, the condition table number and, if necessary, a requirement. Add additional tables if needed.
Enter a direct value or select the initial value indicator.
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:
- Choose New entries
- Assign a valid access sequence and identify the rule to be used to propose the from and to validity dates.
- Save.
Enter a code and description for the condition type.
No comments:
Post a Comment