1.2.11

SAP Note 21349 - SAPscript: Text key structure

Symptom:

How is the text key structured, or what is the meaning of the individual parts of the text key?

Solution
In the SAP System, texts are generally linked with other application objects defined here. One text, for example, describes a material in more detail while another text contains information on a customer. Such texts are only useful in connection with the object allocated to them as they refer to a certain material or customer, if we look at the above example. In addition to a contents-related relationship, these allocated objects also determine certain processing parameters which must be considered by the SAPscript processing functions. Thus, it depends, for example, on the object whether a text module is already written to the database online when saving or whether the storing occurs during the update task.
In the SAPscript environment, this classification ic called text object. The allocation of a text module to such a text object is a basic attribute of a text module. The possible text objects must be defined in table TTXOB.
One text is usually not enough for an application object. Instead, several texts are necessary to describe all required attributes of an application object with texts Possible texts which are needed to describe a customer are used as an example. There are, among other things,
,,,,- sales notes
,,,,- marketing notes
,,,,- accounting notes
,,,,- field sales notes
,,,,- ...
To distinguish all texts for an object from one another, another classification profile is necessary. In SAPscript terminology, this characteristic is called text ID. Thus, all possible texts for an application object are distinguished from one another with the text IDs.
Text IDs are described in table TTXID. A text ID is always subordinated to a text object.

Furthermore, each text module must also be identified by a name as there are different materials and customers with text. The text name can have a maximum of 70 characters. Its internal structuring is predefined by the application object and is not interpreted further by SAPscript. The text name generally corresponds to the key setup of the respective application object.

As a result, all parts of the text key are defined in addition to the client and the language indicator. Thus, the complete text key is:
,,,,client(3)
,,,,text object(10)
,,,,Textname(70)
,,,,text ID(4)
,,,,text language(1)

Examples:

Customer texts:

Obj Name Id S

KNA1 0000011111 0002 D accounting note customer 0000011111
KNA1 0000011111 0003 D marketing note customer 0000011111
KNA1 0000011111 0003 E marketing note customer 0000011111
KNA1 0000012345 0001 D sales note customer 0000012345
KNA1 0000012345 0002 D accounting note customer 0000012345


Material texts:

Obj Name Id S

MATERIAL FLOUR BEST D purchase order text material FLOUR
MATERIAL FLOUR IVER D internal note material FLOUR
MATERIAL SUGAR BEST D purchase order text material SUGAR
MATERIAL SUGAR BEST E purchase order text material SUGAR
MATERIAL SUGAR PRUE D inspection text material SUGAR

Additional key words

SAPscript, Text key

No comments:

Post a Comment