/OPT/S_INV_LIN SAP (VSS Staging Table: Invoice lines) Table details

Dictionary Type: Table
Description: VSS Staging Table: Invoice lines




ABAP Code to SELECT data from /OPT/S_INV_LIN
Related tables to /OPT/S_INV_LIN
Access table /OPT/S_INV_LIN




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

/OPT/S_INV_LIN is a standard SAP Table which is used to store VSS Staging Table: Invoice lines data and is available within R/3 SAP systems depending on the version and release level.

The /OPT/S_INV_LIN table consists of various fields, each holding specific information or linking keys about VSS Staging Table: Invoice lines data available in SAP. These include INVOICE_TYPE (Invoice Type), INVOICE_KEY (Invoice Key), INVOICE_LINE (Invoice Line item number), SYNC_FLAG (Flag to indicate if this record is sync with outside db).. 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: Not classified


SAP /OPT/S_INV_LIN 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
INVOICE_TYPEInvoice Type /OPT/INVOICE_TYPECHAR5Assigned to domainAWTYP
INVOICE_KEYInvoice Key /OPT/INVOICE_KEYCHAR20AWKEY
INVOICE_LINEInvoice Line item number /OPT/INVOICE_LINENUMC6NUMC6
SYNC_FLAGFlag to indicate if this record is sync with outside db /OPT/SYNC_FLAGCHAR1XFELD
COMP_CODECompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
INV_NODocument Number of an Invoice Document RE_BELNRCHAR10ALPHABELNRRBN
FISCAL_YEARFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
INV_LINDocument Item in Invoice Document RBLGPNUMC6NUMC6
MATERIALMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
GL_ACCTG/L Account Number SAKNRCHAR10Assigned to domainALPHASAKNRSAKC_SAKNR
UOMPurchase Order Unit of Measure BSTMEUNIT3Assigned to domainCUNITMEINS
UNIT_PRICEVendor Portal Unit Price /OPT/UNIT_PRICEDEC23(6)
SIGNSign for positive (+) or negative(-) number /OPT/SIGNCHAR1/OPT/SIGN
CURRENCYCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
QUANTITYQuantity in Purchase Order Price Unit BPMNGQUAN13(3) MENG13
AMOUNTAmount in document currency WRBTRCURR13(2) WERT7
TAXTax amount in document currency WMWSTCURR13(2) WERT7
TOTAL_AMOUNTNet Value in Document Currency NETWRCURR15(2) WERTV8
PO_NOPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
PO_LINItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
PAYMENT_DATEProbable Payment Date (Cash Discount 1 Due) DZALDTDATS8DATUM
PAYMENT_DOCDocument Number of the Clearing Document AUGBLCHAR10ALPHABELNR
PAID_AMOUNTAmount in document currency WRBTRCURR13(2) WERT7
LINE_STATUSInvoice Status /OPT/INV_STATUSCHAR4Assigned to domain/OPT/STATUSCODE
LINE_PARA1Status Parameter 1 /OPT/STATUSPARA1CHAR80/OPT/STATUSPARA
LINE_PARA2Status Parameter 2 /OPT/STATUSPARA2CHAR80/OPT/STATUSPARA
LINE_PARA3Status Parameter 3 /OPT/STATUSPARA3CHAR80/OPT/STATUSPARA
LINE_PARA4Status Parameter 4 /OPT/STATUSPARA4CHAR80/OPT/STATUSPARA
LINE_ADD_INFOInvoice Status Additional Info /OPT/INVADDLINFOCHAR132
DELETEDDeleted flag /OPT/DELETEDCHAR1XFELD

Key field Non-key field



How do I retrieve data from SAP table /OPT/S_INV_LIN using ABAP code

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

SELECT SINGLE *
FROM /OPT/S_INV_LIN
INTO CORRESPONDING FIELDS OF WA_/OPT/S_INV_LIN
WHERE...

How to access SAP table /OPT/S_INV_LIN

Within an ECC or HANA version of SAP you can also view further information about /OPT/S_INV_LIN 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!