SAP ISH_GET_CASE_ORDERS_KF Function Module for









ISH_GET_CASE_ORDERS_KF is a standard ish get case orders kf 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 get case orders kf FM, simply by entering the name ISH_GET_CASE_ORDERS_KF into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_GET_CASE_ORDERS_KF 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_GET_CASE_ORDERS_KF'"
EXPORTING
I_EINRI = "
I_PERIOD = "
I_YEAR = "

IMPORTING
E_BEGDT = "
E_ENDDT = "
E_PER_BLOCKED = "

TABLES
T_SKTAB = "
T_TN30K = "

EXCEPTIONS
EINRI_NOT_DEFINED = 1 PERIOD_NOT_FOUND = 2 NO_CO_STAT_KEY_FIG = 3 NO_CO_ORDERS_FOUND = 4
.



IMPORTING Parameters details for ISH_GET_CASE_ORDERS_KF

I_EINRI -

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

I_PERIOD -

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

I_YEAR -

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

EXPORTING Parameters details for ISH_GET_CASE_ORDERS_KF

E_BEGDT -

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

E_ENDDT -

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

E_PER_BLOCKED -

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

TABLES Parameters details for ISH_GET_CASE_ORDERS_KF

T_SKTAB -

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

T_TN30K -

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

EXCEPTIONS details

EINRI_NOT_DEFINED -

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

PERIOD_NOT_FOUND -

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

NO_CO_STAT_KEY_FIG -

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

NO_CO_ORDERS_FOUND -

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

Copy and paste ABAP code example for ISH_GET_CASE_ORDERS_KF 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_begdt  TYPE SY-DATUM, "   
lv_i_einri  TYPE TN01-EINRI, "   
lt_t_sktab  TYPE STANDARD TABLE OF RNSKZ, "   
lv_einri_not_defined  TYPE RNSKZ, "   
lv_e_enddt  TYPE SY-DATUM, "   
lt_t_tn30k  TYPE STANDARD TABLE OF TN30K, "   
lv_i_period  TYPE BAPI0002_4-FISCAL_PERIOD, "   
lv_period_not_found  TYPE BAPI0002_4, "   
lv_i_year  TYPE T009B-BDATJ, "   
lv_e_per_blocked  TYPE NPDOK-C1, "   
lv_no_co_stat_key_fig  TYPE NPDOK, "   
lv_no_co_orders_found  TYPE NPDOK. "   

  CALL FUNCTION 'ISH_GET_CASE_ORDERS_KF'  "
    EXPORTING
         I_EINRI = lv_i_einri
         I_PERIOD = lv_i_period
         I_YEAR = lv_i_year
    IMPORTING
         E_BEGDT = lv_e_begdt
         E_ENDDT = lv_e_enddt
         E_PER_BLOCKED = lv_e_per_blocked
    TABLES
         T_SKTAB = lt_t_sktab
         T_TN30K = lt_t_tn30k
    EXCEPTIONS
        EINRI_NOT_DEFINED = 1
        PERIOD_NOT_FOUND = 2
        NO_CO_STAT_KEY_FIG = 3
        NO_CO_ORDERS_FOUND = 4
. " ISH_GET_CASE_ORDERS_KF




ABAP code using 7.40 inline data declarations to call FM ISH_GET_CASE_ORDERS_KF

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 DATUM FROM SY INTO @DATA(ld_e_begdt).
 
"SELECT single EINRI FROM TN01 INTO @DATA(ld_i_einri).
 
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_e_enddt).
 
 
"SELECT single FISCAL_PERIOD FROM BAPI0002_4 INTO @DATA(ld_i_period).
 
 
"SELECT single BDATJ FROM T009B INTO @DATA(ld_i_year).
 
"SELECT single C1 FROM NPDOK INTO @DATA(ld_e_per_blocked).
 
 
 


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!