GET_DC_RELATED_DOC_ITEM_BASED SAP Method Get DC for documents related to given item
Below is documentation, parameters and attributes of ABAP Method GET_DC_RELATED_DOC_ITEM_BASED within SAP class /SCMTMS/CL_TOR_HELPER_READ. 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_TOR_HELPER_READ 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 GET_DC_RELATED_DOC_ITEM_BASED can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_DC_RELATED_DOC_ITEM_BASED
.| Name | Type | Data Type | Description | Default Value |
| IO_READ | Importing | TYPE REF TO /BOBF/IF_FRW_READ | Interface to Read Data | |
| IS_READ_REQ | Importing | TYPE TY_READ_REQUEST | ||
| IT_ITEM_KEY | Importing | TYPE /BOBF/T_FRW_KEY | Items to get related documents for | |
| IV_BEFORE_IMAGE | Importing | TYPE ABAP_BOOL | ||
| RO_DATA_CONTAINER | Returning | TYPE REF TO /SCMTMS/CL_TOR_HELPER_READ | Helper Class to Read TOR data |
Exceptions of Method GET_DC_RELATED_DOC_ITEM_BASED
This method does not have any exceptionsExample ABAP coding
DATA: lv_IO_READ TYPE /BOBF/IF_FRW_READ,
lv_IS_READ_REQ TYPE TY_READ_REQUEST,
lv_IT_ITEM_KEY TYPE /BOBF/T_FRW_KEY,
lv_IV_BEFORE_IMAGE TYPE ABAP_BOOL,
lv_RO_DATA_CONTAINER TYPE /SCMTMS/CL_TOR_HELPER_READ,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_TOR_HELPER_READ=>GET_DC_RELATED_DOC_ITEM_BASED(
EXPORTING
IO_READ = lv_IO_READ
IS_READ_REQ = lv_IS_READ_REQ
IT_ITEM_KEY = lv_IT_ITEM_KEY
IV_BEFORE_IMAGE = lv_IV_BEFORE_IMAGE
RECEIVING
RO_DATA_CONTAINER = lv_RO_DATA_CONTAINER )
"Alternate coding for Method Call with returning parameter
lv_RO_DATA_CONTAINER = /SCMTMS/CL_TOR_HELPER_READ=>GET_DC_RELATED_DOC_ITEM_BASED(
EXPORTING
IO_READ = lv_IO_READ
IS_READ_REQ = lv_IS_READ_REQ
IT_ITEM_KEY = lv_IT_ITEM_KEY
IV_BEFORE_IMAGE = lv_IV_BEFORE_IMAGE ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects