J_1BNFAW is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to archive fiscal documents of Brazil (such as Notas Fiscais (NF), Electronic Notas Fiscais (NF-e), conhecimento de transporte eletrĂ´nico (CT-e)) after they are no longer needed in the database...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 J_1BNFAW 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: BRANCHSX = Business Place
Selection Text: BUKRSX = Company Code
Selection Text: CREATE = Create Archive File
Selection Text: GJAHRSX = Fiscal Year
Selection Text: NFE_ONLY = NF-e Data Only (Obsolete)
Selection Text: NO_NFE = Do Not Incl. NF-e (Obsolete)
Selection Text: PSTDATSX = Posting Date
Selection Text: TESTRUN = Delete Program (Test Run)
Selection Text: WITH_NFE = All Tables in Archiving Object
Title: Archiving of Fiscal Documents: Write Program (Brazil)
Text Symbol: 001 = Opening a New Archive File
Text Symbol: 010 = Selection Criteria for Fiscal Document
Text Symbol: 020 = Selection Criteria for Database Tables
Text Symbol: 030 = Archive NF-e Data Only
Text Symbol: 031 = Do Not Include NF-e Data
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = testrun comments = text-001 create_archive_file = create object = arch_obj "1874366 IMPORTING archive_handle = handle EXCEPTIONS internal_error = 1 object_not_found = 2.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = handle object_id = objectid EXCEPTIONS internal_error = 01.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = handle EXCEPTIONS internal_error = 01.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = handle EXCEPTIONS internal_error = 01.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
J_1BNFAW - Archiving of Fiscal Documents: Write Program (Brazil) J_1BNFAW - Archiving of Fiscal Documents: Write Program (Brazil) J_1BNFAR_F01 - Include J_1BNFAR_F01 J_1BNFAR - Archiving of Fiscal Documents: Reload Program (Brazil) J_1BNFAR - Archiving of Fiscal Documents: Reload Program (Brazil) J_1BNFAL - Archived Notas Fiscais: display documents in selected archive files