OIJPHYINV SAP (Physical inventory) Table details

Dictionary Type: Table
Description: Physical inventory




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




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

OIJPHYINV is a standard SAP Table which is used to store Physical inventory data and is available within R/3 SAP systems depending on the version and release level.

The OIJPHYINV table consists of various fields, each holding specific information or linking keys about Physical inventory data available in SAP. These include LOCID (Location ID), SOCNR (SOC: Storage object characteristic segment number), MATNR (Material Number), CHARG (Batch / Valuation type).. 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: Can be enhanced (character-type or numeric)


SAP OIJPHYINV 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 MANDTCLNT3T000MANDT
LOCIDLocation ID OIJ_LOCIDCHAR10OIJLOCOIJ_LOCIDOIX
SOCNRSOC: Storage object characteristic segment number OII_SOCNRCHAR20Assigned to domainOII_SOCNR
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
CHARGBatch / Valuation type OIJ_CHARGCHAR10Assigned to domainCHARGCHA
TIMESTTime stamp field with 14 digits and NUMC data type OII_TIMESTNUMC14OII_TIMEST
SRCTYPEOIL-TSW: Physical inventory type / source OIJ_SRCTYPECHAR1OIJSRCTYPEOIJ_SRCTYPE
PHY_INVOIL-TSW: Phy inventory at loc.(from external source) OIJ_PHY_INVQUAN13(3) MENG13V
RDUOMStock Projection unit of measure (UoM) OIJ_RDUOMUNIT3Assigned to domainCUNITMEINS
RVPRVP value OIJ_RVPDEC4(1) DEC3_1
ERDATDate on Which Record Was Created ERDATDATS8DATUM
ERZEITTime of creation OI0_ERTIMTIMS6UZEIT
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
AEDATChanged On AEDATDATS8DATUM
AEZEITTime of day the record was changed OI0_AETIMTIMS6UZEIT
AENAMName of Person Who Changed Object AENAMCHAR12USNAM
BLOINDBlocking indicator OIJ_BLOINDCHAR1XFELD
DELINDDeletion indicator OIJ_DELINDCHAR1XFELD

Key field Non-key field



How do I retrieve data from SAP table OIJPHYINV using ABAP code

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

SELECT SINGLE *
FROM OIJPHYINV
INTO CORRESPONDING FIELDS OF WA_OIJPHYINV
WHERE...

How to access SAP table OIJPHYINV

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