/OPT/S_GR_LIN SAP (VSS Stageing Table: GR Line) Table details
Dictionary Type: Table
Description: VSS Stageing Table: GR Line
Description: VSS Stageing Table: GR Line
ABAP Code to SELECT data from /OPT/S_GR_LIN
Related tables to /OPT/S_GR_LIN
Access table /OPT/S_GR_LIN
Related tables to /OPT/S_GR_LIN
Access table /OPT/S_GR_LIN
Table field list including key, data, relationships and ABAP select examples
/OPT/S_GR_LIN is a standard SAP Table which is used to store VSS Stageing Table: GR Line data and is available within R/3 SAP systems depending on the version and release level.
The /OPT/S_GR_LIN table consists of various fields, each holding specific information or linking keys about VSS Stageing Table: GR Line data available in SAP. These include MBLNR (Number of Material Document), MJAHR (Material Document Year), MBLPO (Item in Material Document), 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_GR_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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
MBLNR | Number of Material Document | MBLNR | CHAR | 10 | ALPHA | BELNR | MBN | ||
MJAHR | Material Document Year | MJAHR | NUMC | 4 | GJAHR | GJAHR | MJA | ||
MBLPO | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
SYNC_FLAG | Flag to indicate if this record is sync with outside db | /OPT/SYNC_FLAG | CHAR | 1 | XFELD | ||||
SAP_DOC_NO | Number of Material Document | MBLNR | CHAR | 10 | ALPHA | BELNR | MBN | ||
FISCAL_YEAR | Material Document Year | MJAHR | NUMC | 4 | GJAHR | GJAHR | MJA | ||
LINE_ITEM | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
VENDOR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
MATERIAL | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
UNIT_PRICE | Vendor Portal Unit Price | /OPT/UNIT_PRICE | DEC | 23(6) | |||||
AMOUNT | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
CURRENCY | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
QUANTITY | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
UOM | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
SIGN | Sign for positive (+) or negative(-) number | /OPT/SIGN | CHAR | 1 | /OPT/SIGN | ||||
PO_NO | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
PO_LINE | Item Number of Purchasing Document | EBELP | NUMC | 5 | Assigned to domain | EBELP | BSP | ||
INVOICED_FLAG | Flag to indicate whether invoice has been created for the GR | /OPT/GR_INVOICED | CHAR | 5 | |||||
DELETED | Deleted flag | /OPT/DELETED | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP table /OPT/S_GR_LIN using ABAP code
The following ABAP code Example will allow you to do a basic selection on /OPT/S_GR_LIN to SELECT all data from the tableDATA: WA_/OPT/S_GR_LIN TYPE /OPT/S_GR_LIN.
SELECT SINGLE *
FROM /OPT/S_GR_LIN
INTO CORRESPONDING FIELDS OF WA_/OPT/S_GR_LIN
WHERE...
How to access SAP table /OPT/S_GR_LIN
Within an ECC or HANA version of SAP you can also view further information about /OPT/S_GR_LIN 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