SAP ABAP Class CL_WB2_TC (Trading Contract)
Hierarchy
☛
EA-GLTRADE (Software Component) SAP Enterprise Extension Global Trade
⤷
LO-GT-TEW (Application Component) Trading Execution Workbench
⤷
WB2B_TEW (Package) Trading Execution Workbench
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_WB2_DOC | Any Document | 20000406 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_WB2_TC_MEM | Trading contract in memory | 20010508 |
Properties
| Class | CL_WB2_TC | |
| Short Description | Trading Contract | |
| Super Class | CL_WB2_DOC | Any Document |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | WB2B_TEW | Trading Execution Workbench |
| Created | 20000406 | SAP |
| Last change | 20031212 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_WB2_TC has no forward declaration.
Interfaces
Class CL_WB2_TC has no interface implemented.
Friends
Class CL_WB2_TC has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | BVAL | Current Data in Memory not Database | 20010508 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Calculate Document Key from Document Number | 20000515 | |
| 2 | Instance method | Public | Constructor | Create TC | 20000407 | |
| 3 | Instance method | Private | Method | Determine Document Category | 20000407 | |
| 4 | Static method | Public | Method | Determine Item Number | 20001127 | |
| 5 | Instance method | Public | Method | Document Number of a Trading Contract | 20000530 |
Events
Class CL_WB2_TC has no event.
Types
Class CL_WB2_TC has no local type.
Method Signatures
Method CALC_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DOC_TYPE | Call by reference | Type reference (TYPE) | WB2_DOC_TYPE | Belegtyp | 20000515 | |||
| 2 | I_TKONN | Call by reference | Type reference (TYPE) | TKONN | Belegnummer | 20000515 | |||
| 3 | RE_KEY | Value transfer | Type reference (TYPE) | WB2_DOC_KEY | Dokumentschlüssel | 20000515 |
Method CALC_KEY on class CL_WB2_TC has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_KEY | Call by reference | Type reference (TYPE) | WB2_DOC_KEY | Schlüssel | 20000407 |
Method CONSTRUCTOR on class CL_WB2_TC has no exception.
Method DETERMINE_DOC_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DOC_TYPE | Call by reference | Type reference (TYPE) | WB2_DOC_TYPE | Dokumenttyp | 20000407 | |||
| 2 | I_DOC_NUM | Call by reference | Type reference (TYPE) | TKONN | Belegnummer des Folgebeleges | 20000510 | |||
| 3 | I_TKTYP | Call by reference | Type reference (TYPE) | TKTYP | TC: Belegtyp | 20000407 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | interner Fehler | 20000407 |
Method GET_POSNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TPOSN | Call by reference | Type reference (TYPE) | TPOSN | Trading-Kontrakt: Positionsnummer | 20001127 | |||
| 2 | E_TPOSN_SUB | Call by reference | Type reference (TYPE) | TPOSN_SUB | Trading-Kontrakt: Unterpositionsnummer | 20001127 | |||
| 3 | I_ITEM | Call by reference | Object reference (TYPE REF TO) | CL_WB2_ITEM | Position eines Beleges | 20001127 |
Method GET_POSNR on class CL_WB2_TC has no exception.
Method GET_TKONN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_TKONN | Value transfer | Type reference (TYPE) | TKONN | Belegnummer eines Trading Kontraktes | 20000530 |
Method GET_TKONN on class CL_WB2_TC has no exception.
History
| Last changed by/on | SAP | 20031212 |
| SAP Release Created in |