SAP ISU_S_PRINTACTION_CREATE Function Module for
ISU_S_PRINTACTION_CREATE is a standard isu s printaction create 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 isu s printaction create FM, simply by entering the name ISU_S_PRINTACTION_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: EEPA
Program Name: SAPLEEPA
Main Program: SAPLEEPA
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function ISU_S_PRINTACTION_CREATE 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_S_PRINTACTION_CREATE'".
EXPORTING
X_EPRINTACT = "Print Action Record
* X_NO_DIALOG = "
* X_WINDOW = "
IMPORTING
Y_PRINTACT = "
TABLES
* XT_PAR_OBJECTS = "
EXCEPTIONS
FAILED = 1 EXISTING = 2 FOREIGN_LOCK = 3 NUMBER_ERROR = 4 SYSTEM_ERROR = 5 NOT_QUALIFIED = 6 NOT_AUTHORIZED = 7 CANCELLED = 8
IMPORTING Parameters details for ISU_S_PRINTACTION_CREATE
X_EPRINTACT - Print Action Record
Data type: EPRINTACTOptional: No
Call by Reference: No ( called with pass by value option)
X_NO_DIALOG -
Data type: RFGEN-KENNZXOptional: Yes
Call by Reference: No ( called with pass by value option)
X_WINDOW -
Data type: RFGEN-KENNZXOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISU_S_PRINTACTION_CREATE
Y_PRINTACT -
Data type: EFG02_PRINTACTOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISU_S_PRINTACTION_CREATE
XT_PAR_OBJECTS -
Data type: EPRINTACTOBJECTSOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
FAILED - The process could not be executed
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXISTING - Object Already Exists
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FOREIGN_LOCK -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NUMBER_ERROR - Error in Number Assignment
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SYSTEM_ERROR - General Error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_QUALIFIED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_AUTHORIZED - User Has No Authorization
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CANCELLED - Cancellation by user
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_S_PRINTACTION_CREATE 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_failed | TYPE STRING, " | |||
lv_y_printact | TYPE EFG02_PRINTACT, " | |||
lv_x_eprintact | TYPE EPRINTACT, " | |||
lt_xt_par_objects | TYPE STANDARD TABLE OF EPRINTACTOBJECTS, " | |||
lv_existing | TYPE EPRINTACTOBJECTS, " | |||
lv_x_no_dialog | TYPE RFGEN-KENNZX, " | |||
lv_x_window | TYPE RFGEN-KENNZX, " | |||
lv_foreign_lock | TYPE RFGEN, " | |||
lv_number_error | TYPE RFGEN, " | |||
lv_system_error | TYPE RFGEN, " | |||
lv_not_qualified | TYPE RFGEN, " | |||
lv_not_authorized | TYPE RFGEN, " | |||
lv_cancelled | TYPE RFGEN. " |
  CALL FUNCTION 'ISU_S_PRINTACTION_CREATE' " |
EXPORTING | ||
X_EPRINTACT | = lv_x_eprintact | |
X_NO_DIALOG | = lv_x_no_dialog | |
X_WINDOW | = lv_x_window | |
IMPORTING | ||
Y_PRINTACT | = lv_y_printact | |
TABLES | ||
XT_PAR_OBJECTS | = lt_xt_par_objects | |
EXCEPTIONS | ||
FAILED = 1 | ||
EXISTING = 2 | ||
FOREIGN_LOCK = 3 | ||
NUMBER_ERROR = 4 | ||
SYSTEM_ERROR = 5 | ||
NOT_QUALIFIED = 6 | ||
NOT_AUTHORIZED = 7 | ||
CANCELLED = 8 | ||
. " ISU_S_PRINTACTION_CREATE |
ABAP code using 7.40 inline data declarations to call FM ISU_S_PRINTACTION_CREATE
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 KENNZX FROM RFGEN INTO @DATA(ld_x_no_dialog). | ||||
"SELECT single KENNZX FROM RFGEN INTO @DATA(ld_x_window). | ||||
Search for further information about these or an SAP related objects