Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Please regard the following general remarks, concerning the creation of entries in Values to be set.

View Control

Dependency

Material master views are always defined by all fields in a dependency.
This is especially important regarding option „Only create new views…". If a view does not yet exist for a field, the view control will be running completely. This may cause a value setting in another view, based on this dependency, which is still an initial value (already existing values will not be overwritten).

...

But because normally only one or some views shall be maintained, it is recommended to use the view control of ProNovia SAP PLM MaterialMasterSupport. Please refer to View Control for the definition and field View Control under Value Group / Values to be Set for more details.

PSTAT / Intersection

If the PSTAT field exists in the values, its value is also used for the definition of the views. This is particularly important when working with REFMAT or DBVAL and * as the field name and thus treating all fields of a table (see Fieldnames with wild card *). If this field exists, the views are determined as follows:

  • Views to be treated = intersection from ProMaterialData view control (or from T130F) with the values from field PSTAT.

Example:

  • In the ProMaterialData view control it is defined that the views G (basic data), K (classification), Q (quality assurance), A (work preparation) and D (disposition) are maintained.

  • A plant is created with the data from a template material with the special value DBVAL and as field name *.

  • In the plant of the template material, the views Q, A, D, V, L and S are maintained.

  • For the plant to be created, the intersection of GKQAD from the view control and QADVLS from the template is used => ADQ.

...

For example if it is required to create and maintain more than one plant view, the field "plant" with all fields to be set must have the same grouping. See also Groups and Run Numbers.

SAP material master control will only create views, if at least one of the fields which belong together is assigned to a view.

Multiple values for same field in a value group

In a value group it is possible to define multiple records for the same fields with different values. In general following rule applies:

...

  • <NEWVALUE>

  • <DBVAL(…)>

  • <MVIEW(…)>

And perhaps one literal value

The behaviour of this listed special values is this, that the value will be ignored (not set), if no value can be determined, which is the case when the material view or the data record not exists. This way a selection order can be defined, optionally with a default value.

Example:

...

This example is used when creating a new plant view and will set the procurement type. The records will be interpreted in following way:

...

To maintain the material master data ProNovia SAP PLM MaterialMasterSupport calls the function module MATERIAL_MAINTAIN_DARK at least once. This may cause the creation and modification of a data set.

General procedure:

  • In general two runs are performed: In the first run, views will only be created, in the second run, views will only be modified.

  • During a run, each control group and dependency will be treated separately. As a consequence, for each block it will be checked individually, whether the data (view) is already existing (MM02) or not (MM01). Therefore the actual data in the database are checked.

  • If it is necessary to create a view for such a block, containing values from existing views, the following procedure will be followed: During the first run the data to create the missing views are handed over to the material master maintenance and during the second run the actual data will be maintained. This is necessary, as data from existing views which have to be maintained will be eventually ignored while creating new views.

  • Within one block (control group and dependencies) it is recommended to keep all data from a table with one group (Values to be set). This is required, because within a block, data will not be updated and values, which have been set in a group, can eventually be initialized by another group, in case previous set fields do not longer exist and the same views are maintained.

...

  • Data values: valid format JJJJMMDD, e.g. 20041201 for December, 1st, 2004.

  • Numeric value (packed and numeric String):

    • Left-aligned, no zero ahead.

    • Decimal separator: dot ( . ).

    • Don't use an apostrophe ( ´ ) or other symbols to separate thousands.

    • Put the minus sign ("-") always before the number.

  • For selection fields (❎ ) use „X" or leave blank.

  • More information under Tips, Filter definition concerning the interaction between ProMaterialData and .

...