ADD_DOC_LINES SAP Method Add New Line Items
Below is documentation, parameters and attributes of ABAP Method ADD_DOC_LINES within SAP class IF_EX_BADI_FIAA_DOCLINES. 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 IF_EX_BADI_FIAA_DOCLINES 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 ADD_DOC_LINES can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ADD_DOC_LINES
.| Name | Type | Data Type | Description | Default Value |
| IS_ACCHD | Importing | TYPE ACCHD | Interface to Accounting: Header information | |
| IS_RLAMBU | Importing | TYPE RLAMBU | Help structure for asset line item | |
| IT_ACCCR | Importing | TYPE APOST_TT_ACCCR | Imported Currency Information | |
| IT_ACCIT | Importing | TYPE APOST_TT_ACCIT | Imported Line Items | |
| IT_ANEPI | Importing | TYPE APOST_TT_ANEPI | Imported Asset Line Items | |
| ET_ACCCR | Exporting | TYPE APOST_TT_ACCCR | Additional Currency Information | |
| ET_ACCIT | Exporting | TYPE APOST_TT_ACCIT | Additional Line Items |
Exceptions of Method ADD_DOC_LINES
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_FIAA_DOCLINES.
DATA: lv_ET_ACCCR TYPE APOST_TT_ACCCR,
lv_ET_ACCIT TYPE APOST_TT_ACCIT,
lv_IS_ACCHD TYPE ACCHD,
lv_IS_RLAMBU TYPE RLAMBU,
lv_IT_ACCCR TYPE APOST_TT_ACCCR,
lv_IT_ACCIT TYPE APOST_TT_ACCIT,
lv_IT_ANEPI TYPE APOST_TT_ANEPI,
lv_other TYPE c.
CALL METHOD lo_class=>ADD_DOC_LINES(
EXPORTING
IS_ACCHD = lv_IS_ACCHD
IS_RLAMBU = lv_IS_RLAMBU
IT_ACCCR = lv_IT_ACCCR
IT_ACCIT = lv_IT_ACCIT
IT_ANEPI = lv_IT_ANEPI
IMPORTING
ET_ACCCR = lv_ET_ACCCR
ET_ACCIT = lv_ET_ACCIT ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects