TXW_PTRV_COMP SAP (Comparison Calculation Results PS) Structure details

Dictionary Type: Structure
Description: Comparison Calculation Results PS




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




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

TXW_PTRV_COMP 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 "Comparison Calculation Results PS" 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_TXW_PTRV_COMP TYPE TXW_PTRV_COMP.

The TXW_PTRV_COMP table consists of various fields, each holding specific information or linking keys about Comparison Calculation Results PS data available in SAP. These include PERNR (Personnel Number), REINR (Trip number), PERIO (Number of trip period), PDVRS (Sequential number of period).. 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 TXW_PTRV_COMP 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
MANDTClient MANDTCLNT3Assigned to domainMANDT
PERNRPersonnel Number TXW_PERNR_DNUMC8PERNRPER
REINRTrip number TXW_REINRNUMC10REINR
PERIONumber of trip period TXW_PT_PERIONUMC3NUMC3
PDVRSSequential number of period TXW_PT_PDVRSNUMC2NUMC2
COMP_TYPComparison Calculation Type TXW_PT_CMPTYPCHAR3CHAR3
COST_BAHNUnreal trav. costs pub. transp. (PS) TXW_COST_BAHNCHAR14
COST_ZUSCHLAGUnreal trav. costs pub. transp. (PS) TXW_COST_ZUSCHLAGCHAR14
COST_NAHVUnreal trav. costs pub. transp. (PS) TXW_COST_NAHVCHAR14
COST_SONSTVUnreal trav. costs pub. transp. (PS) TXW_COST_SONSTVCHAR14
NOTWEND_KMRequired Kilometers Traveled (Comparison Calculation) TXW_PT_REQKMCHAR6CHAR6
ERST_KM_FAReimbursement per KM (Comparison Calculation) TXW_ERST_KM_FACHAR14
COST_WEGTrip Segment Reimbursement Amount (Comparison Calculation) TXW_COST_WEGCHAR14
COST_TAGEGELDTotal fictitious Per Diems (Comparison Calculation) TXW_COST_TAGEGELDCHAR14
COST_UNTERKUNFTFictitious Amount for Accommodation (Comparision Calc.) TXW_COST_UNTERKUNFTCHAR14
COST_GESAMTFictitious Total Amount (Comparison Calculation) TXW_COST_GESAMTCHAR14
COST_DIFFDifference Between Fictious And Actual Total Amount TXW_COST_DIFFCHAR14
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
DATV1From date TXW_PT_DATV1DATS8DATS
DATB1To date TXW_PT_DATB1DATS8DATS
UHRV1Trip segment: Beginning time TXW_PT_BEGTIMETIMS6TIME
UHRB1Trip segment: End time TXW_PT_ENDTIMETIMS6TIME
PAUSCHALENValue type of purchase order/sales order values TXW_PT_OVERTYPCHAR1CHAR1
COST_WEG_REALTrip Segment Reimbursement Amount for Actual Trip TXW_COST_WEG_REALCHAR14
COST_FAHRT_REALTotal Amount from Travel Cost Receipts (Public Transport) TXW_COST_FAHRT_REALCHAR14
COST_TAG_REALTotal Per Diems for Actual Trip TXW_COST_TAG_REALCHAR14
COST_UNTERK_REALTotal Accommodations Per Diems (including Accomm. Receipts) TXW_COST_UNTERK_REALCHAR14
COST_GESAMT_REALTotal Amount of Travel Costs (incl. Accomm./Meals Per Diem) TXW_COST_GESAMT_REALCHAR14
COMP_BELNRDocument number TXW_PT_BELNRCHAR3CHAR3

Key field Non-key field



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

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

How to access SAP table TXW_PTRV_COMP

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