SAP ABAP Class /DSD/CL_DX_MO (Model for DEX)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
LE-DSD (Application Component) Direct Store Delivery
⤷
/DSD/DX (Package) DSD Data EXchange handling
⤷
⤷
Properties
| Class | /DSD/CL_DX_MO | |
| Short Description | Model for DEX | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /DSD/DX | DSD Data EXchange handling |
| Created | 20080320 | SAP |
| Last change | 20100310 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class /DSD/CL_DX_MO has no forward declaration.
Interfaces
Class /DSD/CL_DX_MO has no interface implemented.
Friends
Class /DSD/CL_DX_MO has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | CHAR1 | '*' | DEX field separator | 20080429 | ||
| 2 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20080429 | |||
| 3 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | Runtime Type Services | 20080429 | |||
| 4 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | Structured DEX data | 20080429 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | /DSD/DX_DEX_HD_TT | DEX header | 20080429 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | /DSD/DX_DEX_ITM_TT | DEX item | 20080429 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | /DSD/DX_DTEL_TT | DEX Dataelements | 20080429 | |||
| 8 | Instance attribute | Protected | Type reference (TYPE) | /DSD/DX_DTEL_FIX_VAL_TT | DEX Dataelements fix values | 20080429 | |||
| 9 | Instance attribute | Protected | Type reference (TYPE) | /DSD/SL_SLD_DOCS_TT | DSD: Document Flow | 20080429 | |||
| 10 | Instance attribute | Protected | Type reference (TYPE) | TAB_LIPS | Table type SD document: Delivery: Item data | 20080429 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | /DSD/DX_STRUCTURE_TT | DEX Structure | 20080429 | |||
| 12 | Instance attribute | Protected | Type reference (TYPE) | /DSD/DX_HD-CUSTOMER | Customer Number 1 | 20080429 | |||
| 13 | Instance attribute | Protected | Type reference (TYPE) | /DSD/DX_SEGM_ID | DEX/UCS - Segment identifier | 20080429 | |||
| 14 | Instance attribute | Protected | Type reference (TYPE) | /DSD/DX_VERSION | DEX/UCS - Version / Release | 20080429 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Check customer selection | 20080404 | |
| 2 | Instance method | Public | Method | Check document selection | 20080404 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20080320 | |
| 4 | Instance method | Public | Method | Export DEX stream to file | 20080404 | |
| 5 | Instance method | Public | Method | DESTRUCTOR | 20080320 | |
| 6 | Instance method | Public | Method | Get all buffered data | 20080404 | |
| 7 | Instance method | Public | Method | Get Detail of parsed data | 20080423 | |
| 8 | Instance method | Public | Method | Get DEX stream from buffer | 20080320 | |
| 9 | Instance method | Public | Method | Get DEX structure definiton customizing from buffer | 20080320 | |
| 10 | Instance method | Public | Method | Get LIPS data from buffer | 20080320 | |
| 11 | Instance method | Public | Method | Get the parsed data | 20080422 | |
| 12 | Instance method | Public | Method | Parse data of dedicated segments of DEX stream | 20080422 | |
| 13 | Instance method | Public | Method | Print DEX stream | 20080404 | |
| 14 | Instance method | Protected | Method | Read DEX stream from DB | 20080320 | |
| 15 | Instance method | Protected | Method | Read DEX stream from archiv | 20080502 | |
| 16 | Instance method | Protected | Method | Read DEX structure dfefinition customizing from DB | 20080320 | |
| 17 | Instance method | Protected | Method | Read LIPS data for assigned DEX stream from DB | 20080320 | |
| 18 | Instance method | Public | Method | Set customer ID | 20080404 |
Events
Class /DSD/CL_DX_MO has no event.
Types
Class /DSD/CL_DX_MO has no local type.
Method Signatures
Method CHECK_CUST_SEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_KNA1 | Call by reference | Type reference (TYPE) | KNA1 | General Data in Customer Master | 20080602 | |||
| 2 | IV_CUSTOMER | Call by reference | Type reference (TYPE) | /DSD/DX_HD-CUSTOMER | Customer Number 1 | 20080429 | |||
| 3 | IV_GLN | Call by reference | Type reference (TYPE) | EANE_ILN | International Location Number(GLN) | 20080429 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Customer does not exist | 20080404 | ||
| 2 | Customer and GLN do not fit to each other | 20080404 | ||
| 3 | GLN does not exist | 20080404 | ||
| 4 | Neither customer nor GLN selected | 20080404 |
Method CHECK_DOC_SEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_BE_DELVNO | Call by reference | Type reference (TYPE) | /DSD/DX_BE_DELVNO_TT | DEX Backend Delivery numbers | 20080404 | |||
| 2 | IT_HH_DELVNO | Call by reference | Type reference (TYPE) | /DSD/DX_HH_DELVNO_TT | DEX Handheld Delivery numbers | 20080404 | |||
| 3 | IV_DATFROM | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20080429 | |||
| 4 | IV_DATTO | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20080429 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BE delivery number invalid | 20080404 | ||
| 2 | Customer is not a partner role for that delivery | 20080422 | ||
| 3 | HH delivery number invalid | 20080404 | ||
| 4 | Neither BE nor HH document selected | 20080404 | ||
| 5 | Generic selection (*( is not allowed | 20080404 | ||
| 6 | Select either by HH or BE delivery number | 20080507 | ||
| 7 | Date from bigger than Date to | 20080404 |
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class /DSD/CL_DX_MO has no parameter.
Method CONSTRUCTOR on class /DSD/CL_DX_MO has no exception.
Method EXPORT_DEX_STREAM_2_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_GUID | Call by reference | Type reference (TYPE) | CHAR32 | Character field, length 32 | 20080429 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | File IO error | 20080430 |
Method FREE Signature
Method FREE on class /DSD/CL_DX_MO has no parameter.
Method FREE on class /DSD/CL_DX_MO has no exception.
Method GET_BUFFERED_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DEX_HD | Call by reference | Type reference (TYPE) | /DSD/DX_DEX_HD_TT | DEX header | 20080404 | |||
| 2 | ET_DEX_ITM | Call by reference | Type reference (TYPE) | /DSD/DX_DEX_ITM_TT | DEX item | 20080404 | |||
| 3 | ET_HH_BE_DELV_ASSIGN | Call by reference | Type reference (TYPE) | /DSD/SL_SLD_DOCS_TT | DSD: Document Flow | 20080404 | |||
| 4 | ET_LIPS | Call by reference | Type reference (TYPE) | TAB_LIPS | Table type SD document: Delivery: Item data | 20080404 |
Method GET_BUFFERED_DATA on class /DSD/CL_DX_MO has no exception.
Method GET_DETAIL_OF_PARSED_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DETAIL_PARSED_DATA | Call by reference | Type reference (TYPE) | /DSD/DX_DETAIL_PARSED_DATA_TT | Display Detail of parsed DEX data | 20080423 | |||
| 2 | IV_ROW | Call by reference | Type reference (TYPE) | SY-TABIX | Index of Internal Tables | 20080429 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No structure customizing for this segmend ID | 20080430 | ||
| 2 | No structure customizing for this version | 20080430 |
Method GET_DEX_STREAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DEX_HD | Call by reference | Type reference (TYPE) | /DSD/DX_DEX_HD_TT | DEX header | 20080320 | |||
| 2 | ET_DEX_ITM | Call by reference | Type reference (TYPE) | /DSD/DX_DEX_ITM_TT | DEX item | 20080320 | |||
| 3 | ET_HH_BE_DELV_ASSIGN | Call by reference | Type reference (TYPE) | /DSD/SL_SLD_DOCS_TT | DSD: Document Flow | 20080404 | |||
| 4 | IT_BE_DELVNO | Call by reference | Type reference (TYPE) | /DSD/DX_BE_DELVNO_TT | DEX Backend Delivery numbers | 20080320 | |||
| 5 | IT_HH_DELVNO | Call by reference | Type reference (TYPE) | /DSD/DX_HH_DELVNO_TT | DEX Handheld Delivery numbers | 20080320 | |||
| 6 | IV_CUSTOMER | Call by reference | Type reference (TYPE) | /DSD/DX_HD-CUSTOMER | Customer Number 1 | 20080429 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No DEX stream data found | 20080429 |
Method GET_DEX_STRUC_CUSTOMIZING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DTEL | Call by reference | Type reference (TYPE) | /DSD/DX_DTEL_TT | DEX Dataelements | 20080320 | |||
| 2 | ET_DTEL_FIX_VAL | Call by reference | Type reference (TYPE) | /DSD/DX_DTEL_FIX_VAL_TT | DEX Dataelements fix values | 20080320 | |||
| 3 | ET_STRUCTURE | Call by reference | Type reference (TYPE) | /DSD/DX_STRUCTURE_TT | DEX Structure | 20080320 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No customizing data found | 20080429 |
Method GET_LIPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_LIPS | Call by reference | Type reference (TYPE) | TAB_LIPS | Table type SD document: Delivery: Item data | 20080320 | |||
| 2 | IT_BE_DELVNO | Call by reference | Type reference (TYPE) | /DSD/DX_BE_DELVNO_TT | DEX Backend Delivery numbers | 20080320 | |||
| 3 | IT_HH_DELVNO | Call by reference | Type reference (TYPE) | /DSD/DX_HH_DELVNO_TT | DEX Handheld Delivery numbers | 20080411 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No delivery item data found | 20080429 |
Method GET_PARSED_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_STRUCT_DESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20080429 | |||
| 2 | EO_TABLE_DESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | Runtime Type Services | 20080429 | |||
| 3 | ER_STRUCT_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Parsed DEX data | 20080422 | |||
| 4 | EV_SEGM_ID | Call by reference | Type reference (TYPE) | /DSD/DX_SEGM_ID | DEX/UCS - Segment identifier | 20080429 | |||
| 5 | EV_VERSION | Call by reference | Type reference (TYPE) | /DSD/DX_VERSION | DEX/UCS - Version / Release | 20080429 |
Method GET_PARSED_DATA on class /DSD/CL_DX_MO has no exception.
Method PARSE_DEX_STREAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_GUID | Call by reference | Type reference (TYPE) | CHAR32 | Character field, length 32 | 20080429 | |||
| 2 | IV_SEGM_ID | Call by reference | Type reference (TYPE) | /DSD/DX_SEGM_ID | DEX/UCS - Segment identifier | 20080429 | |||
| 3 | IV_VERSION | Call by reference | Type reference (TYPE) | /DSD/DX_VERSION | DEX/UCS - Version / Release | 20080429 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | RTTS error during type creation | 20080422 | ||
| 2 | No customizing for this segment ID available | 20080430 | ||
| 3 | No customizing for this version available | 20080430 |
Method PRINT_DEX_STREAM Signature
Method PRINT_DEX_STREAM on class /DSD/CL_DX_MO has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error during printing/print preparation | 20080430 |
Method READ_DEX_STREAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DEX_HD | Call by reference | Type reference (TYPE) | /DSD/DX_DEX_HD_TT | DEX header | 20080320 | |||
| 2 | ET_DEX_ITM | Call by reference | Type reference (TYPE) | /DSD/DX_DEX_ITM_TT | DEX item | 20080320 | |||
| 3 | ET_HH_BE_DELV_ASSIGN | Call by reference | Type reference (TYPE) | /DSD/SL_SLD_DOCS_TT | DSD: Document Flow | 20080404 | |||
| 4 | IT_BE_DELVNO | Call by reference | Type reference (TYPE) | /DSD/DX_BE_DELVNO_TT | Sales and Distribution Document Number | 20080320 | |||
| 5 | IT_HH_DELVNO | Call by reference | Type reference (TYPE) | /DSD/DX_HH_DELVNO_TT | DSD CN: Document Number | 20080320 | |||
| 6 | IV_CUSTOMER | Call by reference | Type reference (TYPE) | /DSD/DX_HD-CUSTOMER | Customer Number 1 | 20080429 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No DEX stream found | 20080429 |
Method READ_DEX_STREAM_FROM_ARCHIV Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DEX_HD | Call by reference | Type reference (TYPE) | /DSD/DX_DEX_HD_TT | DEX header | 20080502 | |||
| 2 | ET_DEX_ITM | Call by reference | Type reference (TYPE) | /DSD/DX_DEX_ITM_TT | DEX item | 20080502 | |||
| 3 | ET_HH_BE_DELV_ASSIGN | Call by reference | Type reference (TYPE) | /DSD/SL_SLD_DOCS_TT | Settlement: Merging of Back-End Documents | 20080502 | |||
| 4 | IT_BE_DELVNO | Call by reference | Type reference (TYPE) | /DSD/DX_BE_DELVNO_TT | DEX Backend Delivery numbers | 20080502 | |||
| 5 | IT_HH_DELVNO | Call by reference | Type reference (TYPE) | /DSD/DX_HH_DELVNO_TT | DEX Handheld Delivery numbers | 20080502 | |||
| 6 | IT_RA_TOURID | Call by reference | Type reference (TYPE) | /DSD/DX_RA_TOURID_TT | DSD - Range table for tour ID | 20080502 | |||
| 7 | IV_CUSTOMER | Call by reference | Type reference (TYPE) | /DSD/DX_HD-CUSTOMER | Customer Number 1 | 20080502 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error | 20080502 | ||
| 2 | No records found | 20080502 |
Method READ_DEX_STRUC_CUSTOMIZING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DTEL | Call by reference | Type reference (TYPE) | /DSD/DX_DTEL_TT | DEX Dataelements | 20080320 | |||
| 2 | ET_DTEL_FIX_VAL | Call by reference | Type reference (TYPE) | /DSD/DX_DTEL_FIX_VAL_TT | DEX Dataelements fix values | 20080320 | |||
| 3 | ET_STRUCTURE | Call by reference | Type reference (TYPE) | /DSD/DX_STRUCTURE_TT | DEX Structure | 20080320 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No customizing data found | 20080429 |
Method READ_LIPS_ASSIGNED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_LIPS | Call by reference | Type reference (TYPE) | TAB_LIPS | Table type SD document: Delivery: Item data | 20080320 | |||
| 2 | IV_BE_DELVNO | Call by reference | Type reference (TYPE) | VBELN | Delivery | 20080429 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No delivery item data found | 20080429 |
Method SET_CUSTOMER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CUSTOMER | Call by reference | Type reference (TYPE) | KNA1-KUNNR | Customer Number 1 | 20080429 |
Method SET_CUSTOMER on class /DSD/CL_DX_MO has no exception.
History
| Last changed by/on | SAP | 20100310 |
| SAP Release Created in | 604 |