GET_DOCU SAP Method Quicker Alternatives to Function Module DOCU_GET
Below is documentation, parameters and attributes of ABAP Method GET_DOCU within SAP class CL_ABAP_DOCU_ITF. 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 CL_ABAP_DOCU_ITF 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_DOCU can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_DOCU
.Name | Type | Data Type | Description | Default Value |
ID | Importing | TYPE CSEQUENCE | ||
LANGU | Importing | TYPE SY-LANGU | ||
OBJECT | Importing | TYPE CSEQUENCE | ||
HEAD | Exporting | TYPE THEAD | ||
ITF | Exporting | TYPE TLINE_TAB | ||
RC | Returning | TYPE I |
Exceptions of Method GET_DOCU
This method does not have any exceptionsExample ABAP coding
DATA: lv_HEAD TYPE THEAD,
lv_ID TYPE CSEQUENCE,
lv_ITF TYPE TLINE_TAB,
lv_LANGU TYPE SY-LANGU,
lv_OBJECT TYPE CSEQUENCE,
lv_RC TYPE I,
lv_other TYPE c.
CALL METHOD CL_ABAP_DOCU_ITF=>GET_DOCU(
EXPORTING
ID = lv_ID
LANGU = lv_LANGU
OBJECT = lv_OBJECT
IMPORTING
HEAD = lv_HEAD
ITF = lv_ITF
RECEIVING
RC = lv_RC )
"Alternate coding for Method Call with returning parameter
lv_RC = CL_ABAP_DOCU_ITF=>GET_DOCU(
EXPORTING
ID = lv_ID
LANGU = lv_LANGU
OBJECT = lv_OBJECT
IMPORTING
HEAD = lv_HEAD
ITF = lv_ITF ).
Links to Related Class(s)
CL_ABAP_...Full list of available SAP object classes
Search for further information about these or an SAP related objects