SAP /ACCGO/BR_J_1B_NF_ITEM_SELECT Function Module for Get NF and NF-e item details









/ACCGO/BR_J_1B_NF_ITEM_SELECT is a standard /accgo/br j 1b nf item select SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get NF and NF-e item details processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for /accgo/br j 1b nf item select FM, simply by entering the name /ACCGO/BR_J_1B_NF_ITEM_SELECT into the relevant SAP transaction such as SE37 or SE38.

Function Group: /ACCGO/BR_OE_COMINGLED
Program Name: /ACCGO/SAPLBR_OE_COMINGLED
Main Program: /ACCGO/SAPLBR_OE_COMINGLED
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function /ACCGO/BR_J_1B_NF_ITEM_SELECT pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION '/ACCGO/BR_J_1B_NF_ITEM_SELECT'"Get NF and NF-e item details
EXPORTING
REF_TYPE = "Nota Fiscal document reference type
REF_KEY = "Nota Fiscal document reference key
REF_ITEM = "Nota Fiscal document reference item

IMPORTING
DOC_NUMBER = "Nota Fiscal document number
ITEM_NUMBER = "Nota Fiscal Document item number
NF_NUMBER = "Nota Fiscal number
SERIES = "Series
SUBSERIES = "Sub series
NFE_NUMBER = "NF-e number

EXCEPTIONS
ITEM_NOT_FOUND = 1
.



IMPORTING Parameters details for /ACCGO/BR_J_1B_NF_ITEM_SELECT

REF_TYPE - Nota Fiscal document reference type

Data type: J_1BINTERF-REFTYP
Optional: No
Call by Reference: No ( called with pass by value option)

REF_KEY - Nota Fiscal document reference key

Data type: J_1BINTERF-REFKEY
Optional: No
Call by Reference: No ( called with pass by value option)

REF_ITEM - Nota Fiscal document reference item

Data type: J_1BINTERF-REFITM
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for /ACCGO/BR_J_1B_NF_ITEM_SELECT

DOC_NUMBER - Nota Fiscal document number

Data type: J_1BNFLIN-DOCNUM
Optional: No
Call by Reference: No ( called with pass by value option)

ITEM_NUMBER - Nota Fiscal Document item number

Data type: J_1BNFLIN-ITMNUM
Optional: No
Call by Reference: No ( called with pass by value option)

NF_NUMBER - Nota Fiscal number

Data type: J_1BNFDOC-NFNUM
Optional: No
Call by Reference: No ( called with pass by value option)

SERIES - Series

Data type: J_1BNFDOC-SERIES
Optional: No
Call by Reference: No ( called with pass by value option)

SUBSERIES - Sub series

Data type: J_1BNFDOC-SUBSER
Optional: No
Call by Reference: No ( called with pass by value option)

NFE_NUMBER - NF-e number

Data type: J_1BNFDOC-NFENUM
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

ITEM_NOT_FOUND - Nota Fiscal item not found in Database

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for /ACCGO/BR_J_1B_NF_ITEM_SELECT Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_ref_type  TYPE J_1BINTERF-REFTYP, "   
lv_doc_number  TYPE J_1BNFLIN-DOCNUM, "   
lv_item_not_found  TYPE J_1BNFLIN, "   
lv_ref_key  TYPE J_1BINTERF-REFKEY, "   
lv_item_number  TYPE J_1BNFLIN-ITMNUM, "   
lv_ref_item  TYPE J_1BINTERF-REFITM, "   
lv_nf_number  TYPE J_1BNFDOC-NFNUM, "   
lv_series  TYPE J_1BNFDOC-SERIES, "   
lv_subseries  TYPE J_1BNFDOC-SUBSER, "   
lv_nfe_number  TYPE J_1BNFDOC-NFENUM. "   

  CALL FUNCTION '/ACCGO/BR_J_1B_NF_ITEM_SELECT'  "Get NF and NF-e item details
    EXPORTING
         REF_TYPE = lv_ref_type
         REF_KEY = lv_ref_key
         REF_ITEM = lv_ref_item
    IMPORTING
         DOC_NUMBER = lv_doc_number
         ITEM_NUMBER = lv_item_number
         NF_NUMBER = lv_nf_number
         SERIES = lv_series
         SUBSERIES = lv_subseries
         NFE_NUMBER = lv_nfe_number
    EXCEPTIONS
        ITEM_NOT_FOUND = 1
. " /ACCGO/BR_J_1B_NF_ITEM_SELECT




ABAP code using 7.40 inline data declarations to call FM /ACCGO/BR_J_1B_NF_ITEM_SELECT

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single REFTYP FROM J_1BINTERF INTO @DATA(ld_ref_type).
 
"SELECT single DOCNUM FROM J_1BNFLIN INTO @DATA(ld_doc_number).
 
 
"SELECT single REFKEY FROM J_1BINTERF INTO @DATA(ld_ref_key).
 
"SELECT single ITMNUM FROM J_1BNFLIN INTO @DATA(ld_item_number).
 
"SELECT single REFITM FROM J_1BINTERF INTO @DATA(ld_ref_item).
 
"SELECT single NFNUM FROM J_1BNFDOC INTO @DATA(ld_nf_number).
 
"SELECT single SERIES FROM J_1BNFDOC INTO @DATA(ld_series).
 
"SELECT single SUBSER FROM J_1BNFDOC INTO @DATA(ld_subseries).
 
"SELECT single NFENUM FROM J_1BNFDOC INTO @DATA(ld_nfe_number).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!