RFHABU00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for General ledger from the document file The report documents the G/L account postings in the form of a general ledger...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 RFHABU00 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.
Selection Text: ARC = (Archive)
Selection Text: BMONATE = Fiscal periods
Selection Text: GESBER = Business area
Selection Text: LISTSEP = List separation
Selection Text: MIKFICHE = Print microfiche line
Selection Text: PAR_GKON = Offsetting acct determination
Selection Text: PAR_GKOS = Sort by offsetting account
Selection Text: POSTEN = G/L account without items
Selection Text: P_MAXPGS = No. of Pages per Spool Request
Selection Text: P_SPOSPL = Distribute Spool Output
Selection Text: SKONTO = G/L account
Selection Text: SUM1 = Summary report 1
Selection Text: SUM2 = Summary report 2
Selection Text: TITLE = Additional heading
Selection Text: XALTKT = Alternative account number
Selection Text: XSTAJ = Read Year-End Closing Postings
Selection Text: X_GSBER = Separate business areas
Selection Text: ARC_MSG1 = D .
Selection Text: ARC_MSG2 = D .
Title: General Ledger from the Document File
Text Symbol: 900 = Structure generated has errors re: component
Text Symbol: 444 = Error log:
Text Symbol: 322 = New balance
Text Symbol: 320 = Balance Carryforward
Text Symbol: 311 = Totals Debit Credit Bal. Acc.monthly bal.
Text Symbol: 305 = Totals accross all company codes
Text Symbol: 304 = Company code totals
Text Symbol: 303 = Business area totals
Text Symbol: 012 = Pstng Pstng Document Do Po Allocation Doc. Reference Bus. A Offset Tx Doc. Debit/credit amount N
Text Symbol: 013 = per. date number ty ky number date number area T acct no. cd curr. in document currency B
Text Symbol: 018 = Number of master records read:
Text Symbol: 019 = Number of items read:
Text Symbol: 021 = Project number
Text Symbol: 022 = Cost center
Text Symbol: 023 = Quantity
Text Symbol: 024 = Unit of meas.
Text Symbol: 025 = Order number
Text Symbol: 027 = Personnel number
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BUILD_DEFAULT_YEAR CALL FUNCTION 'BUILD_DEFAULT_YEAR' TABLES XGJAHR = BR_GJAHR.
BUILD_DEFAULT_PERIOD CALL FUNCTION 'BUILD_DEFAULT_PERIOD' IMPORTING XVMONAT = VMONAT TABLES XMONAT = BMONATE.
BUILD_DEFAULT_YEAR CALL FUNCTION 'BUILD_DEFAULT_YEAR' TABLES XGJAHR = BR_GJAHR.
BUILD_DEFAULT_PERIOD CALL FUNCTION 'BUILD_DEFAULT_PERIOD' IMPORTING XVMONAT = VMONAT TABLES XMONAT = BMONATE.
GET_ARCHIVE_PARAMETERS CALL FUNCTION 'GET_ARCHIVE_PARAMETERS' EXPORTING IN_PARAMETERS = ARC_SAVE PRINTER = ' ' IMPORTING OUT_PARAMETERS = ARC_MEM VALID = ARC_VALID EXCEPTIONS OTHERS = 04.
GET_GKONT CALL FUNCTION 'GET_GKONT' EXPORTING BUKRS = BKPF-BUKRS GJAHR = BKPF-GJAHR BELNR = BKPF-BELNR BUZEI = BSEG-BUZEI GKNKZ = PAR_GKON IMPORTING GKONT = BSEGA-GKONT "1827391 KOART = BSEGA-GKART "1827391 EXCEPTIONS BELNR_NOT_FOUND = 04 BUZEI_NOT_FOUND = 04 GKNKZ_NOT_FOUND = 06.
READ_SACHKONTO_ALTKT CALL FUNCTION 'READ_SACHKONTO_ALTKT' EXPORTING BUKRS = SKB1-BUKRS SAKNR = SKB1-SAKNR XTEXT = 'X' IMPORTING ALTKT = SKB1-ALTKT LTEXT = SKAT-TXT50 EXCEPTIONS OTHERS = 4.
READ_SKA1 call function 'READ_SKA1' exporting xktopl = t001-ktopl xsaknr = wa_hkont importing xska1 = ska1 xskat = skat.
READ_SACHKONTO_ALTKT call function 'READ_SACHKONTO_ALTKT' exporting bukrs = skb1-bukrs saknr = skb1-saknr xtext = 'X' importing altkt = skb1-altkt ltext = skat-txt50 exceptions others = 4.
CALL FUNCTION 'FI_MESSAGE_CHECK' EXCEPTIONS NO_MESSAGE = 04.
FI_MESSAGE_SORT CALL FUNCTION 'FI_MESSAGE_SORT'.
FI_MESSAGE_PRINT CALL FUNCTION 'FI_MESSAGE_PRINT' EXPORTING I_MSORT = ' ' I_XAUSN = 'X' I_XEAUS = ' ' I_XSKIP = 'X'.
READ_SACHKONTO_ALTKT CALL FUNCTION 'READ_SACHKONTO_ALTKT' EXPORTING BUKRS = BUKRS SAKNR = KONTO SPRAS = SY-LANGU XMASS = 'X' XSKAN = 'X' XTEXT = ' ' IMPORTING ALTKT = SKB1-ALTKT ALTKT_SAKAN = ERGEBNIS ALTKT_NOT_FOUND = ALTKT_NOT_FOUND * TEXT_NOT_FOUND = TEXT_NOT_FOUND * LTEXT = * KTEXT = EXCEPTIONS BUKRS_NOT_FOUND = 02 SAKNR_NOT_FOUND = 03.
FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING I_FIMSG = FIMSG I_XAPPN = ' ' EXCEPTIONS MSGID_MISSING = 01 MSGNO_MISSING = 02 MSGTY_MISSING = 03.
FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING I_FIMSG = FIMSG I_XAPPN = ' ' EXCEPTIONS MSGID_MISSING = 01 MSGNO_MISSING = 02 MSGTY_MISSING = 03.
FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING I_FIMSG = FIMSG I_XAPPN = ' ' EXCEPTIONS MSGID_MISSING = 01 MSGNO_MISSING = 02 MSGTY_MISSING = 03.
READ_SKC1C CALL FUNCTION 'READ_SKC1C' EXPORTING XBUKRS = SKC1A-BUKRS XGJAHR = SKC1A-GJAHR XGSBER = SKC1A-GSBER XSAKNR = SKC1A-SAKNR XRTCUR = SKB1-WAERS IMPORTING XSKC1C = SKC1C EXCEPTIONS KEY_INCOMPLETE = 04 NOT_AUTHORIZED = 04 NOT_FOUND = 04.
FREE_SELECTIONS_RANGE_2_WHERE CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_WHERE' EXPORTING field_ranges = lt_table_range IMPORTING where_clauses = lt_where_clause.
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 RFHABU00 or its description.
RFHABU00 - General Ledger from the Document File RFHABU00 - General Ledger from the Document File RFGTR_NOTIFICATION_ENQUEUEF01 - Include RFGTR_NOTIFICATION_ENQUEUEF01 RFGTR_NOTIFICATION_DEQUEUEF01 - Include RFGTR_NOTIFICATION_DEQUEUEF01 RFGTR_NOTIFICATION - ERP-CRM Notification by reading trigger table RFGTR_NOTIFICATION - ERP-CRM Notification by reading trigger table