CHECK_EXISTING_ORG SAP Method Check existing organization by ID and Function
Below is documentation, parameters and attributes of ABAP Method CHECK_EXISTING_ORG within SAP class /SCMTMS/CL_COMMON_BO_HELPER. 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 /SCMTMS/CL_COMMON_BO_HELPER 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 CHECK_EXISTING_ORG can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_EXISTING_ORG
.| Name | Type | Data Type | Description | Default Value |
| IV_ORG_FUNCTION | Importing | TYPE /SCMB/ORG_FUNC_CODE | Organizational Unit Function | |
| IV_ORG_ID | Importing | TYPE /SCMB/ORG_EXT_ID | Organizational Unit: External ID | |
| RT_EXISTS | Returning | TYPE ABAP_BOOL |
Exceptions of Method CHECK_EXISTING_ORG
This method does not have any exceptionsExample ABAP coding
DATA: lv_IV_ORG_FUNCTION TYPE /SCMB/ORG_FUNC_CODE,
lv_IV_ORG_ID TYPE /SCMB/ORG_EXT_ID,
lv_RT_EXISTS TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_COMMON_BO_HELPER=>CHECK_EXISTING_ORG(
EXPORTING
IV_ORG_FUNCTION = lv_IV_ORG_FUNCTION
IV_ORG_ID = lv_IV_ORG_ID
RECEIVING
RT_EXISTS = lv_RT_EXISTS )
"Alternate coding for Method Call with returning parameter
lv_RT_EXISTS = /SCMTMS/CL_COMMON_BO_HELPER=>CHECK_EXISTING_ORG(
EXPORTING
IV_ORG_FUNCTION = lv_IV_ORG_FUNCTION
IV_ORG_ID = lv_IV_ORG_ID ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects