EHCSMS_SPC_USAGE SAP (Specification Usage) Structure details

Dictionary Type: Structure
Description: Specification Usage




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




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

EHCSMS_SPC_USAGE 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 "Specification Usage" 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_EHCSMS_SPC_USAGE TYPE EHCSMS_SPC_USAGE.

The EHCSMS_SPC_USAGE table consists of various fields, each holding specific information or linking keys about Specification Usage data available in SAP. These include CREATED_BY (User Name That Created the Data), CHANGED_BY (User Name That Last Changed the Data), CHANGE_NR_DESC (Change Number Description), ERRORMODE (Indicator: Error or warning in an API function).. 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 EHCSMS_SPC_USAGE 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
CREATED_BYUser Name That Created the Data EHCSM_SPC_USER_CREATECHAR60EHCSM_SPC_NAME
CHANGED_BYUser Name That Last Changed the Data EHCSM_SPC_USER_CHANGECHAR60EHCSM_SPC_NAME
CHANGE_NR_DESCChange Number Description CC_AETXTCHAR40CC_TEXT40
ERRORMODEIndicator: Error or warning in an API function ESEERRMODECHAR1CHAR1
ERRORINFOCount parameters NUMC4NUMC4NUMC4
ERRORCLASSMessage Class SYMSGIDCHAR20Assigned to domainARBGB
ERRORPARAM30 Characters CHAR30CHAR30CHAR30
LOGLOCKMODLogical Lock Mode ESELGLCKMDCHAR1CHAR1
EXTINFOExternal Information ESEEXTINFOCHAR10CHAR10
LINEMODProcessing status or mode of a record/step loop line ESELINEMODCHAR1CHAR1
MANDTClient MANDTCLNT3T000MANDT
RECNSequential Number of Data Record ESERECNNUMC20ALPHAESDRECN
ACTNSequential Number of the Change State ESEACTNNUMC20ALPHAESDACTN
VALFRValid-From Date ESEVALFRDATS8DATUM
VALTOValid-To Date ESEVALTODATS8DATUM
AENNRChange Number ESEAENNRCHAR12AENRAENNRAENNRAEN
DELFLGDeletion Indicator ESEDELFLGCHAR1ESDFLAG
PARKFLGData Record Is Inactive ESEPARKFLGCHAR1ESDFLAG
CRDATCreated On ESECRDATDATS8DATUM
CRNAMCreated By ESECRNAMCHAR12USNAM
UPDDATChanged On ESEUPDDATDATS8DATUM
UPDNAMLast Changed By ESEUPDNAMCHAR12USNAM
SRSIDSource of Data ESESRSIDCHAR10TCG56ESDSRSID
OWNIDData Provider ESEVENDRIDCHAR10Assigned to domainALPHAAD_ADDRNUM
RECNROOTSequential Number of Data Record ESERECNNUMC20ALPHAESDRECN
NAMEMSTName of Master Table ESENAMEMSTCHAR30CHAR30
RECNMSTReference to Master Table ESERECNMSTNUMC20ALPHAESDRECN
VACLIDRating ESEVACLIDCHAR10TCG86ESDVACLID
VACLNAMDescription for Rating ESEVACLNAMCHAR40TEXT40
RVLIDValidity Area ESERVLIDCHAR10TCG91ESDRVLIDESJ
RVLNAMDescription for Validity Area ESERVLNAMCHAR40TEXT40
RVLTYPEValidity Area Category ESERVLTYPECHAR10Assigned to domainESDRVLTYPE
RVLTYPENAMLanguage-Dependent Description for Validity Area Category ESERVLTYPENAMCHAR40TEXT40
EXCLFLGValidity Area is Excluded ESEEXCLFLGCHAR1ESDFLAG
ACTVFLGActivate Usage ESEACTVFLGCHAR1ESDFLAG
ESNTFLGRelevant Change Has Been Made ESEESNTFLGCHAR1ESDFLAG
RECN_REFRHReference to Reference Specification Header ESERECNREFNUMC20ALPHAESDRECN
USAGECHECKSelection for Usage Check ESEUSGCCKCHAR1ESDUSGCCK
USAGE_TYPEUsage Type of EHS Specification EHCSM_SPC_USAGE_TYPECHAR1EHCSM_SPC_USAGE_TYPE_CODE

Key field Non-key field



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

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

How to access SAP table EHCSMS_SPC_USAGE

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