Material Determination Process in Sap SD
Material Determination Process in Sap SD
Material Determination Process in Sap SD
Overview:-
Material determination is a method in SAP SD that enables the automatic
substitution of materials in sales documents during sales orders processing.
Material determination uses the condition technique to swap one material for
another when certain conditions apply. In other words, it is possible to use the
condition technique to substitute one material in the sales order for another.
For example, during sales promotion, at the time of Order Entry, system can,
automatically substitute a material that has promotional packaging. Or in case of
Christmas season, a consumer product may have a special wrapper so by using
material determination; the system automatically substitutes the material with the
material that has special wrapper only during the specified period.
Material Determination
Oct’12 Page-1
MATERIAL DETERMINATION PROCESS - SAP SD
The field catalog for material determination contains fields used by the system to
determine substitute products. Review the fields in the standard catalog. If
require then we can simply add it:
1. Add the new field to the structure:
i) Header data KOMKDZ
ii) Item data KOMPDZ.
2. Add coding to the routines for assigning values to the new fields in order
processing in program MV45AFZA. Use user exits:
i)USEREXIT_MOVE_FIELD_TO_KOMKD (header fields)
ii) USEREXIT_MOVE_FIELD_TO_KOMPD (item fields)
Oct’12 Page-2
MATERIAL DETERMINATION PROCESS - SAP SD
The condition table serves as the format and eventual storage area where
detailed condition records on product substitution mappings are stored.
1. Enter a table number, using a number greater than 500, or leave the table field
blank for the system to assign a number automatically.
2. Select the appropriate fields to be included in the table.
3. Generate and save the table.
Oct’12 Page-3
MATERIAL DETERMINATION PROCESS - SAP SD
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:-
Oct’12 Page-4
MATERIAL DETERMINATION PROCESS - SAP SD
The 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:-
Oct’12 Page-5
MATERIAL DETERMINATION PROCESS - SAP SD
Substitution procedures contain condition types that direct the system to the
access sequence and eventual condition table containing the condition records
that are used to determine product substitutes.
To create a procedure, perform the Customizing Activity:-
Oct’12 Page-6
MATERIAL DETERMINATION PROCESS - SAP SD
By making this assignment, you are essentially "turning on" substitution for
specific document types. If you do not make an assignment, the system does not
check for substitutes even if the records exist.
Oct’12 Page-7
MATERIAL DETERMINATION PROCESS - SAP SD
Note:-This completes a basic overview about the condition technique that is used for
Material Determination. So summarized steps are as follows
Oct’12 Page-8
MATERIAL DETERMINATION PROCESS - SAP SD
As Shown in Fig below, the substitution reason has a four-digit key and
description that is used as a reference in the condition record. Attached to this
key is a set of rules.
1) The first column is Entry, which controls whether you would like the system to
print the name or number of the original material or the substituted materials
name or number on the order confirmations.
2) The next column is the Warning indicator. If checked, it will indicate a warning
message to the user that material determination is about to take place.
Oct’12 Page-9
MATERIAL DETERMINATION PROCESS - SAP SD
Oct’12 Page-10
MATERIAL DETERMINATION PROCESS - SAP SD
When you assign outcome A to a substitution reason, note the following special
processing features and constraints:
• The system re determine product substitutions when copying them from
sales documents to deliveries.
• Rush orders are not supported.
• Main item and sub-items must be carried through from the sales
document, to the delivery, to the billing document.
• If you use listings and exclusions in the sales document process, the
system does not take them into account when re determining substitutions
in the delivery.
• The system uses only the copy rules associated with the main item when
transferring data from document to document. To transfer the sub-item
from order to delivery, assign copy rule 110 to it.
• Item category usage indicator PSHP is used for the main item (e.g. ZTAX
here), and PSEL (e.g. ZTPS here) for the sub-item.
When you assign outcome B to a substitution reason, note the following special
processing features and constraints:
Oct’12 Page-11
MATERIAL DETERMINATION PROCESS - SAP SD
When you create a sales document, the system determines the item category for
an item according to settings in the item category determination table for the
sales document type (e.g. ZOR), item category group, item usage, and higher
level item.
In product selection, you choose the item category usage based on the outcome
that you specify in the reason for substitution, either A or B. The following usages
are available for sales document main and sub-items:
There are two separate item categories in sales documents for product selection.
The item category TAX (e.g. ZTAX here) contains specifications for the main
item (original product). The other, TAPS (e.g. ZTPS here), contains
specifications for the sub-items (substitute product).
Oct’12 Page-12
MATERIAL DETERMINATION PROCESS - SAP SD
If require we can create separate Item category for Delivery and then assign
it in Delivery Item Category determination. Here we are using the same Item
Category as we have used in Sales Order.
Oct’12 Page-13
MATERIAL DETERMINATION PROCESS - SAP SD
F) Pricing Determination
If your product selection procedure requires that pricing be done at the main item
instead of the sub-item, you will have to create new item categories.
The following examples detail how pricing is carried out at the main item level
and sub-item level for product selection.
• In this first example, the price for the order is determined based on the
price condition records for the main item only. You have deactivated
pricing for the sub-item category, so the system does not determine a
price for it. Since both the main item and the sub-item categories are
relevant for billing, the prices (even if there is no price) are copied to the
invoice and billed accordingly.
• In this second example, the price for the order is determined based on the
price condition records for the sub-items. You have deactivated pricing for
the main item category, so the system does not determine a price for it.
Since both the main item and the sub-item categories are relevant for
billing, the prices (even if there is no price) are copied to the invoice and
billed accordingly.
Oct’12 Page-14
MATERIAL DETERMINATION PROCESS - SAP SD
Oct’12 Page-15
MATERIAL DETERMINATION PROCESS - SAP SD
2. Press ENTER
.
3. Enter the following data:
Validity period for the master record
Material entered (the material that need to be substitute with other
Material)
Substitute material.
Optionally, a reason for the substitution (the reason may appear in system
Messages during sales order processing).
Oct’12 Page-16
MATERIAL DETERMINATION PROCESS - SAP SD
Test Scenarios:-
Case1- Substitution Reason with Blank Automatic Strategy and
Blank Outcome
Oct’12 Page-17
MATERIAL DETERMINATION PROCESS - SAP SD
Oct’12 Page-18
MATERIAL DETERMINATION PROCESS - SAP SD
Expected Result: - One Pop up Screen will appear with all available Substitute
materials of F00008085312 as shown below. We need to select the the suitable
one from the list.
Oct’12 Page-19
MATERIAL DETERMINATION PROCESS - SAP SD
Oct’12 Page-20
MATERIAL DETERMINATION PROCESS - SAP SD
Create a Standard Order with Material F000005818 & Stock Qty 20.
Expected Result: -
1) As Material F000005818 having two Substitute Materials F000005819
and F000005820 having available Stock Qty 10 each, so we will have
two more line items created in the Sales Order automatically below the
main Line Item of material F000005818 as shown below.
2) As the main Item category ZTAX is Price relevant and ZAPS is not Price
relevant, so pricing will be based on the main item that has been ordered
by the Customer and not in the substituted items as shown below.
Oct’12 Page-21
MATERIAL DETERMINATION PROCESS - SAP SD
Oct’12 Page-22
MATERIAL DETERMINATION PROCESS - SAP SD
Create a Standard Order with Material no. F00573017430 with Stock Qty 40.
Expected Result: -
1) As Material F00573017430 ,having two Substitute Material F00573017430R
and F00573017430N with available Stock Qty 20 each, so we will have two
more line items created in the Sales Order automatically below the main Line
Item of material F00573017430 as shown below.
Oct’12 Page-23
MATERIAL DETERMINATION PROCESS - SAP SD
2) As the main Item category ZTAX is Price relevant and ZAPS is not Price
relevant, so pricing will be based on the main item that has been ordered by
the Customer and not in the substituted items as shown below.
Oct’12 Page-24
MATERIAL DETERMINATION PROCESS - SAP SD
Oct’12 Page-25
MATERIAL DETERMINATION PROCESS - SAP SD
Oct’12 Page-26