SAP ISH_NL_NV2000_BSN_CODE Function Module for









ISH_NL_NV2000_BSN_CODE is a standard ish nl nv2000 bsn code SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 ish nl nv2000 bsn code FM, simply by entering the name ISH_NL_NV2000_BSN_CODE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_NL_NV2000_BSN_CODE 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 'ISH_NL_NV2000_BSN_CODE'"
EXPORTING
SS_EINRI = "
* SS_PATNR = "
SS_FALNR = "
* SS_LFDBEW = "
SS_VCODE = "
* SS_VCODE_NFAL = "
* SS_VCODE_NBEW = "
* SS_INFO = "

IMPORTING
SS_REPID = "
SS_DYNNR = "
SS_CURSOR = "

TABLES
* SS_INFO_TAB = "

EXCEPTIONS
OTHERS = 1
.



IMPORTING Parameters details for ISH_NL_NV2000_BSN_CODE

SS_EINRI -

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

SS_PATNR -

Data type: NPAT-PATNR
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_FALNR -

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

SS_LFDBEW -

Data type: NBEW-LFDNR
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_VCODE -

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

SS_VCODE_NFAL -

Data type: TNDYM-VCODE
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_VCODE_NBEW -

Data type: TNDYM-VCODE
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_INFO -

Data type: ISH_ON_OFF
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ISH_NL_NV2000_BSN_CODE

SS_REPID -

Data type: SY-REPID
Optional: No
Call by Reference: Yes

SS_DYNNR -

Data type: SY-DYNNR
Optional: No
Call by Reference: Yes

SS_CURSOR -

Data type: TNDYM-CURSR
Optional: No
Call by Reference: Yes

TABLES Parameters details for ISH_NL_NV2000_BSN_CODE

SS_INFO_TAB -

Data type: NISH_SHORT_INFO_TAB
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

OTHERS -

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

Copy and paste ABAP code example for ISH_NL_NV2000_BSN_CODE 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_others  TYPE STRING, "   
lv_ss_einri  TYPE NPAT-EINRI, "   
lv_ss_repid  TYPE SY-REPID, "   
lt_ss_info_tab  TYPE STANDARD TABLE OF NISH_SHORT_INFO_TAB, "   
lv_ss_dynnr  TYPE SY-DYNNR, "   
lv_ss_patnr  TYPE NPAT-PATNR, "   
lv_ss_falnr  TYPE NFAL-FALNR, "   
lv_ss_cursor  TYPE TNDYM-CURSR, "   
lv_ss_lfdbew  TYPE NBEW-LFDNR, "   
lv_ss_vcode  TYPE TNDYM-VCODE, "   
lv_ss_vcode_nfal  TYPE TNDYM-VCODE, "   
lv_ss_vcode_nbew  TYPE TNDYM-VCODE, "   
lv_ss_info  TYPE ISH_ON_OFF. "   

  CALL FUNCTION 'ISH_NL_NV2000_BSN_CODE'  "
    EXPORTING
         SS_EINRI = lv_ss_einri
         SS_PATNR = lv_ss_patnr
         SS_FALNR = lv_ss_falnr
         SS_LFDBEW = lv_ss_lfdbew
         SS_VCODE = lv_ss_vcode
         SS_VCODE_NFAL = lv_ss_vcode_nfal
         SS_VCODE_NBEW = lv_ss_vcode_nbew
         SS_INFO = lv_ss_info
    IMPORTING
         SS_REPID = lv_ss_repid
         SS_DYNNR = lv_ss_dynnr
         SS_CURSOR = lv_ss_cursor
    TABLES
         SS_INFO_TAB = lt_ss_info_tab
    EXCEPTIONS
        OTHERS = 1
. " ISH_NL_NV2000_BSN_CODE




ABAP code using 7.40 inline data declarations to call FM ISH_NL_NV2000_BSN_CODE

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 EINRI FROM NPAT INTO @DATA(ld_ss_einri).
 
"SELECT single REPID FROM SY INTO @DATA(ld_ss_repid).
 
 
"SELECT single DYNNR FROM SY INTO @DATA(ld_ss_dynnr).
 
"SELECT single PATNR FROM NPAT INTO @DATA(ld_ss_patnr).
 
"SELECT single FALNR FROM NFAL INTO @DATA(ld_ss_falnr).
 
"SELECT single CURSR FROM TNDYM INTO @DATA(ld_ss_cursor).
 
"SELECT single LFDNR FROM NBEW INTO @DATA(ld_ss_lfdbew).
 
"SELECT single VCODE FROM TNDYM INTO @DATA(ld_ss_vcode).
 
"SELECT single VCODE FROM TNDYM INTO @DATA(ld_ss_vcode_nfal).
 
"SELECT single VCODE FROM TNDYM INTO @DATA(ld_ss_vcode_nbew).
 
 


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!