PTRM_PLAN_FOR_APPROVAL SAP (Travel Plan for Approval) Structure details

Dictionary Type: Structure
Description: Travel Plan for Approval




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




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

PTRM_PLAN_FOR_APPROVAL 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 "Travel Plan for Approval" 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_PTRM_PLAN_FOR_APPROVAL TYPE PTRM_PLAN_FOR_APPROVAL.

The PTRM_PLAN_FOR_APPROVAL table consists of various fields, each holding specific information or linking keys about Travel Plan for Approval data available in SAP. These include EMPLOYEENUMBER (Personnel Number), TRIPNUMBER (Trip Number), STEXT (Name for trip schema), DATEDEP (Beginning Date of Trip Segment).. 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 PTRM_PLAN_FOR_APPROVAL 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
EMPLOYEENUMBERPersonnel Number PERNR_DNUMC8PERNRPER
TRIPNUMBERTrip Number REINRNUMC10REINR
STEXTName for trip schema TEXT_RSCHECHAR30REITX
.INCLU-DEP 0
DATEDEPBeginning Date of Trip Segment REBEDDATS8REDAT
TIMEDEPBeginning Time of Trip Segment REBEUTIMS6REUHR
.INCLU-ARR 0
DATEARREnd Date of Trip Segment REENDDATS8REDAT
TIMEARREnd Time of Trip Segment REENUTIMS6REUHR
DESTINATIONLocation RZIELORTCHAR59RZIELORT
REASONReason for Trip (for example, customer/requisitioner) RKUNDECHAR59RKUNDE
COUNTRYTrip Country / Trip Country Group LNDGRCHAR3Assigned to domainLNDGR
COUNTRY_TEXTName of Trip Country/Country Group/Region TEXT_RGIONCHAR25TRV25
NR_ATTACHMENTSNumber of Attachments NUMBER_OF_ATTACHMENTSNUMC3NUMC3
ESTIMATED_COSTEstimated Costs of Trip PTRV_EST_COSTCURR13(2) WERTV7
AMOUNT_SUM_ADVANCETotal Advances for a Trip PTRV_SUM_ADVANCCURR13(2) WERTV7
CURRENCYCurrency Key TRVWAERSCUKY5Assigned to domainWAERSFWS
PNR_LOCATORPassenger Name Record Locator PNR_RECORD_LOCATORCHAR20FTPD_PNR_RECORD_LOCATOR
POLICY_VIOLATIONViolation of Travel Policy in Travel Plan PLAN_POLICY_VIOLATIONCHAR1XFELD
EXCEPTION_FLAGException Indicator PTRV_EXCEPTIONCHAR1XFELD
PLAN_STATUSTravel Plan Status PLAN_STATUSCHAR1FTPD_PSTAT
PLAN_STATUS_TEXTText of Status of Travel Plan PLAN_STATUS_TEXTCHAR25TRV25
AGENCY_STATUSTrip Status Travel Agency STATUS_AGENCYCHAR1STATUS_AGENCY
AGENCY_STATUS_TEXTText for Trip Status Travel Agency STATUS_AGENCY_TEXTCHAR25TRV25
ENAMEFormatted Name of Employee or Applicant EMNAMCHAR40TEXT40
POLICY_VIOLATION_TEXTText (20 Characters) TEXT20CHAR20TEXT20
MAILE-Mail Address AD_SMTPADRCHAR241SXIDNAD_SMTPADR
ACTIONID30 Characters CHAR30CHAR30CHAR30
POWLTYPEPOWL Type ID POWL_TYPE_TYCHAR30CHAR30POWL_TYPE
ASSIGNERFormatted Name of Employee or Applicant EMNAMCHAR40TEXT40
OPT_ARCHIVEText (20 Characters) TEXT20CHAR20TEXT20
OPT_ARCHIVE_ENABLEDCheckbox XFELDCHAR1XFELD
OPT_ARCHIVE_ICONText (30 Characters) TEXT30CHAR30TEXT30
ATTACHMENTSText (20 Characters) TEXT20CHAR20TEXT20
ATTACHMENTS_ENABLEDCheckbox XFELDCHAR1XFELD
ATTACHMENTS_ICONText (30 Characters) TEXT30CHAR30TEXT30
RECEIPTSText (20 Characters) TEXT20CHAR20TEXT20
EXCEPTION_FLAG_TEXTText (20 Characters) TEXT20CHAR20TEXT20
PRTXTPersonnel assignment text PADCE_PRTXTCHAR80PADCE_PRTXT
HISTORY_TOOLTIPShort Text for Fixed Values VAL_TEXTCHAR60DDTEXT
OPT_ARCHIVE_TOOLTIPShort Text for Fixed Values VAL_TEXTCHAR60DDTEXT
ATTACHMENTS_TOOLTIPShort Text for Fixed Values VAL_TEXTCHAR60DDTEXT

Key field Non-key field



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

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

How to access SAP table PTRM_PLAN_FOR_APPROVAL

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