The Function Module LTRS_RESOURCE_STATUS (Deactivate a resource) is a standard Function Module in SAP ERP and is part of the function group LTRSI within the package LTRS.
Function Module | LTRS_RESOURCE_STATUS |
Short Text | Deactivate a resource |
Function Group | LTRSI |
Package | LTRS |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
I_LOCAT | LIKE | LRSRC-LOCAT | Location | |
I_REASON | TYPE | LTRM_EXRSN | Activate/deactivate reason code | |
I_RSRCE | LIKE | LRSRC-RSRCE | Resource | |
I_STATUS | TYPE | LTRS_STS_CODE | Activate/deactivate flag |
This function module does not define any EXPORTING parameters.
These are the CHANGING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
IS_LRSRC | TYPE | LRSRC | Resource |
This function module does not define any TABLE parameters.
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
RESOURCE_NOT_FOUND | Resource not found |
STATUS_CHANGE_FAILED | Resource status change failed |
WRONG_STATUS_CODE | Wrong code of resource status |