SAP ISU_INV_PRINT_METHOD Function Module for INTERNAL: Module for Method PRINTDOC.PRINT









ISU_INV_PRINT_METHOD is a standard isu inv print method SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for INTERNAL: Module for Method PRINTDOC.PRINT 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 isu inv print method FM, simply by entering the name ISU_INV_PRINT_METHOD into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_INV_PRINT_METHOD 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 'ISU_INV_PRINT_METHOD'"INTERNAL: Module for Method PRINTDOC.PRINT
EXPORTING
X_ERDK = "Print Document/Header Data
* X_NO_SUC_MSG = ' ' "
* X_NO_LOCK = ' ' "
* X_NO_DIALOG = ' ' "
* X_LOG_OBJECT = "Application Log: Object Name (Application Code)
* X_PRINTPARAMS = "Print Workbench Print Option
* X_ARCHIVE_PARAMS = "ImageLink structure
* X_ARCHIVE_INDEX = "SAP ArchiveLink structure of a DARA line
* X_RECIPIENT = "Structure for Object ID
* X_TEST_PRINT = ' ' "Print Mode - Test Printout
* X_MASS_ACTIVITY = ' ' "
* X_MASS_RUN = ' ' "

TABLES
* YT_LOGNUMBERS = "Application Log: APPL_LOG_WRITE_DB interface

EXCEPTIONS
GENERAL_FAULT = 1 PRINTLOCK = 2 CANCELED = 3
.



IMPORTING Parameters details for ISU_INV_PRINT_METHOD

X_ERDK - Print Document/Header Data

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

X_NO_SUC_MSG -

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

X_NO_LOCK -

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

X_NO_DIALOG -

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

X_LOG_OBJECT - Application Log: Object Name (Application Code)

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

X_PRINTPARAMS - Print Workbench Print Option

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

X_ARCHIVE_PARAMS - ImageLink structure

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

X_ARCHIVE_INDEX - SAP ArchiveLink structure of a DARA line

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

X_RECIPIENT - Structure for Object ID

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

X_TEST_PRINT - Print Mode - Test Printout

Data type: E_TESTPRINT
Default: SPACE
Optional: Yes
Call by Reference: Yes

X_MASS_ACTIVITY -

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

X_MASS_RUN -

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

TABLES Parameters details for ISU_INV_PRINT_METHOD

YT_LOGNUMBERS - Application Log: APPL_LOG_WRITE_DB interface

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

EXCEPTIONS details

GENERAL_FAULT -

Data type:
Optional: No
Call by Reference: Yes

PRINTLOCK -

Data type:
Optional: No
Call by Reference: Yes

CANCELED -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISU_INV_PRINT_METHOD 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_x_erdk  TYPE ERDK, "   
lv_general_fault  TYPE ERDK, "   
lt_yt_lognumbers  TYPE STANDARD TABLE OF BALNRI, "   
lv_x_no_suc_msg  TYPE XFELD, "   SPACE
lv_x_no_lock  TYPE XFELD, "   SPACE
lv_x_no_dialog  TYPE XFELD, "   SPACE
lv_printlock  TYPE XFELD, "   
lv_x_log_object  TYPE BALOBJ_D, "   
lv_canceled  TYPE BALOBJ_D, "   
lv_x_printparams  TYPE EPRINTPARAMS, "   
lv_x_archive_params  TYPE ARC_PARAMS, "   
lv_x_archive_index  TYPE TOA_DARA, "   
lv_x_recipient  TYPE SWOTOBJID, "   
lv_x_test_print  TYPE E_TESTPRINT, "   SPACE
lv_x_mass_activity  TYPE XFELD, "   SPACE
lv_x_mass_run  TYPE XFELD. "   SPACE

  CALL FUNCTION 'ISU_INV_PRINT_METHOD'  "INTERNAL: Module for Method PRINTDOC.PRINT
    EXPORTING
         X_ERDK = lv_x_erdk
         X_NO_SUC_MSG = lv_x_no_suc_msg
         X_NO_LOCK = lv_x_no_lock
         X_NO_DIALOG = lv_x_no_dialog
         X_LOG_OBJECT = lv_x_log_object
         X_PRINTPARAMS = lv_x_printparams
         X_ARCHIVE_PARAMS = lv_x_archive_params
         X_ARCHIVE_INDEX = lv_x_archive_index
         X_RECIPIENT = lv_x_recipient
         X_TEST_PRINT = lv_x_test_print
         X_MASS_ACTIVITY = lv_x_mass_activity
         X_MASS_RUN = lv_x_mass_run
    TABLES
         YT_LOGNUMBERS = lt_yt_lognumbers
    EXCEPTIONS
        GENERAL_FAULT = 1
        PRINTLOCK = 2
        CANCELED = 3
. " ISU_INV_PRINT_METHOD




ABAP code using 7.40 inline data declarations to call FM ISU_INV_PRINT_METHOD

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_x_no_suc_msg) = ' '.
 
DATA(ld_x_no_lock) = ' '.
 
DATA(ld_x_no_dialog) = ' '.
 
 
 
 
 
 
 
 
DATA(ld_x_test_print) = ' '.
 
DATA(ld_x_mass_activity) = ' '.
 
DATA(ld_x_mass_run) = ' '.
 


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!