SAP AVIS_PFLEGE Function Module for Maintain Payment Advices









AVIS_PFLEGE is a standard avis pflege SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Maintain Payment Advices processing and below is the pattern details for this FM, 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 avis pflege FM, simply by entering the name AVIS_PFLEGE into the relevant SAP transaction such as SE37 or SE38.

Function Group: FVDZ
Program Name: SAPLFVDZ
Main Program:
Appliation area: F
Release date: 01-Jan-1970
Mode(Normal, Remote etc): Normal Function Module
Update:



Function AVIS_PFLEGE 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 'AVIS_PFLEGE'"Maintain Payment Advices
EXPORTING
* DISPLAY = ' ' "'X' nur anzeigen
* I_BZUSAGE = 0 "Höchstbetrag Auszahlungen
* I_SOBJEKT = ' ' "Objektnummer des Darlehen
* I_SWHR = ' ' "
I_SAKTPAS = 0 "Indicator: Asset/Liability Transaction

IMPORTING
E_GEAENDERT = "Processing Indicator

TABLES
XVDAVIS = "New contents
.



IMPORTING Parameters details for AVIS_PFLEGE

DISPLAY - 'X' nur anzeigen

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

I_BZUSAGE - Höchstbetrag Auszahlungen

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

I_SOBJEKT - Objektnummer des Darlehen

Data type: VDARL-SOBJEKT
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SWHR -

Data type: VDARL-SANTWHR
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SAKTPAS - Indicator: Asset/Liability Transaction

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

EXPORTING Parameters details for AVIS_PFLEGE

E_GEAENDERT - Processing Indicator

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

TABLES Parameters details for AVIS_PFLEGE

XVDAVIS - New contents

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

Copy and paste ABAP code example for AVIS_PFLEGE 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_display  TYPE C, "   ' '
lt_xvdavis  TYPE STANDARD TABLE OF VDAVIS, "   
lv_e_geaendert  TYPE ANY, "   
lv_i_bzusage  TYPE VDARL-BZUSAGE, "   0
lv_i_sobjekt  TYPE VDARL-SOBJEKT, "   ' '
lv_i_swhr  TYPE VDARL-SANTWHR, "   ' '
lv_i_saktpas  TYPE VDARL-SAKTPAS. "   0

  CALL FUNCTION 'AVIS_PFLEGE'  "Maintain Payment Advices
    EXPORTING
         DISPLAY = lv_display
         I_BZUSAGE = lv_i_bzusage
         I_SOBJEKT = lv_i_sobjekt
         I_SWHR = lv_i_swhr
         I_SAKTPAS = lv_i_saktpas
    IMPORTING
         E_GEAENDERT = lv_e_geaendert
    TABLES
         XVDAVIS = lt_xvdavis
. " AVIS_PFLEGE




ABAP code using 7.40 inline data declarations to call FM AVIS_PFLEGE

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.

DATA(ld_display) = ' '.
 
 
 
"SELECT single BZUSAGE FROM VDARL INTO @DATA(ld_i_bzusage).
 
"SELECT single SOBJEKT FROM VDARL INTO @DATA(ld_i_sobjekt).
DATA(ld_i_sobjekt) = ' '.
 
"SELECT single SANTWHR FROM VDARL INTO @DATA(ld_i_swhr).
DATA(ld_i_swhr) = ' '.
 
"SELECT single SAKTPAS FROM VDARL INTO @DATA(ld_i_saktpas).
 


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!