Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

Mickael QUESNOT © https://s4hclub.

com/

Dummy/phantom texts or unclear text origin in SAP

When you create a document (for example, a sales order), texts (header or/and item) with an
unclear origin are determined. Furthermore, the text determination analysis cannot explain the
origin of the text.
After you save the document, the incorrect texts sometimes no longer exist in the document.

The problem is most likely due to the dummy texts in the system.

The reason for creating the incorrect texts (dummy texts) is as yet unclear.
However, they are almost certainly generated as a result of a modification.

Solution
Delete the dummy texts
To correct the text tables or delete the dummy texts, you can execute the RVTEXTE report with
action 'X'.
For more information, see the documentation for the RVTEXTE report in SAP Note 963314.

Background information

Dummy texts are texts that were incorrectly written to the database with a name temporarily
assigned by the application - without the text name being correctly renamed beforehand.
The "administrative data" of texts is stored in the STXH table. The MANDT, TDOBJECT, TDNAME,
TDID and TDSPRAS fields are key fields. The TDNAME field (name) is filled with the key of the
application object.

Sample sales order


The text name for header texts in sales orders is the ten-digit document number, while the text
name for order items is the ten-digit document number followed by the six-digit item number.
When you create a sales order and before you save, the document number is not yet known for
internal number assignment.
Therefore, in this case, the system internally sets the document number to 'XXXXXXXXXX' in the text
name.
When you save the document (after the number assignment), the texts are renamed with the
correct name and then saved or posted.

If texts are now saved or posted as a result of a modification before the renaming, dummy texts that
have names that still contain the temporary document number are created.
For example, this may be caused by calling the 'SD_COMMIT_TEXT' or 'COMMIT_TEXT' function
module with incorrect parameter settings in a user exit.

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
1
Mickael QUESNOT © https://s4hclub.com/

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
2
Mickael QUESNOT © https://s4hclub.com/

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
3
Mickael QUESNOT © https://s4hclub.com/

We recommend to always use the latest version of the report.


1. Selection parameter of the report
The following selection parameters/indicators are available:
1. Text object
2. Text types
3. Text Language
4. Text Name
5. User
6. Commit after n records
7. Sort Customizing Tables
8. Action
(9. Test run Action 'Z' >>>>> obsolete. (See SAP Note 964198).
2. Action parameters of the report
The action parameters partially differ (Action Y/G) depending on the release status.
Release <= 4.6C

A Display marked text (only header)


D Select marked text (header and lines)
E List text without doc. ref. (only in BATCH)
F Delete texts w/o doc. reference (long runtime)
X Delete all Dummy Texts
Y Correction of text determination procedures (TTXER) and the access sequences (TTXZI) in all
clients

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
4
Mickael QUESNOT © https://s4hclub.com/

Release >= 4.70

A Display marked text (only header)


D Select marked text (header and lines)
E List text without doc. ref. (only in BATCH)
F Delete texts w/o doc. reference (long runtime)
G Correct data inconsistency in text Customizing
X Delete all Dummy Texts
(Z Restore access sequences >>>>> obsolete. See SAP Note 964198).
3. Meaning and function of the action parameters
o A Display of the text headers (see the STXH table) using the selection criteria "Text
object", "Text types", "Text language", "Text name" and "User".
The other selection parameters/indicators are ignored.

o D Delete the complete texts (headers and lines; see the tables STXH and STXL) using
the selection criteria "Text object", "Text types", "Text language", "Text name",
"User" and "Commit after n records".
The other indicators are ignored.
A confirmation prompt occurs in the dialog before deleting the selected texts.

o E E The system displays all the texts that do not contain a reference to current
documents (only background processing possible). In this case, the selection
criteria/indicators are ignored.
For large data volumes, this action may require long runtimes.
Data inconsistencies are the cause of such texts.

o F Deleting the texts without document reference. In this case, the selection
criteria/indicators are ignored.
A confirmation prompt occurs in the dialog before deleting the selected texts.
For large data volumes, this action may require long runtimes.

o X Deleting all dummy texts. In this case, the selection parameters/indicators are
ignored. A confirmation prompt occurs in the dialog before deleting the selected
texts.
Consultation note 966625 contains further information about dummy texts.
The following text entries (see text headers) are removed:

Text object (TDOBJECT) Text name (TDNAME)

VBBK X*

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
5
Mickael QUESNOT © https://s4hclub.com/

VBBK $*

VBBP X*

VBBP $*

VBKA X*

VBKA $*

VTTK $*

WBRK $*

WBRP....................$*

WBHK $*

WBHI $*

KNA1 INTERN*

KNB1 INTERN*

KNVK INTERN*

KNVV INTERN*

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
6
Mickael QUESNOT © https://s4hclub.com/

Recommendation Before deleting these texts, you should display the text headers with
the action parameter "A" and check them again, if required.
You can display the texts when executing an individual text of the function module READ_TEXT
(transaction SE37).

Caution Before you execute action "X", you must check if the text names listed in this table are not
used as external (document) numbers (see background information in SAP Note 966625).

o Y Cross-client correction of text Customizing in Release <= 4.6C.


Entries of the table are deleted or corrected.
. TTXER (Text processing: Text ID groups) and
. TTXZI (Text processing: Copy control access sequences).
The selection criterion/indicators are ignored - with the exception of the indicator
"Sort Customizing Tables". If the indicator "Sort Customizing Tables" is set, the
TTXER entries for a text determination procedure are additionally sorted by text
type, the TTXZI entries for an access sequence are additionally sorted by sequence
number.

- TTXER:
Entries with multiple assignment of a text type (TDID) for a text determination procedure
(TXTGR) are deleted.
Entries with the initial text object (TDOBJECT) are deleted.
Entries with the initial text type (TDID) are deleted.
Entries with the initial sequence number (LFDTX) are corrected.
Entries of mandatory texts are corrected regarding the error group/incompletion
procedure (FEHGR).
- TTXZI:
Identical entries that only differ in the sequence number (TXLFN) are deleted.
Entries with the initial sequence number (TXLFN) are corrected.
Inconsistent entries regarding the partner role (PARVW_VON) are corrected.

o G Cross-client correction of text Customizing in Release >= 4.70.


Entries of the table TTXERN for text objects (TDOBJECT) are deleted.

KNA1, KNVK, KNVV, KONA, KONP, VBBK, VBBP, VBKA, VTTK, AKKP, EMBK, WBRK, WBRP,
WBHK, and WBHI, and
- With the initial text group object (TXTOB), or
- With the initial text type (TDID), or
- With the initial sequence number (LFDTX).
The selection criterion/indicators are ignored - also the indicator "Sort Customizing
Tables".

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
7
Mickael QUESNOT © https://s4hclub.com/

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
8
Mickael QUESNOT © https://s4hclub.com/

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
9
Mickael QUESNOT © https://s4hclub.com/

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
10
Mickael QUESNOT © https://s4hclub.com/

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
11
Mickael QUESNOT © https://s4hclub.com/

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
12
Mickael QUESNOT © https://s4hclub.com/

Result

Mickaël QUESNOT © - Copyright

https://www.linkedin.com/in/mickaelquesnot/
13

You might also like