RSTXSCPY 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 RSTXSCPY 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: ORIGINAL = Original Language Only
Selection Text: PROTOKOL = Flow Trace
Selection Text: QUELMAND = Source client
Selection Text: STILNAME = Style Name
Selection Text: ZIELSTYL = Target style
Title: Copy Styles Between Clients
Text Symbol: 014 = Overwrite style &
Text Symbol: 015 = Overwrite in target client = & ?
Text Symbol: 016 = Copy styles
Text Symbol: 017 = Styles &
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING CLIENT = QUELMAND DATABASE_ONLY = 'X' ID = '*' LANGUAGE = '*' NAME = TEXTNAME OBJECT = 'STYLE' IMPORTING ENTRIES = ENTRIES TABLES SELECTIONS = SRC_HEADER EXCEPTIONS OTHERS = 01.
SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING CLIENT = SY-MANDT DATABASE_ONLY = 'X' ID = '*' LANGUAGE = '*' NAME = ZIELSTILNAME OBJECT = 'STYLE' IMPORTING ENTRIES = ENTRIES EXCEPTIONS OTHERS = 01.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = 'J' TEXTLINE1 = LINE1 TEXTLINE2 = LINE2 TITEL = TEXT-016 IMPORTING ANSWER = ANSWER.
DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING CLIENT = SY-MANDT ID = 'TXT' LANGUAGE = '*' NAME = L_STYLETAB-TDNAME OBJECT = 'STYLE' EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING CLIENT = SY-MANDT ID = 'DEF' LANGUAGE = '*' NAME = L_STYLETAB-TDNAME OBJECT = 'STYLE' EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
SAPSCRIPT_ORDER_CHECK CALL FUNCTION 'SAPSCRIPT_ORDER_CHECK' EXPORTING OBJECTTYPE = 'STYL' STYLE = LSTYLE IMPORTING ORDER = LORDER VALUE_TADIR = LTADIR EXCEPTIONS INVALID_INPUT = 1 OBJECT_LOCKED = 2 OBJECT_NOT_AVAILABLE = 3 OTHERS = 4.
SAPSCRIPT_ORDER_INSERT CALL FUNCTION 'SAPSCRIPT_ORDER_INSERT' EXPORTING OBJECTTYPE = 'STYL' STYLE = LSTYLE masterlang = src_header-tdospras "B20K8A08SO IMPORTING VALUE_TADIR = LTADIR CHANGING ORDER = LORDER EXCEPTIONS INVALID_INPUT = 1 ORDER_CANCELED = 2 OTHERS = 3.
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING CLIENT = QUELMAND ID = SRC_HEADER-TDID LANGUAGE = SRC_HEADER-TDSPRAS NAME = SRC_HEADER-TDNAME OBJECT = SRC_HEADER-TDOBJECT IMPORTING HEADER = HEADER TABLES LINES = LINES EXCEPTIONS ID = 01 LANGUAGE = 02 NAME = 03 NOT_FOUND = 04 OBJECT = 05 REFERENCE_CHECK = 06.
SAPSCRIPT_CHANGE_OLANGUAGE CALL FUNCTION 'SAPSCRIPT_CHANGE_OLANGUAGE' EXPORTING FORCED = 'X' NAME = HEADER-TDNAME OBJECT = HEADER-TDOBJECT OLANGUAGE = HEADER-TDSPRAS EXCEPTIONS OTHERS = 01.
SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING CLIENT = SY-MANDT HEADER = HEADER SAVEMODE_DIRECT = 'X' IMPORTING NEWHEADER = HEADER TABLES LINES = LINES EXCEPTIONS OTHERS = 1.
SAPSCRIPT_DELETE_LOAD CALL FUNCTION 'SAPSCRIPT_DELETE_LOAD' EXPORTING CLIENT = SY-MANDT DELETE = 'X' STYLE = '*' WRITE = SPACE.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSTXSCPY - Copy Styles Between Clients RSTXSCPY - Copy Styles Between Clients RSTXSCNL - Search for destroyed texts in clustered table STXL RSTXSCNL - Search for destroyed texts in clustered table STXL RSTXSCN3 - Search for destroyed texts in clustered table STXL RSTXSCN3 - Search for destroyed texts in clustered table STXL