CHECK_RP_AUTHORITY SAP Method Check Authorization for Intrastat Declaration
Below is documentation, parameters and attributes of ABAP Method CHECK_RP_AUTHORITY within SAP class /ECRS/CL_BL_TD_AUTHORITY. 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 /ECRS/CL_BL_TD_AUTHORITY 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_RP_AUTHORITY can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_RP_AUTHORITY
.| Name | Type | Data Type | Description | Default Value |
| IV_ACTIV | Importing | TYPE ACTIV_AUTH | Activity | |
| IV_POIID | Importing | TYPE /ECRS/POIID | Provider of Information ID | |
| IV_RPCTI | Importing | TYPE /ECRS/RPCTI | Country of Declaration (ISO Code) | |
| IV_BUKRS | Importing | TYPE BUKRS | Company Code | |
| IV_POIBP | Importing | TYPE /ECRS/POIBP | Business Partner for Provider of Information |
Exceptions of Method CHECK_RP_AUTHORITY
NO_AUTHORITY - No AuthorizationExample ABAP coding
DATA: lv_IV_ACTIV TYPE ACTIV_AUTH,
lv_IV_POIID TYPE /ECRS/POIID,
lv_IV_RPCTI TYPE /ECRS/RPCTI,
lv_IV_BUKRS TYPE BUKRS,
lv_IV_POIBP TYPE /ECRS/POIBP,
lv_other TYPE c.
CALL METHOD /ECRS/CL_BL_TD_AUTHORITY=>CHECK_RP_AUTHORITY(
EXPORTING
IV_ACTIV = lv_IV_ACTIV
IV_POIID = lv_IV_POIID
IV_RPCTI = lv_IV_RPCTI
IV_BUKRS = lv_IV_BUKRS
IV_POIBP = lv_IV_POIBP ).
Links to Related Class(s)
/ECRS/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects