REJECT_AUTHORITY_SCU SAP Method Check authority for SCU maintenance
Below is documentation, parameters and attributes of ABAP Method REJECT_AUTHORITY_SCU within SAP class /SCTM/CL_SP. 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 /SCTM/CL_SP into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method REJECT_AUTHORITY_SCU can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method REJECT_AUTHORITY_SCU
.| Name | Type | Data Type | Description | Default Value |
| IV_ACTIVITY | Importing | TYPE ACTIV_AUTH | Aktivität | |
| IV_SCU_ID | Importing | TYPE /SCMB/OE_ENTITY | Supply-Chain-Unit | |
| RV_REJECT | Returning | TYPE BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') |
Exceptions of Method REJECT_AUTHORITY_SCU
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCTM/CL_SP.
DATA: lv_IV_ACTIVITY TYPE ACTIV_AUTH,
lv_IV_SCU_ID TYPE /SCMB/OE_ENTITY,
lv_RV_REJECT TYPE BOOLE_D,
lv_other TYPE c.
CALL METHOD lo_class=>REJECT_AUTHORITY_SCU(
EXPORTING
IV_ACTIVITY = lv_IV_ACTIVITY
IV_SCU_ID = lv_IV_SCU_ID
RECEIVING
RV_REJECT = lv_RV_REJECT )
"Alternate coding for Method Call with returning parameter
lv_RV_REJECT = lo_class=>REJECT_AUTHORITY_SCU(
EXPORTING
IV_ACTIVITY = lv_IV_ACTIVITY
IV_SCU_ID = lv_IV_SCU_ID ).
Links to Related Class(s)
/SCTM/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects