BOOKING_AP SAP Method Post Advance Payments









Below is documentation, parameters and attributes of ABAP Method BOOKING_AP within SAP class I_RE_UM_POSTING_TEMPLATE. 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 I_RE_UM_POSTING_TEMPLATE 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 BOOKING_AP can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method BOOKING_AP

.

NameTypeData TypeDescriptionDefault Value
ID_BKTXTImportingTYPE
BSSBKPF-BKTXT
Text Length 25
ID_BLDATImportingTYPE
BSSBKPF-BLDAT
Document Date in Document
ID_BUDATImportingTYPE
BSSBKPF-BUDAT
Date
ID_EXTBELEGNRImportingTYPE
VIAK16-VVABBLN
Settlement Identification ->Accounting Ref. Doc.Number
ID_ZFBDTImportingTYPE
RFVINKAS-ZFBDT
Baseline Date For Due Date Calculation
IF_OFFENE_VZImportingTYPE
XFELD
Checkbox field
IT_PERIODSImportingTYPE
RFVI_T_UM_PERIODS
Table Of Settlement Periods
I_ERR_MESSAGESImportingTYPE REF TO
CL_VI_MESSAGES
Message Handler For RE
I_UM_APAYMENTImportingTYPE REF TO
CL_RE_UM_ADVANCE_PAYMENT
Advance Payments For Sales-Based Lease-Out
EF_ERRORExportingTYPE
XFELD
Checkbox field
C_LFDNR_BELEGChangingTYPE
I
Sequential Document Number



Exceptions of Method BOOKING_AP

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO I_RE_UM_POSTING_TEMPLATE.
DATA: lv_C_LFDNR_BELEG TYPE I,
lv_EF_ERROR TYPE XFELD,
lv_ID_BKTXT TYPE BSSBKPF-BKTXT,
lv_ID_BLDAT TYPE BSSBKPF-BLDAT,
lv_ID_BUDAT TYPE BSSBKPF-BUDAT,
lv_ID_EXTBELEGNR TYPE VIAK16-VVABBLN,
lv_ID_ZFBDT TYPE RFVINKAS-ZFBDT,
lv_IF_OFFENE_VZ TYPE XFELD,
lv_IT_PERIODS TYPE RFVI_T_UM_PERIODS,
lv_I_ERR_MESSAGES TYPE CL_VI_MESSAGES,
lv_I_UM_APAYMENT TYPE CL_RE_UM_ADVANCE_PAYMENT,
lv_other TYPE c.

CALL METHOD lo_class=>BOOKING_AP(
EXPORTING
ID_BKTXT = lv_ID_BKTXT
ID_BLDAT = lv_ID_BLDAT
ID_BUDAT = lv_ID_BUDAT
ID_EXTBELEGNR = lv_ID_EXTBELEGNR
ID_ZFBDT = lv_ID_ZFBDT
IF_OFFENE_VZ = lv_IF_OFFENE_VZ
IT_PERIODS = lv_IT_PERIODS
I_ERR_MESSAGES = lv_I_ERR_MESSAGES
I_UM_APAYMENT = lv_I_UM_APAYMENT
IMPORTING
EF_ERROR = lv_EF_ERROR
CHANGING
C_LFDNR_BELEG = lv_C_LFDNR_BELEG ).

Links to Related Class(s)

I_RE_UM_...
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!