BAPI_PTP42 SAP (Structure of transp. table PTRV_PERIO) Structure details

Dictionary Type: Structure
Description: Structure of transp. table PTRV_PERIO




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




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

BAPI_PTP42 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 transp. table PTRV_PERIO" 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_BAPI_PTP42 TYPE BAPI_PTP42.

The BAPI_PTP42 table consists of various fields, each holding specific information or linking keys about Structure of transp. table PTRV_PERIO data available in SAP. These include TRIPNO (Trip Number), TRAVEL_PERIOD_NO (Trip Period Number), PERIOD_VERSION (Sequential Number of Period), HEADER_VERSION (Sequential Number of Travel Expenses Table THEADER).. 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: Cannot Be Enhanced


SAP BAPI_PTP42 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
PERSON_NOPersonnel Number PERNR_DNUMC8PERNRPER
TRIPNOTrip Number REINRNUMC10REINR
TRAVEL_PERIOD_NOTrip Period Number PTRV_PERODNUMC3PTRV_PEROD
PERIOD_VERSIONSequential Number of Period PTRV_PDVRSNUMC2NUMC2
HEADER_VERSIONSequential Number of Travel Expenses Table THEADER PTRV_HDVRSNUMC2PTRVNUMC2
DEP_DATEBeginning Date of Trip Segment REBEDDATS8REDAT
DEP_TIMEBeginning Time of Trip Segment REBEUTIMS6REUHR
ARR_DATEEnd Date of Trip Segment REENDDATS8REDAT
ARR_TIMEEnd Time of Trip Segment REENUTIMS6REUHR
PRINTEDTrip Print Status P_PRINTCHAR1P_PRINT
APPROVEDTravel Request or Trip Approved (Indicator) ANTRGCHAR1ANTRG
ACCOUNTOpen / To be Settled / Settled (Indicator) ABRECCHAR1ABREC
TRAN_PAYHR Payroll Transfer (Indicator) UEBLGCHAR1UEBLG
TRAN_FIFI Transfer (Indicator) UEBRFCHAR1UEBRF
TRAN_DMEData Medium Exchange Transfer (Indicator) UEBDTCHAR1UEBDT
CHECK_TRAVEL_LOCKEDIndicator: Trip locked PTRV_TLOCKCHAR1PTRV_TLOCK
CURRENCYCurrency Key WAERSCUKY5TCURCWAERSFWS
CURRENCY_ISOISO currency code ISOCDCHAR3ISOCD
PAYROLL_YEARPayroll Year PABRJNUMC4GJAHRGJAHR
PAYROLL_PERIODPayroll Period PABRPNUMC2PABRP
PERIOD_MODIFIERPeriod modifier IPERMCHAR2CHAR2
PAYROLL_AREAPayroll Area ABKRSCHAR2T549AABKRSABK
BEGIN_ACCOUNTING_PERIODStart of Settlement Period PTRV_BEGP1DATS8PTRV_BEGP1
END_ACCOUNTING_PERIODEnd of Settlement Period PTRV_ENDP1DATS8PTRV_ENDP1
PAYROLL_YEAR_2Settlement Year PABRJ2NUMC4GJAHRGJAHR
PAYROLL_PERIOD_2Accounting Period PABRP2NUMC2PABRP
PERIOD_MODIFIER_2Period Modifier IPERM2CHAR2CHAR2
PAYROLL_AREA_2Accounting Area ABKRS2CHAR2T549AABKRSABK
BEGIN_ACCOUNTING_PERIOD_2Start of Settlement Period PTRV_BEGP2DATS8PTRV_BEGP2
END_ACCOUNTING_PERIOD_2End of Settlement Period PTRV_ENDP2DATS8PTRV_ENDP2
DATE_TRAVEL_ACCOUNTINGTrip Settlement Date PTRV_ACCDTDATS8PTRV_BEGP1
TIME_TRAVEL_ACCOUNTINGTrip Settlement Time PTRV_ACCTMTIMS6REUHR
ID_OF_POSTING_RUNSequential number of posting run TR_EVNUMNUMC10NUMC10
PD_MEALSPer-Diem Accounting for Meals VERPACHAR1VERPA
PD_ACCOMPer-Diem Accounting for Accommodations UEPKZCHAR1UEPKZ
NO_NIGHTNumber of Overnight Stays for Per-Diem Settlement ANUEPDEC2ANUEP
NO_MILESIndicator: No repeat of travel costs accounting PTRV_NO_MILES_ACCOUNTINGCHAR1CHAR1

Key field Non-key field



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

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

How to access SAP table BAPI_PTP42

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