SAP FVD_API_CORR_PRINT_UPDATE Function Module for Print a Quantity of Correspondence Requests: V2 Update Task









FVD_API_CORR_PRINT_UPDATE is a standard fvd api corr print update SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Print a Quantity of Correspondence Requests: V2 Update Task processing and below is the pattern details for this FM, 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 fvd api corr print update FM, simply by entering the name FVD_API_CORR_PRINT_UPDATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: FVD_API_CORR_PRINT
Program Name: SAPLFVD_API_CORR_PRINT
Main Program: SAPLFVD_API_CORR_PRINT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 2



Function FVD_API_CORR_PRINT_UPDATE 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 'FVD_API_CORR_PRINT_UPDATE'"Print a Quantity of Correspondence Requests: V2 Update Task
EXPORTING
* I_COTYP = ' ' "Correspondence Type
* T_LAUFI = "Range Table Run ID in Correspondence
* T_GPART = "Range Table GPART
* T_BUKRS = "Range Table Company Code
* T_DATA1 = "Range Table for Correspondence Data
* T_DATA2 = "Range Table for Correspondence Data
* T_DATA3 = "Range Table for Correspondence Data
* T_DATA4 = "Range Table for Correspondence Data
* I_UPDATE = CON_FALSE "Setze Druckdatum
* I_FONSP = CON_FALSE "eine Spool-ID pro Paket
* I_ITCPO = "SAPscript Output Interface
* I_LAUFD = '00000000' "Date ID for Creation Run
* I_EFGPP = "Additional Print Params for ITCPO
* I_USE_BUFFER_AND_NOT_SELECTION = CON_FALSE "Verwende Pufferinhalt statt Selektionsparameter
* I_RNG_PRODUCT = "Table Type for Range for Product Type
* I_LAUFI = ' ' "Additional ID Characteristic for Creation Run
* I_DBUG = CON_FALSE "Checkbox
* T_COTYP = "Correspondence Category Range Table
* T_COKEY = "Correspondence Key Range Table
* T_UNAME = "Range Table User Name in Correspondence
* T_DATE = "Range Table Creation Date
* T_LAUFD = "Range Table Run Date in Correspondence
.



IMPORTING Parameters details for FVD_API_CORR_PRINT_UPDATE

I_COTYP - Correspondence Type

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

T_LAUFI - Range Table Run ID in Correspondence

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

T_GPART - Range Table GPART

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

T_BUKRS - Range Table Company Code

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

T_DATA1 - Range Table for Correspondence Data

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

T_DATA2 - Range Table for Correspondence Data

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

T_DATA3 - Range Table for Correspondence Data

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

T_DATA4 - Range Table for Correspondence Data

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

I_UPDATE - Setze Druckdatum

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

I_FONSP - eine Spool-ID pro Paket

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

I_ITCPO - SAPscript Output Interface

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

I_LAUFD - Date ID for Creation Run

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

I_EFGPP - Additional Print Params for ITCPO

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

I_USE_BUFFER_AND_NOT_SELECTION - Verwende Pufferinhalt statt Selektionsparameter

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

I_RNG_PRODUCT - Table Type for Range for Product Type

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

I_LAUFI - Additional ID Characteristic for Creation Run

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

I_DBUG - Checkbox

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

T_COTYP - Correspondence Category Range Table

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

T_COKEY - Correspondence Key Range Table

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

T_UNAME - Range Table User Name in Correspondence

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

T_DATE - Range Table Creation Date

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

T_LAUFD - Range Table Run Date in Correspondence

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

Copy and paste ABAP code example for FVD_API_CORR_PRINT_UPDATE 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_i_cotyp  TYPE COTYP_KK, "   ' '
lv_t_laufi  TYPE FKKCORR_RT_LAUFI, "   
lv_t_gpart  TYPE FKKCORR_RT_CREC_GP, "   
lv_t_bukrs  TYPE FKKCORR_RT_BUKRS, "   
lv_t_data1  TYPE FKK_RT_CDATA, "   
lv_t_data2  TYPE FKK_RT_CDATA, "   
lv_t_data3  TYPE FKK_RT_CDATA, "   
lv_t_data4  TYPE FKK_RT_CDATA, "   
lv_i_update  TYPE XFELD, "   CON_FALSE
lv_i_fonsp  TYPE XFELD, "   CON_FALSE
lv_i_itcpo  TYPE ITCPO, "   
lv_i_laufd  TYPE CORR_LAUFD_KK, "   '00000000'
lv_i_efgpp  TYPE EFG_PRINTPARAMS, "   
lv_i_use_buffer_and_not_selection  TYPE XFELD, "   CON_FALSE
lv_i_rng_product  TYPE TRTY_GSART_RANGE, "   
lv_i_laufi  TYPE CORR_LAUFI_KK, "   ' '
lv_i_dbug  TYPE XFELD, "   CON_FALSE
lv_t_cotyp  TYPE FKK_RT_COTYP, "   
lv_t_cokey  TYPE FKK_RT_COKEY, "   
lv_t_uname  TYPE FKKCORR_RT_UNAME, "   
lv_t_date  TYPE FKK_RT_CDATE, "   
lv_t_laufd  TYPE FKKCORR_RT_LAUFD. "   

  CALL FUNCTION 'FVD_API_CORR_PRINT_UPDATE'  "Print a Quantity of Correspondence Requests: V2 Update Task
    EXPORTING
         I_COTYP = lv_i_cotyp
         T_LAUFI = lv_t_laufi
         T_GPART = lv_t_gpart
         T_BUKRS = lv_t_bukrs
         T_DATA1 = lv_t_data1
         T_DATA2 = lv_t_data2
         T_DATA3 = lv_t_data3
         T_DATA4 = lv_t_data4
         I_UPDATE = lv_i_update
         I_FONSP = lv_i_fonsp
         I_ITCPO = lv_i_itcpo
         I_LAUFD = lv_i_laufd
         I_EFGPP = lv_i_efgpp
         I_USE_BUFFER_AND_NOT_SELECTION = lv_i_use_buffer_and_not_selection
         I_RNG_PRODUCT = lv_i_rng_product
         I_LAUFI = lv_i_laufi
         I_DBUG = lv_i_dbug
         T_COTYP = lv_t_cotyp
         T_COKEY = lv_t_cokey
         T_UNAME = lv_t_uname
         T_DATE = lv_t_date
         T_LAUFD = lv_t_laufd
. " FVD_API_CORR_PRINT_UPDATE




ABAP code using 7.40 inline data declarations to call FM FVD_API_CORR_PRINT_UPDATE

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.

DATA(ld_i_cotyp) = ' '.
 
 
 
 
 
 
 
 
DATA(ld_i_update) = CON_FALSE.
 
DATA(ld_i_fonsp) = CON_FALSE.
 
 
DATA(ld_i_laufd) = '00000000'.
 
 
DATA(ld_i_use_buffer_and_not_selection) = CON_FALSE.
 
 
DATA(ld_i_laufi) = ' '.
 
DATA(ld_i_dbug) = CON_FALSE.
 
 
 
 
 
 


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!