SAP ABAP Class CL_DRS_UTILITY (Utility Class for Direct Shipment)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
PP (Application Component) Production Planning and Control
⤷
OPS_SFWS_DM_SC (Package) OPS Core Enhancements for Distributed Manufacturing
⤷
⤷
Properties
| Class | CL_DRS_UTILITY | |
| Short Description | Utility Class for Direct Shipment | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | OPS_SFWS_DM_SC | OPS Core Enhancements for Distributed Manufacturing |
| Created | 20090211 | SAP |
| Last change | 20100310 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_DRS_UTILITY has no forward declaration.
Interfaces
Class CL_DRS_UTILITY has no interface implemented.
Friends
Class CL_DRS_UTILITY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_DRS_UTILITY | Utility Class for Direct Shipment | 20090212 | |||
| 2 | Static Attribute | Private | See coding | 20090211 | |||||
| 3 | Static Attribute | Private | See coding | 20090313 | |||||
| 4 | Static Attribute | Private | See coding | 20090315 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | 20090310 | ||
| 2 | Instance method | Public | Method | Check the value of LOEKZ in EBAN | 20090313 | |
| 3 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20090212 | |
| 4 | Instance method | Public | Method | Get the sales order information from EBKN | 20090315 | |
| 5 | Static method | Public | Method | 20090212 | ||
| 6 | Instance method | Public | Method | Check whether it is an DRS relevant item | 20090211 | |
| 7 | Instance method | Public | Method | Set an item as DRS relevant | 20090211 |
Events
Class CL_DRS_UTILITY has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | LTY_DRS_ITEM | Private | See coding | 20090211 | BEGIN OF LTY_DRS_ITEM,
VBELP TYPE POSNR_VA,
VETEN TYPE ETENR,
PSTYV TYPE PSTYV,
MATNR TYPE MATNR,
ETTYP TYPE ETTYP,
MBDAT TYPE MBDAT,
MBDAT_DRS TYPE MBDAT_DRS,
CAPEX TYPE CAPEX,
END OF LTY_DRS_ITEM
|
||
| 2 | LTY_EBAN_ITEM | Private | See coding | 20090313 | BEGIN OF LTY_EBAN_ITEM,
BANFN TYPE BANFN,
BNFPO TYPE BNFPO,
LOEKZ TYPE ELOEK,
END OF LTY_EBAN_ITEM
|
||
| 3 | LTY_EBKN_ACC | Private | See coding | 20090315 | BEGIN OF LTY_EBKN_ACC,
BANFN TYPE BANFN,
BNFPO TYPE BNFPO,
VBELN TYPE VBELN,
VBELP TYPE POSNR_VA,
VETEN TYPE ETENR,
END OF LTY_EBKN_ACC
|
Method Signatures
Method CHECK_DRS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_DRS | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20090310 | |||
| 2 | IS_EBAN | Call by reference | Type reference (TYPE) | EBAN | Purchase Requisition | 20090310 | |||
| 3 | IS_EBKN | Call by reference | Type reference (TYPE) | EBKN | Purchase Requisition Account Assignment | 20090310 | |||
| 4 | IS_EBKNKEY | Call by reference | Type reference (TYPE) | MEREQ_S_EBANKEY | Key Requisition | 20090310 | |||
| 5 | IS_VBEP | Call by reference | Type reference (TYPE) | VBEP | Sales Document: Schedule Line Data | 20090310 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No Import Parameters passed | 20090310 |
Method CHECK_EBAN_LOEKZ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_LOEKZ | Call by reference | Type reference (TYPE) | XFELD | Checkbox | 20090313 | |||
| 2 | IM_BANFN | Call by reference | Type reference (TYPE) | BANFN | Purchase Requisition Number | 20090313 | |||
| 3 | IM_BNFPO | Call by reference | Type reference (TYPE) | BNFPO | Item Number of Purchase Requisition | 20090313 |
Method CHECK_EBAN_LOEKZ on class CL_DRS_UTILITY has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_DRS_UTILITY has no parameter.
Method CLASS_CONSTRUCTOR on class CL_DRS_UTILITY has no exception.
Method GET_EBKN_ACC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_EBKN_ACC | Call by reference | Type reference (TYPE) | EBKN | Account assignment data(sales order) | 20090315 | |||
| 2 | IM_BANFN | Call by reference | Type reference (TYPE) | BANFN | Purchase Requisition Number | 20090315 | |||
| 3 | IM_BNFPO | Call by reference | Type reference (TYPE) | BNFPO | Item Number of Purchase Requisition | 20090315 |
Method GET_EBKN_ACC on class CL_DRS_UTILITY has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_SINGLETON | Value transfer | Object reference (TYPE REF TO) | CL_DRS_UTILITY | Utility Class for Direct Shipment | 20090212 |
Method GET_INSTANCE on class CL_DRS_UTILITY has no exception.
Method GET_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MBDAT | Call by reference | Type reference (TYPE) | MBDAT | Material Staging/Availability Date | 20091111 | |||
| 2 | ES_MBDAT_DRS | Call by reference | Type reference (TYPE) | MBDAT_DRS | Material Staging/Availability Date | 20091111 | |||
| 3 | EX_DRS | Call by reference | Type reference (TYPE) | XFELD | Checkbox | 20090211 | |||
| 4 | IM_VBELP | Call by reference | Type reference (TYPE) | POSNR_VA | Sales Document Item | 20090211 | |||
| 5 | IM_VETEN | Call by reference | Type reference (TYPE) | ETENR | Delivery Schedule Line Number | 20090211 |
Method GET_ITEM on class CL_DRS_UTILITY has no exception.
Method SET_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CAPEX | Call by reference | Type reference (TYPE) | CAPEX | Indicator: External capacity planning | 20090212 | |||
| 2 | IM_ETTYP | Call by reference | Type reference (TYPE) | ETTYP | Schedule line category | 20090212 | |||
| 3 | IM_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20090212 | |||
| 4 | IM_MBDAT | Call by reference | Type reference (TYPE) | MBDAT | Material Staging/Availability Date | 20091111 | |||
| 5 | IM_MBDAT_DRS | Call by reference | Type reference (TYPE) | MBDAT_DRS | Material Staging/Availability Date | 20091111 | |||
| 6 | IM_PSTYV | Call by reference | Type reference (TYPE) | PSTYV | Sales document item category | 20090212 | |||
| 7 | IM_VBELP | Call by reference | Type reference (TYPE) | POSNR_VA | Sales Document Item | 20090211 | |||
| 8 | IM_VETEN | Call by reference | Type reference (TYPE) | ETENR | Delivery Schedule Line Number | 20090211 |
Method SET_ITEM on class CL_DRS_UTILITY has no exception.
History
| Last changed by/on | SAP | 20100310 |
| SAP Release Created in | 605 |