You can use the Language Comparison component to compare the language texts of the different SAP Query objects. The queries and the InfoSets, and also the user groups, count as these objects. Texts are contained in all of these objects. In principle, the language comparison runs in the same way for all objects. This section therefore describes the general principles.
Call the componentwhere you have to define from which source language to which target language the comparison is to take place. The source language will normally be the language in which the object was created or last changed. In this way, you ensure that the texts in the source language are always the latest versions.
You specify the source and target languages with identifiers, for example 'DE' for German and 'EN' for English. These identifiers must be different and supported by the system. For a list of supported languages, display the possible entries for the language fields.
You then specify whether you want to compare the texts of a query, an InfoSet or a user group. To do this, select the appropriate radio button on the initial screen. With queries and InfoSets, you must also specify which query or InfoSet area you want to process.
You can display a list of queries or InfoSets using the input help for the individual input fields. It is possible to select a query, or an InfoSet, from this list.
As an example for this section, we can use the query G6 of the user group FB. You can start the language comparison by choosing Change. A screen containing a list of the texts used in this query appears.
An overview screen then appears, which lists (in the Subobjects column) all parts of the query definition where texts are used. The subobjects are classified in text groups and even into subgroups if there are several subobjects of the same type. The Description column contains a more precise explanation of each subobject.
The first column on the overview screen indicates whether the texts of a subobject have been compared. If this column is flagged, compared texts exist. Therefore, you can easily tell which texts remain to be compared.
A text is considered as compared if the Language Comparison component has been used to generate the source and target languages and if no changes have been made to any of the texts by another SAP Query component.
You can also restrict the overview screen to the subobjects that have not yet been compared. To do this, select Only Differences. The overview now only displays those subobjects whose texts still must be compared.
If the Only Differences function concludes with the message that there are no more differences, all the texts have been compared. You can therefore use this function to check whether a language comparison is necessary at all.
If you want to return to the complete overview screen containing all subobjects, choose All Texts.
To compare the texts of a subobject, position the cursor on the subobject and select Choose. A window containing all the texts of the selected subobject appears.
The window contains details about the subobject and also the individual texts. Each text exists in two versions, the source language version and the target language version. Since the text fields are ready for input, you can make any changes you like. If the text version in one language is missing, the input field is blank.
If two texts have not been compared, one of the texts is flagged. This is either the text which is still missing or the "older" text. It is therefore easy to tell which text needs to be changed within the context of the language comparison.
Now you can either change the texts found in the system or create new ones. You can change or expand either one text version or both existing text versions.
You cannot delete texts using the Language Comparison component. If you attempt to do this by overwriting a text with blanks, the system re-inserts the text you have just overwritten.
To return to the overview screen, select Close. When you have compared all the texts of the subobject, it is flagged as compared. However, you can still call the previous or next subobject in the list using the Previous Subobject and Next Subobject functions.
Before you return to the initial screen, you must save any changes (Save function). You receive a warning from the system if you have forgotten to save any changes. You can then save these changes.