SAP ISH_NL_DBC_CODE Function Module for
ISH_NL_DBC_CODE is a standard ish nl dbc 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 dbc code FM, simply by entering the name ISH_NL_DBC_CODE into the relevant SAP transaction such as SE37 or SE38.
Function Group: NNLDBC
Program Name: SAPLNNLDBC
Main Program: SAPLNNLDBC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_NL_DBC_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_DBC_CODE'".
EXPORTING
SS_BWIDT = "
SS_ORGPF = "
* SS_BARNR = "
* SS_STYLE = "
SS_ORGFA = "
SS_MODE = "
SS_EINRI = "
SS_PATNR = "
SS_FALNR = "
SS_BWART = "
SS_NFAL = "
* SS_BEWDT = "
CHANGING
NFAL = "
TABLES
SS_NBEWTAB = "
IMPORTING Parameters details for ISH_NL_DBC_CODE
SS_BWIDT -
Data type: NBEW-BWIDTOptional: No
Call by Reference: Yes
SS_ORGPF -
Data type: NBEW-ORGPFOptional: No
Call by Reference: Yes
SS_BARNR -
Data type: RNPA1-BARNROptional: Yes
Call by Reference: Yes
SS_STYLE -
Data type: CHAR1Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_ORGFA -
Data type: NBEW-ORGFAOptional: No
Call by Reference: Yes
SS_MODE -
Data type: SY-TCODEOptional: No
Call by Reference: Yes
SS_EINRI -
Data type: NPAT-EINRIOptional: No
Call by Reference: Yes
SS_PATNR -
Data type: NPAT-PATNROptional: No
Call by Reference: Yes
SS_FALNR -
Data type: NFAL-FALNROptional: No
Call by Reference: Yes
SS_BWART -
Data type: NBEW-BWARTOptional: No
Call by Reference: Yes
SS_NFAL -
Data type: NFALOptional: No
Call by Reference: Yes
SS_BEWDT -
Data type: NBEW-BWIDTOptional: Yes
Call by Reference: Yes
CHANGING Parameters details for ISH_NL_DBC_CODE
NFAL -
Data type: NFALOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISH_NL_DBC_CODE
SS_NBEWTAB -
Data type: VNBEWOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISH_NL_DBC_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_nfal | TYPE NFAL, " | |||
| lv_ss_bwidt | TYPE NBEW-BWIDT, " | |||
| lt_ss_nbewtab | TYPE STANDARD TABLE OF VNBEW, " | |||
| lv_ss_orgpf | TYPE NBEW-ORGPF, " | |||
| lv_ss_barnr | TYPE RNPA1-BARNR, " | |||
| lv_ss_style | TYPE CHAR1, " | |||
| lv_ss_orgfa | TYPE NBEW-ORGFA, " | |||
| lv_ss_mode | TYPE SY-TCODE, " | |||
| lv_ss_einri | TYPE NPAT-EINRI, " | |||
| lv_ss_patnr | TYPE NPAT-PATNR, " | |||
| lv_ss_falnr | TYPE NFAL-FALNR, " | |||
| lv_ss_bwart | TYPE NBEW-BWART, " | |||
| lv_ss_nfal | TYPE NFAL, " | |||
| lv_ss_bewdt | TYPE NBEW-BWIDT. " |
|   CALL FUNCTION 'ISH_NL_DBC_CODE' " |
| EXPORTING | ||
| SS_BWIDT | = lv_ss_bwidt | |
| SS_ORGPF | = lv_ss_orgpf | |
| SS_BARNR | = lv_ss_barnr | |
| SS_STYLE | = lv_ss_style | |
| SS_ORGFA | = lv_ss_orgfa | |
| SS_MODE | = lv_ss_mode | |
| SS_EINRI | = lv_ss_einri | |
| SS_PATNR | = lv_ss_patnr | |
| SS_FALNR | = lv_ss_falnr | |
| SS_BWART | = lv_ss_bwart | |
| SS_NFAL | = lv_ss_nfal | |
| SS_BEWDT | = lv_ss_bewdt | |
| CHANGING | ||
| NFAL | = lv_nfal | |
| TABLES | ||
| SS_NBEWTAB | = lt_ss_nbewtab | |
| . " ISH_NL_DBC_CODE | ||
ABAP code using 7.40 inline data declarations to call FM ISH_NL_DBC_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 BWIDT FROM NBEW INTO @DATA(ld_ss_bwidt). | ||||
| "SELECT single ORGPF FROM NBEW INTO @DATA(ld_ss_orgpf). | ||||
| "SELECT single BARNR FROM RNPA1 INTO @DATA(ld_ss_barnr). | ||||
| "SELECT single ORGFA FROM NBEW INTO @DATA(ld_ss_orgfa). | ||||
| "SELECT single TCODE FROM SY INTO @DATA(ld_ss_mode). | ||||
| "SELECT single EINRI FROM NPAT INTO @DATA(ld_ss_einri). | ||||
| "SELECT single PATNR FROM NPAT INTO @DATA(ld_ss_patnr). | ||||
| "SELECT single FALNR FROM NFAL INTO @DATA(ld_ss_falnr). | ||||
| "SELECT single BWART FROM NBEW INTO @DATA(ld_ss_bwart). | ||||
| "SELECT single BWIDT FROM NBEW INTO @DATA(ld_ss_bewdt). | ||||
Search for further information about these or an SAP related objects