SAP ISHMED_CHECK_SRV_CASE_STATE Function Module for
ISHMED_CHECK_SRV_CASE_STATE is a standard ishmed check srv case state 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 ishmed check srv case state FM, simply by entering the name ISHMED_CHECK_SRV_CASE_STATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: N1_MEL_CHECK
Program Name: SAPLN1_MEL_CHECK
Main Program: SAPLN1_MEL_CHECK
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function ISHMED_CHECK_SRV_CASE_STATE 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 'ISHMED_CHECK_SRV_CASE_STATE'".
EXPORTING
* I_ACTIVITY = "
I_CALLER = "
* I_EINRI = "
* I_FALNR = "
* IT_VNLEI = "
* IT_SERVICE = "
IMPORTING
E_RC = "
ET_WRONG_SRV = "
CHANGING
* C_ERRORHANDLER = "
IMPORTING Parameters details for ISHMED_CHECK_SRV_CASE_STATE
I_ACTIVITY -
Data type: J_VORGANGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CALLER -
Data type: SY-TCODEOptional: No
Call by Reference: No ( called with pass by value option)
I_EINRI -
Data type: NFAL-EINRIOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FALNR -
Data type: NFAL-FALNROptional: Yes
Call by Reference: No ( called with pass by value option)
IT_VNLEI -
Data type: ISHMED_T_VNLEIOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SERVICE -
Data type: ISH_OBJECTLISTOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISHMED_CHECK_SRV_CASE_STATE
E_RC -
Data type: ISH_METHOD_RCOptional: No
Call by Reference: No ( called with pass by value option)
ET_WRONG_SRV -
Data type: ISHMED_T_LNRLSOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for ISHMED_CHECK_SRV_CASE_STATE
C_ERRORHANDLER -
Data type: CL_ISHMED_ERRORHANDLINGOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for ISHMED_CHECK_SRV_CASE_STATE 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_e_rc | TYPE ISH_METHOD_RC, " | |||
lv_i_activity | TYPE J_VORGANG, " | |||
lv_c_errorhandler | TYPE CL_ISHMED_ERRORHANDLING, " | |||
lv_i_caller | TYPE SY-TCODE, " | |||
lv_et_wrong_srv | TYPE ISHMED_T_LNRLS, " | |||
lv_i_einri | TYPE NFAL-EINRI, " | |||
lv_i_falnr | TYPE NFAL-FALNR, " | |||
lv_it_vnlei | TYPE ISHMED_T_VNLEI, " | |||
lv_it_service | TYPE ISH_OBJECTLIST. " |
  CALL FUNCTION 'ISHMED_CHECK_SRV_CASE_STATE' " |
EXPORTING | ||
I_ACTIVITY | = lv_i_activity | |
I_CALLER | = lv_i_caller | |
I_EINRI | = lv_i_einri | |
I_FALNR | = lv_i_falnr | |
IT_VNLEI | = lv_it_vnlei | |
IT_SERVICE | = lv_it_service | |
IMPORTING | ||
E_RC | = lv_e_rc | |
ET_WRONG_SRV | = lv_et_wrong_srv | |
CHANGING | ||
C_ERRORHANDLER | = lv_c_errorhandler | |
. " ISHMED_CHECK_SRV_CASE_STATE |
ABAP code using 7.40 inline data declarations to call FM ISHMED_CHECK_SRV_CASE_STATE
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 TCODE FROM SY INTO @DATA(ld_i_caller). | ||||
"SELECT single EINRI FROM NFAL INTO @DATA(ld_i_einri). | ||||
"SELECT single FALNR FROM NFAL INTO @DATA(ld_i_falnr). | ||||
Search for further information about these or an SAP related objects