SAP ISP_VA_GET_ALL_INSETS Function Module for









ISP_VA_GET_ALL_INSETS is a standard isp va get all insets 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 isp va get all insets FM, simply by entering the name ISP_VA_GET_ALL_INSETS into the relevant SAP transaction such as SE37 or SE38.

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



Function ISP_VA_GET_ALL_INSETS 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 'ISP_VA_GET_ALL_INSETS'"
EXPORTING
* BZTYP = ' ' "
* X_JHAES_ERR_TAB_SHOW = 'X' "
* BEABLST = "
* GEOEINHEIT = ' ' "
* INCL_PROSPECTUS = 'X' "
* KDGRP = ' ' "
* LFART_TAT = ' ' "
* TGBZ_FROM_DB = ' ' "
VA = "
* X_KDGRP_WILDCARD = 'X' "
* ZUSTELLBEZIRK = ' ' "

IMPORTING
JHAES_UPD_TAB = "
JHAES_ERR_TAB = "

TABLES
INSET = "
TGBZ = "
VABZUS = "
* SI_JHAES_ERR_TAB = "

EXCEPTIONS
BEZIRK_AND_GEO_NOT_ALLOWED = 1 BZTYP_NOT_FOUND = 2 INTERNER_FEHLER = 3 MISSING_BELEGKOPF = 4 MISSING_PROSPEKTVA = 5 VA_NOT_FOUND = 6 ZUSTELLBEZIRK_NOT_FOUND = 7 INTERNAL_ERROR = 8
.



IMPORTING Parameters details for ISP_VA_GET_ALL_INSETS

BZTYP -

Data type: JDTTGBZ-BZTYP
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_JHAES_ERR_TAB_SHOW -

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

BEABLST -

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

GEOEINHEIT -

Data type: JVTLFNG-GEOEINTAT
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

INCL_PROSPECTUS -

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

KDGRP -

Data type: JVTLFNG-KNDGRUPPE
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

LFART_TAT -

Data type: JVTLFNG-LFARTTAT
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

TGBZ_FROM_DB -

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

VA -

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

X_KDGRP_WILDCARD -

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

ZUSTELLBEZIRK -

Data type: JVTLFNG-BEZIRKTAT
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ISP_VA_GET_ALL_INSETS

JHAES_UPD_TAB -

Data type: JHA8_JHAES_PSD_PLUS_TAB
Optional: No
Call by Reference: Yes

JHAES_ERR_TAB -

Data type: JHA8_SI_BB_BL_TAB
Optional: No
Call by Reference: Yes

TABLES Parameters details for ISP_VA_GET_ALL_INSETS

INSET -

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

TGBZ -

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

VABZUS -

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

SI_JHAES_ERR_TAB -

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

EXCEPTIONS details

BEZIRK_AND_GEO_NOT_ALLOWED -

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

BZTYP_NOT_FOUND -

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

INTERNER_FEHLER -

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

MISSING_BELEGKOPF -

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

MISSING_PROSPEKTVA -

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

VA_NOT_FOUND -

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

ZUSTELLBEZIRK_NOT_FOUND -

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

INTERNAL_ERROR -

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

Copy and paste ABAP code example for ISP_VA_GET_ALL_INSETS 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_bztyp  TYPE JDTTGBZ-BZTYP, "   ' '
lt_inset  TYPE STANDARD TABLE OF JDTVAUSGB, "   
lv_jhaes_upd_tab  TYPE JHA8_JHAES_PSD_PLUS_TAB, "   
lv_bezirk_and_geo_not_allowed  TYPE JHA8_JHAES_PSD_PLUS_TAB, "   
lv_x_jhaes_err_tab_show  TYPE JHA8_JHAES_PSD_PLUS_TAB, "   'X'
lv_beablst  TYPE JVTLFNG-BEABLST, "   
lt_tgbz  TYPE STANDARD TABLE OF JDTTGBZ, "   
lv_geoeinheit  TYPE JVTLFNG-GEOEINTAT, "   ' '
lv_jhaes_err_tab  TYPE JHA8_SI_BB_BL_TAB, "   
lv_bztyp_not_found  TYPE JHA8_SI_BB_BL_TAB, "   
lt_vabzus  TYPE STANDARD TABLE OF RJDVABZUS, "   
lv_incl_prospectus  TYPE RJDVABZUS, "   'X'
lv_interner_fehler  TYPE RJDVABZUS, "   
lv_kdgrp  TYPE JVTLFNG-KNDGRUPPE, "   ' '
lt_si_jhaes_err_tab  TYPE STANDARD TABLE OF JHA8_SI_BB_BL_TAB, "   
lv_missing_belegkopf  TYPE JHA8_SI_BB_BL_TAB, "   
lv_lfart_tat  TYPE JVTLFNG-LFARTTAT, "   ' '
lv_missing_prospektva  TYPE JVTLFNG, "   
lv_tgbz_from_db  TYPE JVTLFNG, "   ' '
lv_va_not_found  TYPE JVTLFNG, "   
lv_va  TYPE JDTVAUSGB-VAUSGB, "   
lv_zustellbezirk_not_found  TYPE JDTVAUSGB, "   
lv_internal_error  TYPE JDTVAUSGB, "   
lv_x_kdgrp_wildcard  TYPE JDTVAUSGB, "   'X'
lv_zustellbezirk  TYPE JVTLFNG-BEZIRKTAT. "   ' '

  CALL FUNCTION 'ISP_VA_GET_ALL_INSETS'  "
    EXPORTING
         BZTYP = lv_bztyp
         X_JHAES_ERR_TAB_SHOW = lv_x_jhaes_err_tab_show
         BEABLST = lv_beablst
         GEOEINHEIT = lv_geoeinheit
         INCL_PROSPECTUS = lv_incl_prospectus
         KDGRP = lv_kdgrp
         LFART_TAT = lv_lfart_tat
         TGBZ_FROM_DB = lv_tgbz_from_db
         VA = lv_va
         X_KDGRP_WILDCARD = lv_x_kdgrp_wildcard
         ZUSTELLBEZIRK = lv_zustellbezirk
    IMPORTING
         JHAES_UPD_TAB = lv_jhaes_upd_tab
         JHAES_ERR_TAB = lv_jhaes_err_tab
    TABLES
         INSET = lt_inset
         TGBZ = lt_tgbz
         VABZUS = lt_vabzus
         SI_JHAES_ERR_TAB = lt_si_jhaes_err_tab
    EXCEPTIONS
        BEZIRK_AND_GEO_NOT_ALLOWED = 1
        BZTYP_NOT_FOUND = 2
        INTERNER_FEHLER = 3
        MISSING_BELEGKOPF = 4
        MISSING_PROSPEKTVA = 5
        VA_NOT_FOUND = 6
        ZUSTELLBEZIRK_NOT_FOUND = 7
        INTERNAL_ERROR = 8
. " ISP_VA_GET_ALL_INSETS




ABAP code using 7.40 inline data declarations to call FM ISP_VA_GET_ALL_INSETS

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 BZTYP FROM JDTTGBZ INTO @DATA(ld_bztyp).
DATA(ld_bztyp) = ' '.
 
 
 
 
DATA(ld_x_jhaes_err_tab_show) = 'X'.
 
"SELECT single BEABLST FROM JVTLFNG INTO @DATA(ld_beablst).
 
 
"SELECT single GEOEINTAT FROM JVTLFNG INTO @DATA(ld_geoeinheit).
DATA(ld_geoeinheit) = ' '.
 
 
 
 
DATA(ld_incl_prospectus) = 'X'.
 
 
"SELECT single KNDGRUPPE FROM JVTLFNG INTO @DATA(ld_kdgrp).
DATA(ld_kdgrp) = ' '.
 
 
 
"SELECT single LFARTTAT FROM JVTLFNG INTO @DATA(ld_lfart_tat).
DATA(ld_lfart_tat) = ' '.
 
 
DATA(ld_tgbz_from_db) = ' '.
 
 
"SELECT single VAUSGB FROM JDTVAUSGB INTO @DATA(ld_va).
 
 
 
DATA(ld_x_kdgrp_wildcard) = 'X'.
 
"SELECT single BEZIRKTAT FROM JVTLFNG INTO @DATA(ld_zustellbezirk).
DATA(ld_zustellbezirk) = ' '.
 


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!