SAP Reports / Programs | Financial Accounting(FI) SAP FI

RFTSTCP0 SAP ABAP Report - Change Default Values (Document Type/Posting Key)







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 Document type and Posting key default values for the accounting transactions (posting, clearing)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

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


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


Text pool values


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 = *


INCLUDES used within this REPORT RFTSTCP0

INCLUDE DFKB0CPD.
INCLUDE DFKB0CPF.


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:

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.



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