SAP AM_DOWN_PAYMENT_BUFFER Function Module for









AM_DOWN_PAYMENT_BUFFER is a standard am down payment buffer SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for am down payment buffer FM, simply by entering the name AM_DOWN_PAYMENT_BUFFER into the relevant SAP transaction such as SE37 or SE38.

Function Group: AINT
Program Name: SAPLAINT
Main Program: SAPLAMSP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function AM_DOWN_PAYMENT_BUFFER pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'AM_DOWN_PAYMENT_BUFFER'"
EXPORTING
* IT_CLEARING = "
* IT_OPENITEMS = "
* IS_BSEG = "
* IB_FILLBUFFER = "
* IV_BUZEI = "

IMPORTING
EV_OPENITEM = "
EV_PENDINGITEMS = "
EV_NOASSETPOST = "

EXCEPTIONS
MISSING_BUZEI = 1 WRONG_BUZEI = 2 NO_ITEM_FOUND = 3
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLAINT_002 Dummy, needed for expanded syntax check, not used!!!

IMPORTING Parameters details for AM_DOWN_PAYMENT_BUFFER

IT_CLEARING -

Data type: TT_AUSZ_CLR
Optional: Yes
Call by Reference: Yes

IT_OPENITEMS -

Data type: POSTAB_TAB
Optional: Yes
Call by Reference: Yes

IS_BSEG -

Data type: BSEG
Optional: Yes
Call by Reference: Yes

IB_FILLBUFFER -

Data type: XFELD
Optional: Yes
Call by Reference: Yes

IV_BUZEI -

Data type: BUZEI
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for AM_DOWN_PAYMENT_BUFFER

EV_OPENITEM -

Data type: RFOPS
Optional: No
Call by Reference: Yes

EV_PENDINGITEMS -

Data type: XFELD
Optional: No
Call by Reference: Yes

EV_NOASSETPOST -

Data type: XFELD
Optional: No
Call by Reference: Yes

EXCEPTIONS details

MISSING_BUZEI -

Data type:
Optional: No
Call by Reference: Yes

WRONG_BUZEI -

Data type:
Optional: No
Call by Reference: Yes

NO_ITEM_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for AM_DOWN_PAYMENT_BUFFER Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_ev_openitem  TYPE RFOPS, "   
lv_it_clearing  TYPE TT_AUSZ_CLR, "   
lv_missing_buzei  TYPE TT_AUSZ_CLR, "   
lv_wrong_buzei  TYPE TT_AUSZ_CLR, "   
lv_it_openitems  TYPE POSTAB_TAB, "   
lv_ev_pendingitems  TYPE XFELD, "   
lv_is_bseg  TYPE BSEG, "   
lv_no_item_found  TYPE BSEG, "   
lv_ev_noassetpost  TYPE XFELD, "   
lv_ib_fillbuffer  TYPE XFELD, "   
lv_iv_buzei  TYPE BUZEI. "   

  CALL FUNCTION 'AM_DOWN_PAYMENT_BUFFER'  "
    EXPORTING
         IT_CLEARING = lv_it_clearing
         IT_OPENITEMS = lv_it_openitems
         IS_BSEG = lv_is_bseg
         IB_FILLBUFFER = lv_ib_fillbuffer
         IV_BUZEI = lv_iv_buzei
    IMPORTING
         EV_OPENITEM = lv_ev_openitem
         EV_PENDINGITEMS = lv_ev_pendingitems
         EV_NOASSETPOST = lv_ev_noassetpost
    EXCEPTIONS
        MISSING_BUZEI = 1
        WRONG_BUZEI = 2
        NO_ITEM_FOUND = 3
. " AM_DOWN_PAYMENT_BUFFER




ABAP code using 7.40 inline data declarations to call FM AM_DOWN_PAYMENT_BUFFER

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 


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!