SAP Reports / Programs

RFBELJ00 SAP ABAP Report - Compact Document Journal







RFBELJ00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The Compact Document Journal shows for the selected documents the most important data from document headers and line items in table form...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 RFBELJ00 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 RFBELJ00. "Basic submit
SUBMIT RFBELJ00 AND RETURN. "Return to original report after report execution complete
SUBMIT RFBELJ00 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: ARC = (Archive)
Selection Text: ARC_MSG1 = Object Type
Selection Text: ARC_MSG2 = Document Type
Selection Text: PAR_ALTK = Alternative account number
Selection Text: PAR_DBEL = Recurring entry original docs
Selection Text: PAR_HKTO = Reconcil. not sub-ledger act
Selection Text: PAR_LINE = Additional title
Selection Text: PAR_LSEP = Separate list
Selection Text: PAR_MBEL = Sample documents
Selection Text: PAR_MIKF = Print microfiche line
Selection Text: PAR_NBEL = Standard documents
Selection Text: PAR_PPAR = Keep Print Parameters
Selection Text: PAR_SBEL = Statistical documents
Selection Text: PAR_SUMM = Display Totals Only
Selection Text: PAR_VBEL = Parked documents
Selection Text: PAR_CLAS = D .
Selection Text: PAR_DOCC = D .
Title: Compact Document Journal
Text Symbol: 550 = Amount in Local (Foreign) Crcy
Text Symbol: 551 = Amount in LC (FC)
Text Symbol: 6** = * Error log
Text Symbol: 600 = Error log
Text Symbol: 601 = Error text ID no.
Text Symbol: 900 = Structure generated has errors re: component
Text Symbol: A22 = Archive Details
Text Symbol: A23 = Object Type
Text Symbol: A24 = Document Type
Text Symbol: C01 = Output General Ledger View Information
Text Symbol: C02 = Keep Print Parameters for Output
Text Symbol: T02 = | Header | Subledger A/cs | Taxes | G/L Accts |
Text Symbol: T03 = |CCde Ldgr Doc. Dc Posting |A Acct Pstg Open Item Amount |Tx Tax on Sls/Pur|Tx Pstg G/L G/L Acct |
Text Symbol: T04 = | Grp Number Ty Date |T Number Key in &CCCU (FW) |Cd Amount in &CCCU |Cd Key Account Amount in &CCCU |
Text Symbol: 0** = * Title
Text Symbol: 001 = Compact journal (recurring entry original documents)
Text Symbol: 002 = Compact journal (sample documents)
Text Symbol: 003 = Compact journal (statistical documents)
Text Symbol: 004 = Compact Doc. Journal (Year-End Closing / Opening Doc.)
Text Symbol: 1** = * Optical archiving/selection screen





Text Symbol: 100 = Microfiche line not recommended for optical archiving
Text Symbol: 101 = List separation not recommended for optical archiving
Text Symbol: 102 = Invalid Archive Specifications
Text Symbol: 103 = Optical archiving
Text Symbol: 110 = Tax Line Indic
Text Symbol: 111 = Amount (Tax Line)
Text Symbol: 112 = PstKy (Subldgr A/c)
Text Symbol: 4** = * Totals sheet column headings
Text Symbol: 400 = | | G/L accounts | Customers | Vendors |
Text Symbol: 401 = |CoCd Local Posting| Debit amount Credit amount |G Debit amount Credit amount |G Debit amount Credit amount |
Text Symbol: 402 = | curr. period | in LC in LC |L in LC in LC |L in LC in LC |
Text Symbol: 5** = * Line item list column headings and texts
Text Symbol: 500 = | Document header | Subledger accounts | Taxes | G/L accounts |
Text Symbol: 501 = |CoCd Document Do Posting |A Account Postg Open item amount |Tx Tax on sls/pur. |Tx Postg G/L G/L account |
Text Symbol: 502 = | number ty date |T number ky L in &CCCU (FC) |cd amount in &CCCU |cd ky account amount in &CCCU |
Text Symbol: 503 = Reference:
Text Symbol: 504 = Reversal:
Text Symbol: 505 = Reconcil.
Text Symbol: 506 = account
Text Symbol: 507 = Parked document
Text Symbol: 508 = Deleted
Text Symbol: 509 = Replaced by &BLN &GJR
Text Symbol: 510 = Clearing Document
Text Symbol: 511 = Cancelled clearing document
Text Symbol: 512 = |CoCd G/L Doc. Do Posting |A Account Postg Open item amount |Tx Tax on sls/pur. |Tx Postg G/L G/L account |
Text Symbol: 513 = Year-End Closing / Opening Document


INCLUDES used within this REPORT RFBELJ00

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:

FAGL_CHECK_GLFLEX_ACTIV_CLIENT CALL FUNCTION 'FAGL_CHECK_GLFLEX_ACTIV_CLIENT' EXPORTING client = sy-mandt IMPORTING e_glflex_active = fagl_active.

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.

FAGL_GET_LEADING_LEDGER CALL FUNCTION 'FAGL_GET_LEADING_LEDGER' * EXPORTING * I_CLIENT = SY-MANDT IMPORTING e_rldnr = gd_rldnr.

FAGL_GET_DOC_DETAILS_OF_LEDGER CALL FUNCTION 'FAGL_GET_DOC_DETAILS_OF_LEDGER' EXPORTING i_rldnr = gd_rldnr i_bukrs = bkpf-bukrs i_belnr = bkpf-belnr i_gjahr = bkpf-gjahr * I_ARCH = 'X' IMPORTING es_details = gs_fagl_s_doc_details EXCEPTIONS not_found = 1 OTHERS = 2.

POPUP_NO_LIST CALL FUNCTION 'POPUP_NO_LIST'. "n1003101






FI_MESSAGE_CHECK CALL FUNCTION 'FI_MESSAGE_CHECK' EXCEPTIONS no_message = 4.

FI_MESSAGE_SORT CALL FUNCTION 'FI_MESSAGE_SORT'.

FI_MESSAGE_PRINT CALL FUNCTION 'FI_MESSAGE_PRINT' EXPORTING i_xskip = 'X'.

FI_MESSAGE_GET CALL FUNCTION 'FI_MESSAGE_GET' TABLES t_fimsg = tfimsg.

READ_SACHKONTO_ALTKT CALL FUNCTION 'READ_SACHKONTO_ALTKT' EXPORTING bukrs = bkpf-bukrs saknr = f10_hkont xmass = 'X' xskan = 'X' IMPORTING altkt_not_found = err_altkt altkt_sakan = f10_sakan EXCEPTIONS saknr_not_found = 04.

FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = fimsg.

FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = fimsg.

READ_SACHKONTO_ALTKT CALL FUNCTION 'READ_SACHKONTO_ALTKT' EXPORTING altkt_i = f10_hkont bukrs = bkpf-bukrs saknr = f10_hkont xskan = 'X' IMPORTING altkt_sakan = f10_sakan.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = 'G_DOCUMENTS_HEAD' i_structure_name = 'FAGL_S_RFBELJ00_DOCUMENTS_HEAD' CHANGING ct_fieldcat = g_fieldcat[].

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = 'G_DOCUMENTS_ITEM' i_structure_name = 'FAGL_S_RFBELJ00_DOCUMENTS_ITEM' CHANGING ct_fieldcat = g_fieldcat[].

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = l_repid * I_CALLBACK_PF_STATUS_SET = ' ' is_layout = g_layout it_fieldcat = g_fieldcat it_sort = g_sort it_events = g_events i_tabname_header = 'G_DOCUMENTS_HEAD' i_tabname_item = 'G_DOCUMENTS_ITEM' is_keyinfo = g_keys is_print = g_print i_save = 'A' "n1149069 TABLES t_outtab_header = g_documents_head t_outtab_item = g_documents_item EXCEPTIONS program_error = 1 OTHERS = 2 .

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = l_repid * I_CALLBACK_PF_STATUS_SET = ' ' i_structure_name = 'G_COMPANY_CODES' is_layout = g_cc_layout it_fieldcat = g_cc_fieldcat it_sort = g_cc_sort * I_SAVE = ' ' it_events = g_cc_events is_print = g_print TABLES t_outtab = g_company_codes EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = 'G_COMPANY_CODES' i_structure_name = 'FAGL_S_RFBELJ00_COMPANY_CODES' CHANGING ct_fieldcat = g_cc_fieldcat.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING e_width = l_width EXCEPTIONS OTHERS = 1.

FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd.

FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd.



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