SAP ISH_CH_GET_CASEANDDAY_FLATRATE Function Module for









ISH_CH_GET_CASEANDDAY_FLATRATE is a standard ish ch get caseandday flatrate 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 ch get caseandday flatrate FM, simply by entering the name ISH_CH_GET_CASEANDDAY_FLATRATE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_CH_GET_CASEANDDAY_FLATRATE 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_CH_GET_CASEANDDAY_FLATRATE'"
EXPORTING
I_EINRI = "
I_FALNR = "
I_KOSTR = "

IMPORTING
E_WERTFP = "
E_WERTTP = "
E_WERTGES = "

TABLES
* T_VTOE_NO_ABRV = "
* T_VTOE_FEHLT = "

EXCEPTIONS
TNWCHIVTOE_READ_ERROR = 1 MISSING_EINRI = 2 MISSING_FALNR = 3 MISSING_KOSTR = 4
.



IMPORTING Parameters details for ISH_CH_GET_CASEANDDAY_FLATRATE

I_EINRI -

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

I_FALNR -

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

I_KOSTR -

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

EXPORTING Parameters details for ISH_CH_GET_CASEANDDAY_FLATRATE

E_WERTFP -

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

E_WERTTP -

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

E_WERTGES -

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

TABLES Parameters details for ISH_CH_GET_CASEANDDAY_FLATRATE

T_VTOE_NO_ABRV -

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

T_VTOE_FEHLT -

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

EXCEPTIONS details

TNWCHIVTOE_READ_ERROR -

Data type:
Optional: No
Call by Reference: Yes

MISSING_EINRI -

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

MISSING_FALNR -

Data type:
Optional: No
Call by Reference: Yes

MISSING_KOSTR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISH_CH_GET_CASEANDDAY_FLATRATE 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_einri  TYPE NFAL-EINRI, "   
lv_e_wertfp  TYPE TNWCHIVTOE-WERTFP, "   
lt_t_vtoe_no_abrv  TYPE STANDARD TABLE OF RNWCH_VTOE_NO_ABRV, "   
lv_tnwchivtoe_read_error  TYPE RNWCH_VTOE_NO_ABRV, "   
lv_i_falnr  TYPE NFAL-FALNR, "   
lv_e_werttp  TYPE TNWCHIVTOE-WERTTP, "   
lt_t_vtoe_fehlt  TYPE STANDARD TABLE OF RNWCH_VTOE_FEHLT, "   
lv_missing_einri  TYPE RNWCH_VTOE_FEHLT, "   
lv_i_kostr  TYPE NKTR-KOSTR, "   
lv_e_wertges  TYPE TNWCHIVTOE-WERTFP, "   
lv_missing_falnr  TYPE TNWCHIVTOE, "   
lv_missing_kostr  TYPE TNWCHIVTOE. "   

  CALL FUNCTION 'ISH_CH_GET_CASEANDDAY_FLATRATE'  "
    EXPORTING
         I_EINRI = lv_i_einri
         I_FALNR = lv_i_falnr
         I_KOSTR = lv_i_kostr
    IMPORTING
         E_WERTFP = lv_e_wertfp
         E_WERTTP = lv_e_werttp
         E_WERTGES = lv_e_wertges
    TABLES
         T_VTOE_NO_ABRV = lt_t_vtoe_no_abrv
         T_VTOE_FEHLT = lt_t_vtoe_fehlt
    EXCEPTIONS
        TNWCHIVTOE_READ_ERROR = 1
        MISSING_EINRI = 2
        MISSING_FALNR = 3
        MISSING_KOSTR = 4
. " ISH_CH_GET_CASEANDDAY_FLATRATE




ABAP code using 7.40 inline data declarations to call FM ISH_CH_GET_CASEANDDAY_FLATRATE

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 EINRI FROM NFAL INTO @DATA(ld_i_einri).
 
"SELECT single WERTFP FROM TNWCHIVTOE INTO @DATA(ld_e_wertfp).
 
 
 
"SELECT single FALNR FROM NFAL INTO @DATA(ld_i_falnr).
 
"SELECT single WERTTP FROM TNWCHIVTOE INTO @DATA(ld_e_werttp).
 
 
 
"SELECT single KOSTR FROM NKTR INTO @DATA(ld_i_kostr).
 
"SELECT single WERTFP FROM TNWCHIVTOE INTO @DATA(ld_e_wertges).
 
 
 


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!