SAP FIAA_NBV_SHOW Function Module for
FIAA_NBV_SHOW is a standard fiaa nbv show 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 fiaa nbv show FM, simply by entering the name FIAA_NBV_SHOW into the relevant SAP transaction such as SE37 or SE38.
Function Group: AMDI
Program Name: SAPLAMDI
Main Program: SAPLAMDI
Appliation area: A
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FIAA_NBV_SHOW 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 'FIAA_NBV_SHOW'".
EXPORTING
I_BUKRS = "
I_AFABE = "
* I_BZDAT = SYST-DATUM "
* I_DIALOG = 'X' "
I_ANLN1 = "
I_ANLN2 = "
IMPORTING
E_NBV = "
EXCEPTIONS
BUKRS_NOT_DEFINED = 1 ERRORS_CALC_DETECTED = 10 AREA_IS_DERIVED = 11 ASSET_NOT_DEFINED = 2 AREA_NOT_DEFINED = 3 BZDAT_MISSING = 4 NO_AUTHORITY = 5 AREA_NOT_VALID_FOR_ASSET = 6 INPUT_IS_INCOMPLETE = 7 BZDAT_PROBLEMS = 8 BZDAT_WRONG = 9
IMPORTING Parameters details for FIAA_NBV_SHOW
I_BUKRS -
Data type: ANLC-BUKRSOptional: No
Call by Reference: Yes
I_AFABE -
Data type: ANLC-AFABEOptional: No
Call by Reference: No ( called with pass by value option)
I_BZDAT -
Data type: ANEP-BZDATDefault: SYST-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_DIALOG -
Data type: ANLA-ANUPDDefault: 'X'
Optional: Yes
Call by Reference: Yes
I_ANLN1 -
Data type: ANLC-ANLN1Optional: No
Call by Reference: Yes
I_ANLN2 -
Data type: ANLC-ANLN2Optional: No
Call by Reference: Yes
EXPORTING Parameters details for FIAA_NBV_SHOW
E_NBV -
Data type: ANLC-KANSWOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
BUKRS_NOT_DEFINED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERRORS_CALC_DETECTED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
AREA_IS_DERIVED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ASSET_NOT_DEFINED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
AREA_NOT_DEFINED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
BZDAT_MISSING -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AUTHORITY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
AREA_NOT_VALID_FOR_ASSET -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INPUT_IS_INCOMPLETE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
BZDAT_PROBLEMS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
BZDAT_WRONG -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FIAA_NBV_SHOW 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_e_nbv | TYPE ANLC-KANSW, " | |||
| lv_i_bukrs | TYPE ANLC-BUKRS, " | |||
| lv_bukrs_not_defined | TYPE ANLC, " | |||
| lv_errors_calc_detected | TYPE ANLC, " | |||
| lv_area_is_derived | TYPE ANLC, " | |||
| lv_i_afabe | TYPE ANLC-AFABE, " | |||
| lv_asset_not_defined | TYPE ANLC, " | |||
| lv_i_bzdat | TYPE ANEP-BZDAT, " SYST-DATUM | |||
| lv_area_not_defined | TYPE ANEP, " | |||
| lv_i_dialog | TYPE ANLA-ANUPD, " 'X' | |||
| lv_bzdat_missing | TYPE ANLA, " | |||
| lv_i_anln1 | TYPE ANLC-ANLN1, " | |||
| lv_no_authority | TYPE ANLC, " | |||
| lv_i_anln2 | TYPE ANLC-ANLN2, " | |||
| lv_area_not_valid_for_asset | TYPE ANLC, " | |||
| lv_input_is_incomplete | TYPE ANLC, " | |||
| lv_bzdat_problems | TYPE ANLC, " | |||
| lv_bzdat_wrong | TYPE ANLC. " |
|   CALL FUNCTION 'FIAA_NBV_SHOW' " |
| EXPORTING | ||
| I_BUKRS | = lv_i_bukrs | |
| I_AFABE | = lv_i_afabe | |
| I_BZDAT | = lv_i_bzdat | |
| I_DIALOG | = lv_i_dialog | |
| I_ANLN1 | = lv_i_anln1 | |
| I_ANLN2 | = lv_i_anln2 | |
| IMPORTING | ||
| E_NBV | = lv_e_nbv | |
| EXCEPTIONS | ||
| BUKRS_NOT_DEFINED = 1 | ||
| ERRORS_CALC_DETECTED = 10 | ||
| AREA_IS_DERIVED = 11 | ||
| ASSET_NOT_DEFINED = 2 | ||
| AREA_NOT_DEFINED = 3 | ||
| BZDAT_MISSING = 4 | ||
| NO_AUTHORITY = 5 | ||
| AREA_NOT_VALID_FOR_ASSET = 6 | ||
| INPUT_IS_INCOMPLETE = 7 | ||
| BZDAT_PROBLEMS = 8 | ||
| BZDAT_WRONG = 9 | ||
| . " FIAA_NBV_SHOW | ||
ABAP code using 7.40 inline data declarations to call FM FIAA_NBV_SHOW
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 KANSW FROM ANLC INTO @DATA(ld_e_nbv). | ||||
| "SELECT single BUKRS FROM ANLC INTO @DATA(ld_i_bukrs). | ||||
| "SELECT single AFABE FROM ANLC INTO @DATA(ld_i_afabe). | ||||
| "SELECT single BZDAT FROM ANEP INTO @DATA(ld_i_bzdat). | ||||
| DATA(ld_i_bzdat) | = SYST-DATUM. | |||
| "SELECT single ANUPD FROM ANLA INTO @DATA(ld_i_dialog). | ||||
| DATA(ld_i_dialog) | = 'X'. | |||
| "SELECT single ANLN1 FROM ANLC INTO @DATA(ld_i_anln1). | ||||
| "SELECT single ANLN2 FROM ANLC INTO @DATA(ld_i_anln2). | ||||
Search for further information about these or an SAP related objects