SAP ABAP Class CL_TRANSACTION_TRS (Business Transaction in TRS Module)
Hierarchy
EA-FINSERV (Software Component) SAP Enterprise Extension Financial Services
   FIN-FSCM-TRM-TM-BO (Application Component) Back Office
     FTR_SECURITY_ACCOUNT_MGT (Package) Treasury: Securities Account Management
Properties
Class CL_TRANSACTION_TRS  
Short Description Business Transaction in TRS Module    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FTR_SECURITY_ACCOUNT_MGT   Treasury: Securities Account Management 
Created 20010320   SAP 
Last change 20050109   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_TRANSACTION_TRS has no forward declaration.
Interfaces
Class CL_TRANSACTION_TRS has no interface implemented.
Friends
Class CL_TRANSACTION_TRS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 _ALLOCATION_NUMBER Instance attribute Private Type reference (TYPE) DZUONR Assignment Number for FI Document 20020917
2 _CLEARING_STRATEGY Instance attribute Private Type reference (TYPE) TPM_BUSTRANS_STATE IP Generation Strategy 20030522
3 _CLEARING_TRANS Instance attribute Public Object reference (TYPE REF TO) CL_TRANSACTION_TRS Business Transaction for Incoming Payment 20010321
4 _DISTRIBUTOR Instance attribute Private Object reference (TYPE REF TO) IF_DISTRIBUTOR_TRD Distributor as Link to TRD 20010321
5 _FI_DOCUMENT_DATE Instance attribute Private Type reference (TYPE) BLDAT FI Document Date 20030318
6 _FI_POSTING_DATE Instance attribute Private Type reference (TYPE) TPM_FI_POSTING_DATE Different FI Posting Date 20010323
7 _FI_POSTING_PERIOD Instance attribute Private Type reference (TYPE) TPM_FI_POSTING_PERIOD Different FI Posting Period 20030210
8 _FLG_IS_SAVED Instance attribute Private Type reference (TYPE) FLAG Is Transaction Saved? 20010322
9 _LOT_ID Instance attribute Private Type reference (TYPE) TPM_LOT_ID Identifier of the Lot (Manual Posting) 20070413
10 _POSITION Instance attribute Private Object reference (TYPE REF TO) CL_CLASS_POSITION_TRS Additional Data for Transaction and Link to Database 20010321
11 _THIS_TRANSACTION Instance attribute Public Type reference (TYPE) TRSS_TRANSACTION TRS Transaction 20010321
12 _TRD_TRANSACTION Instance attribute Public Object reference (TYPE REF TO) IF_BUSINESS_TRANSACTION_TRD Distributor Business Transaction 20020912
Methods
# Method Level Visibility Method type Description Created on
1 ADD_FLOW Instance method Public Method Add New Flow 20010321
2 CLEARING_CALCULATE_ONE Instance method Private Method Calculates New Incoming Payment Business Transaction 20010321
3 CLEARING_UPDATE Instance method Public Method Recalculates all Incoming Payments 20010321
4 CONSTRUCTOR Instance method Public Constructor Constructor 20021004
5 CREATE Static method Public Method Generates a New Business Transaction 20021004
6 DELETE Instance method Public Method Deletes Planned Transaction (in DB) 20020827
7 DERIVE_SWOHER Instance method Private Method Determines Transaction Category 20021004
8 FIX Instance method Public Method Sets Status of Business Transaction to "Posted" 20010322
9 FLOWS_SET_ATTRIBUTE Instance method Private Method Sets Any Number of Attributes 20020912
10 GETU_FIX_STRAT_FOR_CL Instance method Private Method Determines Strategy for Updating Incoming Payment BT 20010322
11 LOAD_WITH_BUSTRANSID Static method Public Method Loads Stored Transaction from the Database 20021004
12 SAVE Instance method Public Method Saves Transaction (in Distributor and in Position) 20010322
13 SETU_BUSTRANSCAT Instance method Public Method Sets Category of the Business Transaction 20010321
14 SETU_POSITION_DATE Instance method Public Method Sets Date (Which?) 20010322
15 TAX_FLOWS_RECALCULATE Instance method Public Method Recalculate Taxes 20010321
Events
Class CL_TRANSACTION_TRS has no event.
Types
Class CL_TRANSACTION_TRS has no local type.
Method Signatures

Method ADD_FLOW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FLOW Value transfer Type reference (TYPE) TRST_CLASFLO Bewegung 20010321
# Exception Resumable Description Created on
1 FLOW_CLASPOS_GUID_INVALID Feld claspos_guid von im_flow nicht korrekt 20010321
2 FLOW_INVALID Übergebene Bewegung ist nicht konsistent 20010321

Method CLEARING_CALCULATE_ONE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_TRANSACTION_TRS aktuell berechneter Zahlungseingangs-Geschäftsvorfall 20030219
# Exception Resumable Description Created on
1 FAILED Fehler beim herleiten der Zahlungseingangs Bewegungen 20010321

Method CLEARING_UPDATE Signature

Method CLEARING_UPDATE on class CL_TRANSACTION_TRS has no parameter.
# Exception Resumable Description Created on
1 STATE_INVALID Methode bei aktuellem Status des Objekts nicht erlaubt 20010323

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_TRANSACTION_TRS has no parameter.
Method CONSTRUCTOR on class CL_TRANSACTION_TRS has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ALLOCATION_NUMBER Value transfer Type reference (TYPE) DZUONR SPACE Zuordnungsnummer für FI-Buchung 20021004
2 Importing IM_DISTRIBUTOR Value transfer Object reference (TYPE REF TO) IF_DISTRIBUTOR_TRD Distributor als Verbindung zum TRD 20021004
3 Importing IM_FLOW Value transfer Type reference (TYPE) TRST_CLASFLO initiale Bewegung 20021004
4 Importing IM_LOT_ID Value transfer Type reference (TYPE) TPM_LOT_ID Identifikator des Lots 20070413
5 Importing IM_POSITION Value transfer Object reference (TYPE REF TO) CL_CLASS_POSITION_TRS Zusatzdaten, die in jeder Bewegung gefüllt sein müssen 20021004
6 Importing IM_TAB_FLOW Value transfer Type reference (TYPE) TRSY_CLASFLO initiale Bewegungen 20021004
7 Returning RE_TRANSACTION Value transfer Object reference (TYPE REF TO) CL_TRANSACTION_TRS Neuer Geschäftsvorfall in TRS Modul 20021004
# Exception Resumable Description Created on
1 INVALID_PARAMETER Parameter sind nicht korrekt spezifiziert 20021004
2 INVALID_SWOHER Fehler bei der Transaktions Klassifizierung 20021004
3 PARAMETER_ERROR_FLOWS Fehler bei Übergabe der Parameter im_flow und im_tab_flow 20021004

Method DELETE Signature

Method DELETE on class CL_TRANSACTION_TRS has no parameter.
# Exception Resumable Description Created on
1 FAILED Sichern gescheitert 20020827
2 STATE_INVALID Objekt kann in diesem Status nicht gesichert werden 20020827

Method DERIVE_SWOHER Signature

Method DERIVE_SWOHER on class CL_TRANSACTION_TRS has no parameter.
# Exception Resumable Description Created on
1 INVALID_SWOHER Die Bewegungen besitzen keinen gültigen Eintrag für swoher 20021004

Method FIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FI_DOCUMENT_DATE Value transfer Type reference (TYPE) BLDAT FI-Beleg-Datum 20030318
2 Importing IM_FI_POSTING_DATE Value transfer Type reference (TYPE) TPM_FI_POSTING_DATE Abweichendes FI-Buchungsdatum 20010323
3 Importing IM_FI_POSTING_PERIOD Value transfer Type reference (TYPE) TPM_FI_POSTING_PERIOD Abweichende FI-Buchungsperiode 20030210
# Exception Resumable Description Created on
1 STATE_INVALID Operation bei aktuellem Status dieses Objekts nicht erlaubt 20010323

Method FLOWS_SET_ATTRIBUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BUSTRANSID Value transfer Type reference (TYPE) TPM_BUSTRANSID Identifikator des zugeordneten Distributor-Geschäftsvorfalls 20020912
2 Importing IM_REBUSTRANSID Value transfer Type reference (TYPE) TPM_BUSTRANSID ID des zugrundeliegenden Geschäftsvorfalls 20020912

Method FLOWS_SET_ATTRIBUTE on class CL_TRANSACTION_TRS has no exception.

Method GETU_FIX_STRAT_FOR_CL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) TPM_BUSTRANS_STATE Status von ZE GV beim Buchen des orig. GV 20010322

Method GETU_FIX_STRAT_FOR_CL on class CL_TRANSACTION_TRS has no exception.

Method LOAD_WITH_BUSTRANSID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BUSTRANSID Value transfer Type reference (TYPE) TPM_BUSTRANSID Identifikator des Distributor-Geschäftsvorfalls 20021004
2 Importing IM_DISTRIBUTOR Value transfer Object reference (TYPE REF TO) IF_DISTRIBUTOR_TRD Distributor als Verbindung zum TRD 20021004
3 Importing IM_POSITION Value transfer Object reference (TYPE REF TO) CL_CLASS_POSITION_TRS Zusatzdaten, die in jeder Bewegung gefüllt sein müssen 20021004
4 Returning RE_TRANSACTION Value transfer Object reference (TYPE REF TO) CL_TRANSACTION_TRS Geschäftsvorfall in TRS Modul 20021004
# Exception Resumable Description Created on
1 INVALID_PARAMETER Parameter sind nicht korrekt spezifiziert 20021004
2 NOT_FOUND Transaktion nicht auf der DB gefunden 20021004

Method SAVE Signature

Method SAVE on class CL_TRANSACTION_TRS has no parameter.
# Exception Resumable Description Created on
1 FAILED Sichern gescheitert 20010323
2 STATE_INVALID Objekt kann in diesem Status nicht gesichert werden 20010323

Method SETU_BUSTRANSCAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BUSTRANSCAT Value transfer Type reference (TYPE) TPM_BUSTRANSCAT Geschäftsvorfallstyp 20010321
# Exception Resumable Description Created on
1 STATE_INVALID Attribut Bustranscat ist bereits gesetzt 20010323

Method SETU_POSITION_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_POSITION_DATE Value transfer Type reference (TYPE) TPM_POSITION_DATE Bestandsvaluta 20010322

Method SETU_POSITION_DATE on class CL_TRANSACTION_TRS has no exception.

Method TAX_FLOWS_RECALCULATE Signature

Method TAX_FLOWS_RECALCULATE on class CL_TRANSACTION_TRS has no parameter.
# Exception Resumable Description Created on
1 STATE_INVALID Objekt hat falschen Status "fixiert" 20010323
History
Last changed by/on SAP  20050109 
SAP Release Created in 462_10