PTP02_ITAB SAP (Structure of int. table t_head) Structure details
Description: Structure of int. table t_head
Structure field list including key, data, relationships and ABAP select examples
PTP02_ITAB 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 "Structure of int. table t_head" 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_PTP02_ITAB TYPE PTP02_ITAB.
The PTP02_ITAB table consists of various fields, each holding specific information or linking keys about Structure of int. table t_head data available in SAP. These include REINR (Trip Number), HDVRS (Sequential Number of Travel Expenses Table THEADER), MOLGA (Country Grouping), MOREI (Trip Provision Variant).. 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: Not classified
SAP PTP02_ITAB 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 | |||
REINR | Trip Number | REINR | NUMC | 10 | REINR | ||||
HDVRS | Sequential Number of Travel Expenses Table THEADER | PTRV_HDVRS | NUMC | 2 | PTRVNUMC2 | ||||
MOLGA | Country Grouping | MOLGA | CHAR | 2 | T500L | MOLGA | MOL | ||
MOREI | Trip Provision Variant | MOREI | CHAR | 2 | T702N | MOREI | MOR | ||
SCHEM | Trip schema | RSCHE | CHAR | 2 | Assigned to domain | RSCHE | |||
KZREA | Trip Type: Statutory | KZREA | CHAR | 1 | Assigned to domain | KZREA | |||
BEREI | Trip Type: Enterprise-Specific | BEREI | CHAR | 1 | Assigned to domain | BEREI | |||
KZTKT | Trip Activity Type | KZTKT | CHAR | 1 | Assigned to domain | KZTKT | |||
ZORT1 | Location | RZIEL | CHAR | 17 | RZIEL | ||||
ZLAND | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
HRGIO | Region of Main Destination | HRGIO | CHAR | 5 | Assigned to domain | RGION | |||
KUNDE | Reason for trip (e.g. customer/requisitioner) | RKUND | CHAR | 17 | RKUND | ||||
DATV1 | Beginning Date of Trip Segment | REBED | DATS | 8 | REDAT | ||||
UHRV1 | Beginning Time of Trip Segment | REBEU | TIMS | 6 | REUHR | ||||
DATB1 | End Date of Trip Segment | REEND | DATS | 8 | REDAT | ||||
UHRB1 | End Time of Trip Segment | REENU | TIMS | 6 | REUHR | ||||
DATAN | Trip Segment: Arrival Date | DATZA | DATS | 8 | REDAT | ||||
UHRAN | Part of trip: Arrival time | UHRZA | TIMS | 6 | REUHR | ||||
DATAB | Departure from Main Destination: Date | DATZR | DATS | 8 | REDAT | ||||
UHRAB | Departure time from main destination | UHRZR | TIMS | 6 | REUHR | ||||
DATH1 | Border Crossing (Trip Out): Date | DATGH | DATS | 8 | REDAT | ||||
UHRH1 | Time: Border crossing(trip out) | UHRGH | TIMS | 6 | REUHR | ||||
DATR1 | Border Crossing (Return Trip): Date | DATGZ | DATS | 8 | REDAT | ||||
UHRR1 | Time: Border crossing(return trip) | UHRGZ | TIMS | 6 | REUHR | ||||
AGRZ1 | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
GRGIO | Region of Border Crossing: Return Trip | GRGIO | CHAR | 5 | Assigned to domain | RGION | |||
GRBER | Border crossing: Trip type enterprise-specific | PTRV_GRBER | CHAR | 1 | Assigned to domain | BEREI | |||
UZKVG | Confirmation of Moving Costs Refund | PTRV_UZKVG | CHAR | 1 | UMZUGSKVG | ||||
ENDRG | Different End of Travel Allowance (in Separation Allowance) | PTRV_ENDRG | DATS | 8 | REDAT | ||||
DEPAR | Departure from Residence or Place of Work | PTRV_DEPAR | CHAR | 1 | PTRV_CHAR1 | ||||
ARRVL | Return Trip: Arrival at Place of Residence or Work | PTRV_ARRVL | CHAR | 1 | PTRV_CHAR1 | ||||
RETRN | Arrival at Accommodations or New Workplace | PTRV_RETRN | CHAR | 1 | PTRV_CHAR1 | ||||
HDPRN | Print status of trip/action | PTRV_HDPRN | CHAR | 1 | PTRV_CHAR1 | ||||
HDAPP | Approval status of trip/event | PTRV_HDAPP | CHAR | 1 | CHAR1 | ||||
HDACC | Settlement status of trip/event | PTRV_HDACC | CHAR | 1 | CHAR1 | ||||
HDPAY | Overall status: Transfer to payroll accounting | PTRV_HDPAY | CHAR | 1 | CHAR1 | ||||
HDFIA | Overall status: Transfer to financial accounting | PTRV_HDFIA | CHAR | 1 | CHAR1 | ||||
HDDME | Overall status: Transfer via DME | PTRV_HDDME | CHAR | 1 | CHAR1 | ||||
DATES | Changed On | AEDAT | DATS | 8 | DATUM | ||||
TIMES | Time of Last Change | AEUHR | TIMS | 6 | ATIME | ||||
UNAME | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
REPID | Change Report | AEREP | CHAR | 40 | AEREP |
Key field | Non-key field |
How do I retrieve data from SAP structure PTP02_ITAB using ABAP code?
As PTP02_ITAB 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 PTP02_ITAB as there is no data to select.How to access SAP table PTP02_ITAB
Within an ECC or HANA version of SAP you can also view further information about PTP02_ITAB 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