EHPRCS_MASTB SAP (CP: Extended Material-BOM-Assignment) Structure details

Dictionary Type: Structure
Description: CP: Extended Material-BOM-Assignment




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




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

EHPRCS_MASTB 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 "CP: Extended Material-BOM-Assignment" 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_EHPRCS_MASTB TYPE EHPRCS_MASTB.

The EHPRCS_MASTB table consists of various fields, each holding specific information or linking keys about CP: Extended Material-BOM-Assignment data available in SAP. These include MANDT (Client), MATNR (Material Number), WERKS (Plant), STLAN (BOM Usage).. 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 EHPRCS_MASTB 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
MANDTClient MANDTCLNT3T000MANDT
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
STLANBOM Usage STLANCHAR1T416STLANCSV
STLNRBill of material STNUMCHAR8NUMCVSTNUMSTLNR
STLALAlternative BOM STALTCHAR2ALPHAALTNR
LOSVNFrom Lot Size LOSVNQUAN13(3) MENG13
LOSBSTo Lot Size LOSBSQUAN13(3) MENG13
ANDATDate record created on ANDATDATS8DATUM
ANNAMUser who created record ANNAMCHAR12USNAM
AEDATChanged On AEDATDATS8DATUM
AENAMName of Person Who Changed Object AENAMCHAR12USNAM
CSLTYIndicator: configured material (material variant) CSLTYCHAR1XFELD
VBKZUpdate indicator VBKZCHAR1VERBUCHER
AUSKZSelection indicator CSAUSCHAR1CHAR1
SELKZSelection of valid records CSSELCHAR1XFELD
SUPPLIERVendor Account Number ELIFNCHAR10Assigned to domainALPHALIFNRLIFKRED_C
SUP_MPNMaterial Number Used by Vendor IDNLFCHAR35IDNEX
PREF_SUPTruth Value ESEBOOLECHAR1ESDBOOLE
LOW_LEVELTruth Value ESEBOOLECHAR1ESDBOOLE
PMATNRPurchasing Part EHPRC_MATNRPURCHCHAR18Assigned to domainMATN1MATNR
SUP_NAMEName 1 NAME1_GPCHAR35NAME
ORIGINOrigin of Position EHPRC_POSORIGINCHAR12USNAM
SUP_LISTTruth Value ESEBOOLECHAR1ESDBOOLE
CUS_LISTTruth Value ESEBOOLECHAR1ESDBOOLE
CUSTOMERCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
CUS_NAMEName 1 NAME1_GPCHAR35NAME
CP_NUMMaterial Number Used by Customer MATNR_KUCHAR35IDNEX
CP_NAMCustomer description of material KDPTXCHAR40TEXT40
ADDINF1 Additional Information 10
ADDINF2 Additional Information 20
ADDINF3 Additional Information 30
ADDINF4 Additional Information 40
ADDINF5 Additional Information 50
ADDINF6 Additional Information 60
ADDINF7 Additional Information 70

Key field Non-key field



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

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

How to access SAP table EHPRCS_MASTB

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