SAP Function CHECK_DOCU_CONSISTENCY -

Parameter Reference Type Length Default Optional Text
CHECK_LEVEL I I 4 Check Levels 1 - 4
DISPL_STATUS C C 0 X Status Display 'Checking Document ..'
ID DOKHL-ID C 2 Document Class of Text
LINK_LIST C C 0 X
OBJECT DOKHL-OBJECT C 60 Documentation Object
TARGET_LANG SYST-LANGU C 1 Target Language

Parameter Reference Type Length Text
RETCODE I I 4 0 No Errors, Otherwise x Number of Errors

Parameter Reference Length Optional Text
ERRORLIST ERRORSLIST 151 List of Errors Found
LINKLIST ERRORSLIST 151 X
T_LINES TLINE 134 Text Lines That are Checked

Functionality
This function module checks whether long text is technically correct.It does this at up to four levels:
Syntax check: checks whether the format statements contained in thedocument are correct. Each initial format character <(><)> musthave an end format character <(><)> that follows. It also checkswhether the format statements used are allowed.
Extended syntax check: contains all the checks under 1. In addition, itchecks whether all the links in the document are functioning properly.In particular, it checks whether the 'linked' objects exist.
Level 3 contains the Includes check. This check takes place as for thelinks check at level 2 . However, it can take somewhat longer as thecheck algorithm must access table Dokil several times. How long ittakes depends on the number of Includes in the document and how manyare incorrect. Status display is prepared specially for check level 3.
Compare: Translation text must not differ from source language text bymore than 25% in volume. All the links in the source document must alsobe contained in the translation document. The error message can simplybe interpreted as a warning, as it is impossible for the two documentsto always be 100% identical. Glossary references can only be checked inthe languages in which a complete glossary must exist (currentlyEnglish and German).