P0017 SAP (HR master record: Infotype 0017 (Travel Privileges)) Structure details
Description: HR master record: Infotype 0017 (Travel Privileges)
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 |
PERNR | Personnel Number | PERNR_D | NUMC | 8 | PERNR | PER | |||
INFTY | Infotype | INFTY | CHAR | 4 | T582A | INFOTYP | ITP | ||
SUBTY | Subtype | SUBTY | CHAR | 4 | SUBTY | SUB | |||
OBJPS | Object Identification | OBJPS | CHAR | 2 | OBJPS | OPS | |||
SPRPS | Lock Indicator for HR Master Data Record | SPRPS | CHAR | 1 | SPRPS | ||||
ENDDA | End Date | ENDDA | DATS | 8 | DATUM | ||||
BEGDA | Start Date | BEGDA | DATS | 8 | DATUM | ||||
SEQNR | Number of Infotype Record with Same Key | SEQNR | NUMC | 3 | NUM03 | ||||
AEDTM | Changed On | AEDAT | DATS | 8 | DATUM | ||||
UNAME | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
HISTO | Historical Record Flag | HISTO | CHAR | 1 | CHAR1 | ||||
ITXEX | Text Exists for Infotype | ITXEX | CHAR | 1 | XFELD | ||||
REFEX | Reference Fields Exist (Primary/Secondary Costs) | PRFEX | CHAR | 1 | XFELD | ||||
ORDEX | Confirmation Fields Exist | ORDEX | CHAR | 1 | XFELD | ||||
ITBLD | Infotype Screen Control | ITBLD | CHAR | 2 | CHAR2 | ||||
PREAS | Reason for Changing Master Data | PREAS | CHAR | 2 | T530E | PREAS | |||
FLAG1 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
FLAG2 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
FLAG3 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
FLAG4 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
RESE1 | Reserved Field/Unused Field of Length 2 | NUSED2 | CHAR | 2 | NUSED2 | ||||
RESE2 | Reserved Field/Unused Field of Length 2 | NUSED2 | CHAR | 2 | NUSED2 | ||||
GRPVL | Grouping Value for Personnel Assignments | PCCE_GPVAL | CHAR | 4 | PCCE_GPVAL | ||||
PKWRG | Reimbursement Group for Travel Costs | PKWRG | CHAR | 1 | PKWRG | TRV_PKWRG | |||
PKWKL | Vehicle Class | PKWKL | CHAR | 3 | Assigned to domain | PKWKL | |||
PEKEZ | Period Parameter for Accumulation of Kilometers | PEKEZ | CHAR | 1 | Assigned to domain | PEKEZ | |||
ERKLA | Reimbursement Group for Meals/Accommodations: Statutory | ERKLA | CHAR | 1 | Assigned to domain | ERKLA | |||
ERGRU | Reimbursement Group for Meals/Accomm. - Enterprise-Specific | ERGRU | CHAR | 2 | Assigned to domain | ERGRU | |||
SPEBE | Employee Grouping for Travel Expense Type | SPESB | CHAR | 1 | Assigned to domain | SPESB | |||
BWAEN | Company Code Change | WKAEN | CHAR | 1 | XFELD | ||||
PTZUO | Employee Grouping for Travel Management | PTZUO | CHAR | 3 | Assigned to domain | PTZUO | |||
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
WERKS | Personnel Area | PERSA | CHAR | 4 | T500P | PERSA | PBR | ||
KOSTL | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
GSBER | Business Area | GSBER | CHAR | 4 | TGSB | GSBER | GSB | ||
FISTL | Funds Center | FISTL | CHAR | 16 | FMFCTR | FISTL | FIS | ||
GEBER | Fund | BP_GEBER | CHAR | 10 | FMFINCODE | BP_GEBER | FIC | ||
KZPMF | Vehicle Type | KZPMF | CHAR | 1 | Assigned to domain | KZPMF | |||
KFZBD | Beginning Date for Annual Cumulation | KFZBD | DATS | 8 | DATUM | ||||
TXJCD | Tax Jurisdiction | TXJCD | CHAR | 15 | Assigned to domain | TXJCD | TXJ | ||
KFZKZ | License Plate Number | KFZKZ | CHAR | 10 | CHAR10 | ||||
.INCLU--AP | 0 | ||||||||
FKBER | Functional Area | FKBER | CHAR | 16 | TFKB | FKBER | FBE | ||
GRANT_NBR | Grant | GM_GRANT_NBR | CHAR | 20 | ALPHA | GM_GRANT_NBR | GM_GRANT_NBR | GRANTS_GENERIC | |
FIPEX | Commitment Item | FM_FIPEX | CHAR | 24 | Assigned to domain | FM_FIPEX | FPS | ||
STAND_APP | Standing Approval of Business Trips | PTRV_STAND_APP | CHAR | 45 | CHAR45 | ||||
TRVEDI | Significant Official Interest Exists | TRVEDI | CHAR | 45 | CHAR45 | ||||
BUDGET_PERIOD | FM: Budget Period | FM_BUDGET_PERIOD | CHAR | 10 | Assigned to domain | FM_BUDGET_PERIOD | BUDPER | ||
CNSMPT_INCITY | City Fuel Consumption/Economy Rating | PTRV_FUEL_CNSMPT_INCITY | DEC | 5(3) | |||||
CNSMPT_OVERLAND | Highway Fuel Consumption/Economy Rating | PTRV_FUEL_CNSMPT_OVERLAND | DEC | 5(3) | |||||
CNSMPT_COMBINED | Combined Fuel Consumption/Economy Rating | PTRV_FUEL_CNSMPT_COMBINED | DEC | 5(3) | |||||
FUEL_TYPE | Type of Fuel | PTRV_FUEL_TYPE | CHAR | 20 | PTRV_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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects