J_1BNFEXMLOUT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter J_1BNFEXMLOUT 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.
Title: NFe call to XI
INCLUDE RVADTABL.
No SAP DATABASE tables are accessed within this REPORT code!
ID_OBSOLETE_OBJECT CALL FUNCTION 'ID_OBSOLETE_OBJECT' EXPORTING I_PROGRAMM = sy-repid EXCEPTIONS E_OBSOLETE = 1.
J_1B_NF_DOCUMENT_READ CALL FUNCTION 'J_1B_NF_DOCUMENT_READ' EXPORTING doc_number = wk_docnum IMPORTING doc_header = wk_header TABLES doc_partner = wk_partner doc_item = wk_item doc_item_tax = wk_item_tax doc_header_msg = wk_header_msg doc_refer_msg = wk_refer_msg doc_trans_volumes = wk_trans_volumes "1844621 doc_trailer_info = wk_trailer_info "1844621 doc_trade_notes = wk_trade_notes "1844621 doc_add_info = wk_add_info "1844621 doc_ref_proc = wk_ref_proc "1844621 doc_sugar_suppl = wk_sugar_suppl "1844621 doc_sugar_deduc = wk_sugar_deduc "1844621 doc_vehicle = wk_vehicle "1844621 doc_pharmaceut = wk_pharmaceut "1844621 doc_fuel = wk_fuel "1844621 EXCEPTIONS document_not_found = 1 docum_lock = 2 OTHERS = 3.
J_1B_NF_VALUE_DETERMINATION CALL FUNCTION 'J_1B_NF_VALUE_DETERMINATION' EXPORTING nf_header = wk_header IMPORTING ext_header = wk_header_add TABLES nf_item = wk_item nf_item_tax = wk_item_tax ext_item = wk_item_add.
NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING msg_arbgb = syst-msgid msg_nr = syst-msgno msg_ty = syst-msgty msg_v1 = syst-msgv1 msg_v2 = syst-msgv2 msg_v3 = syst-msgv3 msg_v4 = syst-msgv4 EXCEPTIONS OTHERS = 1.
J_1B_BRANCH_READ CALL FUNCTION 'J_1B_BRANCH_READ' EXPORTING branch = p_branch company = p_bukrs IMPORTING address = ls_sadr branch_record = ls_branch cgc_number = lv_cgc address_value = ls_addr1_val EXCEPTIONS branch_not_found = 1 address_not_found = 2 company_not_found = 3 OTHERS = 4.
READ_T005T CALL FUNCTION 'READ_T005T' EXPORTING ic_spras = p_spras ic_land1 = p_land1 IMPORTING es_t005t = ls_t005t.
J_1B_CFOP_GET_VERSION CALL FUNCTION 'J_1B_CFOP_GET_VERSION' EXPORTING land1 = p_land1 region = p_regio date = p_pstdat IMPORTING version = lv_version EXCEPTIONS date_missing = 1 OTHERS = 2.
CONVERSION_EXIT_CFOBR_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CFOBR_OUTPUT' "964211 EXPORTING "964211 input = wk_item-cfop "964211 IMPORTING "964211 OUTPUT = lv_cfoplong. "964211
J_1BAJ_READ CALL FUNCTION 'J_1BAJ_READ' EXPORTING taxtype = wk_item_tax-taxtyp IMPORTING e_j_1baj = ls_j1baj EXCEPTIONS not_found = 1 parameters_incorrect = 2 OTHERS = 3.
CONVERSION_EXIT_TXSIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_TXSIT_OUTPUT' EXPORTING input = p_taxsit IMPORTING output = lv_taxsit.
J_1B_NFE_XML_OUT CALL FUNCTION 'J_1B_NFE_XML_OUT' IN BACKGROUND TASK DESTINATION c_rfcdest EXPORTING xml_in = xmlh xml_item_tab = xmli_tab xml_batch = xmlb_tab xml_ref = xmlr_tab. "V1.05
START_OF_BACKGROUNDTASK * CALL FUNCTION 'START_OF_BACKGROUNDTASK' * EXPORTING * startdate = sy-datum * starttime = sy-uzeit * EXCEPTIONS * OTHERS = 1.
J_1B_NF_PARTNER_READ CALL FUNCTION 'J_1B_NF_PARTNER_READ' EXPORTING partner_type = ls_partner-partyp partner_id = ls_partner-parid * DOC_NUMBER = * PARTNER_FUNCTION = * OBJ_ITEM = IMPORTING parnad = p_j_1binnad EXCEPTIONS partner_not_found = 1 partner_type_not_found = 2 OTHERS = 3 .
FIND_TAX_SPREADSHEET CALL FUNCTION 'FIND_TAX_SPREADSHEET' EXPORTING buchungskreis = p_bukrs IMPORTING schema = lv_kalsm EXCEPTIONS OTHERS = 8.
TTXD_SINGLE_READ CALL FUNCTION 'TTXD_SINGLE_READ' EXPORTING i_kalsm = lv_kalsm IMPORTING o_ttxd = ls_ttxd EXCEPTIONS not_found = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.