RFTBBB00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program generates documents in financial accounting for the flows due to be posted...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 RFTBBB00 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
TBB1 - Execute postings
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: S_WZBETR = Currency
Selection Text: S_SGSART = D .
Selection Text: S_SFHAAR = D .
Selection Text: S_RPORTB = D .
Selection Text: S_RLDEPO = D .
Selection Text: S_RFHA = D .
Selection Text: S_RANL = D .
Selection Text: S_POSACC = D .
Selection Text: S_KONTRH = D .
Selection Text: S_BUKRS = D .
Selection Text: S_BKKLAS = Flow Classification
Selection Text: P_WZBETR = Only Post Flow Accord. to Crcy
Selection Text: P_TX = D .
Selection Text: P_TS = D .
Selection Text: P_TM = D .
Selection Text: P_TI = D .
Selection Text: P_TEST = D .
Selection Text: P_RELEAS = D .
Selection Text: P_PACK = Process Bus. Transactions in P
Selection Text: P_MONAT = D .
Selection Text: P_DZTERM = Up to and Including Due Date
Selection Text: P_DBUCHU = Up to and Including Post. Date
Selection Text: P_BUDAT = D .
Selection Text: P_BLDAT = D .
Title: Treasury: Post Flows
Text Symbol: XDA = (For example, to separate accrual/deferral and reset transaction)
Text Symbol: XBU = Instead of Due Date
Text Symbol: XBL = Instead of Curr. Date
Text Symbol: T02 = Flow
Text Symbol: T01 = Transaction
Text Symbol: C01 = General Selections
Text Symbol: CTR = Posting Control
Text Symbol: DAD = Up to and Incl. Posting Date
Text Symbol: DBL = Document Date
Text Symbol: DBU = Posting Date
Text Symbol: HB1 = Posting Log
Text Symbol: HB3 = Posting Log: Test Run
Text Symbol: HF1 = Posting Log: Messages
INCLUDE RFTBBB00_CD1.
INCLUDE RFTBBB00_F01.
INCLUDE RFTBBB00_CI1.
No SAP DATABASE tables are accessed within this REPORT code!
TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'SELECTION' EXCEPTIONS OTHERS = 0.
TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'WORK' EXCEPTIONS OTHERS = 0.
TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'OUTPUT' EXCEPTIONS OTHERS = 0.
TRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'TRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = i_fha-bukrs IMPORTING currency = g_wrk_ccode-currency chart_accounts = g_wrk_ccode-chrt_accts EXCEPTIONS not_found = 1 OTHERS = 2.
ENQUEUE_E_VTBFHA CALL FUNCTION 'ENQUEUE_E_VTBFHA' EXPORTING mode_vtbfha = l_flg_enq_mode bukrs = i_fha-bukrs rfha = i_fha-rfha EXCEPTIONS foreign_lock = 01 system_failure = 02.
ENQUEUE_E_VTBFHA CALL FUNCTION 'ENQUEUE_E_VTBFHA' EXPORTING bukrs = i_fha-bukrs rfha = i_fha-rfha EXCEPTIONS foreign_lock = 01 system_failure = 02.
TB_POSTING_MESSAGE_STORE CALL FUNCTION 'TB_POSTING_MESSAGE_STORE' EXPORTING deal = l_vtbfha flg_deal = xtrue msgid = 'T0' msgno = '901' msgty = 'E' msgv1 = l_uname TABLES msgpost = i_nachricht.
TB_POSTING_MESSAGE_STORE CALL FUNCTION 'TB_POSTING_MESSAGE_STORE' EXPORTING deal = l_vtbfha flg_deal = xtrue msgid = 'T0' msgno = '902' msgty = 'E' TABLES msgpost = i_nachricht.
TB_DEAL_FIX_POST CALL FUNCTION 'TB_DEAL_FIX_POST' EXPORTING control_data = vtbposting deal = u_vtbfha local_currency = g_wrk_ccode-currency protocol_handler = g_oref_protocol IMPORTING error_flg = l_error_flg TABLES activities = ct_fhazu flows = ct_fhapo messages = i_nachricht.
TB_DEAL_AUTHORITY_CHECK CALL FUNCTION 'TB_DEAL_AUTHORITY_CHECK' EXPORTING bukrs = vtbfha-bukrs sgsart = vtbfha-sgsart sfhaart = vtbfha-sfhaart rportb = vtbfha-rportb rldepo = vtbfha-rldepo tbegru = vtbfha-tbegru trfct = '03' actvt = h_actvt EXCEPTIONS OTHERS = 1.
TB_CURRENCY_AMOUNTS_CONVERT CALL FUNCTION 'TB_CURRENCY_AMOUNTS_CONVERT' EXPORTING i_company_code = i_fhapo-bukrs i_date = h_dbuchung i_foreign_amount = i_fhapo-bzbetr i_foreign_currency = i_fhapo-wzbetr i_local_amount = i_fhapo-bhwbetr i_local_currency = g_wrk_ccode-currency i_rate = i_fhapo-khwkurs i_sfix = i_fhapo-skhwfix i_flow_sign = i_fhapo-ssign IMPORTING e_local_amount = i_fhapo-bhwbetr e_rate = i_fhapo-khwkurs EXCEPTIONS OTHERS = 1.
TB_CURRENCY_AMOUNTS_CONVERT CALL FUNCTION 'TB_CURRENCY_AMOUNTS_CONVERT' EXPORTING i_date = h_dbuchung i_foreign_amount =
-bzbetr i_foreign_currency = -wzbetr i_local_amount = -bhwbetr i_local_currency = g_wrk_ccode-currency i_rate = -khwkurs i_sfix = -skhwfix IMPORTING e_local_amount = -bhwbetr e_rate = -khwkurs EXCEPTIONS OTHERS = 1.
CASH_FORECAST_TREASURY_POST CALL FUNCTION 'CASH_FORECAST_TREASURY_POST' IN UPDATE TASK EXPORTING i_vtbfha = vtbfha TABLES tab_new = it_fhapo_empty tab_old = it_fhapo_update.
TB_TRANSACTIONS_UPDATE_ONLY CALL FUNCTION 'TB_TRANSACTIONS_UPDATE_ONLY' IN UPDATE TASK TABLES fhapo = it_fhapo_update.
CALL FUNCTION 'TB_POSTING_DEAL_INFO_WRITE' EXPORTING companycode = bwg-bukrs deal = bwg-rfha dealtype = geschaeftsart producttype = produktart.
TB_POSTING_DEAL_INFO_WRITE CALL FUNCTION 'TB_POSTING_DEAL_INFO_WRITE' EXPORTING companycode = bwg-bukrs deal = bwg-rfha dealtype = geschaeftsart producttype = produktart.
TB_POSTING_FLOW_INFO_WRITE CALL FUNCTION 'TB_POSTING_FLOW_INFO_WRITE' EXPORTING flow = bwg posting_details = l_ikofi.
TB_POSTING_FLOW_INFO_WRITE CALL FUNCTION 'TB_POSTING_FLOW_INFO_WRITE' EXPORTING flow = bwg posting_details = ikofi.
TRCA_BATCH_HEADING CALL FUNCTION 'TRCA_BATCH_HEADING' EXPORTING i_bhdgd = g_wrk_bhdgd i_flg_non_alv = 'X' IMPORTING e_bhdgd = g_wrk_bhdgd.
TRCA_BATCH_HEADING CALL FUNCTION 'TRCA_BATCH_HEADING' EXPORTING i_bhdgd = g_wrk_bhdgd IMPORTING e_bhdgd = g_wrk_bhdgd.
TB_POSTING_COLUMN_HEADER_WRITE CALL FUNCTION 'TB_POSTING_COLUMN_HEADER_WRITE' EXPORTING class = '1' EXCEPTIONS class = 0.
TRCA_BATCH_HEADING CALL FUNCTION 'TRCA_BATCH_HEADING' EXPORTING i_bhdgd = g_wrk_bhdgd i_flg_non_alv = 'X' IMPORTING e_bhdgd = g_wrk_bhdgd.
TRCA_BATCH_HEADING CALL FUNCTION 'TRCA_BATCH_HEADING' EXPORTING i_bhdgd = g_wrk_bhdgd IMPORTING e_bhdgd = g_wrk_bhdgd.
TB_POSTING_COLUMN_HEADER_WRITE CALL FUNCTION 'TB_POSTING_COLUMN_HEADER_WRITE' EXPORTING class = '2' EXCEPTIONS class = 0.
TB_REF_GROUPFIELD_SPLIT CALL FUNCTION 'TB_REF_GROUPFIELD_SPLIT' EXPORTING i_paygr = i_wrk_kmp-paygr IMPORTING e_refnr = l_refnr EXCEPTIONS groupfield_unknown = 0 OTHERS = 0.
TB_REF_GROUPFIELD_SPLIT CALL FUNCTION 'TB_REF_GROUPFIELD_SPLIT' EXPORTING i_paygr = i_wrk_kmp-paygr IMPORTING e_refnr = l_refnr EXCEPTIONS groupfield_unknown = 0 OTHERS = 0.
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 RFTBBB00 or its description.