SAP Reports / Programs

RSTXCPFS SAP ABAP Report - Copy Program for SAPscript Forms/Styles where Transl. is Applic.







RSTXCPFS 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 RSTXCPFS 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 RSTXCPFS. "Basic submit
SUBMIT RSTXCPFS AND RETURN. "Return to original report after report execution complete
SUBMIT RSTXCPFS 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: ADDSPRAS = Additional Language
Selection Text: NAME = Object Name
Selection Text: PROTOKOL = Display Log
Selection Text: QUELMAND = Source Client
Selection Text: SCOBJECT = SAPscript Object (FORM, STYL)
Title: Copy Program for SAPscript Forms/Styles where Transl. is Applic.


INCLUDES used within this REPORT RSTXCPFS

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:

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING CLIENT = QUELMAND DATABASE_ONLY = 'X' ID = '*' LANGUAGE = '*' NAME = TEXTNAME OBJECT = TEXTOBJECT IMPORTING ENTRIES = ENTRIES TABLES SELECTIONS = SRC_HEADER EXCEPTIONS OTHERS = 01.

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' FORM = '*' WRITE = SPACE.



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