SAP ISIS_D_PRINT_DOCUMENT Function Module for IS-IS: Text Interface









ISIS_D_PRINT_DOCUMENT is a standard isis d print document SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-IS: Text Interface 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 isis d print document FM, simply by entering the name ISIS_D_PRINT_DOCUMENT into the relevant SAP transaction such as SE37 or SE38.

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



Function ISIS_D_PRINT_DOCUMENT 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 'ISIS_D_PRINT_DOCUMENT'"IS-IS: Text Interface
EXPORTING
I_BUKRS = "Company Code
* I_LOAD_TZZKD = 'X' "Kennz.: TDP5 von DB laden
* I_LOAD_VDARL = ' ' "Kennz.: VDARL von DB laden (zusätzlich)
* I_LOAD_VDBEKI = ' ' "
* I_LOAD_VDHINT = ' ' "Kennz.: VDARL von DB laden
* I_LOAD_VDSCRIPT = ' ' "Kennz.: VDSCRIPT füllen (aus I_VDARL, I_VZZKOKO)
* I_LOAD_VZGPO = ' ' "Kennz.: VZPARO von DB lesen (zusätzlich)
* I_LOAD_VZZKOKO = ' ' "Kennz.: VZZKOKO/VZZKOPO von DB lesen
* I_PROTOCOL_OUT = ' ' "
I_RANL = "Loan Number
* I_RBLNR = ' ' "
* I_CALC_RLOAM = '0' "Berechne RLOAM-Struktur
* I_SINTNR = ' ' "
* I_VDARL = ' ' "VDARL-Struktur
* I_VDHINT = ' ' "VDHINT-Struktur
* I_VDSCRIPT = ' ' "VDSCRIPT-Struktur
* I_VDORDER = ' ' "
* I_TDCOTYP_ACT = "Assignment Correspondence Activity-Role-Correspondence Type
* I_USER_TEXT = "Custom Text for Correspondence Tool
* I_OPT_TEXT = "Optional Text Modules for Correspondence Tool
* I_FLG_PRINT_IMMED = "X = Druck sofort starten
* I_DISPLAY_MODE = "X = Anzeigemodus
* I_DATE = SY-DATLO "Bezugsdatum (Währung, Beziehungen, usw.)
* IT_VDLV = "Table Type for Table VDLV
* IT_VDSONSI = "Special arrangements
* I_FLG_PROL = "
* I_FLG_NO_VDSCRKO = "
* I_DDATE = SY-DATLO "Briefdatum (Datum, das im Brief angedruckt wird)
* I_DIALOG = 'X' "Anwender-Dialog (Popups)
* I_GV = '9999' "Correspondence Activity
* I_ITCPO = ' ' "Steuertabelle für Spooler
* I_LOAD_RVDHOBJ = ' ' "Kennz.: Objekte von DB laden (zusätzlich)
* I_LOAD_RVDSICH = ' ' "Kennz.: Sicherheiten von DB laden (zusätzlich)

IMPORTING
E_RC = "

TABLES
* E_ERRORS = "
* I_ARC_DOC_REC = "Carryforward Records for Reorganization of Loan Doc. Items
* I_VZGPO = "VZPARO (Bez.Tab.Darlehen-Partner)
* I_VZZKOKO = "VZZKOKO (Konditionsköpfe)
* I_VZZKOPO = "VZZKOPO (Konditionspositionen)
* E_ITCPP = "Ergebnis des Spools
* I_RVDDOCUTYP = "Dokumenttypen, die gedruckt werden sollen
* I_RVDHOBJ = "Objects
* I_RVDSICH = "Collateral
* I_TZZKD = "Bez. Rolle-Dokutyp
* I_VDBEKI = "
* I_VDBEPI = "
* I_VDBEPP = "
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLFVDD_ADDON_001 User Exit for FB TEXT_INTERFACE
EXIT_SAPLFVDD_ADDON_002 User Exit for Document Selection
EXIT_SAPLFVDD_ADDON_003 User Exit for Selecting Correspondence Activities

IMPORTING Parameters details for ISIS_D_PRINT_DOCUMENT

I_BUKRS - Company Code

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

I_LOAD_TZZKD - Kennz.: TDP5 von DB laden

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

I_LOAD_VDARL - Kennz.: VDARL von DB laden (zusätzlich)

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

I_LOAD_VDBEKI -

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

I_LOAD_VDHINT - Kennz.: VDARL von DB laden

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

I_LOAD_VDSCRIPT - Kennz.: VDSCRIPT füllen (aus I_VDARL, I_VZZKOKO)

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

I_LOAD_VZGPO - Kennz.: VZPARO von DB lesen (zusätzlich)

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

I_LOAD_VZZKOKO - Kennz.: VZZKOKO/VZZKOPO von DB lesen

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

I_PROTOCOL_OUT -

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

I_RANL - Loan Number

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

I_RBLNR -

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

I_CALC_RLOAM - Berechne RLOAM-Struktur

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

I_SINTNR -

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

I_VDARL - VDARL-Struktur

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

I_VDHINT - VDHINT-Struktur

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

I_VDSCRIPT - VDSCRIPT-Struktur

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

I_VDORDER -

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

I_TDCOTYP_ACT - Assignment Correspondence Activity-Role-Correspondence Type

Data type: TRTY_TDCOTYP_ACT
Optional: Yes
Call by Reference: Yes

I_USER_TEXT - Custom Text for Correspondence Tool

Data type: TRTY_CORR_USER_TEXT
Optional: Yes
Call by Reference: Yes

I_OPT_TEXT - Optional Text Modules for Correspondence Tool

Data type: TRTY_CORR_OPT_TEXT
Optional: Yes
Call by Reference: Yes

I_FLG_PRINT_IMMED - X = Druck sofort starten

Data type: TB_PRINT_IMMEDIATELY
Optional: Yes
Call by Reference: Yes

I_DISPLAY_MODE - X = Anzeigemodus

Data type: XFELD
Optional: Yes
Call by Reference: Yes

I_DATE - Bezugsdatum (Währung, Beziehungen, usw.)

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

IT_VDLV - Table Type for Table VDLV

Data type: TRTY_VDLV
Optional: Yes
Call by Reference: Yes

IT_VDSONSI - Special arrangements

Data type: TRTY_VDSONSI
Optional: Yes
Call by Reference: Yes

I_FLG_PROL -

Data type: XFELD
Optional: Yes
Call by Reference: Yes

I_FLG_NO_VDSCRKO -

Data type: XFELD
Optional: Yes
Call by Reference: Yes

I_DDATE - Briefdatum (Datum, das im Brief angedruckt wird)

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

I_DIALOG - Anwender-Dialog (Popups)

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

I_GV - Correspondence Activity

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

I_ITCPO - Steuertabelle für Spooler

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

I_LOAD_RVDHOBJ - Kennz.: Objekte von DB laden (zusätzlich)

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

I_LOAD_RVDSICH - Kennz.: Sicherheiten von DB laden (zusätzlich)

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

EXPORTING Parameters details for ISIS_D_PRINT_DOCUMENT

E_RC -

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

TABLES Parameters details for ISIS_D_PRINT_DOCUMENT

E_ERRORS -

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

I_ARC_DOC_REC - Carryforward Records for Reorganization of Loan Doc. Items

Data type: VDARC_DOC_REC
Optional: Yes
Call by Reference: Yes

I_VZGPO - VZPARO (Bez.Tab.Darlehen-Partner)

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

I_VZZKOKO - VZZKOKO (Konditionsköpfe)

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

I_VZZKOPO - VZZKOPO (Konditionspositionen)

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

E_ITCPP - Ergebnis des Spools

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

I_RVDDOCUTYP - Dokumenttypen, die gedruckt werden sollen

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

I_RVDHOBJ - Objects

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

I_RVDSICH - Collateral

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

I_TZZKD - Bez. Rolle-Dokutyp

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

I_VDBEKI -

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

I_VDBEPI -

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

I_VDBEPP -

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

Copy and paste ABAP code example for ISIS_D_PRINT_DOCUMENT 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_e_rc  TYPE SY-SUBRC, "   
lv_i_bukrs  TYPE VDARL-BUKRS, "   
lt_e_errors  TYPE STANDARD TABLE OF LFVDDP, "   
lv_i_load_tzzkd  TYPE LFVDDP, "   'X'
lt_i_arc_doc_rec  TYPE STANDARD TABLE OF VDARC_DOC_REC, "   
lt_i_vzgpo  TYPE STANDARD TABLE OF VDGPO, "   
lv_i_load_vdarl  TYPE VDGPO, "   ' '
lt_i_vzzkoko  TYPE STANDARD TABLE OF VZZKOKO, "   
lv_i_load_vdbeki  TYPE VZZKOKO, "   ' '
lt_i_vzzkopo  TYPE STANDARD TABLE OF VZZKOPO, "   
lv_i_load_vdhint  TYPE VZZKOPO, "   ' '
lv_i_load_vdscript  TYPE VZZKOPO, "   ' '
lv_i_load_vzgpo  TYPE VZZKOPO, "   ' '
lv_i_load_vzzkoko  TYPE VZZKOPO, "   ' '
lv_i_protocol_out  TYPE VZZKOPO, "   ' '
lv_i_ranl  TYPE VDARL-RANL, "   
lv_i_rblnr  TYPE VDHOBJBL-RBLNR, "   SPACE
lt_e_itcpp  TYPE STANDARD TABLE OF ITCPP, "   
lv_i_calc_rloam  TYPE ITCPP, "   '0'
lv_i_sintnr  TYPE VDHINT-SINTNR, "   SPACE
lv_i_vdarl  TYPE VDARL, "   SPACE
lv_i_vdhint  TYPE VDHINT, "   SPACE
lv_i_vdscript  TYPE VDSCRIPT, "   SPACE
lv_i_vdorder  TYPE VDORDER, "   SPACE
lv_i_tdcotyp_act  TYPE TRTY_TDCOTYP_ACT, "   
lv_i_user_text  TYPE TRTY_CORR_USER_TEXT, "   
lv_i_opt_text  TYPE TRTY_CORR_OPT_TEXT, "   
lv_i_flg_print_immed  TYPE TB_PRINT_IMMEDIATELY, "   
lv_i_display_mode  TYPE XFELD, "   
lv_i_date  TYPE VVDATUM, "   SY-DATLO
lt_i_rvddocutyp  TYPE STANDARD TABLE OF RVDDOCUTYP, "   
lv_it_vdlv  TYPE TRTY_VDLV, "   
lv_it_vdsonsi  TYPE TRTY_VDSONSI, "   
lv_i_flg_prol  TYPE XFELD, "   
lv_i_flg_no_vdscrko  TYPE XFELD, "   
lv_i_ddate  TYPE VVDDATUM, "   SY-DATLO
lt_i_rvdhobj  TYPE STANDARD TABLE OF RVDHOBJ, "   
lv_i_dialog  TYPE RVDHOBJ, "   'X'
lt_i_rvdsich  TYPE STANDARD TABLE OF RVDSICH, "   
lv_i_gv  TYPE TZKV-KORRVORF, "   '9999'
lt_i_tzzkd  TYPE STANDARD TABLE OF TZZKD, "   
lv_i_itcpo  TYPE ITCPO, "   SPACE
lt_i_vdbeki  TYPE STANDARD TABLE OF VDBEKI, "   
lt_i_vdbepi  TYPE STANDARD TABLE OF VDBEPI, "   
lv_i_load_rvdhobj  TYPE VDBEPI, "   ' '
lt_i_vdbepp  TYPE STANDARD TABLE OF VDBEPP, "   
lv_i_load_rvdsich  TYPE VDBEPP. "   ' '

  CALL FUNCTION 'ISIS_D_PRINT_DOCUMENT'  "IS-IS: Text Interface
    EXPORTING
         I_BUKRS = lv_i_bukrs
         I_LOAD_TZZKD = lv_i_load_tzzkd
         I_LOAD_VDARL = lv_i_load_vdarl
         I_LOAD_VDBEKI = lv_i_load_vdbeki
         I_LOAD_VDHINT = lv_i_load_vdhint
         I_LOAD_VDSCRIPT = lv_i_load_vdscript
         I_LOAD_VZGPO = lv_i_load_vzgpo
         I_LOAD_VZZKOKO = lv_i_load_vzzkoko
         I_PROTOCOL_OUT = lv_i_protocol_out
         I_RANL = lv_i_ranl
         I_RBLNR = lv_i_rblnr
         I_CALC_RLOAM = lv_i_calc_rloam
         I_SINTNR = lv_i_sintnr
         I_VDARL = lv_i_vdarl
         I_VDHINT = lv_i_vdhint
         I_VDSCRIPT = lv_i_vdscript
         I_VDORDER = lv_i_vdorder
         I_TDCOTYP_ACT = lv_i_tdcotyp_act
         I_USER_TEXT = lv_i_user_text
         I_OPT_TEXT = lv_i_opt_text
         I_FLG_PRINT_IMMED = lv_i_flg_print_immed
         I_DISPLAY_MODE = lv_i_display_mode
         I_DATE = lv_i_date
         IT_VDLV = lv_it_vdlv
         IT_VDSONSI = lv_it_vdsonsi
         I_FLG_PROL = lv_i_flg_prol
         I_FLG_NO_VDSCRKO = lv_i_flg_no_vdscrko
         I_DDATE = lv_i_ddate
         I_DIALOG = lv_i_dialog
         I_GV = lv_i_gv
         I_ITCPO = lv_i_itcpo
         I_LOAD_RVDHOBJ = lv_i_load_rvdhobj
         I_LOAD_RVDSICH = lv_i_load_rvdsich
    IMPORTING
         E_RC = lv_e_rc
    TABLES
         E_ERRORS = lt_e_errors
         I_ARC_DOC_REC = lt_i_arc_doc_rec
         I_VZGPO = lt_i_vzgpo
         I_VZZKOKO = lt_i_vzzkoko
         I_VZZKOPO = lt_i_vzzkopo
         E_ITCPP = lt_e_itcpp
         I_RVDDOCUTYP = lt_i_rvddocutyp
         I_RVDHOBJ = lt_i_rvdhobj
         I_RVDSICH = lt_i_rvdsich
         I_TZZKD = lt_i_tzzkd
         I_VDBEKI = lt_i_vdbeki
         I_VDBEPI = lt_i_vdbepi
         I_VDBEPP = lt_i_vdbepp
. " ISIS_D_PRINT_DOCUMENT




ABAP code using 7.40 inline data declarations to call FM ISIS_D_PRINT_DOCUMENT

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 SUBRC FROM SY INTO @DATA(ld_e_rc).
 
"SELECT single BUKRS FROM VDARL INTO @DATA(ld_i_bukrs).
 
 
DATA(ld_i_load_tzzkd) = 'X'.
 
 
 
DATA(ld_i_load_vdarl) = ' '.
 
 
DATA(ld_i_load_vdbeki) = ' '.
 
 
DATA(ld_i_load_vdhint) = ' '.
 
DATA(ld_i_load_vdscript) = ' '.
 
DATA(ld_i_load_vzgpo) = ' '.
 
DATA(ld_i_load_vzzkoko) = ' '.
 
DATA(ld_i_protocol_out) = ' '.
 
"SELECT single RANL FROM VDARL INTO @DATA(ld_i_ranl).
 
"SELECT single RBLNR FROM VDHOBJBL INTO @DATA(ld_i_rblnr).
DATA(ld_i_rblnr) = ' '.
 
 
DATA(ld_i_calc_rloam) = '0'.
 
"SELECT single SINTNR FROM VDHINT INTO @DATA(ld_i_sintnr).
DATA(ld_i_sintnr) = ' '.
 
DATA(ld_i_vdarl) = ' '.
 
DATA(ld_i_vdhint) = ' '.
 
DATA(ld_i_vdscript) = ' '.
 
DATA(ld_i_vdorder) = ' '.
 
 
 
 
 
 
DATA(ld_i_date) = SY-DATLO.
 
 
 
 
 
 
DATA(ld_i_ddate) = SY-DATLO.
 
 
DATA(ld_i_dialog) = 'X'.
 
 
"SELECT single KORRVORF FROM TZKV INTO @DATA(ld_i_gv).
DATA(ld_i_gv) = '9999'.
 
 
DATA(ld_i_itcpo) = ' '.
 
 
 
DATA(ld_i_load_rvdhobj) = ' '.
 
 
DATA(ld_i_load_rvdsich) = ' '.
 


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!