EHPRCS_LGENT SAP (Legal Entity Details) Structure details

Dictionary Type: Structure
Description: Legal Entity Details




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




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

EHPRCS_LGENT 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 "Legal Entity Details" 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_LGENT TYPE EHPRCS_LGENT.

The EHPRCS_LGENT table consists of various fields, each holding specific information or linking keys about Legal Entity Details data available in SAP. These include MANDT (Client), BUKRS (Company Code), BUTXT (Legal Entity Name), RESP_PERNO (Responsible Person).. 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 EHPRCS_LGENT 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 MANDTCLNT3Assigned to domainMANDT
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
BUTXTLegal Entity Name EHPRC_LEGENT_NAMECHAR60TEXT60
RESP_PERNOResponsible Person EHPRC_RES_PERNOCHAR10Assigned to domainALPHABU_PARTNER
COUNTRYCountry Key LAND1CHAR3T005LAND1LND
LEOX_UUIDGUID EHPRC_LEOX_UUIDCHAR50EHPRC_TXT50
LEOX_DOKARDocument Type EHPRC_LEOX_DOKARCHAR3Assigned to domainDOKAR
LEOX_DOKNRDocument Number EHPRC_LEOX_DOKNRCHAR25Assigned to domainALPHADOKNR
LEOX_DOKVRDocument Version EHPRC_LEOX_DOKVRCHAR2DOKVR
LEOX_DOKTLDocument Part EHPRC_LEOX_DOKTLCHAR3DOKTL
LEOX_DOKTXDocument Text EHPRC_DOCTXTCHAR40EHPRC_TXT40
MAPPING_TXTLegal Entity Name Used for Mapping of REACH-IT Company EHPRC_LEGENT_MAPPINGCHAR255EHPRC_TXT255
SLAGDefault Authorization Group EHPRC_SLAGCHAR10TCG91ESDRVLIDEHPRC_ELM_SLAG
FLG_IN_LEGSLTruth Value ESEBOOLECHAR1ESDBOOLE
NAME2Name 2 AD_NAME2CHAR40TEXT40
STREETStreet AD_STR_OLDCHAR40TEXT40
HOUSE_NOStreet Number for City/Street File AD_STRNUMCHAR12Assigned to domainALPHASTRT_CODE
POSTL_CODECity postal code AD_PSTCD1CHAR10CHAR10
CITYCity AD_CITY1CHAR40TEXT40CLCITYNAME
TEL_NUMBERFirst telephone no.: dialling code+number AD_TLNMBR1CHAR30CHAR30
TEL_EXTFirst Telephone No.: Extension AD_TLXTNS1CHAR10CHAR10
FAX_NUMBERFirst fax no.: dialling code+number AD_FXNMBR1CHAR30CHAR30
FAX_EXTENSFirst fax no.: extension AD_FXXTNS1CHAR10CHAR10
EMAILE-Mail Address AD_SMTPADRCHAR241SXIDNAD_SMTPADR

Key field Non-key field



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

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

How to access SAP table EHPRCS_LGENT

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