PTPCP SAP (Structure for Comparison Calculation Data) Structure details

Dictionary Type: Structure
Description: Structure for Comparison Calculation Data




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




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

PTPCP 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 for Comparison Calculation Data" 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_PTPCP TYPE PTPCP.

The PTPCP table consists of various fields, each holding specific information or linking keys about Structure for Comparison Calculation Data data available in SAP. These include COST_ZUSCHLAG (Unreal trav. costs pub. transp. (PS)), COST_NAHV (Unreal trav. costs pub. transp. (PS)), COST_SONSTV (Unreal trav. costs pub. transp. (PS)), NOTWEND_KM (Required Kilometers Traveled (Comparison Calculation)).. 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 PTPCP 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
COST_BAHNUnreal trav. costs pub. transp. (PS) PTRV_TRANSCURR10(2) GESBE
COST_ZUSCHLAGUnreal trav. costs pub. transp. (PS) PTRV_TRANSCURR10(2) GESBE
COST_NAHVUnreal trav. costs pub. transp. (PS) PTRV_TRANSCURR10(2) GESBE
COST_SONSTVUnreal trav. costs pub. transp. (PS) PTRV_TRANSCURR10(2) GESBE
NOTWEND_KMRequired Kilometers Traveled (Comparison Calculation) PTRV_NOTKMDEC5KMANZ
ERST_KM_FAReimbursement per KM (Comparison Calculation) PTRV_ERSTKMCURR10(2) GESBE
COST_WEGTrip Segment Reimbursement Amount (Comparison Calculation) PTRV_WEGENTSCHCURR10(2) GESBE
COST_TAGEGELDTotal fictitious Per Diems (Comparison Calculation) PTRV_TAGEGELDCURR10(2) GESBE
COST_UNTERKUNFTFictitious Amount for Accommodation (Comparision Calc.) PTRV_UNTERKUNFTCURR10(2) GESBE
COST_GESAMTFictitious Total Amount (Comparison Calculation) PTRV_GESAMTCURR10(2) GESBE
COST_DIFFDifference Between Fictious And Actual Total Amount PTRV_VGL_FA_DIFFCURR10(2) GESBE
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
DATV1Fictitious Start of Trip (Comparison Calculation PTRV_REBEDDATS8REDAT
DATB1Fictitious End of Trip (Comparision Calculation) PTRV_REENDDATS8REDAT
UHRV1Fictitious Start Time (Comparison Calculation) PTRV_REBEUTIMS6REUHR
UHRB1Fictitious End Time (Comparison Calculation) PTRV_REENUTIMS6REUHR
PAUSCHALENComparison Calculation: Include Per Diems/Accomm. Per Diems PTRVPS_LUMPSUMCHAR1PTRVPS_LUMPSUM
COST_WEG_REALTrip Segment Reimbursement Amount for Actual Trip PTRV_WEGENTSCH_REALCURR10(2) GESBE
COST_FAHRT_REALTotal Amount from Travel Cost Receipts (Public Transport) PTRV_TRANS_REALCURR10(2) GESBE
COST_TAG_REALTotal Per Diems for Actual Trip PTRV_TAGEGELD_REALCURR10(2) GESBE
COST_UNTERK_REALTotal Accommodations Per Diems (including Accomm. Receipts) PTRV_UNTERKUNFT_REALCURR10(2) GESBE
COST_GESAMT_REALActual Total Amount (Comparison Calculation) PTRV_GESAMT_REALCURR10(2) GESBE
COMP_BELNRDocument Number for Capping Documents (Trips Home Only) PTRV_COMP_BELNRCHAR3NRBEL
FIK_KM_DANumber of Miles/Kilometers of Fictitious Trip to Start Work FIK_KM_DADEC5KMANZ
ERST_KM_DATrip Segment Reimbursement of Fictitious Trip to Start Work ERST_KM_DACURR10(2) GESBE
FIK_KM_DRNumber of Miles/Km of Fictitious Business Trip Return FIK_KM_DRDEC5KMANZ
ERST_KM_DRTrip Segment Reimbursement of Fictitious Business Trip Retur ERST_KM_DRCURR10(2) GESBE
ERST_TRG_UEGELDAmount of Accommodations Per Diem of Fictitious SAT ERST_TRG_UEGELDCURR10(2) GESBE
ERST_TTG_UEGELDAmount of Accommodations Per Diem of Fictitious SAPD ERST_TTG_UEGELDCURR10(2) GESBE
ERST_DA_TGReimbursement Amount MPD of Fictitious Trip to Start Work ERST_DA_TGCURR10(2) GESBE
ERST_DA_UEGELDReimbursement Amount APD of Fictitious Trip to Start Work ERST_DA_UEGELDCURR10(2) GESBE
ERST_DR_TGReimbursement Amount MPD of Fictitious Business Trip Return ERST_DR_TGCURR10(2) GESBE

Key field Non-key field



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

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

How to access SAP table PTPCP

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