SAP ISH_CHECK_PROCEDURE_EXAMPLE Function Module for









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

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



Function ISH_CHECK_PROCEDURE_EXAMPLE 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_CHECK_PROCEDURE_EXAMPLE'"
EXPORTING
SS_EINRI = "Institution
SS_VNDIA = "
* SS_LFDBEW = "
* MESSAGES_COLLECT = 'X' "
* MESSAGES_SHOW = ' ' "
SS_RGART = "
* SS_CDATE = SY-DATUM "
* SS_ACTION = ' ' "
SS_EVENT = "
SS_NFAL = "
SS_NPAT = "
SS_NICP = "
SS_NLICZ = "
SS_NDICZ = "
SS_VNBEW = "
SS_VNLEI = "

IMPORTING
ERRORS = "Number of errors
WARNINGS = "Number of Warnings

CHANGING
* SS_RNAPINICP = "
* SS_RNAPINLICZ = "
* SS_RNAPINDICZ = "
* SS_TESTINFO = "
* SS_TEXTCONTENT = "

EXCEPTIONS
ERROR = 1
.



IMPORTING Parameters details for ISH_CHECK_PROCEDURE_EXAMPLE

SS_EINRI - Institution

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

SS_VNDIA -

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

SS_LFDBEW -

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

MESSAGES_COLLECT -

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

MESSAGES_SHOW -

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

SS_RGART -

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

SS_CDATE -

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

SS_ACTION -

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

SS_EVENT -

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

SS_NFAL -

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

SS_NPAT -

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

SS_NICP -

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

SS_NLICZ -

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

SS_NDICZ -

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

SS_VNBEW -

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

SS_VNLEI -

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

EXPORTING Parameters details for ISH_CHECK_PROCEDURE_EXAMPLE

ERRORS - Number of errors

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

WARNINGS - Number of Warnings

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

CHANGING Parameters details for ISH_CHECK_PROCEDURE_EXAMPLE

SS_RNAPINICP -

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

SS_RNAPINLICZ -

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

SS_RNAPINDICZ -

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

SS_TESTINFO -

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

SS_TEXTCONTENT -

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

EXCEPTIONS details

ERROR - Internal Error

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

Copy and paste ABAP code example for ISH_CHECK_PROCEDURE_EXAMPLE 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_error  TYPE STRING, "   
lv_errors  TYPE NPDOK-N3, "   
lv_ss_einri  TYPE EINRI, "   
lv_ss_rnapinicp  TYPE ISH_T_RNAPINICP, "   
lv_ss_vndia  TYPE ISH_VNDIA_TAB, "   
lv_ss_lfdbew  TYPE LFDBEW, "   
lv_messages_collect  TYPE ISH_ON_OFF, "   'X'
lv_messages_show  TYPE ISH_ON_OFF, "   ' '
lv_ss_rgart  TYPE ISH_RGART, "   
lv_ss_cdate  TYPE SY-DATUM, "   SY-DATUM
lv_ss_action  TYPE ISH_ON_OFF, "   ' '
lv_ss_event  TYPE N_EVENT, "   
lv_warnings  TYPE NPDOK-N3, "   
lv_ss_rnapinlicz  TYPE ISH_T_RNAPINLICZ, "   
lv_ss_nfal  TYPE NFAL, "   
lv_ss_rnapindicz  TYPE ISH_T_RNAPINDICZ, "   
lv_ss_npat  TYPE NPAT, "   
lv_ss_testinfo  TYPE ISH_T_DOCCOLLINFO, "   
lv_ss_nicp  TYPE ISH_YT_NICP, "   
lv_ss_textcontent  TYPE ISH_T_TLINE, "   
lv_ss_nlicz  TYPE ISH_YT_NLICZ, "   
lv_ss_ndicz  TYPE ISH_YT_NDICZ, "   
lv_ss_vnbew  TYPE ISH_YT_VNBEW, "   
lv_ss_vnlei  TYPE ISH_T_VNLEI. "   

  CALL FUNCTION 'ISH_CHECK_PROCEDURE_EXAMPLE'  "
    EXPORTING
         SS_EINRI = lv_ss_einri
         SS_VNDIA = lv_ss_vndia
         SS_LFDBEW = lv_ss_lfdbew
         MESSAGES_COLLECT = lv_messages_collect
         MESSAGES_SHOW = lv_messages_show
         SS_RGART = lv_ss_rgart
         SS_CDATE = lv_ss_cdate
         SS_ACTION = lv_ss_action
         SS_EVENT = lv_ss_event
         SS_NFAL = lv_ss_nfal
         SS_NPAT = lv_ss_npat
         SS_NICP = lv_ss_nicp
         SS_NLICZ = lv_ss_nlicz
         SS_NDICZ = lv_ss_ndicz
         SS_VNBEW = lv_ss_vnbew
         SS_VNLEI = lv_ss_vnlei
    IMPORTING
         ERRORS = lv_errors
         WARNINGS = lv_warnings
    CHANGING
         SS_RNAPINICP = lv_ss_rnapinicp
         SS_RNAPINLICZ = lv_ss_rnapinlicz
         SS_RNAPINDICZ = lv_ss_rnapindicz
         SS_TESTINFO = lv_ss_testinfo
         SS_TEXTCONTENT = lv_ss_textcontent
    EXCEPTIONS
        ERROR = 1
. " ISH_CHECK_PROCEDURE_EXAMPLE




ABAP code using 7.40 inline data declarations to call FM ISH_CHECK_PROCEDURE_EXAMPLE

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 N3 FROM NPDOK INTO @DATA(ld_errors).
 
 
 
 
 
DATA(ld_messages_collect) = 'X'.
 
DATA(ld_messages_show) = ' '.
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_ss_cdate).
DATA(ld_ss_cdate) = SY-DATUM.
 
DATA(ld_ss_action) = ' '.
 
 
"SELECT single N3 FROM NPDOK INTO @DATA(ld_warnings).
 
 
 
 
 
 
 
 
 
 
 
 


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!