SAP ISH_PRINT_PROTOCOL Function Module for









ISH_PRINT_PROTOCOL is a standard ish print protocol 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 ish print protocol FM, simply by entering the name ISH_PRINT_PROTOCOL into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_PRINT_PROTOCOL 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 'ISH_PRINT_PROTOCOL'"
EXPORTING
* I_GRID = "
* REPID = "
* ARBGB = "Obsolete
* MSGNR = "Obsolete
* TITLE = "
* I_POPUP = "
* I_NO_TREE = 'X' "
* I_SHOW_MSGNO = 'X' "
* I_SHOW_MSGID = "
* I_SHOW_ZEILE = '' "
* I_TITLE = "
* LINE_SIZE = "
* MINUTES_TITLE = "

IMPORTING
E_LOG_HANDLE = "Application Log: Log Handle
.



IMPORTING Parameters details for ISH_PRINT_PROTOCOL

I_GRID -

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

REPID -

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

ARBGB - Obsolete

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

MSGNR - Obsolete

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

TITLE -

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

I_POPUP -

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

I_NO_TREE -

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

I_SHOW_MSGNO -

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

I_SHOW_MSGID -

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

I_SHOW_ZEILE -

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

I_TITLE -

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

LINE_SIZE -

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

MINUTES_TITLE -

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

EXPORTING Parameters details for ISH_PRINT_PROTOCOL

E_LOG_HANDLE - Application Log: Log Handle

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

Copy and paste ABAP code example for ISH_PRINT_PROTOCOL 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_grid  TYPE ISH_ON_OFF, "   
lv_e_log_handle  TYPE BALLOGHNDL, "   
lv_repid  TYPE SY-REPID, "   
lv_arbgb  TYPE ARBGB, "   
lv_msgnr  TYPE MSGNR, "   
lv_title  TYPE MSGNR, "   
lv_i_popup  TYPE ISH_ON_OFF, "   
lv_i_no_tree  TYPE ISH_ON_OFF, "   'X'
lv_i_show_msgno  TYPE ISH_ON_OFF, "   'X'
lv_i_show_msgid  TYPE ISH_ON_OFF, "   
lv_i_show_zeile  TYPE ISH_ON_OFF, "   ''
lv_i_title  TYPE ISH_ON_OFF, "   
lv_line_size  TYPE RNSTAT-LINE_SIZE, "   
lv_minutes_title  TYPE RNSTAT. "   

  CALL FUNCTION 'ISH_PRINT_PROTOCOL'  "
    EXPORTING
         I_GRID = lv_i_grid
         REPID = lv_repid
         ARBGB = lv_arbgb
         MSGNR = lv_msgnr
         TITLE = lv_title
         I_POPUP = lv_i_popup
         I_NO_TREE = lv_i_no_tree
         I_SHOW_MSGNO = lv_i_show_msgno
         I_SHOW_MSGID = lv_i_show_msgid
         I_SHOW_ZEILE = lv_i_show_zeile
         I_TITLE = lv_i_title
         LINE_SIZE = lv_line_size
         MINUTES_TITLE = lv_minutes_title
    IMPORTING
         E_LOG_HANDLE = lv_e_log_handle
. " ISH_PRINT_PROTOCOL




ABAP code using 7.40 inline data declarations to call FM ISH_PRINT_PROTOCOL

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 REPID FROM SY INTO @DATA(ld_repid).
 
 
 
 
 
DATA(ld_i_no_tree) = 'X'.
 
DATA(ld_i_show_msgno) = 'X'.
 
 
DATA(ld_i_show_zeile) = ''.
 
 
"SELECT single LINE_SIZE FROM RNSTAT INTO @DATA(ld_line_size).
 
 


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!