RSTXCHKO is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report RSTXCHKO checks the consistency of a specified set of styles or layout sets in the text file...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RSTXCHKO into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: OBJECT = Object (FORM or STYLE)
Selection Text: N = Object Name (e.g. S*)
Selection Text: CLIENT = Client
Selection Text: CHK_LANG = Check Translations
Selection Text: ALLHEAD = List All Headers
Selection Text: ACT_ONLY = Active Objects Only
Title: Consistency Check for Styles and Forms in a Client
Text Symbol: 010 = Status:
Text Symbol: 011 = O.Language
Text Symbol: 012 = Available Languages:
Text Symbol: 001 = Parameter OBJECT can only be FORM or STYLE
Text Symbol: 002 = The client specified does not exist
Text Symbol: 003 = Parameter ACT ONLY can only be X or blank
Text Symbol: 004 = Error at function SELECT TXT
Text Symbol: 005 = No Objects Found
Text Symbol: 006 = Function READ TEXT returns ERROR
Text Symbol: 018 = OK
Text Symbol: 017 = Error, TXT section in original language missing
Text Symbol: 016 = Error, original language DEF <> language DEF
Text Symbol: 015 = Error, no TXT sections exist
Text Symbol: 014 = Error, DEF section does not exist
Text Symbol: 013 = Result:
Text Symbol: 019 = Error, Invalid Status
Text Symbol: 020 = Error, there are several DEF sections
Text Symbol: 021 = System:
Text Symbol: 022 = Client:
Text Symbol: 026 = ID:
Text Symbol: 027 = TXTLIN
Text Symbol: 009 = Name:
Text Symbol: 008 = List of Checked Styles:
Text Symbol: 007 = List of Checked Forms:
Text Symbol: 028 = Loading selected forms with function READ TEXT
Text Symbol: 045 = Partly O.K.
Text Symbol: 044 = Invalid:
Text Symbol: 043 = ERROR, not relevant for translation and several TXT sections
Text Symbol: 042 = Do not translate!
Text Symbol: 041 = OL
Text Symbol: 034 = FDATE
INCLUDE RSTXDATA.
No SAP DATABASE tables are accessed within this REPORT code!
SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING CLIENT = CLIENT OBJECT = OBJECT ID = '*' NAME = NAME LANGUAGE = '*' IMPORTING ENTRIES = NUMOBJ TABLES SELECTIONS = HEADERTAB.
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING CLIENT = CLIENT ID = HEADERTAB-TDID LANGUAGE = HEADERTAB-TDSPRAS NAME = HEADERTAB-TDNAME OBJECT = HEADERTAB-TDOBJECT IMPORTING HEADER = HEADER TABLES LINES = LINES EXCEPTIONS OTHERS = 1.
READ_FORM CALL FUNCTION 'READ_FORM' EXPORTING * CLIENT = SY-MANDT FORM = OBJ_TAB-NAME(16) LANGUAGE = OBJ_TAB-DEF_SPRAS * OLANGUAGE = ' ' * OSTATUS = ' ' * STATUS = ' ' * THROUGHCLIENT = ' ' READ_ONLY_HEADER = 'X' * THROUGHLANGUAGE = ' ' IMPORTING FORM_HEADER = FORMHEADER FOUND = FOUND HEADER = HEADER OLANGUAGE = OLANG * TABLES * FORM_LINES = * PAGES = * PAGE_WINDOWS = * PARAGRAPHS = * STRINGS = * TABS = * WINDOWS = .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSTXCHKO - Consistency Check for Styles and Forms in a Client RSTXCHKO - Consistency Check for Styles and Forms in a Client RSTXCDM1 - SAPscript: Sample Program for Form Printing RSTXCDM1 - SAPscript: Sample Program for Form Printing RSTXCBMP - documentation and ABAP source code RSTXBOOL - documentation and ABAP source code