SAP ISP_IVW_CATEGORY_DEFAULT_VALUE Function Module for









ISP_IVW_CATEGORY_DEFAULT_VALUE is a standard isp ivw category default value 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 ivw category default value FM, simply by entering the name ISP_IVW_CATEGORY_DEFAULT_VALUE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISP_IVW_CATEGORY_DEFAULT_VALUE 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_IVW_CATEGORY_DEFAULT_VALUE'"
EXPORTING
AUFTRAGSART = "
* KUNDENGRUPPE = ' ' "
POSITIONSART = "
* PREISGRUPPE = ' ' "
* AUFMELDART = ' ' "
* RABGRENZE = "
* LIEFERART = ' ' "
* XDISCOUNT_CHECK = 'X' "

IMPORTING
DEFAULT_IVWKN = "
DEFAULT_IVWKNFREI = "

TABLES
IVWKN_TAB = "

EXCEPTIONS
NOT_EXISTING = 1 NOT_FOUND = 2
.



IMPORTING Parameters details for ISP_IVW_CATEGORY_DEFAULT_VALUE

AUFTRAGSART -

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

KUNDENGRUPPE -

Data type: TJI05-KDGRP
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

POSITIONSART -

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

PREISGRUPPE -

Data type: TJI05-KONDA
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

AUFMELDART -

Data type: TJD57-AUFMELDART
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

RABGRENZE -

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

LIEFERART -

Data type: TJI05-LFART
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

XDISCOUNT_CHECK -

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

EXPORTING Parameters details for ISP_IVW_CATEGORY_DEFAULT_VALUE

DEFAULT_IVWKN -

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

DEFAULT_IVWKNFREI -

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

TABLES Parameters details for ISP_IVW_CATEGORY_DEFAULT_VALUE

IVWKN_TAB -

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

EXCEPTIONS details

NOT_EXISTING -

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

NOT_FOUND -

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

Copy and paste ABAP code example for ISP_IVW_CATEGORY_DEFAULT_VALUE 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:
lt_ivwkn_tab  TYPE STANDARD TABLE OF RLJI03, "   
lv_auftragsart  TYPE TJI05-AUART, "   
lv_not_existing  TYPE TJI05, "   
lv_default_ivwkn  TYPE TJI05-IVWKN, "   
lv_not_found  TYPE TJI05, "   
lv_kundengruppe  TYPE TJI05-KDGRP, "   SPACE
lv_default_ivwknfrei  TYPE TJI05-IVWKNFREI, "   
lv_positionsart  TYPE TJI05-POART, "   
lv_preisgruppe  TYPE TJI05-KONDA, "   SPACE
lv_aufmeldart  TYPE TJD57-AUFMELDART, "   SPACE
lv_rabgrenze  TYPE TJI01-RABGRENZE, "   
lv_lieferart  TYPE TJI05-LFART, "   SPACE
lv_xdiscount_check  TYPE SY-DATAR. "   'X'

  CALL FUNCTION 'ISP_IVW_CATEGORY_DEFAULT_VALUE'  "
    EXPORTING
         AUFTRAGSART = lv_auftragsart
         KUNDENGRUPPE = lv_kundengruppe
         POSITIONSART = lv_positionsart
         PREISGRUPPE = lv_preisgruppe
         AUFMELDART = lv_aufmeldart
         RABGRENZE = lv_rabgrenze
         LIEFERART = lv_lieferart
         XDISCOUNT_CHECK = lv_xdiscount_check
    IMPORTING
         DEFAULT_IVWKN = lv_default_ivwkn
         DEFAULT_IVWKNFREI = lv_default_ivwknfrei
    TABLES
         IVWKN_TAB = lt_ivwkn_tab
    EXCEPTIONS
        NOT_EXISTING = 1
        NOT_FOUND = 2
. " ISP_IVW_CATEGORY_DEFAULT_VALUE




ABAP code using 7.40 inline data declarations to call FM ISP_IVW_CATEGORY_DEFAULT_VALUE

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 AUART FROM TJI05 INTO @DATA(ld_auftragsart).
 
 
"SELECT single IVWKN FROM TJI05 INTO @DATA(ld_default_ivwkn).
 
 
"SELECT single KDGRP FROM TJI05 INTO @DATA(ld_kundengruppe).
DATA(ld_kundengruppe) = ' '.
 
"SELECT single IVWKNFREI FROM TJI05 INTO @DATA(ld_default_ivwknfrei).
 
"SELECT single POART FROM TJI05 INTO @DATA(ld_positionsart).
 
"SELECT single KONDA FROM TJI05 INTO @DATA(ld_preisgruppe).
DATA(ld_preisgruppe) = ' '.
 
"SELECT single AUFMELDART FROM TJD57 INTO @DATA(ld_aufmeldart).
DATA(ld_aufmeldart) = ' '.
 
"SELECT single RABGRENZE FROM TJI01 INTO @DATA(ld_rabgrenze).
 
"SELECT single LFART FROM TJI05 INTO @DATA(ld_lieferart).
DATA(ld_lieferart) = ' '.
 
"SELECT single DATAR FROM SY INTO @DATA(ld_xdiscount_check).
DATA(ld_xdiscount_check) = 'X'.
 


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!