SAP Reports / Programs | Clinical System | Clinical System(IS-HMED) SAP IS

RN1SAPSCRIPT SAP ABAP Report - Program for Technical Use of SAPScript Texts







RN1SAPSCRIPT 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 RN1SAPSCRIPT 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 RN1SAPSCRIPT. "Basic submit
SUBMIT RN1SAPSCRIPT AND RETURN. "Return to original report after report execution complete
SUBMIT RN1SAPSCRIPT 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: GR_ERDAT = Created On
Selection Text: GR_NAME = Name of Text
Title: Program for Technical Use of SAPScript Texts
Text Symbol: 001 = Sehr geehre Übersetzerin / Sehr geehrter Übersetzer!
Text Symbol: 002 = Dieser Report dient ausschließlich internen Zwecken und wird nie vom
Text Symbol: 003 = Kunden aufgerufen. Somit BRAUCHT ER NICHT ÜBERSETZT ZU WERDEN!!!
Text Symbol: 010 = Object
Text Symbol: 011 = ID
Text Symbol: 012 = Erstellungsuser
Text Symbol: 020 = Es dürfen nicht alle drei Parameter
Text Symbol: 021 = leer sein
Text Symbol: 022 = No data found
Text Symbol: Z01 = SAPScript-Kopfdaten
Text Symbol: Z02 = SAPScript Text lines


INCLUDES used within this REPORT RN1SAPSCRIPT

INCLUDE MNDATA00.
INCLUDE MNCOLOUR.


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:

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING ID = gt_stxh-tdid LANGUAGE = sy-langu NAME = gt_stxh-tdname OBJECT = gt_stxh-tdobject SAVEMODE_DIRECT = 'X' EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

COMMIT_TEXT call function 'COMMIT_TEXT'.

ISHMED_SHOW_TABLE_LINE CALL FUNCTION 'ISHMED_SHOW_TABLE_LINE' EXPORTING I_TABLINE = P_TABLINE I_TABNAME = P_TABNAME EXCEPTIONS OTHERS = 1.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING ID = gt_stxh-tdid LANGUAGE = sy-langu NAME = gt_stxh-tdname OBJECT = gt_stxh-tdobject TABLES LINES = lt_tline EXCEPTIONS OTHERS = 8.

INIT_TEXT CALL FUNCTION 'INIT_TEXT' EXPORTING ID = g_tdid LANGUAGE = sy-langu NAME = g_tdname OBJECT = g_tdobject IMPORTING HEADER = l_header TABLES LINES = lt_tline EXCEPTIONS ID = 1 LANGUAGE = 2 NAME = 3 OBJECT = 4 OTHERS = 5.

READ_TEXT caLL FUNCTION 'READ_TEXT' EXPORTING ID = p_tdid LANGUAGE = sy-langu NAME = p_tdname OBJECT = p_tdobject IMPORTING HEADER = l_header TABLES LINES = lt_tline EXCEPTIONS ID = 1 LANGUAGE = 2 NAME = 3 OBJECT = 4 OTHERS = 5.

EDIT_TEXT caLL FUNCTION 'EDIT_TEXT' EXPORTING HEADER = l_header TABLES LINES = lt_tline EXCEPTIONS ID = 1 LANGUAGE = 2 LINESIZE = 3 NAME = 4 OBJECT = 5 TEXTFORMAT = 6 COMMUNICATION = 7 OTHERS = 8.

SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING HEADER = l_header SAVEMODE_DIRECT = on TABLES LINES = lt_tline EXCEPTIONS ID = 1 LANGUAGE = 2 NAME = 3 OBJECT = 4 OTHERS = 5.

COMMIT_TEXT call function 'COMMIT_TEXT'.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING ID = g_tdid LANGUAGE = sy-langu NAME = g_tdname OBJECT = g_tdobject IMPORTING HEADER = l_thead TABLES LINES = lt_tline EXCEPTIONS ID = 1 LANGUAGE = 2 NAME = 3 OBJECT = 4 OTHERS = 5.

INIT_TEXT CALL FUNCTION 'INIT_TEXT' EXPORTING ID = g_tdid LANGUAGE = sy-langu NAME = g_tdname OBJECT = g_tdobject IMPORTING HEADER = l_header TABLES LINES = lt_tline EXCEPTIONS ID = 1 LANGUAGE = 2 NAME = 3 OBJECT = 4 OTHERS = 5.

SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING HEADER = l_header SAVEMODE_DIRECT = on TABLES LINES = lt_tline EXCEPTIONS OTHERS = 5.

COMMIT_TEXT call function 'COMMIT_TEXT'.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = l_REPID i_callback_pf_status_set = 'SET_PFSTATUS_CALLBACK' i_callback_user_command = 'USER_COMMAND_CALLBACK' IS_LAYOUT = G_LAYOUT IT_FIELDCAT = gt_fieldkat[] * IT_EXCLUDING = IT_SPECIAL_GROUPS = GT_SP_GROUPS[] IT_SORT = GT_SORT[] * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 I_DEFAULT = 'X' I_SAVE = 'A' * IS_VARIANT = G_VARIANT IT_EVENTS = GT_EVENTS[] * IT_EVENT_EXIT = * i_tabname_header = 'I_NWCH90' * i_tabname_item = 'I_NWCH91' I_TABNAME_HEADER = 'GT_STXH' I_TABNAME_ITEM = 'GT_TLINE' * i_structure_name_header = * I_STRUCTURE_NAME_ITEM = IS_KEYINFO = G_KEYINFO * IS_PRINT = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB_HEADER = gt_stxh T_OUTTAB_ITEM = gt_tline EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.



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