/OPT/S_GR_LIN SAP (VSS Stageing Table: GR Line) Table details

Dictionary Type: Table
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




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
MANDTClient MANDTCLNT3Assigned to domainMANDT
MBLNRNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
MJAHRMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA
MBLPOItem in Material Document MBLPONUMC4MBLPOPOS
SYNC_FLAGFlag to indicate if this record is sync with outside db /OPT/SYNC_FLAGCHAR1XFELD
SAP_DOC_NONumber of Material Document MBLNRCHAR10ALPHABELNRMBN
FISCAL_YEARMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA
LINE_ITEMItem in Material Document MBLPONUMC4MBLPOPOS
VENDORAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
MATERIALMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
UNIT_PRICEVendor Portal Unit Price /OPT/UNIT_PRICEDEC23(6)
AMOUNTAmount in Local Currency DMBTRCURR13(2) WERT7
CURRENCYCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
QUANTITYQuantity MENGE_DQUAN13(3) MENG13
UOMBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
SIGNSign for positive (+) or negative(-) number /OPT/SIGNCHAR1/OPT/SIGN
PO_NOPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
PO_LINEItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
INVOICED_FLAGFlag to indicate whether invoice has been created for the GR /OPT/GR_INVOICEDCHAR5
DELETEDDeleted flag /OPT/DELETEDCHAR1XFELD

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 table
DATA: 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 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!