VIRAINV_TAB SAP (RE Invoice Header: Non-Key Fields) Structure details
Description: RE Invoice Header: Non-Key Fields
Structure field list including key, data, relationships and ABAP select examples
VIRAINV_TAB is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "RE Invoice Header: Non-Key Fields" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_VIRAINV_TAB TYPE VIRAINV_TAB.
The VIRAINV_TAB table consists of various fields, each holding specific information or linking keys about RE Invoice Header: Non-Key Fields data available in SAP. These include PARTNER (Business Partner Number), ADDRTYPE (Address Type), ROLE (Business Partner: Role), ITEMSELIND (Type of Selection of Invoice Items).. 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP VIRAINV_TAB structure 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 |
PROCESSGUID | Generic Key of Process | RECAPROCESSGUID | RAW | 16 | VICAPROCESSID | RECAGUID | |||
PARTNER | Business Partner Number | BU_PARTNER | CHAR | 10 | Assigned to domain | ALPHA | BU_PARTNER | BPA | BUPA |
ADDRTYPE | Address Type | REBPADDRTYPE | CHAR | 10 | Assigned to domain | BU_ADRKIND | |||
ROLE | Business Partner: Role | REBPROLE | CHAR | 6 | Assigned to domain | BU_ROLE | |||
ITEMSELIND | Type of Selection of Invoice Items | RERAINVITEMSELIND | CHAR | 1 | RERAINVITEMSELIND | ||||
DUEDATEFROM | Start Date of Due Period of the Items | RERADUEDATEFROM | DATS | 8 | RECADATEBEG | ||||
DUEDATETO | End Date of Due Period of the Items | RERADUEDATETO | DATS | 8 | REDAT | RECADATEEND | |||
INCLCLEAREDITEMS | Also Consider Cleared Items? | RERAINVINCLCLEAREDITEMS | CHAR | 1 | RECABOOL | ||||
CLEARCREDITITEMS | Also Consider Credit Memo Items? | RERAINVCLEARCREDITITEMS | CHAR | 1 | RECABOOL | ||||
ALLOPENITEMS | Also Consider Items Already Invoiced? | RERAINVALLOPENITEMS | CHAR | 1 | RECABOOL | ||||
COLLECTIND | Grouping Option: Summarize Invoices | RERAINVCOLLECTIND | CHAR | 1 | RERAINVCOLLECTIND | ||||
CUSTOMER | Customer Number | RERACUSTOMERNO | CHAR | 10 | ALPHA | RERAPARTNERNO | KUN | C_KUNNR | |
OBJNR | Object Number of Only Contract of Invoice, Otherwise Blank | RERAINVOBJNRSINGLE | CHAR | 22 | Assigned to domain | J_OBJNR | |||
OBJCOUNT | Number of Contracts in This Invoice | RERAINVOBJCOUNT | INT4 | 10 | INT4 | ||||
ISCREDITMEMO | Credit Memo? | RERAINVISCREDITMEMO | CHAR | 1 | RECABOOL | ||||
ISMINORAMOUNT | Trivial Amount? | RERAINVISMINORAMOUNT | CHAR | 1 | RECABOOL | ||||
CURRENCY | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
TOTALGROSSAMOUNT | Full Amount of Invoice | RERAINVTOTALAMOUNT | CURR | 15(2) | RECACURR | ||||
TOTALNETAMOUNT | Net Amount of Invoice | RERAINVTOTALNETAMOUNT | CURR | 15(2) | RECACURR | ||||
TOTALTAXAMOUNT | Tax Amount of Invoice | RERAINVTOTALTAXAMOUNT | CURR | 15(2) | RECACURR | ||||
RERF | Entered by | RERF | CHAR | 12 | SYCHAR12 | ||||
DERF | First Entered on | DERF | DATS | 8 | DATUM | ||||
TERF | Time of Initial Entry | TERF | TIMS | 6 | TIMES | ||||
REHER | Source of initial entry | REHER | CHAR | 10 | CHAR10 | ||||
RBEAR | Employee ID | RBEAR | CHAR | 12 | SYCHAR12 | ||||
DBEAR | Last Edited on | DBEAR | DATS | 8 | DATUM | ||||
TBEAR | Last Edited at | TBEAR | TIMS | 6 | TIMES | ||||
RBHER | Editing Source | RBHER | CHAR | 10 | CHAR10 | ||||
CANCELED | Invoice Reversed? | RERAINVCANCELED | CHAR | 1 | RECABOOL | ||||
SFDOCGUID | GUID for Document to be Output | RECPSFDOCGUID | RAW | 16 | RECAGUID | ||||
PRINTEDON | Invoice Last Printed On | RERAINVPRINTEDON | DATS | 8 | RECADATE | ||||
PRINTEDBY | Invoice Last Printed By | RERAINVPRINTEDBY | CHAR | 12 | SYCHAR12 |
Key field | Non-key field |
How do I retrieve data from SAP structure VIRAINV_TAB using ABAP code?
As VIRAINV_TAB is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on VIRAINV_TAB as there is no data to select.How to access SAP table VIRAINV_TAB
Within an ECC or HANA version of SAP you can also view further information about VIRAINV_TAB 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