SAP ISP_ZEBU_SET_GENERATE Function Module for









ISP_ZEBU_SET_GENERATE is a standard isp zebu set generate 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 zebu set generate FM, simply by entering the name ISP_ZEBU_SET_GENERATE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISP_ZEBU_SET_GENERATE 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_ZEBU_SET_GENERATE'"
EXPORTING
* BFS = CON_STUFE0 "
ZEBUART = "
* DRERZ = CON_' '(8) "
* DRUCKEREI = CON_' '(4) "
LAND = "
* LIEFERART = CON_' '(2) "
* NETZ = CON_' '(2) "
PLZ = "
* PVA = ' ' "
* XBUNDGEBINDE = ' ' "

IMPORTING
ZEBU_SATZ = "
ZEBU_SATZ_POST = "

TABLES
DRERZ_TAB = "

EXCEPTIONS
WRONG_PLZ_STUFE_OR_ROOT = 1
.



IMPORTING Parameters details for ISP_ZEBU_SET_GENERATE

BFS -

Data type: JVTORGZEBU-BFS_STUFE
Default: CON_STUFE0
Optional: Yes
Call by Reference: No ( called with pass by value option)

ZEBUART -

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

DRERZ -

Data type: JVTMODZEBU-DRERZ
Default: CON_SPACE(8)
Optional: Yes
Call by Reference: No ( called with pass by value option)

DRUCKEREI -

Data type: JVTMODZEBU-DRUCKEREI
Default: CON_SPACE(4)
Optional: Yes
Call by Reference: No ( called with pass by value option)

LAND -

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

LIEFERART -

Data type: JVTMODZEBU-LIEFERART
Default: CON_SPACE(2)
Optional: Yes
Call by Reference: No ( called with pass by value option)

NETZ -

Data type: JVTMODZEBU-NETZ
Default: CON_SPACE(2)
Optional: Yes
Call by Reference: No ( called with pass by value option)

PLZ -

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

PVA -

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

XBUNDGEBINDE -

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

EXPORTING Parameters details for ISP_ZEBU_SET_GENERATE

ZEBU_SATZ -

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

ZEBU_SATZ_POST -

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

TABLES Parameters details for ISP_ZEBU_SET_GENERATE

DRERZ_TAB -

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

EXCEPTIONS details

WRONG_PLZ_STUFE_OR_ROOT -

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

Copy and paste ABAP code example for ISP_ZEBU_SET_GENERATE 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_bfs  TYPE JVTORGZEBU-BFS_STUFE, "   CON_STUFE0
lt_drerz_tab  TYPE STANDARD TABLE OF RJV5005, "   
lv_zebu_satz  TYPE RJVZEBU, "   
lv_wrong_plz_stufe_or_root  TYPE RJVZEBU, "   
lv_zebuart  TYPE JVTPLZZEBU-ZEBUART, "   
lv_drerz  TYPE JVTMODZEBU-DRERZ, "   CON_SPACE(8)
lv_zebu_satz_post  TYPE RJVPSTZEBU, "   
lv_druckerei  TYPE JVTMODZEBU-DRUCKEREI, "   CON_SPACE(4)
lv_land  TYPE TJY00-DEFLAND1, "   
lv_lieferart  TYPE JVTMODZEBU-LIEFERART, "   CON_SPACE(2)
lv_netz  TYPE JVTMODZEBU-NETZ, "   CON_SPACE(2)
lv_plz  TYPE JVTORGZEBU-PLZ, "   
lv_pva  TYPE JVTMODZEBU-PVA, "   ' '
lv_xbundgebinde  TYPE JVTORGZEBU-XMODIF. "   ' '

  CALL FUNCTION 'ISP_ZEBU_SET_GENERATE'  "
    EXPORTING
         BFS = lv_bfs
         ZEBUART = lv_zebuart
         DRERZ = lv_drerz
         DRUCKEREI = lv_druckerei
         LAND = lv_land
         LIEFERART = lv_lieferart
         NETZ = lv_netz
         PLZ = lv_plz
         PVA = lv_pva
         XBUNDGEBINDE = lv_xbundgebinde
    IMPORTING
         ZEBU_SATZ = lv_zebu_satz
         ZEBU_SATZ_POST = lv_zebu_satz_post
    TABLES
         DRERZ_TAB = lt_drerz_tab
    EXCEPTIONS
        WRONG_PLZ_STUFE_OR_ROOT = 1
. " ISP_ZEBU_SET_GENERATE




ABAP code using 7.40 inline data declarations to call FM ISP_ZEBU_SET_GENERATE

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 BFS_STUFE FROM JVTORGZEBU INTO @DATA(ld_bfs).
DATA(ld_bfs) = CON_STUFE0.
 
 
 
 
"SELECT single ZEBUART FROM JVTPLZZEBU INTO @DATA(ld_zebuart).
 
"SELECT single DRERZ FROM JVTMODZEBU INTO @DATA(ld_drerz).
DATA(ld_drerz) = CON_' '.
 
 
"SELECT single DRUCKEREI FROM JVTMODZEBU INTO @DATA(ld_druckerei).
DATA(ld_druckerei) = CON_' '.
 
"SELECT single DEFLAND1 FROM TJY00 INTO @DATA(ld_land).
 
"SELECT single LIEFERART FROM JVTMODZEBU INTO @DATA(ld_lieferart).
DATA(ld_lieferart) = CON_' '.
 
"SELECT single NETZ FROM JVTMODZEBU INTO @DATA(ld_netz).
DATA(ld_netz) = CON_' '.
 
"SELECT single PLZ FROM JVTORGZEBU INTO @DATA(ld_plz).
 
"SELECT single PVA FROM JVTMODZEBU INTO @DATA(ld_pva).
DATA(ld_pva) = ' '.
 
"SELECT single XMODIF FROM JVTORGZEBU INTO @DATA(ld_xbundgebinde).
DATA(ld_xbundgebinde) = ' '.
 


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!