P0017 SAP (HR master record: Infotype 0017 (Travel Privileges)) Structure details

Dictionary Type: Structure
Description: HR master record: Infotype 0017 (Travel Privileges)




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




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

P0017 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 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_P0017 TYPE P0017.

The P0017 table consists of various fields, each holding specific information or linking keys about HR master record: Infotype 0017 (Travel Privileges) data available in SAP. These include PERNR (Personnel Number), INFTY (Infotype), SUBTY (Subtype), OBJPS (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: Can be enhanced (character-type or numeric)


SAP P0017 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
PERNRPersonnel Number PERNR_DNUMC8PERNRPER
INFTYInfotype INFTYCHAR4T582AINFOTYPITP
SUBTYSubtype SUBTYCHAR4SUBTYSUB
OBJPSObject Identification OBJPSCHAR2OBJPSOPS
SPRPSLock Indicator for HR Master Data Record SPRPSCHAR1SPRPS
ENDDAEnd Date ENDDADATS8DATUM
BEGDAStart Date BEGDADATS8DATUM
SEQNRNumber of Infotype Record with Same Key SEQNRNUMC3NUM03
AEDTMChanged On AEDATDATS8DATUM
UNAMEName of Person Who Changed Object AENAMCHAR12USNAM
HISTOHistorical Record Flag HISTOCHAR1CHAR1
ITXEXText Exists for Infotype ITXEXCHAR1XFELD
REFEXReference Fields Exist (Primary/Secondary Costs) PRFEXCHAR1XFELD
ORDEXConfirmation Fields Exist ORDEXCHAR1XFELD
ITBLDInfotype Screen Control ITBLDCHAR2CHAR2
PREASReason for Changing Master Data PREASCHAR2T530EPREAS
FLAG1Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG2Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG3Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG4Reserved Field/Unused Field NUSEDCHAR1NUSED
RESE1Reserved Field/Unused Field of Length 2 NUSED2CHAR2NUSED2
RESE2Reserved Field/Unused Field of Length 2 NUSED2CHAR2NUSED2
GRPVLGrouping Value for Personnel Assignments PCCE_GPVALCHAR4PCCE_GPVAL
PKWRGReimbursement Group for Travel Costs PKWRGCHAR1PKWRGTRV_PKWRG
PKWKLVehicle Class PKWKLCHAR3Assigned to domainPKWKL
PEKEZPeriod Parameter for Accumulation of Kilometers PEKEZCHAR1Assigned to domainPEKEZ
ERKLAReimbursement Group for Meals/Accommodations: Statutory ERKLACHAR1Assigned to domainERKLA
ERGRUReimbursement Group for Meals/Accomm. - Enterprise-Specific ERGRUCHAR2Assigned to domainERGRU
SPEBEEmployee Grouping for Travel Expense Type SPESBCHAR1Assigned to domainSPESB
BWAENCompany Code Change WKAENCHAR1XFELD
PTZUOEmployee Grouping for Travel Management PTZUOCHAR3Assigned to domainPTZUO
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
WERKSPersonnel Area PERSACHAR4T500PPERSAPBR
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
GSBERBusiness Area GSBERCHAR4TGSBGSBERGSB
FISTLFunds Center FISTLCHAR16FMFCTRFISTLFIS
GEBERFund BP_GEBERCHAR10FMFINCODEBP_GEBERFIC
KZPMFVehicle Type KZPMFCHAR1Assigned to domainKZPMF
KFZBDBeginning Date for Annual Cumulation KFZBDDATS8DATUM
TXJCDTax Jurisdiction TXJCDCHAR15Assigned to domainTXJCDTXJ
KFZKZLicense Plate Number KFZKZCHAR10CHAR10
.INCLU--AP 0
FKBERFunctional Area FKBERCHAR16TFKBFKBERFBE
GRANT_NBRGrant GM_GRANT_NBRCHAR20ALPHAGM_GRANT_NBRGM_GRANT_NBRGRANTS_GENERIC
FIPEXCommitment Item FM_FIPEXCHAR24Assigned to domainFM_FIPEXFPS
STAND_APPStanding Approval of Business Trips PTRV_STAND_APPCHAR45CHAR45
TRVEDISignificant Official Interest Exists TRVEDICHAR45CHAR45
BUDGET_PERIODFM: Budget Period FM_BUDGET_PERIODCHAR10Assigned to domainFM_BUDGET_PERIODBUDPER
CNSMPT_INCITYCity Fuel Consumption/Economy Rating PTRV_FUEL_CNSMPT_INCITYDEC5(3)
CNSMPT_OVERLANDHighway Fuel Consumption/Economy Rating PTRV_FUEL_CNSMPT_OVERLANDDEC5(3)
CNSMPT_COMBINEDCombined Fuel Consumption/Economy Rating PTRV_FUEL_CNSMPT_COMBINEDDEC5(3)
FUEL_TYPEType of Fuel PTRV_FUEL_TYPECHAR20PTRV_FUEL_TYPE

Key field Non-key field



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

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

How to access SAP table P0017

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