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 directly

The 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

.

NameTypeData TypeDescriptionDefault Value
IT_R_FALNRImportingTYPE
ISH_T_R_FALNR
Range Table for Case Numbers
IT_R_ORGIDImportingTYPE
ISH_T_R_ORGUNIT
Range Table for Organizational Units
I_DATEImportingTYPE
SY-DATUM
Key Date
I_EINRIImportingTYPE
EINRI
IS-H: Institution
I_PATNRImportingTYPE
PATNR
IS-H: Patient Number
R_EXISTSReturningTYPE
ABAP_BOOL
abap_true: Order Item Exists



Exceptions of Method EXISTS_TREATMENT_CPOS

This method does not have any exceptions

Example 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



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!