SAP Reports / Programs

RSTSF050 SAP ABAP Report - Create a Hypertext Book from the Release Notes







RSTSF050 is a standard Executable ABAP Report 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 RSTSF050 into the relevant SAP transactions such as SE38 or SE80


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 RSTSF050. "Basic submit
SUBMIT RSTSF050 AND RETURN. "Return to original report after report execution complete
SUBMIT RSTSF050 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: L_DOPP = Depth for double entries...
Selection Text: NAM = Name of the book..............
Selection Text: OHNE1 = Without topmost layer
Selection Text: REL = Release ......................
Selection Text: REP = Report line output.......
Selection Text: UEBERS = Translated Release Notes Only
Selection Text: DOP = Output of duplicate modules...
Selection Text: EIND = Each module exactly once
Selection Text: LAN = Language......................
Title: Create a Hypertext Book from the Release Notes
Text Symbol: 001 = General info
Text Symbol: 002 = Release Notes: Release


INCLUDES used within this REPORT RSTSF050

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:

DOCU_GET_SHORTTEXT CALL FUNCTION 'DOCU_GET_SHORTTEXT' EXPORTING ID = DOKIL-ID LANGU = DOKIL-LANGU OBJECT = DOKIL-OBJECT IMPORTING SHORTTXT = TITLE." TYP = 'E'

DOCU_GET * call function 'DOCU_GET' * exporting ** EXTEND_EXCEPT = E01 * id = dokil-id * langu = dokil-langu * object = dokil-object * typ = dokil-typ * version = dokil-version ** VERSION_ACTIVE_OR_LAST = E07 * importing * dokstate = dokhl-dokstate * doktitle = title0 * head = thead * tables * line = lines * exceptions * no_docu_on_screen = 01 * no_docu_self_def = 02 * no_docu_temp = 03 * ret_code = 04.

CONVERT_TEXT CALL FUNCTION 'CONVERT_TEXT' EXPORTING * codepage = cdp DIRECTION = 'EXPORT' FORMATWIDTH = 72 FORMAT_TYPE = 'ASCII' HEADER = THEAD SSHEET = SPACE WITH_TAB = SPACE WORD_LANGU = LAN IMPORTING NEWHEADER = THEAD TABLES FOREIGN = TL2 ITF_LINES = TL1.

DOCU_UPD CALL FUNCTION 'DOCU_UPD' EXPORTING ID = L_DOKIL-ID LANGU = L_DOKIL-LANGU OBJECT = L_DOKIL-OBJECT STATE = 'A' TYP = L_DOKIL-TYP TABLES LINE = LINES EXCEPTIONS RET_CODE = 01.

TOCX_SAVE_EDIT_VERSION CALL FUNCTION 'TOCX_SAVE_EDIT_VERSION' EXPORTING DSYAH_HEADER_DATA = L_DSYAH TABLES HIERARCHY = OUTL EXCEPTIONS HEADER_DATA_MISSING = 01.

TOCX_SAVE_DISPLAY_VERSION CALL FUNCTION 'TOCX_SAVE_DISPLAY_VERSION' EXPORTING OUTLINE = L_DSYAH-OUTLINE VIEWNAME = 'STANDARD' TABLES HIERARCHY = OUTL EXCEPTIONS EXCEEDING_LEVELS = 01 MISSING_PARAMETERS = 02.



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 RSTSF050 or its description.