INVOICE_DOCUMENT_ADD SAP Method Add Billing Documents
Below is documentation, parameters and attributes of ABAP Method INVOICE_DOCUMENT_ADD within SAP class IF_EX_BADI_SD_BILLING. 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_SD_BILLING 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 INVOICE_DOCUMENT_ADD can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method INVOICE_DOCUMENT_ADD
.| Name | Type | Data Type | Description | Default Value |
| FBLART | Importing | TYPE TVFK-BLART | Document Type for Automatic Payment | |
| FT180 | Importing | TYPE T180 | Screen Sequence Control: Transaction Default Values | |
| FXVBFA | Importing | TYPE VA_VBFAVB_T | Table for Structure VBFAVB | |
| FXVBUK | Importing | TYPE VA_VBUKVB_T | Table for Structure VBUKBV | |
| FXVBUP | Importing | TYPE VA_VBUPVB_T | Table for Structure VBUPVB | |
| FYVBPA | Importing | TYPE VBPAVB_TAB | Table Type for VBPAVB: Partner | |
| FYVBRK | Importing | TYPE VBRKVB_T | Table for Structure VBRKVB | |
| FYVBRP | Importing | TYPE VBRPVB_T | Billing Item Data | |
| FXKOMV | Changing | TYPE VA_KOMV_T | Table for Structure KOMV | |
| FXVBPA | Changing | TYPE VBPAVB_TAB | Table Type for VBPAVB: Partner | |
| FXVBRK | Changing | TYPE VBRKVB_T | Table for Structure VBRKVB | |
| FXVBRP | Changing | TYPE VBRPVB_T | Billing Item Data |
Exceptions of Method INVOICE_DOCUMENT_ADD
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_SD_BILLING.
DATA: lv_FBLART TYPE TVFK-BLART,
lv_FT180 TYPE T180,
lv_FXKOMV TYPE VA_KOMV_T,
lv_FXVBFA TYPE VA_VBFAVB_T,
lv_FXVBPA TYPE VBPAVB_TAB,
lv_FXVBRK TYPE VBRKVB_T,
lv_FXVBRP TYPE VBRPVB_T,
lv_FXVBUK TYPE VA_VBUKVB_T,
lv_FXVBUP TYPE VA_VBUPVB_T,
lv_FYVBPA TYPE VBPAVB_TAB,
lv_FYVBRK TYPE VBRKVB_T,
lv_FYVBRP TYPE VBRPVB_T,
lv_other TYPE c.
CALL METHOD lo_class=>INVOICE_DOCUMENT_ADD(
EXPORTING
FBLART = lv_FBLART
FT180 = lv_FT180
FXVBFA = lv_FXVBFA
FXVBUK = lv_FXVBUK
FXVBUP = lv_FXVBUP
FYVBPA = lv_FYVBPA
FYVBRK = lv_FYVBRK
FYVBRP = lv_FYVBRP
CHANGING
FXKOMV = lv_FXKOMV
FXVBPA = lv_FXVBPA
FXVBRK = lv_FXVBRK
FXVBRP = lv_FXVBRP ).
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