SAP ABAP Class CL_EXTERNAL_TO_PAYROLL_EXAMPLE (Example for Implementation)
Hierarchy
EA-HRGXX (Software Component) Sub component EA-HRGXX of EA-HR
   FI-TV-COS (Application Component) Travel Expenses
     PTRA_ADDON (Package) Travel Management Add-On
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_INTERFACE Tag Interface for BAdIs 20120413
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_TRIP_EXTERNAL_TO_PAYROLL Interface for BAdI: TRIP_EXTERNAL_TO_PAYROLL 20120413
Properties
Class CL_EXTERNAL_TO_PAYROLL_EXAMPLE  
Short Description Example for Implementation    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PTRA_ADDON   Travel Management Add-On 
Created 20120413   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_EXTERNAL_TO_PAYROLL_EXAMPLE has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_INTERFACE Tag Interface for BAdIs 20120413
2 IF_TRIP_EXTERNAL_TO_PAYROLL Interface for BAdI: TRIP_EXTERNAL_TO_PAYROLL 20120413
Friends
Class CL_EXTERNAL_TO_PAYROLL_EXAMPLE has no friend class.
Attributes
Class CL_EXTERNAL_TO_PAYROLL_EXAMPLE has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 FILL_PME14 Static method Private Method Fill Structure PME14 to Read Feature TRVPA 20120413
2 READ_INFOTYPE Static method Private Method Read Infotype 0001 and 0003 20120413
3 READ_MOLGA Static method Private Method Read Country Grouping from Personnel Areas 20120413
4 READ_PERMO_PERIO Static method Private Method Read Payroll Areas and Payroll Periods 20120413
5 READ_TRVPA Static method Private Method Read Feature TRVPA 20120413
Events
Class CL_EXTERNAL_TO_PAYROLL_EXAMPLE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_TRVPA Private See coding 20120413 BEGIN OF ts_trvpa, "Abrechnungsparameter aus TRVPA varia(21), END OF ts_trvpa
2 TT_TRVPA Private See coding 20120413 tt_trvpa TYPE TABLE OF ts_trvpa
Method Signatures

Method FILL_PME14 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PME14 Call by reference Type reference (TYPE) PME14 Feldleiste für Merkmal: Reisemanagement 20120413
2 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI Return Informationen 20120413
3 Exporting EV_ABKRS Call by reference Type reference (TYPE) ABKRS Abrechnungskreis 20120413
4 Importing IS_P0001 Call by reference Type reference (TYPE) P0001 Personal-Stammsatz Infotyp 0001 (Org. Zuordnung) 20120413
5 Importing IV_MOLGA Call by reference Type reference (TYPE) MOLGA Ländergruppierung 20120413

Method FILL_PME14 on class CL_EXTERNAL_TO_PAYROLL_EXAMPLE has no exception.

Method READ_INFOTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_P0000 Call by reference Type reference (TYPE) P0000 Personal-Stammsatz Infotyp 0000 (Massnahmen) 20120413
2 Exporting ES_P0001 Call by reference Type reference (TYPE) P0001 Personal-Stammsatz Infotyp 0001 (Org. Zuordnung) 20120413
3 Exporting ES_P0003 Call by reference Type reference (TYPE) P0003 Personal-Stammsatz Infotyp 0003 (Abrechnungsstatus) 20120413
4 Exporting ET_P0000 Call by reference Type reference (TYPE) P0000_TAB Personal-Stammsatz Infotyp 0000 (Massnahmen) 20120413
5 Exporting ET_P0001 Call by reference Type reference (TYPE) P0001_TAB Personal-Stammsatz Infotyp 0001 (Org. Zuordnung) 20120413
6 Exporting ET_P0003 Call by reference Type reference (TYPE) P0003_TAB Personal-Stammsatz Infotyp 0003 (Abrechnungsstatus) 20120413
7 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI Return Informationen 20120413
8 Importing IV_DATE Call by reference Type reference (TYPE) REBED Reiseabschnitt: Beginndatum 20120413
9 Importing IV_PERNR Call by reference Type reference (TYPE) PERNR_D Personalnummer 20120413

Method READ_INFOTYPE on class CL_EXTERNAL_TO_PAYROLL_EXAMPLE has no exception.

Method READ_MOLGA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20120413
2 Exporting EV_MOLGA Call by reference Type reference (TYPE) MOLGA Country Grouping 20120413
3 Importing IV_PERSA Call by reference Type reference (TYPE) PERSA Personnel Area 20120413

Method READ_MOLGA on class CL_EXTERNAL_TO_PAYROLL_EXAMPLE has no exception.

Method READ_PERMO_PERIO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_T549A Call by reference Type reference (TYPE) T549A Abrechnungskreise 20120413
2 Exporting ES_T549Q Call by reference Type reference (TYPE) T549Q Abrechnungsperioden 20120413
3 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI Return Informationen 20120413
4 Importing IV_ABKRS Call by reference Type reference (TYPE) ABKRS Abrechnungskreis 20120413
5 Importing IV_DATE Call by reference Type reference (TYPE) SYDATUM SY-DATUM Aktuelles Datum des Applikationsservers 20120413

Method READ_PERMO_PERIO on class CL_EXTERNAL_TO_PAYROLL_EXAMPLE has no exception.

Method READ_TRVPA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI Return Informationen 20120413
2 Exporting ET_TRVPA Call by reference Type reference (TYPE) TT_TRVPA Tabelle mit BAPI Return Informationen 20120413
3 Importing IS_PME14 Call by reference Type reference (TYPE) PME14 Feldleiste für Merkmal: Reisemanagement 20120413

Method READ_TRVPA on class CL_EXTERNAL_TO_PAYROLL_EXAMPLE has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in