EXISTS_TREATMENT_CPOS SAP Method Returns Whether an Order Item is Available for the Criteria
Below is documentation, parameters and attributes of ABAP Method EXISTS_TREATMENT_CPOS within SAP class CL_ISH_UTL_CORD. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_ISH_UTL_CORD into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method EXISTS_TREATMENT_CPOS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method EXISTS_TREATMENT_CPOS
.| Name | Type | Data Type | Description | Default Value |
| IT_R_FALNR | Importing | TYPE ISH_T_R_FALNR | Range Table for Case Numbers | |
| IT_R_ORGID | Importing | TYPE ISH_T_R_ORGUNIT | Range Table for Organizational Units | |
| I_DATE | Importing | TYPE SY-DATUM | Key Date | |
| I_EINRI | Importing | TYPE EINRI | IS-H: Institution | |
| I_PATNR | Importing | TYPE PATNR | IS-H: Patient Number | |
| R_EXISTS | Returning | TYPE ABAP_BOOL | abap_true: Order Item Exists |
Exceptions of Method EXISTS_TREATMENT_CPOS
This method does not have any exceptionsExample ABAP coding
DATA: lv_IT_R_FALNR TYPE ISH_T_R_FALNR,
lv_IT_R_ORGID TYPE ISH_T_R_ORGUNIT,
lv_I_DATE TYPE SY-DATUM,
lv_I_EINRI TYPE EINRI,
lv_I_PATNR TYPE PATNR,
lv_R_EXISTS TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD CL_ISH_UTL_CORD=>EXISTS_TREATMENT_CPOS(
EXPORTING
IT_R_FALNR = lv_IT_R_FALNR
IT_R_ORGID = lv_IT_R_ORGID
I_DATE = lv_I_DATE
I_EINRI = lv_I_EINRI
I_PATNR = lv_I_PATNR
RECEIVING
R_EXISTS = lv_R_EXISTS )
"Alternate coding for Method Call with returning parameter
lv_R_EXISTS = CL_ISH_UTL_CORD=>EXISTS_TREATMENT_CPOS(
EXPORTING
IT_R_FALNR = lv_IT_R_FALNR
IT_R_ORGID = lv_IT_R_ORGID
I_DATE = lv_I_DATE
I_EINRI = lv_I_EINRI
I_PATNR = lv_I_PATNR ).
Links to Related Class(s)
CL_ISH_U...Full list of available SAP object classes
Search for further information about these or an SAP related objects