SAP ISH_CH_CHECK_NCIR_WHEN_INTBILL Function Module for









ISH_CH_CHECK_NCIR_WHEN_INTBILL is a standard ish ch check ncir when intbill 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 check ncir when intbill FM, simply by entering the name ISH_CH_CHECK_NCIR_WHEN_INTBILL into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_CH_CHECK_NCIR_WHEN_INTBILL 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_CHECK_NCIR_WHEN_INTBILL'"
EXPORTING
SS_EINRI = "
* SS_RANGF_NEW = "
SS_FIELD_KZ = "
SS_FALNR = "
SS_PATNR = "
* SS_KOSTR = "
SS_LFDNR = "
SS_BEGDT_NEW = "
SS_ENDDT_NEW = "
* SS_VTRTY_NEW = "
* SS_TWKTR_NEW = "

EXCEPTIONS
CHANGE_BEGDT_NOT_ALLOWED = 1 CHANGE_ENDDT_NOT_ALLOWED = 2 CHANGE_VTRTY_NOT_ALLOWED = 3 CHANGE_TWKTR_NOT_ALLOWED = 4 CHANGE_RANGF_NOT_ALLOWED = 5 CHANGE_STOKZ_NOT_ALLOWED = 6 WRONG_FIELD_KZ = 7
.



IMPORTING Parameters details for ISH_CH_CHECK_NCIR_WHEN_INTBILL

SS_EINRI -

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

SS_RANGF_NEW -

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

SS_FIELD_KZ -

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

SS_FALNR -

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

SS_PATNR -

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

SS_KOSTR -

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

SS_LFDNR -

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

SS_BEGDT_NEW -

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

SS_ENDDT_NEW -

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

SS_VTRTY_NEW -

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

SS_TWKTR_NEW -

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

EXCEPTIONS details

CHANGE_BEGDT_NOT_ALLOWED -

Data type:
Optional: No
Call by Reference: Yes

CHANGE_ENDDT_NOT_ALLOWED -

Data type:
Optional: No
Call by Reference: Yes

CHANGE_VTRTY_NOT_ALLOWED -

Data type:
Optional: No
Call by Reference: Yes

CHANGE_TWKTR_NOT_ALLOWED -

Data type:
Optional: No
Call by Reference: Yes

CHANGE_RANGF_NOT_ALLOWED -

Data type:
Optional: No
Call by Reference: Yes

CHANGE_STOKZ_NOT_ALLOWED -

Data type:
Optional: No
Call by Reference: Yes

WRONG_FIELD_KZ -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISH_CH_CHECK_NCIR_WHEN_INTBILL 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_ss_einri  TYPE TN01-EINRI, "   
lv_change_begdt_not_allowed  TYPE TN01, "   
lv_ss_rangf_new  TYPE NCIR-RANGF, "   
lv_ss_field_kz  TYPE NCIR, "   
lv_ss_falnr  TYPE NFAL-FALNR, "   
lv_change_enddt_not_allowed  TYPE NFAL, "   
lv_ss_patnr  TYPE NPAT-PATNR, "   
lv_change_vtrty_not_allowed  TYPE NPAT, "   
lv_ss_kostr  TYPE NCIR-KOSTR, "   
lv_change_twktr_not_allowed  TYPE NCIR, "   
lv_ss_lfdnr  TYPE NCIR-LFDNR, "   
lv_change_rangf_not_allowed  TYPE NCIR, "   
lv_ss_begdt_new  TYPE NCIR-VERAB, "   
lv_change_stokz_not_allowed  TYPE NCIR, "   
lv_ss_enddt_new  TYPE NCIR-VERBI, "   
lv_wrong_field_kz  TYPE NCIR, "   
lv_ss_vtrty_new  TYPE NCIR-VTRTY, "   
lv_ss_twktr_new  TYPE NCIR-TWKTR. "   

  CALL FUNCTION 'ISH_CH_CHECK_NCIR_WHEN_INTBILL'  "
    EXPORTING
         SS_EINRI = lv_ss_einri
         SS_RANGF_NEW = lv_ss_rangf_new
         SS_FIELD_KZ = lv_ss_field_kz
         SS_FALNR = lv_ss_falnr
         SS_PATNR = lv_ss_patnr
         SS_KOSTR = lv_ss_kostr
         SS_LFDNR = lv_ss_lfdnr
         SS_BEGDT_NEW = lv_ss_begdt_new
         SS_ENDDT_NEW = lv_ss_enddt_new
         SS_VTRTY_NEW = lv_ss_vtrty_new
         SS_TWKTR_NEW = lv_ss_twktr_new
    EXCEPTIONS
        CHANGE_BEGDT_NOT_ALLOWED = 1
        CHANGE_ENDDT_NOT_ALLOWED = 2
        CHANGE_VTRTY_NOT_ALLOWED = 3
        CHANGE_TWKTR_NOT_ALLOWED = 4
        CHANGE_RANGF_NOT_ALLOWED = 5
        CHANGE_STOKZ_NOT_ALLOWED = 6
        WRONG_FIELD_KZ = 7
. " ISH_CH_CHECK_NCIR_WHEN_INTBILL




ABAP code using 7.40 inline data declarations to call FM ISH_CH_CHECK_NCIR_WHEN_INTBILL

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 TN01 INTO @DATA(ld_ss_einri).
 
 
"SELECT single RANGF FROM NCIR INTO @DATA(ld_ss_rangf_new).
 
 
"SELECT single FALNR FROM NFAL INTO @DATA(ld_ss_falnr).
 
 
"SELECT single PATNR FROM NPAT INTO @DATA(ld_ss_patnr).
 
 
"SELECT single KOSTR FROM NCIR INTO @DATA(ld_ss_kostr).
 
 
"SELECT single LFDNR FROM NCIR INTO @DATA(ld_ss_lfdnr).
 
 
"SELECT single VERAB FROM NCIR INTO @DATA(ld_ss_begdt_new).
 
 
"SELECT single VERBI FROM NCIR INTO @DATA(ld_ss_enddt_new).
 
 
"SELECT single VTRTY FROM NCIR INTO @DATA(ld_ss_vtrty_new).
 
"SELECT single TWKTR FROM NCIR INTO @DATA(ld_ss_twktr_new).
 


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!