Ansicht
Dokumentation

SIMG_CFMENUOLSDOV13 - Maintain Prerequisites for Material Determination

SIMG_CFMENUOLSDOV13 - Maintain Prerequisites for Material Determination

Vendor Master (General Section)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Define elements used in the condition technique for material determination.

Material determination control is carried out using the condition technique explained in detail in the example of pricing or output determination. You will find further information on the condition technique in the "SD Pricing and Conditions" manual.

The following elements of condition technique work together when controlling material determination:

  • The condition table determines the combination of the fields required for creating a master record for material determination. The system contains Table 001 which specifies that master records for material determination contain the field "Material entered".
  • The access sequence is a search strategy which the system uses to search for valid condition records for each condition type. The access sequence refers to the fields for material determination via the condition tables which are contained in the access sequence. Condition type A001 is set up in the system.
  • The condition type defines the material determination type. Condition type A001 is set up in the system.
  • Procedures determine the condition types to be used for material determination. Procedure A00001 is set up in the system and contains Condition type A001. Thus, in case of material determination, only condition records of Condition type A001 are checked.

In a delivery referring to an order, material determination is carried out subject to the sales document type on which it is based. Material determination in a delivery is carried out for new items if material determination has been activated for the underlying sales document type. No material determination is carried out for items copied from the order. You have to assign an appropriate material determination procedure (in the system, it is A00001) to the Sales document type DL so that material determination can be carried out in deliveries without reference to an order (LO).

Material determination can only be carried out in sales document types set up in Customizing for material determination.

Check whether you can copy the material determination elements defined in the system. If you make adjustments, proceed as follows:

  1. Define the condition table or copy the existing table and make the necessary adjustments according to your requirements.
  2. If the defined fields are not sufficient, add to the list of allowed fields for material determination through the field catalog.
Keep in mind that errors which you want to add must be defined in the communication tables KOMKD, KOMPD or KOMGD.

Notes

For a description of how data is provided in these fields via user exits, see Customizing, Sales and distribution -> System Modification -> User exits -> User exits in Sales -> User exits in sales document processing.

  1. Define the access sequence and assign a condition table to it.
  2. Define the material determination type and assign an access sequence to it.
  3. Define the procedures and assign the corresponding types to them.

You can define elements such as access sequence, condition type, and determination procedure used in the condition technique. For details, refer to each specific configuration step.

Maintain Access Sequences

Create, change, and display access sequences for material determination in sales.

Step Description

You can define access sequences used in material determination. An access sequence defines the order in which the system searches for valid condition records for a condition type, and each access is made based on one condition table.

For example, according to the predelivered access sequence A002, the system first searches based on the "sales organization+distribution channel+entered material" condition (the mapped condition table containing three key fields) and then on the "entered material" condition (the mapped condition table containing one key field).

The condition tables that you want to add into your access sequence already exist.

SAP provides standard access sequences A001 and A002.

Creating access sequences

If the standard access sequences do not fulfill your business requirements, you can define new access sequences or copy and adapt existing ones.

  1. Create an access sequence.
NOTE: A custom access sequence takes a Z-prefixed ID with a maximum of four characters.
  1. Specify accesses by adding condition tables in the desired sequence.
Each access corresponds to one condition table. During each access, the system checks the field values for the key fields in the condition table.
  1. (Optional) For each access, you can define field-level controls as follows:
  • Change the source field for a key field. To do so, select the row and press Field Catalog.

Impact: During material determination, the system checks the source field to find the value for the related key field.
Example: For key field customer (KUNNR), you can specify that the system uses ship-to party (KUNAG) as the source field.
NOTE: Source fields and key fields are typically (and by default) the same, but they can differ.
  • Specify a constant value for a key field.

Impact: If a constant value has been configured for a key field here, the value can be also specified for this field in the corresponding condition record. During material determination, the system automatically assigns the preset constant value to the key field, instead of checking the field value in the sales document. In other words, the condition of this field is always met.
Example: A condition table comprises key fields distribution channel and entered material. You have set the constant value of distribution channel to 10 and maintained a corresponding condition record (material TG11 replaced by TG12 for distribution channel 10). If the distribution channel in a sales document is 20 (or whatever value) and the entered material is TG11, the system still replaces TG11 with TG12.
  • Enable initial value for a key field.

Impact: If initial value is enabled, this field can be left blank (empty) in the corresponding condition record. During material determination, the condition of this field is met if the field value in the sales document is also blank (empty).
NOTE: If you have enabled initial value for a key field and left its source field blank in this configuration step, this key field is in effect voided in the condition table and becomes irrelevant during material determination. For more information about this control, refer to SAP Note 1442225.

Changing access sequences

For existing standard access sequences, you can change source fields for key fields under each access.

For existing custom access sequences, you can change the description, add accesses (that is, condition tables), and define field-level controls.

Define Condition Types

Create, change, and display condition types for material determination in sales.

Step Description

You can define condition types for material determination. For each condition type, you can specify an access sequence. During material determination, the system will follow the predefined access sequence to check relevant fields when searching for valid condition records.

The access sequence that you want to specify for your condition type already exists.

SAP provides standard condition type Y001.

Creating condition types

If the standard condition type doesn't fulfill your business requirements, you can define new condition types, or copy and adapt existing ones.

  1. Create a condition type.
NOTE: A custom condition type takes a Z-prefixed ID with a maximum of four characters.
  1. Specify an access sequence for the condition type.
  2. (Optional) Configure the date format for valid-from and valid-to dates.
The attributes control the date format allowed for validity period settings in condition records.

Changing condition types

For existing condition types, you can change the description, re-assign an access sequence, and change the date format for validity period settings.

Maintain Determination Procedures

Create, change, and display determination procedures for material determination in sales.

Step Description

You can define material determination procedures. In each procedure, you can specify the condition types to be considered in material determination and in what sequence.

The condition types that you want to specify for your determination procedure already exist.

SAP provides standard determination procedure Y00001.

Creating determination procedures

If the standard determination procedure Y00001 doesn't fulfill your business requirements, you can define new determination procedures, or copy and adapt existing ones.

  1. Create a determination procedure.
NOTE: A custom determination procedure takes a Z-prefixed ID with a maximum of six characters.
  1. Add condition types in the desired sequence to the determination procedure.

Changing determination procedures

For existing determination procedures, you can change the description and add or re-assign condition types.






Fill RESBD Structure from EBP Component Structure   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 11036 Date: 20240523 Time: 220003     sap01-206 ( 269 ms )