SAP ABAP Class CL_QUANTITY_SERVICE_TRQ (Treasury: Quantity Ledger - Quantity Service)
Hierarchy
☛
EA-FINSERV (Software Component) SAP Enterprise Extension Financial Services
⤷ FIN-FSCM-TRM-TM (Application Component) Transaction Manager
⤷ FTR_QUANTITY_LEDGER (Package) Treasury: Quantity Ledger
⤷ FIN-FSCM-TRM-TM (Application Component) Transaction Manager
⤷ FTR_QUANTITY_LEDGER (Package) Treasury: Quantity Ledger
Properties
Class | CL_QUANTITY_SERVICE_TRQ | |
Short Description | Treasury: Quantity Ledger - Quantity Service | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | FTR_QUANTITY_LEDGER | Treasury: Quantity Ledger |
Created | 20000111 | SAP |
Last change | 20050109 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | TRQCO | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_QUANTITY_SERVICE_TRQ has no interface implemented.
Friends
Class CL_QUANTITY_SERVICE_TRQ has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ACCUMULATOR | Static Attribute | Private | Object reference (TYPE REF TO) | CL_ACCUMULATOR_TRG | Treasury: Accumulator | 20060620 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADJUST_QUANTITY | Instance method | Public | Method | Calculates Quantity from Quantity and Flows | 20000111 |
2 | CALCULATE_FOR_ALL_FLOWS | Instance method | Public | Method | Calculates Quantity for all Transferred Flows | 20000117 |
3 | CALCULATE_FOR_BUSTRANS | Instance method | Public | Method | Calculates Quantity for Given Business Transaction | 20000111 |
4 | CALCULATE_FOR_DATE | Instance method | Public | Method | Calculates Quantity for Given Business Transaction | 20000111 |
5 | CALCULATE_QUANTITY | Instance method | Public | Method | Calculates Quantity from Transaction Figure and Flows | 20000111 |
6 | CHECK_QUANTITY | Instance method | Public | Method | Checks for Short Position, Outer Portion | 20000111 |
7 | CHECK_QUANTITY_INT | Instance method | Private | Method | Checks for Short Position, Inner Portion | 20000112 |
8 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20060620 |
9 | CUT_OFF_FLOWS | Instance method | Private | Method | Determines Flows up to Given Business Transaction | 20000111 |
10 | DETERMINE_LAST_SUBTOTAL | Instance method | Private | Method | Determines the Last Transaction Figure | 20000111 |
Events
Class CL_QUANTITY_SERVICE_TRQ has no event.
Types
Class CL_QUANTITY_SERVICE_TRQ has no local type.
Method Signatures
Method ADJUST_QUANTITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_QUANTITY | Call by reference | Type reference (TYPE) | TRQS_QUANTITY | Quantität | 20000111 | ||
2 | Importing | IM_TAB_FLOWS | Call by reference | Type reference (TYPE) | TRQY_POS_FLOW | Tabelle mit Bewegungen | 20000111 | ||
3 | Returning | RE_QUANTITY | Value transfer | Type reference (TYPE) | TRQS_QUANTITY | Quantität | 20000111 |
Method ADJUST_QUANTITY on class CL_QUANTITY_SERVICE_TRQ has no exception.
Method CALCULATE_FOR_ALL_FLOWS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_TAB_FLOWS | Call by reference | Type reference (TYPE) | TRQY_POS_FLOW | Tabelle mit Bewegungen | 20000117 | ||
2 | Importing | IM_TAB_SUBTOTALS | Call by reference | Type reference (TYPE) | TRQY_SUBTOTAL | Tabelle mit Verkehrszahlen | 20000117 | ||
3 | Returning | RE_QUANTITY | Value transfer | Type reference (TYPE) | TRQS_QUANTITY | Mengenbestand | 20000117 |
Method CALCULATE_FOR_ALL_FLOWS on class CL_QUANTITY_SERVICE_TRQ has no exception.
Method CALCULATE_FOR_BUSTRANS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_BUSINESS_TRANSACTION | Call by reference | Object reference (TYPE REF TO) | CL_BUSINESS_TRANSACTION_TRQ | TRQ-Geschäftsvorfall | 20000111 | ||
2 | Importing | IM_FLG_INCLUSIVE | Call by reference | Type reference (TYPE) | XFELD | Berechnung inklusive/exklusive des Geschäftsvorfalls | 20000111 | ||
3 | Importing | IM_TAB_FLOWS | Call by reference | Type reference (TYPE) | TRQY_POS_FLOW | Tabelle mit Bewegungen | 20000111 | ||
4 | Importing | IM_TAB_SUBTOTALS | Call by reference | Type reference (TYPE) | TRQY_SUBTOTAL | Tabelle mit Verkehrszahlen | 20000111 | ||
5 | Returning | RE_QUANTITY | Value transfer | Type reference (TYPE) | TRQS_QUANTITY | Mengenbestand | 20000111 |
Method CALCULATE_FOR_BUSTRANS on class CL_QUANTITY_SERVICE_TRQ has no exception.
Method CALCULATE_FOR_DATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_DATE | Call by reference | Type reference (TYPE) | TPM_POSITION_DATE | Datum | 20000111 | ||
2 | Importing | IM_FLG_EXCLUDE_REPO | Call by reference | Type reference (TYPE) | XFELD | Berechnung inklusive/exklusive Repos | 20080404 | ||
3 | Importing | IM_FLG_INCLUSIVE | Call by reference | Type reference (TYPE) | XFELD | Berechnung inklusive/exklusive des Geschäftsvorfalls | 20000111 | ||
4 | Importing | IM_TAB_FLOWS | Call by reference | Type reference (TYPE) | TRQY_POS_FLOW | Tabelle mit Bewegungen | 20000111 | ||
5 | Importing | IM_TAB_SUBTOTALS | Call by reference | Type reference (TYPE) | TRQY_SUBTOTAL | Tabelle mit Verkehrszahlen | 20000111 | ||
6 | Returning | RE_QUANTITY | Value transfer | Type reference (TYPE) | TRQS_QUANTITY | Mengenbestand | 20000111 |
Method CALCULATE_FOR_DATE on class CL_QUANTITY_SERVICE_TRQ has no exception.
Method CALCULATE_QUANTITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_SUBTOTAL | Call by reference | Type reference (TYPE) | TRQS_SUBTOTAL | Verkehrszahl | 20000111 | ||
2 | Importing | IM_TAB_FLOWS | Call by reference | Type reference (TYPE) | TRQY_POS_FLOW | Tabelle mit Bewegungen | 20000111 | ||
3 | Returning | RE_QUANTITY | Value transfer | Type reference (TYPE) | TRQS_QUANTITY | Quantität | 20000111 |
Method CALCULATE_QUANTITY on class CL_QUANTITY_SERVICE_TRQ has no exception.
Method CHECK_QUANTITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CH_TAB_SUBTOTALS | Value transfer | Type reference (TYPE) | TRQY_SUBTOTAL | Tabelle mit neuen Verkehrszahlen | 20000113 | ||
2 | Importing | IM_DATE | Value transfer | Type reference (TYPE) | TPM_POSITION_DATE | Datum, ab dem zu prüfen ist | 20000111 | ||
3 | Importing | IM_FLAG_SHORT_OK | Value transfer | Type reference (TYPE) | XFELD | SPACE | Flag: Leerverkauf erlaubt | 20010110 | |
4 | Importing | IM_POSITION | Value transfer | Object reference (TYPE REF TO) | IF_POSITION_TRQ | Mengenbuchposition | 20001019 | ||
5 | Importing | IM_PROTOCOL | Value transfer | Object reference (TYPE REF TO) | CL_PROTOCOL_HANDLER_TRP | Protokoll-Handler | 20000111 | ||
6 | Importing | IM_TAB_FLOWS | Value transfer | Type reference (TYPE) | TRQY_POS_FLOW | Tabelle mit Bewegungen | 20000111 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | SHORT_POSITION_EXISTS | Es liegt ein Leerverkauf vor | 20000111 |
Method CHECK_QUANTITY_INT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_TAB_SUBTOTALS | Call by reference | Type reference (TYPE) | TRQY_SUBTOTAL | Tabelle mit Verkehrszahlen | 20000112 | ||
2 | Importing | IM_DATE_FOR_CHECK | Value transfer | Type reference (TYPE) | TPM_POSITION_DATE | Datum, ab dem geprüft wird | 20000112 | ||
3 | Importing | IM_FLAG_SHORT_OK | Value transfer | Type reference (TYPE) | XFELD | Flag: Leerverkauf erlaubt | 20010110 | ||
4 | Importing | IM_POSITION | Value transfer | Object reference (TYPE REF TO) | IF_POSITION_TRQ | Mengenbuchposition | 20001019 | ||
5 | Importing | IM_PROTOCOL | Value transfer | Object reference (TYPE REF TO) | CL_PROTOCOL_HANDLER_TRP | Protokoll-Handler | 20000112 | ||
6 | Importing | IM_QUANTITY | Value transfer | Type reference (TYPE) | TRQS_QUANTITY | vorgegebene Quantität | 20000112 | ||
7 | Importing | IM_TAB_BUSTRANS | Value transfer | Type reference (TYPE) | TRQY_BUSTRANS_W_FLOWS | Transaktionstabelle mit Bewegungen | 20000112 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | SHORT_POSITION_EXISTS | Leerverkauf aufgetreten | 20000112 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_QUANTITY_SERVICE_TRQ has no parameter.
Method CLASS_CONSTRUCTOR on class CL_QUANTITY_SERVICE_TRQ has no exception.
Method CUT_OFF_FLOWS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_TAB_FLOWS | Call by reference | Type reference (TYPE) | TRQY_POS_FLOW | Tabelle mit Bewegungen | 20000111 | ||
2 | Importing | IM_BUSINESS_TRANSACTION | Call by reference | Object reference (TYPE REF TO) | CL_BUSINESS_TRANSACTION_TRQ | begrenzender Geschäftsvorfall | 20000111 | ||
3 | Importing | IM_FLG_INCLUSIVE | Call by reference | Type reference (TYPE) | XFELD | Berechnung inklusive/exklusive des Geschäftsvorfalls | 20000111 | ||
4 | Importing | IM_TAB_FLOWS | Call by reference | Type reference (TYPE) | TRQY_POS_FLOW | Tabelle mit Bewegungen | 20000111 |
Method CUT_OFF_FLOWS on class CL_QUANTITY_SERVICE_TRQ has no exception.
Method DETERMINE_LAST_SUBTOTAL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_DATE | Call by reference | Type reference (TYPE) | TPM_POSITION_DATE | Datum, vor dem die Verkehrszahl liegen muss | 20000111 | ||
2 | Importing | IM_TAB_SUBTOTAL | Call by reference | Type reference (TYPE) | TRQY_SUBTOTAL | Tabelle mit Verkehrszahlen | 20000111 | ||
3 | Returning | RE_SUBTOTAL | Value transfer | Type reference (TYPE) | TRQS_SUBTOTAL | relevante Verkehrszahl | 20000111 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_SUBTOTAL_FOUND | Es gibt keine Verkehrszahl | 20000111 |
History
Last changed by/on | SAP | 20050109 |
SAP Release Created in |