RFTSTCP0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program is used to change the
If you would like to execute this report or see the full code listing simply enter RFTSTCP0 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.
Title: Change Default Values (Document Type/Posting Key)
Text Symbol: 001 = Transaction Doc.type Posting key
Text Symbol: 002 = Exit
Text Symbol: 003 = Do you want to save
Text Symbol: 004 = the data first?
Text Symbol: 006 = Transaction
Text Symbol: 007 = Doc.Type
Text Symbol: 008 = Posting Key
Text Symbol: PT1 = *
Text Symbol: PT2 = *
INCLUDE DFKB0CPD.
INCLUDE DFKB0CPF.
No SAP DATABASE tables are accessed within this REPORT code!
FI_CUST_CLIENT_CHECK CALL FUNCTION 'FI_CUST_CLIENT_CHECK' EXCEPTIONS no_authority = 1 OTHERS = 2.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-002 textline1 = text-003 textline2 = text-004 IMPORTING answer = answer.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = lv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat it_events = lt_events is_print = ls_print TABLES t_outtab = it_outtab EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = gc_rftstcp0 " FAGL_S_RFTSTCP0_LIST CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = lt_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFTSTCP0 - Change Default Values (Document Type/Posting Key) RFTSTCP0 - Change Default Values (Document Type/Posting Key) RFTS8025 - documentation and ABAP source code RFTS8024 - documentation and ABAP source code RFTS8023 - documentation and ABAP source code RFTS8022 - documentation and ABAP source code