SAP ISH_WP_REPORT_ADMIN Function Module for









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

Function Group: N0WP
Program Name: SAPLN0WP
Main Program: SAPLN0WP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function ISH_WP_REPORT_ADMIN 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_WP_REPORT_ADMIN'"
EXPORTING
* REPORT = "
* VIEWTYPE = 'W01' "
* VIEWID = "
* I_SELVAR = "
* I_LAYVAR = "
* NEW_EXTRACT = ' ' "
* USER_EXTRACT = ' ' "
* BREAK_POINT = '' "

IMPORTING
E_REPORT = "
E_SELVAR = "
E_LAYVAR = "
LINES = "
AKTDATE = "
AKTTIME = "
MESSAGE_TEXT = "
ERRORCODE = "

TABLES
* PIG_TAB = "
.



IMPORTING Parameters details for ISH_WP_REPORT_ADMIN

REPORT -

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

VIEWTYPE -

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

VIEWID -

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

I_SELVAR -

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

I_LAYVAR -

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

NEW_EXTRACT -

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

USER_EXTRACT -

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

BREAK_POINT -

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

EXPORTING Parameters details for ISH_WP_REPORT_ADMIN

E_REPORT -

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

E_SELVAR -

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

E_LAYVAR -

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

LINES -

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

AKTDATE -

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

AKTTIME -

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

MESSAGE_TEXT -

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

ERRORCODE -

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

TABLES Parameters details for ISH_WP_REPORT_ADMIN

PIG_TAB -

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

Copy and paste ABAP code example for ISH_WP_REPORT_ADMIN 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_report  TYPE SY-REPID, "   
lt_pig_tab  TYPE STANDARD TABLE OF ISH_PIGVALUES, "   
lv_e_report  TYPE SY-REPID, "   
lv_e_selvar  TYPE VARID-VARIANT, "   
lv_viewtype  TYPE NVIEWTYPE, "   'W01'
lv_viewid  TYPE NVIEWID, "   
lv_e_layvar  TYPE DISVARIANT-VARIANT, "   
lv_lines  TYPE SY-TFILL, "   
lv_i_selvar  TYPE VARID-VARIANT, "   
lv_aktdate  TYPE CHAR20, "   
lv_i_layvar  TYPE DISVARIANT-VARIANT, "   
lv_akttime  TYPE CHAR20, "   
lv_new_extract  TYPE NPDOK-XFELD, "   ' '
lv_message_text  TYPE CHAR90, "   
lv_user_extract  TYPE NPDOK-XFELD, "   ' '
lv_errorcode  TYPE CHAR01, "   
lv_break_point  TYPE NPDOK-XFELD. "   ''

  CALL FUNCTION 'ISH_WP_REPORT_ADMIN'  "
    EXPORTING
         REPORT = lv_report
         VIEWTYPE = lv_viewtype
         VIEWID = lv_viewid
         I_SELVAR = lv_i_selvar
         I_LAYVAR = lv_i_layvar
         NEW_EXTRACT = lv_new_extract
         USER_EXTRACT = lv_user_extract
         BREAK_POINT = lv_break_point
    IMPORTING
         E_REPORT = lv_e_report
         E_SELVAR = lv_e_selvar
         E_LAYVAR = lv_e_layvar
         LINES = lv_lines
         AKTDATE = lv_aktdate
         AKTTIME = lv_akttime
         MESSAGE_TEXT = lv_message_text
         ERRORCODE = lv_errorcode
    TABLES
         PIG_TAB = lt_pig_tab
. " ISH_WP_REPORT_ADMIN




ABAP code using 7.40 inline data declarations to call FM ISH_WP_REPORT_ADMIN

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_report).
 
 
"SELECT single REPID FROM SY INTO @DATA(ld_e_report).
 
"SELECT single VARIANT FROM VARID INTO @DATA(ld_e_selvar).
 
DATA(ld_viewtype) = 'W01'.
 
 
"SELECT single VARIANT FROM DISVARIANT INTO @DATA(ld_e_layvar).
 
"SELECT single TFILL FROM SY INTO @DATA(ld_lines).
 
"SELECT single VARIANT FROM VARID INTO @DATA(ld_i_selvar).
 
 
"SELECT single VARIANT FROM DISVARIANT INTO @DATA(ld_i_layvar).
 
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_new_extract).
DATA(ld_new_extract) = ' '.
 
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_user_extract).
DATA(ld_user_extract) = ' '.
 
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_break_point).
DATA(ld_break_point) = ''.
 


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!