SAP Reports / Programs | Basis Components | Basis Components | Implementation Guide(BC-CUS-TOL-IMG) SAP BC

RSTGRE13 SAP ABAP dialog Program - Test: Entering, changing and indexing texts







RSTGRE13 is a standard Module pool for a dialog screen ABAP Program available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RSTGRE13 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

SO81 - SAPfind: Free Text Indexing (Test)


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RSTGRE13. "Basic submit
SUBMIT RSTGRE13 AND RETURN. "Return to original report after report execution complete
SUBMIT RSTGRE13 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Test: Entering, changing and indexing texts
Text Symbol: 001 = Number of Words Edited:
Text Symbol: 002 = Number of Attributes Edited:
Text Symbol: 003 = Return Code:


INCLUDES used within this REPORT RSTGRE13

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING OBJECT = OBJECT ID = ID NAME = NAME LANGUAGE = LANGUAGE IMPORTING HEADER = TEXTKOPF TABLES LINES = TEXTZEILEN EXCEPTIONS OBJECT = 1 ID = 2 LANGUAGE = 3 NAME = 4 NOT_FOUND = 6 OTHERS = 5.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING OBJECT = OBJECT ID = ID NAME = NAME LANGUAGE = LANGUAGE IMPORTING HEADER = TEXTKOPFALT TABLES LINES = ALTZEILEN EXCEPTIONS NOT_FOUND = 1.

INIT_TEXT CALL FUNCTION 'INIT_TEXT' EXPORTING OBJECT = OBJECT ID = ID NAME = NAME LANGUAGE = LANGUAGE IMPORTING HEADER = TEXTKOPF TABLES LINES = TEXTZEILEN.

EDIT_TEXT CALL FUNCTION 'EDIT_TEXT' EXPORTING HEADER = TEXTKOPF IMPORTING NEWHEADER = TEXTKOPF TABLES LINES = TEXTZEILEN EXCEPTIONS OBJECT = 1 ID = 2 LANGUAGE = 3 NAME = 4.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING OBJECT = OBJECT ID = ID NAME = NAME LANGUAGE = LANGUAGE IMPORTING HEADER = TEXTKOPFALT TABLES LINES = ALTZEILEN EXCEPTIONS OBJECT = 1 ID = 2 LANGUAGE = 3 NAME = 4 NOT_FOUND = 6 OTHERS = 5.

EDIT_TEXT CALL FUNCTION 'EDIT_TEXT' EXPORTING HEADER = TEXTKOPFALT IMPORTING NEWHEADER = TEXTKOPF TABLES LINES = TEXTZEILEN EXCEPTIONS OBJECT = 1 ID = 2 LANGUAGE = 3 NAME = 4.

GET_ATTRIBUTES_TEST CALL FUNCTION 'GET_ATTRIBUTES_TEST' EXPORTING ID = ID LANGUAGE = LANGUAGE MANDANT = MANDANT NAME = NAME OBJECT = OBJECT IMPORTING TITLE_OF_DOCUMENT = TITLE TABLES ATTRIBUTES = ATTRINEW EXCEPTIONS UNKNOWN_DOCUMENT = 1.

GET_ATTRIBUTES_TEST CALL FUNCTION 'GET_ATTRIBUTES_TEST' EXPORTING ID = ID LANGUAGE = LANGUAGE MANDANT = MANDANT NAME = NAME OBJECT = OBJECT IMPORTING TITLE_OF_DOCUMENT = TITLE TABLES ATTRIBUTES = ATTRIOLD EXCEPTIONS UNKNOWN_DOCUMENT = 1.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING OBJECT = OBJECT ID = ID NAME = NAME LANGUAGE = LANGUAGE IMPORTING HEADER = TEXTKOPFALT TABLES LINES = ALTZEILEN EXCEPTIONS OBJECT = 1 ID = 2 LANGUAGE = 3 NAME = 4 NOT_FOUND = 6 OTHERS = 5.

DOCUMENT_DELETE_INDEX_IN_UPD CALL FUNCTION 'DOCUMENT_DELETE_INDEX_IN_UPD' EXPORTING CLASS = TFIC-CLASS KEY_OF_DOCUMENT = TEXTKEY LANGUAGE = LANGUAGE IMPORTING NUMBER_OF_ATTRIBUTES = NOA NUMBER_OF_WORDS = NOW TABLES ATTRIBUTES_OLD = ATTRIOLD TEXT_OLD = ALTZEILEN EXCEPTIONS ATTRIBUTE_INVALID = 1 DOCUMENT_NOT_REGISTERED = 2 INTERN_ERROR = 3 TEXT_AND_ATTRIBUTES_MISSING = 4.

DOCUMENT_DELETE_INDEX CALL FUNCTION 'DOCUMENT_DELETE_INDEX' EXPORTING CLASS = TFIC-CLASS KEY_OF_DOCUMENT = TEXTKEY LANGUAGE = LANGUAGE IMPORTING NUMBER_OF_ATTRIBUTES = NOA NUMBER_OF_WORDS = NOW TABLES ATTRIBUTES_OLD = ATTRIOLD TEXT_OLD = ALTZEILEN EXCEPTIONS ATTRIBUTE_INVALID = 1 DOCUMENT_NOT_REGISTERED = 2 INTERN_ERROR = 3 TEXT_AND_ATTRIBUTES_MISSING = 4.

DOCUMENT_MAINTAIN_INDEX_IN_UPD CALL FUNCTION 'DOCUMENT_MAINTAIN_INDEX_IN_UPD' EXPORTING CLASS = TFIC-CLASS KEY_OF_DOCUMENT = TEXTKEY LANGUAGE = LANGUAGE TITLE_OF_DOCUMENT = TITLE IMPORTING NUMBER_OF_ATTRIBUTES = NOA NUMBER_OF_WORDS = NOW TABLES ATTRIBUTES_NEW = ATTRINEW ATTRIBUTES_OLD = ATTRIOLD TEXT_NEW = TEXTZEILEN TEXT_OLD = ALTZEILEN EXCEPTIONS ATTRIBUTE_INVALID = 1 ATTRIBUTES_NEW_MISSING = 2 CLASS_INVALID = 3 DOCUMENT_ALREADY_REGISTERED = 4 DOCUMENT_NOT_REGISTERED = 5 INTERN_ERROR = 6 TEXT_NEW_MISSING = 7.

DOCUMENT_MAINTAIN_INDEX CALL FUNCTION 'DOCUMENT_MAINTAIN_INDEX' EXPORTING CLASS = TFIC-CLASS KEY_OF_DOCUMENT = TEXTKEY LANGUAGE = LANGUAGE TITLE_OF_DOCUMENT = TITLE IMPORTING NUMBER_OF_ATTRIBUTES = NOA NUMBER_OF_WORDS = NOW TABLES ATTRIBUTES_NEW = ATTRINEW ATTRIBUTES_OLD = ATTRIOLD TEXT_NEW = TEXTZEILEN TEXT_OLD = ALTZEILEN EXCEPTIONS ATTRIBUTE_INVALID = 1 ATTRIBUTES_NEW_MISSING = 2 CLASS_INVALID = 3 DOCUMENT_ALREADY_REGISTERED = 4 DOCUMENT_NOT_REGISTERED = 5 INTERN_ERROR = 6 TEXT_NEW_MISSING = 7.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RSTGRE13 or its description.