AVIR SAP (Payment Advice Subitem) Table details
Dictionary Type: Table
Description: Payment Advice Subitem
Description: Payment Advice Subitem
Table field list including key, data, relationships and ABAP select examples
AVIR is a standard SAP Table which is used to store Payment Advice Subitem data and is available within R/3 SAP systems depending on the version and release level.
The AVIR table consists of various fields, each holding specific information or linking keys about Payment Advice Subitem 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 AVIR 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
KOART | Payment Advice Account Type | KOART_AV | CHAR | 1 | KOART_AV | ||||
KONTO | Account Number | KTONR_AV | CHAR | 10 | ALPHA | KTONR | |||
AVSID | Payment Advice Number | AVSID | CHAR | 16 | AVSID | AVN | |||
AVSPO | Payment Advice Line Item | AVSPO | NUMC | 5 | AVSPO | ||||
AVSUP | Payment Advice Subitem | AVSUP | NUMC | 5 | AVSPO | ||||
RESTN | Net Deduction Amount | RESTN_AV | CURR | 13(2) | WRTV7 | ||||
RESTB | Gross Deduction Amount | RESTB_AV | CURR | 13(2) | WRTV7 | ||||
RSTGR | Reason Code for Payments | RSTGR | CHAR | 3 | T053R | RSTGR | |||
XREF1 | Business partner reference key | XREF1 | CHAR | 12 | CHAR12 | ||||
XREF2 | Business partner reference key | XREF2 | CHAR | 12 | CHAR12 | ||||
RESTG | External Reason Code for Payment Differences | RSTGR_EXT | CHAR | 3 | CHAR3 |
Key field | Non-key field |
How do I retrieve data from SAP table AVIR using ABAP code
The following ABAP code Example will allow you to do a basic selection on AVIR to SELECT all data from the tableDATA: WA_AVIR TYPE AVIR.
SELECT SINGLE *
FROM AVIR
INTO CORRESPONDING FIELDS OF WA_AVIR
WHERE...
How to access SAP table AVIR
Within an ECC or HANA version of SAP you can also view further information about AVIR and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects