BAPI_PHYSINV_HEAD SAP (BAPI Communication Structure: Header Data of Phys. Inv. Doc.) Structure details

Dictionary Type: Structure
Description: BAPI Communication Structure: Header Data of Phys. Inv. Doc.




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




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

BAPI_PHYSINV_HEAD 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 "BAPI Communication Structure: Header Data of Phys. Inv. Doc." 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_BAPI_PHYSINV_HEAD TYPE BAPI_PHYSINV_HEAD.

The BAPI_PHYSINV_HEAD table consists of various fields, each holding specific information or linking keys about BAPI Communication Structure: Header Data of Phys. Inv. Doc. data available in SAP. These include FISCALYEAR (Fiscal Year), EVENT_TYPE (Transaction/Event Type), PLANT (Plant), STGE_LOC (Storage Location).. 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: Cannot Be Enhanced


SAP BAPI_PHYSINV_HEAD 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
PHYSINVENTORYPhysical Inventory Document IBLNRCHAR10ALPHABELNRIBN
FISCALYEARFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
EVENT_TYPETransaction/Event Type VGARTCHAR2T158VVGART
PLANTPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
STGE_LOCStorage Location LGORT_DCHAR4T001LLGORTLAG
SPEC_STOCKSpecial Stock Indicator SOBKZCHAR1T148SOBKZ
DOC_DATEDocument Date in Document BLDATDATS8DATUM
PLAN_DATEPlanned date of inventory count GIDATDATS8DATUM
COUNT_DATEDate of last count DZLDATDATS8DATUM
PSTNG_DATEPosting Date in the Document BUDATDATS8DATUM
FIS_PERIODFiscal Period MONATNUMC2MONAT
USERNAMEUser name USNAMCHAR12USR02XUBNAMEUSR
POST_BLOCKPosting block due to physical inventory ISPERCHAR1XFELD
COUNT_STATUSStatus of count DZSTATCHAR1ZSTAT
ADJUST_STATUSStatus of adjustment posting (inventory differences) DSTATCHAR1DSTAT
PHYS_INV_REFReference number for physical inventory XBLNICHAR16XBLNR
DELETE_STATUSStatus of delete flag LSTATCHAR1DSTAT
FREEZEBOOKINVFreeze book inventory XBUFICHAR1XFELD
GROUPING_TYPEType of grouping criterion KEORDCHAR2KEORD
GROUPING_CRITGrouping criterion of physical inventory document item ORDNGCHAR10CHAR10
PHYS_INV_NOPhysical inventory number INVNUCHAR16XBLNR
PHYS_INV_NO_LONGPhysical Inventory Number (Dependencies see Long Text) INVNU_LONGCHAR35XBLNR_LONG
PHYS_INV_REF_LONGPhys. Inv. Reference Number (Dependencies see Long Text) XBLNI_LONGCHAR35XBLNR_LONG

Key field Non-key field



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

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

How to access SAP table BAPI_PHYSINV_HEAD

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