BAPIHR0017 SAP (HR: HR Master Record Infotype 0017 (Travel Privileges)) Structure details

Dictionary Type: Structure
Description: HR: HR Master Record Infotype 0017 (Travel Privileges)




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




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

BAPIHR0017 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 0017 (Travel Privileges)" 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_BAPIHR0017 TYPE BAPIHR0017.

The BAPIHR0017 table consists of various fields, each holding specific information or linking keys about HR: HR Master Record Infotype 0017 (Travel Privileges) 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 BAPIHR0017 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
TRAVEL_COST_REIMBURSE_GROUPReimbursement Group for Travel Costs PKWRGCHAR1PKWRGTRV_PKWRG
VEH_CLASVehicle Class PKWKLCHAR3Assigned to domainPKWKL
KM_ACCUMULATION_PERIOD_PARAPeriod Parameter for Accumulation of Kilometers PEKEZCHAR1Assigned to domainPEKEZ
REIMBURSE_GRP_MEALS_ACCOMMReimbursement Group for Meals/Accommodations: Statutory ERKLACHAR1Assigned to domainERKLA
REIMBSE_GP_MEAL_ENTERPRISReimbursement Group for Meals/Accomm. - Enterprise-Specific ERGRUCHAR2Assigned to domainERGRU
TRIP_EXPENSE_TYPE_EE_GROUPINGEmployee Grouping for Travel Expense Type SPESBCHAR1Assigned to domainSPESB
COMPANY_CODE_CHANGECompany Code Change WKAENCHAR1XFELD
TRAVEL_MANAGEMENT_EE_GROUPINGEmployee Grouping for Travel Management PTZUOCHAR3Assigned to domainPTZUO
COMP_CODECompany Code BUKRSCHAR4T001BUKRSBUKC_T001
PERS_AREAPersonnel Area PERSACHAR4T500PPERSAPBR
COSTCENTERCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
BUSINESS_AREABusiness Area GSBERCHAR4TGSBGSBERGSB
FUNDS_CTRFunds Center FISTLCHAR16FMFCTRFISTLFIS
FUNDFund BP_GEBERCHAR10FMFINCODEBP_GEBERFIC
VEH_TYPEVehicle Type KZPMFCHAR1Assigned to domainKZPMF
START_DATE_ANNUAL_CUMULATIONBeginning Date for Annual Cumulation KFZBDDATS8DATUM
TAXJURCODETax Jurisdiction TXJCDCHAR15Assigned to domainTXJCDTXJ
LIC_PLATLicense Plate Number KFZKZCHAR10CHAR10

Key field Non-key field



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

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

How to access SAP table BAPIHR0017

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