SAP FVIA_VZZKOPO_TO_VIBEPP_PERIOD Function Module for









FVIA_VZZKOPO_TO_VIBEPP_PERIOD is a standard fvia vzzkopo to vibepp period 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 fvia vzzkopo to vibepp period FM, simply by entering the name FVIA_VZZKOPO_TO_VIBEPP_PERIOD into the relevant SAP transaction such as SE37 or SE38.

Function Group: FVIA
Program Name: SAPLFVIA
Main Program: SAPLFVIA
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FVIA_VZZKOPO_TO_VIBEPP_PERIOD 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 'FVIA_VZZKOPO_TO_VIBEPP_PERIOD'"
EXPORTING
I_DBEGIN_PERIOD = "
* I_FLG_SHOW_ONLY = ' ' "
I_GSART = "Transaction Type
* I_IMKEY = ' ' "
* I_INTRENO = ' ' "
* I_RUSER = ' ' "User Data
I_SANLF = "Product Category
* I_WAERS = ' ' "
* I_DEND_PERIOD = ' ' "
* I_DFAELL_NACHB = SY-DATUM "
* I_DMIEND = "
* I_FLG_CREATE_DATES_IN_KOPO = ' ' "
* I_FLG_NACHBUCHUNG = ' ' "
* I_FLG_NO_KEY = 'X' "
* I_FLG_READ_WE = ' ' "
* I_FLG_SHOW = ' ' "

IMPORTING
E_FLG_NACHBUCHUNG = "

TABLES
GES_VZZKOPO = "
NEW_VIBEPP = "

EXCEPTIONS
GSART_NOT_IN_TZA37 = 1 SBEWART_NACHBUCHUNG_NOT_FOUND = 2
.



IMPORTING Parameters details for FVIA_VZZKOPO_TO_VIBEPP_PERIOD

I_DBEGIN_PERIOD -

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

I_FLG_SHOW_ONLY -

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

I_GSART - Transaction Type

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

I_IMKEY -

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

I_INTRENO -

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

I_RUSER - User Data

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

I_SANLF - Product Category

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

I_WAERS -

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

I_DEND_PERIOD -

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

I_DFAELL_NACHB -

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

I_DMIEND -

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

I_FLG_CREATE_DATES_IN_KOPO -

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

I_FLG_NACHBUCHUNG -

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

I_FLG_NO_KEY -

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

I_FLG_READ_WE -

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

I_FLG_SHOW -

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

EXPORTING Parameters details for FVIA_VZZKOPO_TO_VIBEPP_PERIOD

E_FLG_NACHBUCHUNG -

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

TABLES Parameters details for FVIA_VZZKOPO_TO_VIBEPP_PERIOD

GES_VZZKOPO -

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

NEW_VIBEPP -

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

EXCEPTIONS details

GSART_NOT_IN_TZA37 -

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

SBEWART_NACHBUCHUNG_NOT_FOUND -

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

Copy and paste ABAP code example for FVIA_VZZKOPO_TO_VIBEPP_PERIOD 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_ges_vzzkopo  TYPE STANDARD TABLE OF VVZZKOPO, "   
lv_i_dbegin_period  TYPE SY-DATUM, "   
lv_e_flg_nachbuchung  TYPE SY, "   
lv_gsart_not_in_tza37  TYPE SY, "   
lv_i_flg_show_only  TYPE SY, "   SPACE
lv_i_gsart  TYPE VIBEPP-GSART, "   
lv_i_imkey  TYPE VIMIMV-IMKEY, "   SPACE
lv_i_intreno  TYPE VIMIMV-INTRENO, "   SPACE
lv_i_ruser  TYPE RUSER, "   SPACE
lv_i_sanlf  TYPE VIBEPP-SANLF, "   
lv_i_waers  TYPE VIOB01-WAERS, "   SPACE
lt_new_vibepp  TYPE STANDARD TABLE OF GVIBEPP, "   
lv_i_dend_period  TYPE SY-DATUM, "   SPACE
lv_sbewart_nachbuchung_not_found  TYPE SY, "   
lv_i_dfaell_nachb  TYPE SY-DATUM, "   SY-DATUM
lv_i_dmiend  TYPE VIMIMV-DMIEND, "   
lv_i_flg_create_dates_in_kopo  TYPE VIMIMV, "   SPACE
lv_i_flg_nachbuchung  TYPE VIMIMV, "   SPACE
lv_i_flg_no_key  TYPE VIMIMV, "   'X'
lv_i_flg_read_we  TYPE VIMIMV, "   SPACE
lv_i_flg_show  TYPE VIMIMV. "   SPACE

  CALL FUNCTION 'FVIA_VZZKOPO_TO_VIBEPP_PERIOD'  "
    EXPORTING
         I_DBEGIN_PERIOD = lv_i_dbegin_period
         I_FLG_SHOW_ONLY = lv_i_flg_show_only
         I_GSART = lv_i_gsart
         I_IMKEY = lv_i_imkey
         I_INTRENO = lv_i_intreno
         I_RUSER = lv_i_ruser
         I_SANLF = lv_i_sanlf
         I_WAERS = lv_i_waers
         I_DEND_PERIOD = lv_i_dend_period
         I_DFAELL_NACHB = lv_i_dfaell_nachb
         I_DMIEND = lv_i_dmiend
         I_FLG_CREATE_DATES_IN_KOPO = lv_i_flg_create_dates_in_kopo
         I_FLG_NACHBUCHUNG = lv_i_flg_nachbuchung
         I_FLG_NO_KEY = lv_i_flg_no_key
         I_FLG_READ_WE = lv_i_flg_read_we
         I_FLG_SHOW = lv_i_flg_show
    IMPORTING
         E_FLG_NACHBUCHUNG = lv_e_flg_nachbuchung
    TABLES
         GES_VZZKOPO = lt_ges_vzzkopo
         NEW_VIBEPP = lt_new_vibepp
    EXCEPTIONS
        GSART_NOT_IN_TZA37 = 1
        SBEWART_NACHBUCHUNG_NOT_FOUND = 2
. " FVIA_VZZKOPO_TO_VIBEPP_PERIOD




ABAP code using 7.40 inline data declarations to call FM FVIA_VZZKOPO_TO_VIBEPP_PERIOD

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 DATUM FROM SY INTO @DATA(ld_i_dbegin_period).
 
 
 
DATA(ld_i_flg_show_only) = ' '.
 
"SELECT single GSART FROM VIBEPP INTO @DATA(ld_i_gsart).
 
"SELECT single IMKEY FROM VIMIMV INTO @DATA(ld_i_imkey).
DATA(ld_i_imkey) = ' '.
 
"SELECT single INTRENO FROM VIMIMV INTO @DATA(ld_i_intreno).
DATA(ld_i_intreno) = ' '.
 
DATA(ld_i_ruser) = ' '.
 
"SELECT single SANLF FROM VIBEPP INTO @DATA(ld_i_sanlf).
 
"SELECT single WAERS FROM VIOB01 INTO @DATA(ld_i_waers).
DATA(ld_i_waers) = ' '.
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_dend_period).
DATA(ld_i_dend_period) = ' '.
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_dfaell_nachb).
DATA(ld_i_dfaell_nachb) = SY-DATUM.
 
"SELECT single DMIEND FROM VIMIMV INTO @DATA(ld_i_dmiend).
 
DATA(ld_i_flg_create_dates_in_kopo) = ' '.
 
DATA(ld_i_flg_nachbuchung) = ' '.
 
DATA(ld_i_flg_no_key) = 'X'.
 
DATA(ld_i_flg_read_we) = ' '.
 
DATA(ld_i_flg_show) = ' '.
 


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!