SAP ABAP Class CL_DBSEL_TRIP_APPROVAL (Data Selection for Approval Tool - Travel Expenses)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
CA-TS (Application Component) Time Sheet
⤷
CATX (Package) Enhancements for the Cross-Application Time Sheet (CATS)
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_DBSEL_BASE_ACTEXP | Basis Class for Data Selection Trip/CATS | 20011116 |
Properties
| Class | CL_DBSEL_TRIP_APPROVAL | |
| Short Description | Data Selection for Approval Tool - Travel Expenses | |
| Super Class | CL_DBSEL_BASE_ACTEXP | Basis Class for Data Selection Trip/CATS |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CATX | Enhancements for the Cross-Application Time Sheet (CATS) |
| Created | 20011116 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_DBSEL_TRIP_APPROVAL has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_DBSEL_BASE_ACTEXP | 20020107 | Basis Class for Data Selection Trip/CATS |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | TABNAME | 'V_PTRV_APPR' | Structure Name for DB Selection | 20011206 | ||
| 2 | Instance attribute | Protected | Type reference (TYPE) | TRFIELDNAMES | Field Names for DB Selection | 20011206 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | P0001 | HR Master Record: Infotype 0001 (Org. Assignment) | 20011126 | |||
| 4 | Instance attribute | Protected | See coding | Infotype 0001 | 20011126 | ||||
| 5 | Instance attribute | Protected | Type reference (TYPE) | XFELD | Need to Make Preliminary Selection of Trip? | 20011126 | |||
| 6 | Instance attribute | Protected | See coding | Row in Prefetch Table | 20011126 | ||||
| 7 | Instance attribute | Protected | See coding | Table for Trip Prefetch | 20011126 | ||||
| 8 | Instance attribute | Protected | See coding | Selection Conditions | 20011126 | ||||
| 9 | Instance attribute | Protected | Type reference (TYPE) | PTRV_APPR_ITAB | Trip Approval | 20011126 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Authorization Check for Selected Trip Data | 20011126 | |
| 2 | Instance method | Public | Constructor | Constructor | 20011118 | |
| 3 | Instance method | Protected | Method | Add Name and Long Texts to Trip Data | 20011126 | |
| 4 | Instance method | Protected | Method | Provide Info Type 1 Data | 20011126 | |
| 5 | Instance method | Public | Method | Provide Trip Data for Approval | 20011126 | |
| 6 | Static method | Public | Method | Status Text for Application and Settlement of Trip | 20011130 | |
| 7 | Instance method | Protected | Method | Read Info Type 1 and 17 from Database | 20011126 | |
| 8 | Instance method | Protected | Method | Make Preliminary Selection of Trips Using Cost Assignment | 20011126 | |
| 9 | Instance method | Protected | Method | Generate Column Table for SELECT Statement | 20011126 | |
| 10 | Instance method | Public | Method | Set Info Type 1 | 20011126 | |
| 11 | Static method | Public | Method | Icon for Finding Trip Status | 20011127 |
Events
Class CL_DBSEL_TRIP_APPROVAL has no event.
Types
Class CL_DBSEL_TRIP_APPROVAL has no local type.
Method Signatures
Method AUTHORITY_CHECK Signature
Method AUTHORITY_CHECK on class CL_DBSEL_TRIP_APPROVAL has no parameter.
Method AUTHORITY_CHECK on class CL_DBSEL_TRIP_APPROVAL has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_AUTHORITY_CHECK_TYPE | Call by reference | Type reference (TYPE) | AUTHA-AUTHC | 'D' | Berechtigungspruefung 'D' = Genehmigen, ' ' = keine Pruefung | 20011118 | ||
| 2 | IM_BADI | Call by reference | Object reference (TYPE REF TO) | IF_EX_CATS_REPORTING | BADI fuer Kundenerweiterungen | 20020329 | |||
| 3 | IM_CALLING_PROGRAM | Call by reference | Type reference (TYPE) | PROGRAM | Aufrufendes Programm | 20011118 | |||
| 4 | IM_FIELD_SELECTION | Call by reference | Type reference (TYPE) | RSFS_FIELDS | Feldnamen fuer DB Selektion. Entspricht GET CATSDB FIELDS .. | 20011118 | |||
| 5 | IM_FREE_SELECTIONS | Call by reference | Type reference (TYPE) | RSDS_TEXPR | Freie Selektionen fuer Datenbankfelder | 20011118 | |||
| 6 | IM_SELECTION_CRITERIA | Call by reference | Type reference (TYPE) | RSPARAMS_TT | Selektionskriterien fuer Reisedaten | 20011118 |
Method CONSTRUCTOR on class CL_DBSEL_TRIP_APPROVAL has no exception.
Method ENRICH_TRIP_DATA Signature
Method ENRICH_TRIP_DATA on class CL_DBSEL_TRIP_APPROVAL has no parameter.
Method ENRICH_TRIP_DATA on class CL_DBSEL_TRIP_APPROVAL has no exception.
Method GET_INFOTYPE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_INFOTYPE_0001 | Call by reference | Type reference (TYPE) | P0001 | Personal-Stammsatz Infotyp 0001 (Org. Zuordnung) | 20011126 | |||
| 2 | IM_PERSONNEL_NUMBER | Call by reference | Type reference (TYPE) | PERNR_D | Personalnummer | 20011126 | |||
| 3 | IM_VALIDITY_DATE | Call by reference | Type reference (TYPE) | D | Gueltigkeitsdatum | 20011126 |
Method GET_INFOTYPE_DATA on class CL_DBSEL_TRIP_APPROVAL has no exception.
Method GET_TRIP_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_PERSONNEL_NUMBER_TAB | Call by reference | Type reference (TYPE) | CATSXT_PERNR_ITAB | Personalnummern fuer Datenbankselektion Reisekosten | 20011126 | |||
| 2 | RE_TRIP_DATA | Value transfer | Type reference (TYPE) | PTRV_APPR_ITAB | Daten fuer Reisegenehmigung | 20011126 |
Method GET_TRIP_DATA on class CL_DBSEL_TRIP_APPROVAL has no exception.
Method GET_TRIP_STATUS_TEXTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_ABREC_TXT | Call by reference | Type reference (TYPE) | ANY | Reise offen/abzurechnen/abgerechnet - Langtext | 20011130 | |||
| 2 | EX_ANTRG_TXT | Call by reference | Type reference (TYPE) | ANY | Kennzeichen Reiseantrag oder Reise genehmigt - Langtext | 20011130 | |||
| 3 | IM_ABREC | Call by reference | Type reference (TYPE) | ABREC | Kennzeichen: offen/abzurechnen/abgerechnet | 20011130 | |||
| 4 | IM_ANTRG | Call by reference | Type reference (TYPE) | ANTRG | Kennzeichen Reiseantrag oder Reise genehmigt | 20011130 |
Method GET_TRIP_STATUS_TEXTS on class CL_DBSEL_TRIP_APPROVAL has no exception.
Method LOAD_INFOTYPE_DATA Signature
Method LOAD_INFOTYPE_DATA on class CL_DBSEL_TRIP_APPROVAL has no parameter.
Method LOAD_INFOTYPE_DATA on class CL_DBSEL_TRIP_APPROVAL has no exception.
Method PREFETCH_TRIPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_PERSONNEL_NUMBER_TAB | Call by reference | Type reference (TYPE) | PERNR_RANGES_ITAB | Ranges Tabelle fuer Personalnummernselektion | 20011126 | |||
| 2 | IM_SELECT_FOR_ALL_ENTRIES | Call by reference | Type reference (TYPE) | XFELD | DB Selektion mittels SELECT FOR ALL ENTRIES 'X' = Ja | 20011126 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Reisen gefunden | 20011126 |
Method SET_COLUMN_SELECTION Signature
Method SET_COLUMN_SELECTION on class CL_DBSEL_TRIP_APPROVAL has no parameter.
Method SET_COLUMN_SELECTION on class CL_DBSEL_TRIP_APPROVAL has no exception.
Method SET_INFOTYPE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_INFOTYPE_0001 | Call by reference | Type reference (TYPE) | P0001_TAB | Personal-Stammsatz Infotyp 0001 (Org. Zuordnung) | 20011126 |
Method SET_INFOTYPE_DATA on class CL_DBSEL_TRIP_APPROVAL has no exception.
Method SET_TRIP_ICON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_ICON | Call by reference | Type reference (TYPE) | STRING | Ikone passend zum Status | 20011127 | |||
| 2 | IM_ABREC | Call by reference | Type reference (TYPE) | ABREC | Kennzeichen: offen/abzurechnen/abgerechnet | 20011127 | |||
| 3 | IM_ANTRG | Call by reference | Type reference (TYPE) | ANTRG | Kennzeichen Reiseantrag oder Reise genehmigt | 20011127 | |||
| 4 | IM_PARTIAL_PAYMENT | Call by reference | Type reference (TYPE) | XFELD | SPACE | Reise ist nur teilweise ausgezahlt 'X' =Ja | 20020419 | ||
| 5 | IM_PAYMENT_DATE | Call by reference | Type reference (TYPE) | AUGDT | Auszahlungsdatum der Reise im FI | 20020403 | |||
| 6 | IM_TRANSFERED_NO_PAYMENT | Call by reference | Type reference (TYPE) | XFELD | SPACE | FI Beleg gebucht, noch keine Zahlung erfolgt | 20020424 |
Method SET_TRIP_ICON on class CL_DBSEL_TRIP_APPROVAL has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 470 |