HRTNM_S_VAL_STAFF SAP (TNM: staff assignment structure) Structure details

Dictionary Type: Structure
Description: TNM: staff assignment structure




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




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

HRTNM_S_VAL_STAFF 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 "TNM: staff assignment structure" 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_HRTNM_S_VAL_STAFF TYPE HRTNM_S_VAL_STAFF.

The HRTNM_S_VAL_STAFF table consists of various fields, each holding specific information or linking keys about TNM: staff assignment structure data available in SAP. These include NBWOM (Number of Women), WERKS (Personnel Area), BTRTL (Personnel Subarea), TEGRC (Training Employee Group).. 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 (Deep)


SAP HRTNM_S_VAL_STAFF 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
NBPERTotal of Attendees HRTNM_NBPERNUMC6NUMC6
NBWOMNumber of Women HRTNM_NBWOMNUMC6NUMC6
WERKSPersonnel Area PERSACHAR4Assigned to domainPERSAPBR
BTRTLPersonnel Subarea BTRTLCHAR4Assigned to domainBTRTLPBS
TEGRCTraining Employee Group HRTNM_TEGRCCHAR4CHAR4
FTEGCTraining Employee Group HRTNM_TEGRCCHAR4CHAR4
OBTYPObject Type HRTNM_OTYPECHAR2Assigned to domainOTYPE
OBJIDObject ID HRTNM_OBJIDNUMC8NUM08
FRMINTNM: does record comes from invoice infotype data? HRTNM_FRMINCHAR1XFELD
SIGNType of SIGN component in row type of a Ranges type DDSIGNCHAR1DDSIGN
OPTIType of OPTION component in row type of a Ranges type DDOPTIONCHAR2DDOPTION
AGE_MINTraining Needs Age HRTNM_AGENUMC3NUMC3
AGE_MAXTraining Needs Age HRTNM_AGENUMC3NUMC3
PERNRPersonnel Number PERNR_DNUMC8PERNRPER
PERIDPersonnel ID Number PRDNICHAR20CHAR20
NACHNLast Name PAD_NACHNCHAR40PAD_NACHN
VORNAFirst Name PAD_VORNACHAR40PAD_VORNM
ORGEHOrganizational Unit ORGEHNUMC8Assigned to domainORGEH
PLANSPosition PLANSNUMC8Assigned to domainPLANS
STELLJob STELLNUMC8Assigned to domainSTELL
PEAGETraining Needs Age HRTNM_AGENUMC3NUMC3
GESCHGender Key GESCHCHAR1GESCH
OBTYETNM: Course Object Type HRTNM_OBTYECHAR2Assigned to domainOTYPE
OBTIDTNM: Course ID HRTNM_OBTIDNUMC8NUM08
EVBEGBegda Course HRTNM_EVBEGDATS8DATS
EVENDEndda Course HRTNM_EVENDDATS8DATS
PRPTTAttendance hours done during employee working time HRTNM_PRPTTDEC8(2) DEC6_2
PRHTTAttendance hours done outside employee working time HRTNM_PRHTTDEC8(2) DEC6_2
ABHRSAbsence hours HRTNM_ABHRSDEC8(2) DEC6_2
ATCATAttendance Category HRTNM_ATCATCHAR1HRTNM_ATCAT
TSCHTTraining Time Recording Type HRTNM_TSCHTCHAR2HRTNM_TSCHT
INTRNInternal/External Training Event Indicator HRTNM_INTRNCHAR1HRTNM_INTRN
EVDAYEffective duration in days DAYCTDEC4DEC4
SHROTNM: Organizationial unit abbreviation HRTNM_ORGABBRCHAR12CHAR12
SHRSTNM: Postion abbreviation HRTNM_POSABBRCHAR12CHAR12
SHRCTNM: Job abbreviation HRTNM_JOBABBRCHAR12CHAR12
LTXOTNM: Organizational Unit Name HRTNM_ORGNAMECHAR40TEXT40
LTXSTNM: Position Name HRTNM_POSNAMECHAR40TEXT40
LTXCTNM: Job Name HRTNM_JOBNAMECHAR40TEXT40
OOTYPTNM: Training Provider (Organizer) object type HRTNM_OOTYPCHAR2Assigned to domainOTYPE
OOBIDTNM: Training Provider (Organizer) ID HRTNM_OOBIDNUMC8Assigned to domainHROBJID
OOSHTTNM: Trainer Provider (Organizer) Short Text HRTNM_OOSHTCHAR12TEXT12
OOLTXTNM: Trainer Provider (Organizer) Long Text HRTNM_OOLTXCHAR40TEXT40
PERSGEmployee Group PERSGCHAR1Assigned to domainPERSGPRG
PERSKEmployee Subgroup PERSKCHAR2Assigned to domainPERSKPKR
PBOOKCheckbox XFELDCHAR1XFELD
PRECO 0
COST 0
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
VDSK1Organizational Key VDSK1CHAR14Assigned to domainVDSK1
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB

Key field Non-key field



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

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

How to access SAP table HRTNM_S_VAL_STAFF

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