DET_BY_ORG_UNIT SAP Method Determine Recipients by Organizational Unit
Below is documentation, parameters and attributes of ABAP Method DET_BY_ORG_UNIT within SAP class /SCMTMS/CL_ALERT_RECP_DET. 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_ALERT_RECP_DET 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 DET_BY_ORG_UNIT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method DET_BY_ORG_UNIT
.| Name | Type | Data Type | Description | Default Value |
| IV_CATEGORY | Importing | TYPE SALRTDCAT | Alert Category | |
| IV_ORGANIZATION | Importing | TYPE /SCMTMS/SALES_ORG_ID | Sales Organization | |
| IV_ORG_GROUP | Importing | TYPE /SCMTMS/SALES_GRP_ID | Sales Group | |
| IV_ORG_OFFICE | Importing | TYPE /SCMTMS/SALES_OFF_ID | Sales Office | |
| ET_RECIPIENT | Exporting | TYPE SALRTTRCP | User name |
Exceptions of Method DET_BY_ORG_UNIT
This method does not have any exceptionsExample ABAP coding
DATA: lv_ET_RECIPIENT TYPE SALRTTRCP,
lv_IV_CATEGORY TYPE SALRTDCAT,
lv_IV_ORGANIZATION TYPE /SCMTMS/SALES_ORG_ID,
lv_IV_ORG_GROUP TYPE /SCMTMS/SALES_GRP_ID,
lv_IV_ORG_OFFICE TYPE /SCMTMS/SALES_OFF_ID,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_ALERT_RECP_DET=>DET_BY_ORG_UNIT(
EXPORTING
IV_CATEGORY = lv_IV_CATEGORY
IV_ORGANIZATION = lv_IV_ORGANIZATION
IV_ORG_GROUP = lv_IV_ORG_GROUP
IV_ORG_OFFICE = lv_IV_ORG_OFFICE
IMPORTING
ET_RECIPIENT = lv_ET_RECIPIENT ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects