OPS_ITEM_DETAILS SAP (Special case with multiple Vendor/SO/acctnr/WBS) Structure details

Dictionary Type: Structure
Description: Special case with multiple Vendor/SO/acctnr/WBS




ABAP Code to SELECT data from OPS_ITEM_DETAILS
Related tables to OPS_ITEM_DETAILS
Access table OPS_ITEM_DETAILS




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

OPS_ITEM_DETAILS 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 "Special case with multiple Vendor/SO/acctnr/WBS" 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_OPS_ITEM_DETAILS TYPE OPS_ITEM_DETAILS.

The OPS_ITEM_DETAILS table consists of various fields, each holding specific information or linking keys about Special case with multiple Vendor/SO/acctnr/WBS data available in SAP. These include MANDT (Client), IBLNR (Physical Inventory Document), GJAHR (Fiscal Year), ZEILI (Line Number).. 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: Can Be Enhanced (Deep)


SAP OPS_ITEM_DETAILS 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
ISEG_HDR 0
MANDTClient MANDTCLNT3MANDT
IBLNRPhysical Inventory Document IBLNRCHAR10ALPHABELNRIBN
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
ZEILILine Number DZEILENUMC3ZEILEPOS
MATNRMaterial Number MATNRCHAR18MATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4WERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4LGORTLAG
CHARGBatch Number CHARG_DCHAR10CHARGCHA
SOBKZSpecial Stock Indicator SOBKZCHAR1SOBKZ
BSTARStock Type (Physical Inventory I_BSTARCHAR1BSTAR
KDAUFSales Order Number KDAUFCHAR10ALPHAVBELNAUN
KDPOSItem Number in Sales Order KDPOSNUMC6NUM06KPO
KDEINDelivery Schedule for Sales Order KDEINNUMC4NUM04
LIFNRVendor Account Number ELIFNCHAR10ALPHALIFNRLIFKRED_C
KUNNRAccount Number of Customer EKUNNCHAR10ALPHAKUNNRKUN
PLPLADistribution of Differences PLPLACHAR10PLPLA
USNAMChanged by USNAACHAR12USNAM
AEDATChanged On AEDATDATS8DATUM
USNAZCounted By USNAZCHAR12USNAM
ZLDATDate of last count DZLDATDATS8DATUM
USNADAdjustment posting made by USNADCHAR12USNAM
BUDATPosting Date in the Document BUDATDATS8DATUM
XBLNIReference Number for Physical Inventory XBLNI1CHAR16XBLNR1
XZAELItem has been counted XZAELCHAR1XFELD
XDIFFDifference posted XDIFFCHAR1XFELD
XNZAEItem will be recounted XNZAECHAR1XFELD
XLOEKItem is Deleted (Physical Inventory) I_XLOEKCHAR1XFELD
XAMEIHandling in Alternative Unit of Measure XAMEICHAR1XFELD
BUCHMBook quantity immediately prior to count BUCHMQUAN13(3) MENGV13
XNULLZero count XNULLCHAR1XFELD
MENGEQuantity MENGE_DQUAN13(3) MENG13
MEINSBase Unit of Measure MEINSUNIT3CUNITMEINS
ERFMGQuantity in unit of entry (physical inventory) I_ERFMGQUAN13(3) MENG13
ERFMEUnit of entry (physical inventory) I_ERFMEUNIT3CUNITMEINS
MBLNRNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
MJAHRMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA
ZEILEItem in Material Document MBLPONUMC4MBLPOPOS
NBLNRNumber of recount document NBLNRCHAR10ALPHABELNR
DMBTRDifference amount in local currency DIFWRCURR13(2) WERT7
WAERSCurrency Key WAERSCUKY5WAERSFWS
ABCINPhysical inventory indicator for cycle counting ABCINCHAR1ABCIN
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8KONPRPS_POSNR
VKWRTValue at Sales Prices Including Value-Added Tax VKWRTCURR13(2) WERT7
EXVKWExternally Entered Sales Value in Local Currency EXVKWCURR13(2) WERT7
BUCHWBook value based on sales prices (SP) at time of count BUCHWCURR13(2) WERT13N
KWARTIndicates that the value-only material is to be inventoried XWARTCHAR1XFELD
VKWRAValue at sales prices excluding value-added tax VKWRACURR13(2) WERT7
VKMZLSales Value of Inv. Differences (with VAT) on Count Entry VKMZLCURR13(2) WERT7
VKNZLSales Value of Inventory Difference (w/o VAT) on Count Entry VKNZLCURR13(2) WERT7
WRTZLValue of physical inventory count WRTZLCURR13(2) WERT7
WRTBMValue of book quantity WRTBMCURR13(2) WERT7
DIWZLInventory difference value upon count entry DIWZLCURR13(2) WERT7
ATTYPMaterial Category ATTYPCHAR2ATTYPMTY
GRUNDReason for inventory diff. GRDIFNUMC4MB_GRBEW
SAMATCross-Plant Configurable Material SATNRCHAR18MATN1MATNR
XDISPATCHDistribution of Physical Inventory Differences XDISPATCHCHAR1XFELD
.INCLU--AP 0
DISUB_OWNEROwner of stock OWNER_DCHAR10ALPHALIFNR
.INCLU--AP 0
WSTI_COUNTDATEDate of Count During Opening Time WSTI_COUNTDATEDATS8WSTI_COUNTDATE
WSTI_COUNTTIMETime of Count During Opening Time WSTI_COUNTTIMETIMS6WSTI_COUNTTIME
WSTI_FREEZEDATEFreeze Date for Inventory Balance WSTI_FREEZEDATEDATS8WSTI_FREEZEDATE
WSTI_FREEZETIMEFreeze Time for Inventory Balance WSTI_FREEZETIMETIMS6WSTI_FREEZETIME
WSTI_POSMQuantity to Which Book Quantity was Changed WSTI_POSMQUAN13(3) MENGV13
WSTI_POSWRetail Value to Which Retail Book Value was Changed WSTI_POSWCURR13(2) WERT13N
WSTI_XCALCBook Inventory Calculated at Count Time WSTI_XCALCCHAR1XFELD
WSTI_ENTERDATEEntry Date of Physical Inventory Count in System WSTI_ENTERDATEDATS8WSTI_ENTERDATE
WSTI_ENTERTIMEEntry Time of Physical Inventory Count in System WSTI_ENTERTIMETIMS6WSTI_ENTERTIME
ISEG_ITEM 0

Key field Non-key field



How do I retrieve data from SAP structure OPS_ITEM_DETAILS using ABAP code?

As OPS_ITEM_DETAILS 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 OPS_ITEM_DETAILS as there is no data to select.

How to access SAP table OPS_ITEM_DETAILS

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