READ SAP Method Read Product Relationship Profile
Below is documentation, parameters and attributes of ABAP Method READ within SAP class /SCMB/IF_PB_MAT_RL. 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 /SCMB/IF_PB_MAT_RL 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 READ can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method READ
.| Name | Type | Data Type | Description | Default Value |
| IT_PROFILE_ID_RANGE | Importing | TYPE TY_T_MAT_PKG_R_ID_RANGE | ||
| IV_CHECK_AUTHORITY | Importing | TYPE BOOLE_D | Authority check is required | |
| ET_MESSAGES | Exporting | TYPE BAPIRET2_TAB | ||
| ET_PROFILE_DESCR | Exporting | TYPE TY_T_MAT_PKG_RT | ||
| ET_PROFILE_RC | Exporting | TYPE TY_T_MAT_PKG_RC | ||
| ET_PROFILE_RS | Exporting | TYPE TY_T_MAT_PKG_RS |
Exceptions of Method READ
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMB/IF_PB_MAT_RL.
DATA: lv_ET_MESSAGES TYPE BAPIRET2_TAB,
lv_ET_PROFILE_DESCR TYPE TY_T_MAT_PKG_RT,
lv_ET_PROFILE_RC TYPE TY_T_MAT_PKG_RC,
lv_ET_PROFILE_RS TYPE TY_T_MAT_PKG_RS,
lv_IT_PROFILE_ID_RANGE TYPE TY_T_MAT_PKG_R_ID_RANGE,
lv_IV_CHECK_AUTHORITY TYPE BOOLE_D,
lv_other TYPE c.
CALL METHOD lo_class=>READ(
EXPORTING
IT_PROFILE_ID_RANGE = lv_IT_PROFILE_ID_RANGE
IV_CHECK_AUTHORITY = lv_IV_CHECK_AUTHORITY
IMPORTING
ET_MESSAGES = lv_ET_MESSAGES
ET_PROFILE_DESCR = lv_ET_PROFILE_DESCR
ET_PROFILE_RC = lv_ET_PROFILE_RC
ET_PROFILE_RS = lv_ET_PROFILE_RS ).
Links to Related Class(s)
/SCMB/IF...Full list of available SAP object classes
Search for further information about these or an SAP related objects