SAP VIRAINV RE Invoice Header Table

Overview

VIRAINV is a standard SAP S/4HANA table that stores RE Invoice Header data. There are total 40 fields in the VIRAINV table. The following is a list of the fields that make up this table. Key fields are marked in blue.

The table VIRAINV belongs to Rental Accounting (RE-FX-RA) module and is located in the package RE: Invoice for Rent (RE_RA_IV).

In addition, following links provide an overview of foreign key relationships, if any, that link VIRAINV to other SAP tables and standard CDS views available based on VIRAINV table in S/4HANA 2020.

Techincal Settings of VIRAINV

Below are technical details of the table VIRAINV

  • Buffering not allowed
  • No buffering
  • Storage type is Column Store

List of VIRAINV Fields

The following table gives you an overview of the fields available in VIRAINV

FieldDescriptionData ElementCheck TableData TypeLength
MANDTClientMANDT*CLNT3
INVGUIDGUID: Unique Internal Key for RE InvoiceRERAINVGUIDRAW16
BUKRSCompany CodeBUKRS*CHAR4
INVNOInvoice NumberRERAINVNONUMC10
FISC_YEARFiscal YearGJAHRNUMC4
PROCESSGUIDGeneric Key of ProcessRECAPROCESSGUIDVICAPROCESSIDRAW16
PARTNERBusiness Partner NumberBU_PARTNER*CHAR10
ADDRTYPEAddress TypeREBPADDRTYPE*CHAR10
ROLEBusiness Partner: RoleREBPROLE*CHAR6
ITEMSELINDType of Selection of Invoice ItemsRERAINVITEMSELINDCHAR1
DUEDATEFROMStart Date of Due Period of the ItemsRERADUEDATEFROMDATS8
DUEDATETOEnd Date of Due Period of the ItemsRERADUEDATETODATS8
INCLCLEAREDITEMSAlso Consider Cleared Items?RERAINVINCLCLEAREDITEMSCHAR1
CLEARCREDITITEMSAlso Consider Credit Memo Items?RERAINVCLEARCREDITITEMSCHAR1
ALLOPENITEMSAlso Consider Items Already Invoiced?RERAINVALLOPENITEMSCHAR1
COLLECTINDGrouping Option: Summarize InvoicesRERAINVCOLLECTINDCHAR1
SELECTPROCESSIDSelection by PROCESSIDRERAINVSELPROCESSIDCHAR1
CUSTOMERCustomer NumberRERACUSTOMERNOCHAR10
OBJNRObject Number of Only Contract of Invoice Otherwise BlankRERAINVOBJNRSINGLE*CHAR22
OBJCOUNTNumber of Contracts in This InvoiceRERAINVOBJCOUNTINT410
ISCREDITMEMOCredit Memo?RERAINVISCREDITMEMOCHAR1
ISMINORAMOUNTTrivial Amount?RERAINVISMINORAMOUNTCHAR1
CURRENCYCurrency KeyWAERS*CUKY5
TOTALGROSSAMOUNTFull Amount of InvoiceRERAINVTOTALAMOUNTCURR15
TOTALNETAMOUNTNet Amount of InvoiceRERAINVTOTALNETAMOUNTCURR15
TOTALTAXAMOUNTTax Amount of InvoiceRERAINVTOTALTAXAMOUNTCURR15
RERFEntered ByRERFCHAR12
DERFFirst Entered OnDERFDATS8
TERFTime of CreationTERFTIMS6
REHERSource of Initial EntryREHERCHAR10
RBEAREmployee IDRBEARCHAR12
DBEARLast Edited OnDBEARDATS8
TBEARLast Edited AtTBEARTIMS6
RBHEREditing SourceRBHERCHAR10
CANCELEDInvoice Reversed?RERAINVCANCELEDCHAR1
SFDOCGUIDGUID for Document to be OutputRECPSFDOCGUIDRAW16
PRINTEDONInvoice Last Printed OnRERAINVPRINTEDONDATS8
PRINTEDBYInvoice Last Printed ByRERAINVPRINTEDBYCHAR12
RSGUIDGUID of Only Reservation of Invoice Otherwise BlankRERAINVRSGUIDSINGLERAW16
RSCOUNTNumber of Reservations in This InvoiceRERAINVRESCOUNTINT410

Foreign Key Relationships

A foreign key field is a table field that is allocated to a check table and becomes part of the table's foreign key. The following table gives you an overview of the foreign keys for VIRAINV

Table NameFieldCardinalityCheck Table
VIRAINVPROCESSGUID1: CNVICAPROCESSID

Other References