SAP ABR_ABRECHNUNGSERGEBNIS_BUCHEN Function Module for









ABR_ABRECHNUNGSERGEBNIS_BUCHEN is a standard abr abrechnungsergebnis buchen 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 abr abrechnungsergebnis buchen FM, simply by entering the name ABR_ABRECHNUNGSERGEBNIS_BUCHEN into the relevant SAP transaction such as SE37 or SE38.

Function Group: FVAD
Program Name: SAPLFVAD
Main Program: SAPLFVAD
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ABR_ABRECHNUNGSERGEBNIS_BUCHEN 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 'ABR_ABRECHNUNGSERGEBNIS_BUCHEN'"
EXPORTING
* BKTXT = ' ' "
WAERS = "
* I_AWKEY = "
* JSIMPOST = ' ' "
* I_BSS_PASS = ' ' "
* I_RE_MANDAT = "
* BLART = 'SA' "
BLDAT = "
BUDAT = "
BUKRS = "
KTOPL = "
* MAPPE = 'VVI-NKA' "
* MONAT = '00' "
* VVABBLN = ' ' "

CHANGING
LFDNR_BELEG = "

TABLES
AETAB = "
KONTEN = "
* E_TBSSBSEG = "
* E_TBSSBKPF = "
.



IMPORTING Parameters details for ABR_ABRECHNUNGSERGEBNIS_BUCHEN

BKTXT -

Data type: BSSBKPF-BKTXT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

WAERS -

Data type: T001-WAERS
Optional: No
Call by Reference: No ( called with pass by value option)

I_AWKEY -

Data type: BKPF-AWKEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

JSIMPOST -

Data type: REJSIMPOST
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_BSS_PASS -

Data type: REJBSSPASS
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_RE_MANDAT -

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

BLART -

Data type: BKPF-BLART
Default: 'SA'
Optional: Yes
Call by Reference: No ( called with pass by value option)

BLDAT -

Data type: BSSBKPF-BLDAT
Optional: No
Call by Reference: No ( called with pass by value option)

BUDAT -

Data type: BSSBKPF-BUDAT
Optional: No
Call by Reference: No ( called with pass by value option)

BUKRS -

Data type: T001-BUKRS
Optional: No
Call by Reference: No ( called with pass by value option)

KTOPL -

Data type: T001-KTOPL
Optional: No
Call by Reference: No ( called with pass by value option)

MAPPE -

Data type: BSSPARA-MAPPE
Default: 'VVI-NKA'
Optional: Yes
Call by Reference: No ( called with pass by value option)

MONAT -

Data type: BSSBKPF-MONAT
Default: '00'
Optional: Yes
Call by Reference: No ( called with pass by value option)

VVABBLN -

Data type: VIAK25-VVABBLN
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for ABR_ABRECHNUNGSERGEBNIS_BUCHEN

LFDNR_BELEG -

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

TABLES Parameters details for ABR_ABRECHNUNGSERGEBNIS_BUCHEN

AETAB -

Data type: RAEP50
Optional: No
Call by Reference: No ( called with pass by value option)

KONTEN -

Data type: IKONTEN
Optional: No
Call by Reference: No ( called with pass by value option)

E_TBSSBSEG -

Data type: BSSBSEG
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_TBSSBKPF -

Data type: BSSBKPF
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for ABR_ABRECHNUNGSERGEBNIS_BUCHEN 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:
lt_aetab  TYPE STANDARD TABLE OF RAEP50, "   
lv_bktxt  TYPE BSSBKPF-BKTXT, "   SPACE
lv_lfdnr_beleg  TYPE I, "   
lv_waers  TYPE T001-WAERS, "   
lv_i_awkey  TYPE BKPF-AWKEY, "   
lv_jsimpost  TYPE REJSIMPOST, "   SPACE
lv_i_bss_pass  TYPE REJBSSPASS, "   SPACE
lv_i_re_mandat  TYPE RE_MANDAT, "   
lv_blart  TYPE BKPF-BLART, "   'SA'
lt_konten  TYPE STANDARD TABLE OF IKONTEN, "   
lv_bldat  TYPE BSSBKPF-BLDAT, "   
lt_e_tbssbseg  TYPE STANDARD TABLE OF BSSBSEG, "   
lv_budat  TYPE BSSBKPF-BUDAT, "   
lt_e_tbssbkpf  TYPE STANDARD TABLE OF BSSBKPF, "   
lv_bukrs  TYPE T001-BUKRS, "   
lv_ktopl  TYPE T001-KTOPL, "   
lv_mappe  TYPE BSSPARA-MAPPE, "   'VVI-NKA'
lv_monat  TYPE BSSBKPF-MONAT, "   '00'
lv_vvabbln  TYPE VIAK25-VVABBLN. "   SPACE

  CALL FUNCTION 'ABR_ABRECHNUNGSERGEBNIS_BUCHEN'  "
    EXPORTING
         BKTXT = lv_bktxt
         WAERS = lv_waers
         I_AWKEY = lv_i_awkey
         JSIMPOST = lv_jsimpost
         I_BSS_PASS = lv_i_bss_pass
         I_RE_MANDAT = lv_i_re_mandat
         BLART = lv_blart
         BLDAT = lv_bldat
         BUDAT = lv_budat
         BUKRS = lv_bukrs
         KTOPL = lv_ktopl
         MAPPE = lv_mappe
         MONAT = lv_monat
         VVABBLN = lv_vvabbln
    CHANGING
         LFDNR_BELEG = lv_lfdnr_beleg
    TABLES
         AETAB = lt_aetab
         KONTEN = lt_konten
         E_TBSSBSEG = lt_e_tbssbseg
         E_TBSSBKPF = lt_e_tbssbkpf
. " ABR_ABRECHNUNGSERGEBNIS_BUCHEN




ABAP code using 7.40 inline data declarations to call FM ABR_ABRECHNUNGSERGEBNIS_BUCHEN

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.

 
"SELECT single BKTXT FROM BSSBKPF INTO @DATA(ld_bktxt).
DATA(ld_bktxt) = ' '.
 
 
"SELECT single WAERS FROM T001 INTO @DATA(ld_waers).
 
"SELECT single AWKEY FROM BKPF INTO @DATA(ld_i_awkey).
 
DATA(ld_jsimpost) = ' '.
 
DATA(ld_i_bss_pass) = ' '.
 
 
"SELECT single BLART FROM BKPF INTO @DATA(ld_blart).
DATA(ld_blart) = 'SA'.
 
 
"SELECT single BLDAT FROM BSSBKPF INTO @DATA(ld_bldat).
 
 
"SELECT single BUDAT FROM BSSBKPF INTO @DATA(ld_budat).
 
 
"SELECT single BUKRS FROM T001 INTO @DATA(ld_bukrs).
 
"SELECT single KTOPL FROM T001 INTO @DATA(ld_ktopl).
 
"SELECT single MAPPE FROM BSSPARA INTO @DATA(ld_mappe).
DATA(ld_mappe) = 'VVI-NKA'.
 
"SELECT single MONAT FROM BSSBKPF INTO @DATA(ld_monat).
DATA(ld_monat) = '00'.
 
"SELECT single VVABBLN FROM VIAK25 INTO @DATA(ld_vvabbln).
DATA(ld_vvabbln) = ' '.
 


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!