/BEV2/S_CS_EDMSE SAP (ED Document Data) Structure details

Dictionary Type: Structure
Description: ED Document Data




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




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

/BEV2/S_CS_EDMSE 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 "ED Document Data" 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/S_CS_EDMSE TYPE /BEV2/S_CS_EDMSE.

The /BEV2/S_CS_EDMSE table consists of various fields, each holding specific information or linking keys about ED Document Data data available in SAP. These include MBLNR (Number of Material Document), ZEILE (Item in Material Document), YHPOSNR (Item Number), YHVBART (Excise Duty 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:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP /BEV2/S_CS_EDMSE 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
MJAHRMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA
MBLNRNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
ZEILEItem in Material Document MBLPONUMC4MBLPOPOS
YHPOSNRItem Number /BEV2/EDPOSNRNUMC3NUMC3
YHVBARTExcise Duty Type /BEV2/EDARTCHAR3Assigned to domain/BEV2/EDART/BEV2/ED_TAXTYPE
YHZOARTType of Customs Duty /BEV2/EDZOARTCHAR2/BEV2/EDZOART
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
YHSLAGERTax Warehouse Registration /BEV2/EDSLAGERCHAR15Assigned to domain/BEV2/EDSLAGER/BEV2/ED_TAXID
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
BUDATPosting Date in the Document BUDATDATS8DATUM
YHBSTATProcessing status /BEV2/EDBSTATCHAR1/BEV2/EDBSTAT
YHLGBUCHStock Ledger Number /BEV2/EDLGBUCHCHAR1/BEV2/EDLGBUCH
YHNERWLAGBNo Entry in Extended Stock Ledger /BEV2/EDNERWLAGBCHAR1XFELD
YHERRORError Number /BEV2/EDERRORNUMC4Assigned to domain/BEV2/EDERROR
YHSTDATExcise Duty Settlement Date /BEV2/EDSTDATDATS8DATUM
YHSTPERExcise Duty Settlement Period /BEV2/EDSTPERNUMC7Assigned to domain/BEV2/EDSTPER
YHSTKWExcise Duty Settlement Week /BEV2/EDSTKWNUMC6PERIMCPERIOD
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
STORNIndicator: Document is reversed STORNCHAR1XFELD
MENGEQuantity MENGE_DQUAN13(3) MENG13
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
BWARTMovement Type (Inventory Management) BWARTCHAR3Assigned to domainBWARTBWA
YHBEWTYPExcise Duty Movement Category /BEV2/EDBEWTYPCHAR3Assigned to domain/BEV2/EDBEWTYP
YHLBGRPStock Ledger Group Excise Duty /BEV2/EDLBGRPCHAR5Assigned to domain/BEV2/EDLBGRP
YHLBGRP_ORIGStock Ledger Group Excise Duty (Original) /BEV2/EDLBGRP_ORIGCHAR5Assigned to domain/BEV2/EDLBGRP
YHLBSPALStock Ledger Division Excise Duty /BEV2/EDLBSPALCHAR2/BEV2/EDLBSPAL
YHLBUSPStock Ledger Subdivision Excise Duty /BEV2/EDLBUSPCHAR2/BEV2/EDLBUSP
YHALKOAlcoholic Strength (% Vol., Degree Plato) /BEV2/EDALKODEC5(2) /BEV2/EDALKO
YHBESKZExcise Duty Procurement Indicator /BEV2/EDBESKZCHAR1Assigned to domain/BEV2/EDBESKZ/BEV2/EDBESKZ_SH
YHAUSLANDProduced Abroad Indicator /BEV2/EDAUSLANDCHAR1XFELD
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
YHKSWRETIndicator for Calculation of Retrograde Shrinkage /BEV2/EDKSWRETCHAR1/BEV2/EDKSWRET
YHSWRETRetrograde Shrinkage Rate /BEV2/EDSWRETDEC7(5) /BEV2/EDSWSATZ
YHSWRMGRetrograde Shrinkage Quantity /BEV2/EDSWRMGQUAN15(5) /BEV2/EDVOLUM
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
WEMPFCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
YHSLAGEREExternal Excise Duty Warehouse Number /BEV2/EDSLAGERECHAR15/BEV2/EDSLAGERE
YHVBSNRSLExternal Excise Duty Number /BEV2/EDSNRSLCHAR15/BEV2/EDSNR
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
POSNRItem number of the SD document POSNRNUMC6Assigned to domainPOSNR
LFSNRNumber of External Delivery Note LFSNR1CHAR16XBLNR1
AUGRUOrder reason (reason for the business transaction) AUGRUCHAR3Assigned to domainAUGRU
PSTYVSales document item category PSTYVCHAR4Assigned to domainPSTYV
UMWRKReceiving/Issuing Plant UMWRKCHAR4Assigned to domainWERKS
UMLGOReceiving/Issuing Storage Location UMLGOCHAR4Assigned to domainLGORT
EDALVMENGTax-Relevant Quantity in Settlement Unit for ALV Output /BEV2/EDALVMENGQUAN15(5) /BEV2/EDVOLUM
EDALVWERTSTax Value of the Item /BEV2/EDALVWERTSCURR13(2) /BEV2/EDALVWERT
EDALVWERTZValue of Additional Charge for ALV Output /BEV2/EDALVWERTZCURR13(2) /BEV2/EDALVWERT
YHVOLUMRLVolume in Cubic Liters /BEV2/EDVOLUMRLQUAN15(5) /BEV2/EDVOLUM
MEINRLBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
YHVOLUMLAContents in Liters Pure Alcohol /BEV2/EDVOLUMLAQUAN15(5) /BEV2/EDVOLUM
MEINLABase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
YHGEFINHContainer Contents /BEV2/EDGEFINHQUAN6(3) /BEV2/EDGEFINH
MEINGIBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
YHPREISSTax per Item /BEV2/EDPREISSCURR17(5) /BEV2/EDPREISP
YHWAERSSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
YHZUSATZ1Additional Charge for Material in ED Material Master(Client) /BEV2/EDZUSATZ1CHAR2CHAR2
YHPREISZValue Add. Charge /BEV2/EDPREISZCURR17(5) /BEV2/EDPREISP
YHWAERSZCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
USNAMUser name USNAMCHAR12Assigned to domainXUBNAMEUSR
AEDATChanged On AEDATDATS8DATUM
CPUTMTime of Entry CPUTMTIMS6UZEIT
YHKZ_DRITTLANDIndicator: Third Country Movement /BEV2/EDKZ_DRITTLAND_DCHAR1XFELD
YHKZ_EINKAUFPurchasing Indicator /BEV2/EDKZ_EINKAUF_DCHAR1XFELD
YHKZ_EUEU Movement Indicator /BEV2/EDKZ_EU_DCHAR1XFELD
YHKZ_FERTIGUNGProduction Indicator /BEV2/EDKZ_FERTIGUNG_DCHAR1XFELD
YHKZ_INLANDDomestic Movement Indicator /BEV2/EDKZ_INLAND_DCHAR1XFELD
YHKZ_UMLAGERUNGIndicator: Stock Transfer Movement /BEV2/EDKZ_UMLAGERUNG_DCHAR1XFELD
YHKZ_VERKAUFIndicator: Sales /BEV2/EDKZ_VERKAUF_DCHAR1XFELD
YHKZ_ZUGANGIndicator: Receipts /BEV2/EDKZ_ZUGANG_DCHAR1XFELD
YHKZ_STEUERWIndicator: Change of Tax State /BEV2/EDKZ_STEUERWECHSELCHAR1XFELD
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
YHABRMENGSettlement Quantity in Settlement Unit of Tax /BEV2/EDABRMENGQUAN15(5) /BEV2/EDVOLUM
YHABRMEINSettlement Unit of the ED Tax Type /BEV2/EDABRMEINUNIT3Assigned to domainCUNITMEINS
EDKZ_TEXTIndicator: Document Text Created /BEV2/ED_KZ_TEXTCHAR1XFELD
ED_CORRTYPEAdjustment Document Type /BEV2/ED_CORRTYPECHAR1/BEV2/ED_CORRTYPE
EDPARTNERED Special Partner Type /BEV2/EDPARTNERTYPCHAR10Assigned to domain/BEV2/EDPARTNERTYP
EDLANDECountry of Vendor/Ship-To Party /BEV2/EDLAND_EXTERNCHAR3Assigned to domainLAND1
ARCNOEMCS: Reference Code of e-AAD /BEV2/CS_ARCCHAR21/BEV2/CS_ARC/BEV2/CS_ELM_ARCNO

Key field Non-key field



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

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

How to access SAP table /BEV2/S_CS_EDMSE

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