Generation Not Permitted

Use

You use this function to prohibit output to reports for identifiers and value assignment instances. To do this, you have to assign the Generation Not Permitted indicator to a status in Customizing. For specification data that has been selected on the basis of the generation variant, a status entry must exist with the corresponding status in the header data of the specification (see graphic).

For usage comparisons between the generation variant/specification data record and specification data record/status entry, you can use the Usage check function for the generation variant to define the nature of the comparison. You can define whether an intersection, subset, superset, or match is to be present for usages with the same rating for the comparison to apply for the validity areas.

By default, the status In Process, for example, prohibits data output to reports.

Prerequisites

You have assigned the Generation Not Permitted indicator to the corresponding status under Specify Statuses in Customizing for Basic Data and Tools.

On the Status tab page in the header data of the specification, you have defined the usage and validity period for the status.

Note Note

You can use value assignment type ESTST to define a default setting for the status entries in IMG activity Specify Value Assignment Types. The system will take this default setting into account when there is no status entry for a specification.

End of the note.

To ensure that a status entry is taken into account for specification data, the Active indicator must be set when using specification data.

You have set the Status Check indicator for the generation variant. This indicator controls whether the specification and phrase status is to be checked during report generation.

Note Note

If you call

  • Report from Template from the hit list, you can override the indicator

  • Create Report from the hit list, you cannot override the indicator. The system uses the generation variant setting.

End of the note.

Features

Checking Process

If the Status Check indicator is set, the system performs the status check for the current key date. The process is illustrated in the following graphic:

Graphic step 1:

The preliminary check is performed first. The SAP system generates combinations of the leading validity area and the ratings of the highest priority. The system runs a 1:1 comparison check of usages for the associated specification to determine whether at least one status entry exists in these combinations for which generation is not permitted.

Note Note

During the 1:1 comparison, the system does not break the validity areas down into countries and regions unless you used the exclude indicator in the definition of validity areas.

End of the note.

If a status entry does not permit generation, generation will be canceled without the data being read. The report contains the status Generation Failed.

If generation is not prevented by any of the status entries, the preliminary check is successful and the data is read (graphic step 2).

Graphic step 2:

The system selects the specification data (value assignment instances for example) by comparing the usages of the generation variant with the usages of the specification data. The usage check defined for the generation variant is taken into account for this.

Graphic step 3:

If data records are selected, the next check is made for each of these selected data records. When doing this, the system checks the usages that resulted in the data record being selected with the usages of the status entries. The usage check of the generation variant is again taken into account here.

Result

Only if no status entry is found that forbids generation can the data record be output to the report.

If a status entry is found that forbids generation, a message will be output on the report within a marking {** ... **}. After generation, the report also contains the status Generated with Warning.

Example Example

For specification STOFF01, value assignment type State of Matter and value assignment instance 1:

{**Status of value assignment not permitted: Stoff01 SAP_EHS_1013_001 1**}

For specification STOFF01, identification category NAM, identification type PROD, and language DE:

{**Status of identifier not permitted: STOFF01, NAM, PROD [D]**}

End of the example.