J_1B_NFE_CREATE_TXT_FILE 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 create a TXT file in ASCII format that contains nota fiscal database records for a given period...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_1B_NFE_CREATE_TXT_FILE 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: FILE = TXT File
Selection Text: TESTRUN = ALV List
Title: NF-e TXT File Creation
Text Symbol: 001 = Output
Text Symbol: 100 = Doc. No.
Text Symbol: 101 = File Records
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
J_1BREAD_BRANCH_DATA CALL FUNCTION 'J_1BREAD_BRANCH_DATA' EXPORTING branch = j5_brnch bukrs = j5_bukrs IMPORTING address = wa_branch_adr branch_data = wa_branch.
J_1B_NF_CUSTOMER_READ CALL FUNCTION 'J_1B_NF_CUSTOMER_READ' EXPORTING partner_id = j_1bnfdoc-parid partner_fn = j_1bnfdoc-parvw "1324538 doc_number = j_1bnfdoc-docnum "1324538 read_address = 'X' IMPORTING parnad = wa_partner address1 = wa_address1 EXCEPTIONS partner_not_found = 1.
J_1B_NF_VENDOR_READ CALL FUNCTION 'J_1B_NF_VENDOR_READ' "1714931 EXPORTING "1714931 partner_id = j_1bnfdoc-parid "1714931 read_address = 'X' "1714931 IMPORTING "1714931 parnad = wa_partner "1714931 address1 = wa_address1 "1714931 EXCEPTIONS "1714931 partner_not_found = 1 "1714931 address_not_found = 2 "1714931 others = 3. "1714931
ADDR_SELECT_ADR6_SINGLE CALL FUNCTION 'ADDR_SELECT_ADR6_SINGLE' EXPORTING addrnumber = wa_address1-addrnumber TABLES et_adr6 = it_email EXCEPTIONS comm_data_not_exist = 1 OTHERS = 4.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING it_fieldcat = it_fieldcatalog_list TABLES t_outtab = it_nfe_alv EXCEPTIONS program_error = 1 OTHERS = 2.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = gv_fullpath filetype = 'ASC' TABLES data_tab = it_nfe_file EXCEPTIONS file_write_error = 1 disk_full = 17 OTHERS = 22.
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_1B_NFE_CREATE_TXT_FILE - NF-e TXT File Creation J_1B_NFE_CREATE_TXT_FILE - NF-e TXT File Creation J_1B_MIGRATE_TAX_RATES_TOP - J1BMIGRATETAXRATESTOP J_1B_MIGRATE_TAX_RATES_O03 - INCLUDE for table control output module (gen.) J_1B_MIGRATE_TAX_RATES_O02 - J1BMIGRATETAXRATESO02 J_1B_MIGRATE_TAX_RATES_O01 - J1BMIGRATETAXRATESO01