11.10.11

SAP Note 28306 - Selection of the alternative BOM in production order

Symptom:

Choosing alternative BOMs as of Release 2.2*/3.0*:

BOM selection is controlled via the BOM application and by the field 'AlternSelection' (MARC-ALTSL) in the material master (MatPlannDatScr):

Only the BOMs, in whose application (TA OS20) the characteristic 'items relevant to production' was not set to '-' at the time of the BOM creation, are copied into the production order.

The BOM application is derived from the 'order type dependent' parameters (TA OPL8).

The selection ID (TA OS31) is derived from the BOM application (TA OS30) and the status prerequisites to be checked are established (TA OS23).
Important: Only bills of material with the appropriate status (TA
OS23), that is, the status must show the same
characteristics as the BOM application used, are copied
into the production order during the BOM selection.
The BOM application finally specifies whether the alternative selection can be overridden from the material master, that is, whether the BOM selection can be selected according to the production version (for the value '2' 'selection according to production version' in the field 'AlternSelection' (MARC-ALTSL) in the planning view of the material master) or whether the alternative stored in Customizing (TA OS32, T415A) (for the value '1' 'selection according to explosion date in the field 'AlternSelection' in the planning view of the material master (MARC-ALTSL)') is selected. Corresponding settings in the field AlternSelection in the material master for the controlling category of BOM selection are only taken into account if this is allowed here.

In the Selection ID (TA OS31), it is specified which BOM usages are taken into account in which sequence during selection.



Explanation of the selection criteria depending on the field 'AlternSelection' (MARC-ALTSL) in the planning view of the 'Material master':

1. Selection via the lot size range
Preconditions:
a) Value of the field 'AlternSelection' (MARC-ALTSL) in the planning view of the material master: ' ' ('selection according to order quantity')

A BOM application is derived from the order type. Using the BOM application and the Selection ID derived from it, a bill of material is now searched for with:

- appropriate lot size
- valid at the explosion date
- Indicator 'Items relevant to production' not set to '-' in the usage (TA OS20) of the BOM
- appropriate status


2. Selection via the validity date
2.1. Take indicator for 'Alternative selection for multiple BOMs' into account
Preconditions:
a) Value of the field 'AlternSelection' (MARC-ALTSL) in the planning view of the material master: '1' ('selection according to explosion date')
b) BOM application allows selection:
Value 'X' in the field Alternative selection for multiple BOMs (X415A, TA OS30)

A BOM application is derived from the order type. If the indicator for the 'alternative selection for multiple BOM' is set in this application, alternative BOMs are searched for via the table T415A (TA OS32). Finally, it is checked afterwards whether this bill of material fulfills the following preconditions:

- available at the explosion date
- indicator 'Items relevant to production' not set to '-' in the usage (TA OS20) of the BOM
- appropriate status (see above)

If this is not the case or if no corresponding entry is found in table T415A (TA OS32), no bill of material is transferred into the production order.


2.2. Do not take indicator into account for 'Alternative selection for multiple BOM'
Preconditions:
a) Value of the field 'AlternSelection' (MARC-ALTSL) in the planning view of the material master: '1' ('selection according to explosion date')
b) BOM application allows selection:
Value ' ' in the field Alternative selection for multiple BOM (X415A, TA OS30)

By means of the BOM application and the Selection ID derived from it, a valid bill of material is searched for at the explosion date of the production order. It is checked afterwards whether this bill of material fulfills the following preconditions:

- available at the explosion date
- indicator 'Items relevant to production' not set to '-' in the usage (TA OS20) of the BOM
- appropriate status (see above)

If several valid alternative BOMs exist, the first one found is transferred into the production order.
If no valid alternative BOMs exist, a further BOM usage is determined using the Selection ID and the search is continued correspondingly.



Notes on the BOM selection via the validity date:
The lot size range of the bill of material is not checked for the 'Selection according to explosion date' against the order quantity.
The validity period of bills of material can only be maintained with the help of engineering change management.

Additional key words

Alternative, Bill of material, Production version, CO01, CO02
Production order, BOM selection, Master data, CS01, CS02, MRP, MD01,
MD02, explosion, 29603, 29602

Cause and prerequisites


What does not work:

1. A manual selection of the alternative BOM is not possible.
As of Release 3.0, a production version can be specified during order creation. If several alternative BOMs which are not differentiated by the lot size or the period of validity exist, the first valid bill of material found is transferred into the production order.

2. The routing selection and BOM selection are independent of each other, that is, the assignment of the BOM components to routing operations in routing maintenance is not taken as a basis for selecting the bill of material when creating the production order.
An assignment can only be carried out via the production version.
If the components of the bills of material found are not assigned to any operations of the routing found, they are assigned to the first operation.

Solution

Enhancement as of Release 3.0*:

Selection via the production version
Preconditions:
a) Value of the field 'AlternSelection' (MARC-ALTSL) in the planning view of the material master: '2' ('selection according to production version')
b) BOM application allows a corresponding selection:
Value 'X' in the field production versions (XFVRS, TA OS30)


Via the lot size and the explosion date, a production version from which the bill of material is then determined is calculated. If no valid production version is determined, the BOM selection is carried out as described under 'Selection via the lot size range'.

If the bill of material determined via the production version does not fit the lot size, explosion date, usage or status conditions, no bill of material is selected.


Furthermore, the possibility to import other master data into a production order already created exists as of Release 3.0*

1 comment: