/BEV2/EDSTOCKTAB_S SAP (Mat. Documents: Structure for Program-Internal Stock Table) Structure details

Dictionary Type: Structure
Description: Mat. Documents: Structure for Program-Internal Stock Table




ABAP Code to SELECT data from /BEV2/EDSTOCKTAB_S
Related tables to /BEV2/EDSTOCKTAB_S
Access table /BEV2/EDSTOCKTAB_S




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

/BEV2/EDSTOCKTAB_S 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 "Mat. Documents: Structure for Program-Internal Stock Table" 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_/BEV2/EDSTOCKTAB_S TYPE /BEV2/EDSTOCKTAB_S.

The /BEV2/EDSTOCKTAB_S table consists of various fields, each holding specific information or linking keys about Mat. Documents: Structure for Program-Internal Stock Table data available in SAP. These include MATNR (Material Number), GEFINH (Container Contents), YHMATGRP (Tax Type Independent Material Group), YHMATGRP_S (Tax Type Dependent Material Group).. 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 /BEV2/EDSTOCKTAB_S 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
YHSLAGERTax Warehouse Registration /BEV2/EDSLAGERCHAR15Assigned to domain/BEV2/EDSLAGER/BEV2/ED_TAXID
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
GEFINHContainer Contents /BEV2/EDGEFINHQUAN6(3) /BEV2/EDGEFINH
YHMATGRPTax Type Independent Material Group /BEV2/EDMATGRPCHAR6Assigned to domain/BEV2/EDMATGRP
YHMATGRP_STax Type Dependent Material Group /BEV2/EDMATGRP_SCHAR6Assigned to domain/BEV2/EDMATGRP_S/BEV2/EDMATGRP_SH
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
YHALKOAlcoholic Strength (% Vol., Degree Plato) /BEV2/EDALKODEC5(2) /BEV2/EDALKO
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
YHSLHERTax Warehouse of Manufacturing Plant /BEV2/EDSLHERCHAR15Assigned to domain/BEV2/EDSLAGER
YHVBSNRExcise Duty Number for Tax Warehouse /BEV2/EDSNRCHAR15/BEV2/EDSNR
YHBRAUNRBrewery Number of Manufacturing Plant /BEV2/EDBRAUNRCHAR20/BEV2/EDBRAUNR
YHBESKZExcise Duty Procurement Indicator /BEV2/EDBESKZCHAR1Assigned to domain/BEV2/EDBESKZ/BEV2/EDBESKZ_SH
MBWBESTSettlement Quantity in Settlement Unit of Tax /BEV2/EDABRMENGQUAN15(5) /BEV2/EDVOLUM
OMBWBESTSettlement Quantity in Settlement Unit of Tax /BEV2/EDABRMENGQUAN15(5) /BEV2/EDVOLUM
MKOBESTSettlement Quantity in Settlement Unit of Tax /BEV2/EDABRMENGQUAN15(5) /BEV2/EDVOLUM
OMKOBESTSettlement Quantity in Settlement Unit of Tax /BEV2/EDABRMENGQUAN15(5) /BEV2/EDVOLUM
GESBESTSettlement Quantity in Settlement Unit of Tax /BEV2/EDABRMENGQUAN15(5) /BEV2/EDVOLUM
OGESBESTSettlement Quantity in Settlement Unit of Tax /BEV2/EDABRMENGQUAN15(5) /BEV2/EDVOLUM
YHABRMENGSettlement Quantity in Settlement Unit of Tax /BEV2/EDABRMENGQUAN15(5) /BEV2/EDVOLUM
YHABRMEINSettlement Unit of the ED Tax Type /BEV2/EDABRMEINUNIT3Assigned to domainCUNITMEINS
YHLOSEWNon-Filled Goods Indicator /BEV2/EDLOSEWCHAR1XFELD
BASMEBase unit of measure for BOM BASMEUNIT3Assigned to domainCUNITMEINS
SPMONPeriod to analyze - month SPMONNUMC6PERIMCPERIOD
RETSTIndicator: Tax on Returns /BEV2/EDRETSTCHAR1CHAR1_X
YHSWRETRetrograde Shrinkage Rate /BEV2/EDSWRETDEC7(5) /BEV2/EDSWSATZ
YHSWRETMGSettlement Quantity in Settlement Unit of Tax /BEV2/EDABRMENGQUAN15(5) /BEV2/EDVOLUM

Key field Non-key field



How do I retrieve data from SAP structure /BEV2/EDSTOCKTAB_S using ABAP code?

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

How to access SAP table /BEV2/EDSTOCKTAB_S

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