READ_DOC_HEADERS_BY_RUN_ID SAP Method Read Commission Document Header Based on Run Number
Below is documentation, parameters and attributes of ABAP Method READ_DOC_HEADERS_BY_RUN_ID within SAP class CACS00_CL_DOCUMENT_DB_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 CACS00_CL_DOCUMENT_DB_ITF 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_DOC_HEADERS_BY_RUN_ID can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method READ_DOC_HEADERS_BY_RUN_ID
.| Name | Type | Data Type | Description | Default Value |
| ID_RUNID | Importing | TYPE CACS_RUNID | Run Number for Run Administration | |
| RT_DOCHD | Returning | TYPE CACS00_TT_DOCHD | Commission Document Header (Table Type) |
Exceptions of Method READ_DOC_HEADERS_BY_RUN_ID
CX_CACS_DOCUMENT_ROOT - Document Posting: Exception HandlingExample ABAP coding
DATA: lo_class TYPE REF TO CACS00_CL_DOCUMENT_DB_ITF.
DATA: lv_ID_RUNID TYPE CACS_RUNID,
lv_RT_DOCHD TYPE CACS00_TT_DOCHD,
lv_other TYPE c.
CALL METHOD lo_class=>READ_DOC_HEADERS_BY_RUN_ID(
EXPORTING
ID_RUNID = lv_ID_RUNID
RECEIVING
RT_DOCHD = lv_RT_DOCHD )
"Alternate coding for Method Call with returning parameter
lv_RT_DOCHD = lo_class=>READ_DOC_HEADERS_BY_RUN_ID(
EXPORTING
ID_RUNID = lv_ID_RUNID ).
Links to Related Class(s)
CACS00_C...Full list of available SAP object classes
Search for further information about these or an SAP related objects