SAP ABAP Class CL_WB2_PO (Purchase Order)
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 | 20000407 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_WB2_PO_CONTRACT | MM Contract | 20000626 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_WB2_PO_N | Purchase Order | 20000622 |
| 3 | Inheritance (c INHERITING FROM c_ref) | CL_WB2_PO_REQUEST | RFQ/Inquiry | 20000626 |
| 4 | Inheritance (c INHERITING FROM c_ref) | CL_WB2_PO_SCHEDULING | Scheduling Agreement | 20000626 |
Properties
| Class | CL_WB2_PO | |
| Short Description | Purchase Order | |
| Super Class | CL_WB2_DOC | Any Document |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | WB2B_TEW | Trading Execution Workbench |
| Created | 20000407 | SAP |
| Last change | 20031212 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_WB2_PO has no forward declaration.
Interfaces
Class CL_WB2_PO has no interface implemented.
Friends
Class CL_WB2_PO has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | WB2_BSTYP_2_DOCTYPE_STAB | Pointer from Purchasing Doc. Cat. to Global Trade Doc. Type | 20010126 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | WB2_DOCTYPE_2_BSTYP_STAB | Pointer from Global Trade Doc. Type to Purchasing Doc. Cat. | 20010126 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | From Purchasing Doc. Category to Global Trade Doc. Category | 20010126 | |
| 2 | Static method | Public | Method | Calculate Item Number from Item Key | 20000607 | |
| 3 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20010126 | |
| 4 | Static method | Public | Method | Create Item Object | 20000531 | |
| 5 | Instance method | Private | Method | Determine Document Category | 20000410 | |
| 6 | Instance method | Public | Method | Document Number | 20000429 | |
| 7 | Static method | Public | Method | Item Number | 20000614 |
Events
Class CL_WB2_PO has no event.
Types
Class CL_WB2_PO has no local type.
Method Signatures
Method BSTYP_2_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 | Belegart | 20010126 | |||
| 2 | I_BSTYP | Call by reference | Type reference (TYPE) | EBSTYP | Typ des Einkaufsbelegs | 20010126 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | interner Fehler | 20010126 |
Method CALC_POSNR 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_ITEM_KEY | allgemeiner Positionsschlüssel | 20000607 | |||
| 2 | RE_POSNR | Value transfer | Type reference (TYPE) | EBELP | Positionsnummer | 20000607 |
Method CALC_POSNR on class CL_WB2_PO has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_WB2_PO has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WB2_PO has no exception.
Method CREATE_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_EBELP | Call by reference | Type reference (TYPE) | EBELP | Positionsnummer des Einkaufsbelegs | 20000531 | |||
| 2 | RE_ITEM | Value transfer | Object reference (TYPE REF TO) | CL_WB2_ITEM | Positionsobjekt | 20000531 |
Method CREATE_ITEM on class CL_WB2_PO 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 | 20000410 | |||
| 2 | I_VGABE | Call by reference | Type reference (TYPE) | VGABE | Vorgangsart Bestellentwicklung | 20000410 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | interner Fehler | 20000410 |
Method GET_EBELN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_EBELN | Value transfer | Type reference (TYPE) | EBELN | Belegnummer | 20000429 |
Method GET_EBELN on class CL_WB2_PO has no exception.
Method GET_EBELP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ITEM | Call by reference | Object reference (TYPE REF TO) | CL_WB2_ITEM | Position | 20000614 | |||
| 2 | RE_EBELP | Value transfer | Type reference (TYPE) | EBELP | Positionsnummer | 20000614 |
Method GET_EBELP on class CL_WB2_PO has no exception.
History
| Last changed by/on | SAP | 20031212 |
| SAP Release Created in |