SAP Reports / Programs

RFTBBB01 SAP ABAP Report - Posting Journal







RFTBBB01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report keeps a log of flows which have been posted, flagged for reversal or reversed with the related document information...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 RFTBBB01 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

TBR0 - Posting journal


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 RFTBBB01. "Basic submit
SUBMIT RFTBBB01 AND RETURN. "Return to original report after report execution complete
SUBMIT RFTBBB01 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: S_DZTERM = D .
Selection Text: S_CPUDT = Document Entry Date
Selection Text: S_BUDAT = D .
Selection Text: S_BLDAT = D .
Selection Text: S_BKKLAS = D .
Selection Text: P_VAR = D .
Selection Text: P_PRVDN = Reversed
Selection Text: P_PREVE = Marked for Reversal
Selection Text: P_PDONE = Posted
Title: Posting Journal
Text Symbol: TTY = Transaction Type
Text Symbol: RLT = ID Number Text
Text Symbol: RKT = ID Number Text
Text Symbol: REV = Reversed
Text Symbol: PTY = Product Type
Text Symbol: PST = Posted
Text Symbol: PSS = Posting Status
Text Symbol: PRV = Reversal Flag
Text Symbol: PRD = Reversed
Text Symbol: OUT = Output Control
Text Symbol: MRK = Marked for Reversal
Text Symbol: KTS = Debit Acct
Text Symbol: KTH = Credit Act
Text Symbol: FTY = Flow Type
Text Symbol: FLW = Flows
Text Symbol: FHP = Flow
Text Symbol: FHA = Transaction
Text Symbol: CUS = User
Text Symbol: CTM = Time
Text Symbol: CRP = Report
Text Symbol: CPG = Page
Text Symbol: CDT = Date
Text Symbol: BLW = DocCurr.


INCLUDES used within this REPORT RFTBBB01

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:

FTR_GDPDU_ACTIONLOG CALL FUNCTION 'FTR_GDPDU_ACTIONLOG'.

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'SELECTION' EXCEPTIONS OTHERS = 0.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = alv_repid i_internal_tabname = alv_name_thead i_structure_name = 'VTBFHA' CHANGING ct_fieldcat = c_fieldcat EXCEPTIONS OTHERS = 1.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = alv_repid i_internal_tabname = alv_name_titem i_structure_name = 'VTBFHAPO' CHANGING ct_fieldcat = c_fieldcat EXCEPTIONS OTHERS = 1.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 1 IMPORTING et_events = t_event.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = ttop.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = ttop.

TB_DEAL_DISPLAY CALL FUNCTION 'TB_DEAL_DISPLAY' EXPORTING i_bukrs = thead-bukrs i_rfha = thead-rfha EXCEPTIONS OTHERS = 1.

TRCA_PAYMENTREQUEST_DISPLAY CALL FUNCTION 'TRCA_PAYMENTREQUEST_DISPLAY' EXPORTING keyno = titem-prkey * OBJ_TYPE = * OBJ_KEY = * OBJ_SYS = EXCEPTIONS not_found = 1 OTHERS = 2 .

TRCA_FI_DOCUMENT_DISPLAY CALL FUNCTION 'TRCA_FI_DOCUMENT_DISPLAY' EXPORTING companycode = titem-bukrs document = titem-belnr year = titem-gjahr * OBJ_TYPE = * OBJ_KEY = * OBJ_SYS = EXCEPTIONS not_found = 1 OTHERS = 2 .

FTR_SECURITY_GET_TEXT CALL FUNCTION 'FTR_SECURITY_GET_TEXT' EXPORTING pi_security_id = titem-ranl IMPORTING pe_security_descr_short = titem-ranl_ktx pe_security_descr_long = titem-ranl_ltx EXCEPTIONS * ENTRY_NOT_FOUND = 1 * SECURITY_ID_INITIAL = 2 OTHERS = 3.

FTR_DEPOT_GET_TEXT CALL FUNCTION 'FTR_DEPOT_GET_TEXT' EXPORTING pi_companycode = titem-bukrs pi_depot = titem-rldepo IMPORTING pe_depot_descr = titem-rldepo_ltx EXCEPTIONS * ENTRY_NOT_FOUND = 1 * DEPOT_ID_INITIAL = 2 OTHERS = 3.

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'OUTPUT' EXCEPTIONS OTHERS = 0.

FTR_TRANSACTIONTYPE_GET_TEXT CALL FUNCTION 'FTR_TRANSACTIONTYPE_GET_TEXT' EXPORTING i_sgsart = vtbfha-sgsart i_sfhaart = vtbfha-sfhaart IMPORTING e_xgsart = thead-xgsart e_xfhaart = thead-xfhaart.

FTR_SECURITY_GET_TEXT CALL FUNCTION 'FTR_SECURITY_GET_TEXT' EXPORTING pi_security_id = thead-ranl IMPORTING pe_security_descr_short = thead-ranl_ktx pe_security_descr_long = thead-ranl_ltx EXCEPTIONS * ENTRY_NOT_FOUND = 1 * SECURITY_ID_INITIAL = 2 OTHERS = 3.

FTR_DEPOT_GET_TEXT CALL FUNCTION 'FTR_DEPOT_GET_TEXT' EXPORTING pi_companycode = thead-bukrs pi_depot = thead-rldepo IMPORTING pe_depot_descr = thead-rldepo_ltx EXCEPTIONS * ENTRY_NOT_FOUND = 1 * DEPOT_ID_INITIAL = 2 OTHERS = 3.

TRCA_FI_DOCUMENT_GET_KEYS * CALL FUNCTION 'TRCA_FI_DOCUMENT_GET_KEYS' * EXPORTING * OBJ_TYPE = con_obj_type * OBJ_KEY = u_flow-awkey ** OBJ_SYS = * TABLES * C_TAB_DOCKEYS = l_tab_accdn ** EXCEPTIONS ** NOT_FOUND = 1 ** OTHERS = 2 * .

FWTR_AWKEY_GET_SECURITIES * CALL FUNCTION 'FWTR_AWKEY_GET_SECURITIES' * EXPORTING * I_FLOW = u_flow * IMPORTING ** E_AWKEY1 = ** E_AWKEY2 = * E_BELNRFI1 = l_hlp_belnr1 * E_BELNRFI2 = l_hlp_belnr2 * E_BUKRS = l_wrk_accdn-bukrs * E_GJAHR = l_wrk_accdn-gjahr * EXCEPTIONS * FAILED = 1 * OTHERS = 2 * .

REUSE_ALV_HIERSEQ_LIST_DISPLAY





CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = alv_repid is_layout = alv_layout it_fieldcat = alv_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = it_sort = alv_sort * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = alv_save is_variant = alv_variant it_events = alv_events * IT_EVENT_EXIT = i_tabname_header = alv_name_thead i_tabname_item = alv_name_titem * I_STRUCTURE_NAME_HEADER = * I_STRUCTURE_NAME_ITEM = is_keyinfo = alv_keyinfo * IS_PRINT = * IS_REPREP_ID = TABLES t_outtab_header = thead t_outtab_item = titem EXCEPTIONS OTHERS = 1.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = alv_save CHANGING cs_variant = h_variant EXCEPTIONS not_found = 1.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = variant i_tabname_header = alv_name_thead i_tabname_item = alv_name_titem * it_default_fieldcat = i_save = alv_save IMPORTING e_exit = h_exit es_variant = h_variant EXCEPTIONS not_found = 1.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = alv_save CHANGING cs_variant = h_variant.

FTR_GDPDU_CHECK_DATES CALL FUNCTION 'FTR_GDPDU_CHECK_DATES' EXPORTING im_rng_company_code = s_bukrs[] IMPORTING ex_flg_tax_auditor = g_flg_tax_auditor CHANGING ch_rng_date = s_budat[] EXCEPTIONS no_authority = 1 wrong_input = 2 OTHERS = 3.



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