BAPIHR0001 SAP (HR: HR Master Record Infotype 0001 (Org. Assignment)) Structure details

Dictionary Type: Structure
Description: HR: HR Master Record Infotype 0001 (Org. Assignment)




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




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

BAPIHR0001 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 0001 (Org. 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_BAPIHR0001 TYPE BAPIHR0001.

The BAPIHR0001 table consists of various fields, each holding specific information or linking keys about HR: HR Master Record Infotype 0001 (Org. Assignment) 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 BAPIHR0001 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
COMP_CODECompany Code BUKRSCHAR4T001BUKRSBUKC_T001
PERS_AREAPersonnel Area PERSACHAR4T500PPERSAPBR
EMPLOYEE_GROUPEmployee Group PERSGCHAR1T501PERSGPRG
EMPLOYEE_SUBGROUPEmployee Subgroup PERSKCHAR2T503KPERSKPKR
ORGANIZATIONAL_KEYOrganizational Key VDSK1CHAR14T527OVDSK1
BUSINESS_AREABusiness Area GSBERCHAR4TGSBGSBERGSB
PERSONNEL_SUBAREAPersonnel Subarea BTRTLCHAR4T001PBTRTLPBS
LEGAL_PERSONLegal Person JUPERCHAR4JUPER
PAYROLL_AREAPayroll Area ABKRSCHAR2T549AABKRSABK
EMPLOYMENT_CONTRACTWork Contract ANSVHCHAR2T542AANSVH
COSTCENTERCost Center KOSTLCHAR10CSKSALPHAKOSTLKOS
ORG_UNITOrganizational Unit ORGEHNUMC8Assigned to domainORGEH
POSITIONPosition PLANSNUMC8T528BPLANS
JOBJob STELLNUMC8T513STELL
SUPERVISOR_AREASupervisor Area MSTBRCHAR8MSTBR
PAYROLL_ADMINISTRATORPayroll Administrator SACHACHAR3SACHA
MASTER_DATA_ADMINISTRATORAdministrator for HR Master Data SACHPCHAR3SACHA
TIME_ADMINISTRATORAdministrator for Time Recording SACHZCHAR3SACHA
SORT_NAMEEmployee's Name (Sortable by LAST NAME FIRST NAME) SMNAMCHAR30CHAR30
FORMATTED_NAMEFormatted Name of Employee or Applicant EMNAMCHAR40TEXT40
OBJ_TYPEObject Type OTYPECHAR2T778OOTYPEPOT
ADMINISTRATOR_GROUPAdministrator Group SBMODCHAR4CHAR4SGR
CO_AREAControlling Area KOKRSCHAR4TKA01CACCDCAC
FUNDS_CTRFunds Center FISTLCHAR16FMFCTRFISTLFIS
FUNDFund BP_GEBERCHAR10FMFINCODEBP_GEBERFIC

Key field Non-key field



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

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

How to access SAP table BAPIHR0001

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