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

.

NameTypeData TypeDescriptionDefault Value
FBLARTImportingTYPE
TVFK-BLART
Document Type for Automatic Payment
FT180ImportingTYPE
T180
Screen Sequence Control: Transaction Default Values
FXVBFAImportingTYPE
VA_VBFAVB_T
Table for Structure VBFAVB
FXVBUKImportingTYPE
VA_VBUKVB_T
Table for Structure VBUKBV
FXVBUPImportingTYPE
VA_VBUPVB_T
Table for Structure VBUPVB
FYVBPAImportingTYPE
VBPAVB_TAB
Table Type for VBPAVB: Partner
FYVBRKImportingTYPE
VBRKVB_T
Table for Structure VBRKVB
FYVBRPImportingTYPE
VBRPVB_T
Billing Item Data
FXKOMVChangingTYPE
VA_KOMV_T
Table for Structure KOMV
FXVBPAChangingTYPE
VBPAVB_TAB
Table Type for VBPAVB: Partner
FXVBRKChangingTYPE
VBRKVB_T
Table for Structure VBRKVB
FXVBRPChangingTYPE
VBRPVB_T
Billing Item Data



Exceptions of Method INVOICE_DOCUMENT_ADD

This method does not have any exceptions

Example 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!