SAP Reports / Programs | Financial Accounting | Localization(FI-LOC) SAP FI

J_1BEFD_F03 SAP ABAP INCLUDE - EFD: common routines







J_1BEFD_F03 is a standard ABAP INCLUDE 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_1BEFD_F03 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 J_1BEFD_F03. "Basic submit
SUBMIT J_1BEFD_F03 AND RETURN. "Return to original report after report execution complete
SUBMIT J_1BEFD_F03 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: EFD: common routines


INCLUDES used within this REPORT J_1BEFD_F03

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:

J_1BREAD_BRANCH_DATA CALL FUNCTION 'J_1BREAD_BRANCH_DATA' EXPORTING branch = j5_brnch "branch code bukrs = j5_bukrs "company code IMPORTING address = ls_address address1 = ls_address1 branch_data = ls_branch cgc_number = l_cgc_number.

J_1B_NF_DOCUMENT_READ CALL FUNCTION 'J_1B_NF_DOCUMENT_READ' "1417030 EXPORTING "1417030 doc_number = us_j_1bnfdoc-docnum "1417030 IMPORTING "1417030 doc_header = ls_doc_header "1417030 TABLES "1417030 doc_partner = lt_doc_partner "1417030 doc_item = lt_doc_item "1417030 doc_item_tax = lt_doc_item_tax "1417030 doc_header_msg = lt_doc_header_msg "1417030 doc_refer_msg = lt_doc_refer_msg "1417030 * DOC_OT_PARTNER = "1417030 EXCEPTIONS "1417030 document_not_found = 1 "1417030 docum_lock = 2 "1417030 OTHERS = 3 "1417030 . "1417030

J_1B_NF_PARTNER_READ * CALL FUNCTION 'J_1B_NF_PARTNER_READ' "1417030 * EXPORTING "1417030 * partner_type = l_nfnad-partyp "1417030 * partner_id = l_nfnad-parid "1417030 * partner_function = l_nfnad-parvw "1417030 * doc_number = us_j_1bnfdoc-docnum "1417030 * IMPORTING "1417030 * parnad = ls_partner "1417030 * EXCEPTIONS "1417030 * partner_not_found = 1 "1417030 * partner_type_not_found = 2 "1417030 * OTHERS = 3. "1417030

J_1BAJ_READ CALL FUNCTION 'J_1BAJ_READ' EXPORTING taxtype = us_j_1bnfstx-taxtyp IMPORTING e_j_1baj = cs_j_1baj EXCEPTIONS not_found = 1 parameters_incorrect = 2 OTHERS = 3.

CONVERSION_EXIT_CFOBR_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CFOBR_OUTPUT' EXPORTING input = c_cfop IMPORTING output = l_cfop.

J_1B_NF_PARTNER_READ CALL FUNCTION 'J_1B_NF_PARTNER_READ' "#EC * "1425275 EXPORTING "1425275 partner_type = gs_j_1bnfdoc-partyp "1425275 partner_id = gs_j_1bnfdoc-parid "1425275 doc_number = gs_j_1bnfdoc-docnum "1425275 partner_function = gs_j_1bnfdoc-parvw "1425275 IMPORTING "1425275 parnad = ls_partner "1425275 EXCEPTIONS "1425275 partner_not_found = 1 "1425275 partner_type_not_found = 2 "1425275 OTHERS = 3. "1425275

KNA1_READ_SINGLE CALL FUNCTION 'KNA1_READ_SINGLE' EXPORTING id_kunnr = i_parid IMPORTING es_kna1 = ls_kna1 EXCEPTIONS not_found = 1 input_not_specified = 2 OTHERS = 3.

ADDR_SELECT_ADRC_SINGLE CALL FUNCTION 'ADDR_SELECT_ADRC_SINGLE' EXPORTING addrnumber = ls_kna1-adrnr TABLES et_adrc = lt_adrc EXCEPTIONS address_not_exist = 1 parameter_error = 2 internal_error = 3 OTHERS = 4.

LFA1_READ_SINGLE CALL FUNCTION 'LFA1_READ_SINGLE' EXPORTING id_lifnr = i_parid IMPORTING es_lfa1 = ls_lfa1 EXCEPTIONS not_found = 1 input_not_specified = 2 OTHERS = 3.

ADDR_SELECT_ADRC_SINGLE CALL FUNCTION 'ADDR_SELECT_ADRC_SINGLE' EXPORTING addrnumber = ls_lfa1-adrnr TABLES et_adrc = lt_adrc EXCEPTIONS address_not_exist = 1 parameter_error = 2 internal_error = 3 OTHERS = 4.

MONTH_PLUS_DETERMINE CALL FUNCTION 'MONTH_PLUS_DETERMINE' EXPORTING months = l_t052-zmona olddate = zfbdate IMPORTING newdate = zfbdate.

J_1B_FI_NETDUE CALL FUNCTION 'J_1B_FI_NETDUE' EXPORTING zfbdt = zfbdate zbd1t = tag1 zbd2t = tag2 zbd3t = tag3 zstg1 = l_t052-zstg1 " BOI note 652241 zsmn1 = l_t052-zsmn1 zstg2 = l_t052-zstg2 zsmn2 = l_t052-zsmn2 zstg3 = l_t052-zstg3 zsmn3 = l_t052-zsmn3 " EOI note 652241 IMPORTING duedate = help_due_date EXCEPTIONS OTHERS = 1.

J_1B_NF_NUMBER_CONDENSE CALL FUNCTION 'J_1B_NF_NUMBER_CONDENSE' EXPORTING nf_number = it_j_1bnfdoc-nfnum series = it_j_1bnfdoc-series IMPORTING ref_number = ref_number EXCEPTIONS OTHERS = 1.

J_1B_NF_NUMBER_CONDENSE CALL FUNCTION 'J_1B_NF_NUMBER_CONDENSE' "1374057 EXPORTING "1374057 nf_number9 = it_j_1bnfdoc-nfenum "1374057 series = it_j_1bnfdoc-series "1374057 IMPORTING "1374057 ref_number = ref_number "1374057 EXCEPTIONS "1374057 OTHERS = 1. "1374057

J_1B_NF_NUMBER_CONDENSE CALL FUNCTION 'J_1B_NF_NUMBER_CONDENSE' "1374057 EXPORTING "1374057 nf_number = it_j_1bnfdoc-nfnum "1374057 series = it_j_1bnfdoc-series "1374057 IMPORTING "1374057 ref_number = ref_number "1374057 EXCEPTIONS "1374057 OTHERS = 1. "1374057

J_1B_NF_NUMBER_CONDENSE CALL FUNCTION 'J_1B_NF_NUMBER_CONDENSE' "1374057 EXPORTING "1374057 nf_number9 = it_j_1bnfdoc-nfenum "1374057 series = it_j_1bnfdoc-series "1374057 IMPORTING "1374057 ref_number = ref_number "1374057 EXCEPTIONS "1374057 OTHERS = 1. "1374057

MRM_INVOICE_READ CALL FUNCTION 'MRM_INVOICE_READ' EXPORTING i_belnr = iv_key-belnr i_gjahr = iv_key-gjahr IMPORTING e_rbkpv = iv_rbkpv EXCEPTIONS entry_not_found = 1 lock_error = 2 OTHERS = 3.

LFA1_READ_SINGLE CALL FUNCTION 'LFA1_READ_SINGLE' EXPORTING id_lifnr = i_parid IMPORTING es_lfa1 = ls_lfa1 EXCEPTIONS not_found = 1 input_not_specified = 2 OTHERS = 3.

ADDR_SELECT_ADRC_SINGLE





CALL FUNCTION 'ADDR_SELECT_ADRC_SINGLE' EXPORTING addrnumber = ls_lfa1-adrnr TABLES et_adrc = lt_adrc EXCEPTIONS address_not_exist = 1 parameter_error = 2 internal_error = 3 OTHERS = 4.

KNA1_READ_SINGLE CALL FUNCTION 'KNA1_READ_SINGLE' EXPORTING id_kunnr = i_parid IMPORTING es_kna1 = ls_kna1 EXCEPTIONS not_found = 1 input_not_specified = 2 OTHERS = 3.

ADDR_SELECT_ADRC_SINGLE CALL FUNCTION 'ADDR_SELECT_ADRC_SINGLE' EXPORTING addrnumber = ls_kna1-adrnr TABLES et_adrc = lt_adrc EXCEPTIONS address_not_exist = 1 parameter_error = 2 internal_error = 3 OTHERS = 4.

KNA1_READ_SINGLE CALL FUNCTION 'KNA1_READ_SINGLE' EXPORTING id_kunnr = i_parid IMPORTING es_kna1 = ls_kna1 EXCEPTIONS not_found = 1 input_not_specified = 2 OTHERS = 3.

LFA1_READ_SINGLE CALL FUNCTION 'LFA1_READ_SINGLE' EXPORTING id_lifnr = i_parid IMPORTING es_lfa1 = ls_lfa1 EXCEPTIONS not_found = 1 input_not_specified = 2 OTHERS = 3.

J_1BREAD_BRANCH_DATA CALL FUNCTION 'J_1BREAD_BRANCH_DATA' EXPORTING branch = j5_brnch "branch code bukrs = j5_bukrs "company code IMPORTING address = ls_address address1 = ls_address1 branch_data = ls_branch cgc_number = l_cgc_number.

J_1BREAD_BRANCH_DATA CALL FUNCTION 'J_1BREAD_BRANCH_DATA' EXPORTING branch = j5_brnch "branch code bukrs = j5_bukrs "company code IMPORTING address = ls_address address1 = ls_address1 branch_data = ls_branch cgc_number = l_cgc_number.

J_1B_NF_PARTNER_READ CALL FUNCTION 'J_1B_NF_PARTNER_READ' "1417030 EXPORTING "1417030 partner_type = l_nfnad-partyp "1417030 partner_id = l_nfnad-parid "1417030 partner_function = l_nfnad-parvw "1417030 doc_number = us_j_1bnfdoc-docnum "1417030 IMPORTING "1417030 parnad = ls_partner "1417030 EXCEPTIONS "1417030 partner_not_found = 1 "1417030 partner_type_not_found = 2 "1417030 OTHERS = 3. "1417030



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