CRMAHR SAP (Data on Persons) Table details

Dictionary Type: Table
Description: Data on Persons




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




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

CRMAHR is a standard SAP Table which is used to store Data on Persons data and is available within R/3 SAP systems depending on the version and release level.

The CRMAHR table consists of various fields, each holding specific information or linking keys about Data on Persons data available in SAP. These include USERNAME (User Name in User Master Record), FIRSTNAME (First name), LASTNAME (Last name), PHONE (First telephone no.: dialling code+number).. 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: L - Table for storing temporary data, is delivered empty
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP CRMAHR table 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
USERIDUser Name in User Master Record XUBNAMECHAR12Assigned to domainXUBNAMEXUS
USERNAMEUser Name in User Master Record XUBNAMECHAR12Assigned to domainXUBNAMEXUS
FIRSTNAMEFirst name AD_NAMEFIRCHAR40TEXT40
LASTNAMELast name AD_NAMELASCHAR40TEXT40
PHONEFirst telephone no.: dialling code+number AD_TLNMBR1CHAR30CHAR30
COSTCENTERAddresses: Cost center COST_CTCHAR10TEXT10
DEPARTMENTDepartment AD_DPRTMNTCHAR40TEXT40
BUILDINGBuilding (number or code) AD_BLDNG_PCHAR10TEXT10
ROOMRoom or Appartment Number AD_ROOMNUMCHAR10TEXT10
EMAILE-Mail Address AD_SMTPADRCHAR241SXIDNAD_SMTPADR
ROLEIDUser Role CRMROLEIDCHAR10CRMAHRROLCRMROCRMROLEID
RESP1User Name in User Master Record XUBNAMECHAR12Assigned to domainXUBNAMEXUS
RESP2User Name in User Master Record XUBNAMECHAR12Assigned to domainXUBNAMEXUS
RESP3User Name in User Master Record XUBNAMECHAR12Assigned to domainXUBNAMEXUS
RESP4User Name in User Master Record XUBNAMECHAR12Assigned to domainXUBNAMEXUS
RESP5User Name in User Master Record XUBNAMECHAR12Assigned to domainXUBNAMEXUS
CHGTSTAMPTimestamp of change CRMTSCHGNUMC14TSTAMP

Key field Non-key field



How do I retrieve data from SAP table CRMAHR using ABAP code

The following ABAP code Example will allow you to do a basic selection on CRMAHR to SELECT all data from the table
DATA: WA_CRMAHR TYPE CRMAHR.

SELECT SINGLE *
FROM CRMAHR
INTO CORRESPONDING FIELDS OF WA_CRMAHR
WHERE...

How to access SAP table CRMAHR

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