AVIP SAP (Payment Advice Line Item) Table details

Dictionary Type: Table
Description: Payment Advice Line Item




ABAP Code to SELECT data from AVIP
Related tables to AVIP
Access table AVIP




Table field list including key, data, relationships and ABAP select examples

AVIP is a standard SAP Table which is used to store Payment Advice Line Item data and is available within R/3 SAP systems depending on the version and release level.

The AVIP table consists of various fields, each holding specific information or linking keys about Payment Advice Line Item data available in SAP. These include BUKRS (Company Code), KOART (Payment Advice Account Type), KONTO (Account Number), AVSID (Payment Advice Number).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP AVIP table fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MANDTClient MANDTCLNT3Assigned to domainMANDT
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
KOARTPayment Advice Account Type KOART_AVCHAR1KOART_AV
KONTOAccount Number KTONR_AVCHAR10ALPHAKTONR
AVSIDPayment Advice Number AVSIDCHAR16AVSIDAVN
AVSPOPayment Advice Line Item AVSPONUMC5AVSPO
ABWKOAlternative Account (Payment Advice Management) ABWKO_AVCHAR10ALPHAKTONR
ABWBUAlternative Company Code (Payment Advice Management) ABWBU_AVCHAR4T001BUKRS
SFELDName of Selection Field SFELD_AVCHAR30Assigned to domainFDNAME
SWERTSelection Value (Payment Advice Management) SWERT_AVCHAR30CHAR30
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
XBLNRReference Document Number XBLNR1CHAR16XBLNR1
VBELNBilling Document VBELN_VFCHAR10Assigned to domainALPHAVBELNVF
FILKDAccount Number of the Branch FILKDCHAR10ALPHAMAXKK
CPUDTDay On Which Accounting Document Was Entered CPUDTDATS8DATUM
GSBERBusiness Area GSBERCHAR4TGSBGSBERGSB
ZUONRAssignment Number DZUONRCHAR18ZUONR
RESTGExternal Reason Code for Payment Differences RSTGR_EXTCHAR3CHAR3
SGTXTItem Text SGTXTCHAR50TEXT50
MWSTSTax Amount in Local Currency MWSTSCURR13(2) WERT7
MWSKZTax on sales/purchases code MWSKZCHAR2T007AMWSKZ
WRBTRGross amount WRBTR_AVCURR13(2) WRTV7
NEBTRNet Payment Amount with +/- Sign NEBTR_AVCURR13(2) WRTV7
WSKTOCash discount amount with +/- sign WSKTO_AVCURR13(2) WRTV7
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
BUZEINumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
ABWKAAccount Type ABWKA_AVCHAR1KOART_AV
ZBDXPSelected cash discount percentage rate DZBDXPDEC5(3) PRZ23
ZBDXTSelected cash discount days DZBDXTDEC3ZBDXT
DIFHWAmount Difference in Local Currency DIFHWCURR13(2) WERT7
DIFFWAmount Difference in Foreign Currency DIFFWCURR13(2) WRTV7
DIFH2Amount Difference in Second Local Currency DIFH2CURR13(2) WERT7
DIFH3Amount Difference in Third Local Currency DIFH3CURR13(2) WERT7
XAKTPIndicator: Items activated ? XAKTPCHAR1XFELD
XAKTSIndicator: Cash discount activated ? XAKTSCHAR1XFELD
XPPMTIndicator: partial payments XPPMTCHAR1XFELD
XVORTIndicator: Carryforward residual bal. for pmnt difference ? XVORTCHAR1XFELD
RSTGNReason Code for Payments RSTGRCHAR3T053RRSTGR
WAERSCurrency Key WAERSCUKY5TCURCWAERSFWS
SCURREntry Field for Search Criteria (Amount Fields) SCURR_AVCURR13(2) WERT7
SDATEEntry Field for Search Criteria (Date Fields) SDATE_AVDATS8DATUM
STYPEType of Selection Field (Character, Date, Amount) STYPE_AVCHAR1STYPE_AV
SPRIOSelection Priority SPRIO_AVCHAR1XFELD
XREF1Business partner reference key XREF1CHAR12CHAR12
XREF2Business partner reference key XREF2CHAR12CHAR12
AFELDName of External Selection Field Specified AFELD_AVCHAR30Assigned to domainFDNAME
LIEFNDelivery VBELN_VLCHAR10Assigned to domainALPHAVBELNVL
REDATInvoice Date REDATDATS8DATUM
BSTNKCustomer purchase order number BSTNKCHAR20BSTNK
XACONIndicator: Posting on account XACONCHAR1XFELD
ASTATPayment Advice Status ASTAT_AVIKCHAR1CHAR1
XAMCAIndicator: Do not calculate gross amount if initial? XAMCACHAR1XFELD
ABBTRDeduction amount ABBTR_AVCURR13(2) WRTV7
CONTRPayment Advice Processing Control Field CONTR_AVCHAR6CHAR6
KIDNOPayment Reference KIDNOCHAR30CHAR30

Key field Non-key field



How do I retrieve data from SAP table AVIP using ABAP code

The following ABAP code Example will allow you to do a basic selection on AVIP to SELECT all data from the table
DATA: WA_AVIP TYPE AVIP.

SELECT SINGLE *
FROM AVIP
INTO CORRESPONDING FIELDS OF WA_AVIP
WHERE...

How to access SAP table AVIP

Within an ECC or HANA version of SAP you can also view further information about AVIP and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


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!