Show TOC

  Generation Not Permitted

Use

With this function you can prohibit the output on reports for identifiers and value assignment instances. To do this you must have assigned a status to the Generation Not Permitted indicator in Customizing. For the specification data that was selected on the basis of the generation variant, a status entry with the correct status must apply in the header data of the specification (see graphic).

For the comparison of the usages between generation variant/specification data record and specification data record/status entry you can use the Usage check function in the generation variant to specify the type of comparison. You can specify for usages with the same rating for the validity areas whether an intersection, subset, or superset should be present or whether they should agree for the comparison to apply.

As the default setting, the status In Process prevents the output of data on reports.

Prerequisites

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

In the header data for the specification on the Status tab page you have defined for which usage and in which validity period the status should apply.

Note Note

You can specify a default setting for the status entries in the IMG activity Specify Value Assignment Types using the value assignment type ESTST. The system takes the default setting into account if no status entry exists for a specification.

End of the note.

So that a status entry is taken into account for specification data, the Active indicator must be set in the usage of the specification data.

You have set the Status check indicator for the generation variant. This indicator controls whether the specification status and phrase status are to be checked when the report is generated.

Note Note

From the hit list, the following apply:

  • If you call the Report from Template function you can override the indicator.

  • If you call the Create Report function you cannot override the indicator. The system uses the settings for the generation variant.

End of the note.

Features

Check Process

If the Status check is set, the system runs the status check for the current key date. The following graphic shows the process:

Graphic step 1:

The first check is a preliminary check. The SAP system creates combinations from the leading validity area and the ratings with the highest priority. The system checks using a 1:1 comparison of the usages whether at least one status entry in the corresponding specification exists for these combinations for which generation is not permitted.

Note Note

In a 1:1 comparison, the system does not expand the validity areas into countries and regions unless you used the exclusion indicator when you defined the validity areas.

End of the note.

If a status entry prohibits generation, generation is canceled without any data being read. The report has the status Generation Failed .

If no status entry prohibits generation, the preliminary check was successful, that is data is read (graphic step 2).

Graphic step 2:

The system selects the specification data (for example, value assignment instances) by comparing the usages of the generation variant with the usages of the specification data. This takes into account the usage check specified for the generation variant.

Graphic step 3:

If data records were selected, a further check is made for each of these selected data records. Here the system compares the usages that led to the selection of a data record with the usages of the status entries. This again takes into account the usage check for the generation variant.

Result

Only if no status entry is found that prohibits generation can the data record be printed on the report.

If a status entry exists that prohibits generation, a message is printed on the report between two markers {** ... **}. The report then has the status Gen. with Warning (GW) after generation.

Example Example

For specification SUBS01, value assignment type State of matter, and value assignment instance 1:

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

For specification SUBS01, identification category NAM , identification type PROD, and language EN:

{**Status of identifier not permitted: SUBS01 NAM PROD [E]**}

End of the example.