BAPIHR0050 SAP (HR: HR Master Record Infotype 0050 (Time Recording Info.)) Structure details

Dictionary Type: Structure
Description: HR: HR Master Record Infotype 0050 (Time Recording Info.)




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




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

BAPIHR0050 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 "HR: HR Master Record Infotype 0050 (Time Recording Info.)" 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_BAPIHR0050 TYPE BAPIHR0050.

The BAPIHR0050 table consists of various fields, each holding specific information or linking keys about HR: HR Master Record Infotype 0050 (Time Recording Info.) data available in SAP. These include OBJ_ID (Personnel Number), INFOTYPE (Infotype), SUBTYPE (Subtype), OBJECT_IDENTIFICATION (Object Identification).. 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 BAPIHR0050 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
OBJ_IDPersonnel Number PERNR_DNUMC8PERNRPER
INFOTYPEInfotype INFTYCHAR4T582AINFOTYPITP
SUBTYPESubtype SUBTYCHAR4SUBTYSUB
OBJECT_IDENTIFICATIONObject Identification OBJPSCHAR2OBJPSOPS
LOCKINDICLock Indicator for HR Master Data Record SPRPSCHAR1SPRPS
TO_DATEEnd Date ENDDADATS8DATUM
FROM_DATEStart Date BEGDADATS8DATUM
IT_REC_NONumber of Infotype Record with Same Key SEQNRNUMC3NUM03
CHANGED_ONChanged On AEDATDATS8DATUM
CHANGED_BYName of Person Who Changed Object AENAMCHAR12USNAM
HIST_FLAGHistorical Record Flag HISTOCHAR1CHAR1
INFOTYPE_TEXT_EXISTSText Exists for Infotype ITXEXCHAR1XFELD
REFERENCE_FILEDS_EXISTReference Fields Exist (Primary/Secondary Costs) PRFEXCHAR1XFELD
CONFIRMATION_FIELDS_EXISTConfirmation Fields Exist ORDEXCHAR1XFELD
INFOTYPE_SCREEN_CONTROLInfotype Screen Control ITBLDCHAR2CHAR2
REASON_TO_CHANGE_MASTER_DATAReason for Changing Master Data PREASCHAR2T530EPREAS
FLAG_1Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG_2Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG_3Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG_4Reserved Field/Unused Field NUSEDCHAR1NUSED
RESERVED_FIELD_1Reserved Field/Unused Field of Length 2 NUSED2CHAR2NUSED2
RESERVED_FIELD_2Reserved Field/Unused Field of Length 2 NUSED2CHAR2NUSED2
TIMEID_NOTime Recording ID Number DZAUSWNUMC8ZAUSW
TIMEID_VERSIONID version DZAUVECHAR1PT_ZAUVE
EE_GROUPING_FOR_TIME_EVAL_RULEEmployee grouping for the time evaluation rule DZABARCHAR1T555NZABAR
SUBSYSTEM_GROUPINGGrouping for Connection to Subsystem BDEGRCHAR3T705TBDEGR
ACCESS_CONTROL_GROUPAccess control group DZANBECHAR2T555OZANBE
OFFSITE_WORD_AUTHORIZATIONOff-site work athorization DZDGBECHAR1CHAR1
MAIL_INDICATORMail indicator DZMAILCHAR1CHAR1
PERSONAL_CODEPersonal code DZPINCCHAR4CHAR4
FLEXTIME_MAXIMUMFlextime maximum GLMAXDEC5(2) DEC3_2
FLEXTIME_MINIMUMFlextime minimum GLMINDEC5(2) DEC3_2
TIME_BONUS_DETECTIONTime Bonus/Deduction DZTZUADEC5(2) DECV3_2
STANDARD_OVERTIMEStandard overtime DZMGENCHAR1CHAR1
ADDITIONAL_INDICATORAdditional indicator DZUSKZCHAR1CHAR1
TIME_EVENT_TYPE_GROUPWork time event type group PMBDENUMC2T705FPMBDE
ATT_ABS_REASON_GRPGGrouping of Attendance/Absence Reasons GRAWGCHAR3T705IGRAWG
EXT_WAGETYPE_GRPGGrouping for Employee Expenses GRELGCHAR3T705JGRELG

Key field Non-key field



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

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

How to access SAP table BAPIHR0050

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