SAP ABAP Class CL_WDK_PRINT_UTILS (Kayak Print Utilities (internal only))
Hierarchy
☛
SAP_ABA (Software Component) Cross-Application Component
⤷
BC-MUS (Application Component) Musing Tools
⤷
WDK_PRINT (Package) WDK Printing
⤷
⤷
Properties
| Class | CL_WDK_PRINT_UTILS | |
| Short Description | Kayak Print Utilities (internal only) | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | WDK_PRINT | WDK Printing |
| Created | 20070315 | SAP |
| Last change | 20070911 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_WDK_PRINT_UTILS has no interface implemented.
Friends
Class CL_WDK_PRINT_UTILS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | SEOMEMID | 'WDK_PRINT_XML' | ID for ABAP memory | 20070315 | ||
| 2 | Constant | Private | Type reference (TYPE) | TY_MEMORY_PARAM_KEY | 'P_STATE' | Parameter ID for Processing State | 20070315 | ||
| 3 | Constant | Private | Type reference (TYPE) | TY_MEMORY_PARAM_KEY | 'P_XML' | Parameter ID for XML string | 20070315 | ||
| 4 | Constant | Public | Type reference (TYPE) | PRI_PARAMS-PDEST | 'NWBC' | Output Device (Print Parameters) | 20070315 | ||
| 5 | Constant | Public | Type reference (TYPE) | SY-SUBRC | '3' | Processing status | 20070315 | ||
| 6 | Constant | Public | Type reference (TYPE) | SY-SUBRC | '4' | Processing status | 20070315 | ||
| 7 | Constant | Public | Type reference (TYPE) | SY-SUBRC | '0' | Processing status | 20070315 | ||
| 8 | Constant | Public | Type reference (TYPE) | SY-SUBRC | '5' | Processing status | 20070315 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Start conversion of WD ALV XML into PDF (via Spool) | 20070315 | |
| 2 | Static method | Private | Method | Export XML to memory | 20070315 | |
| 3 | Static method | Private | Method | Get state of XML processing | 20070315 | |
| 4 | Static method | Public | Method | Get XML which should be converted | 20070315 | |
| 5 | Static method | Private | Method | Import XML from memory | 20070315 | |
| 6 | Static method | Public | Method | Set state of XML processing | 20070315 |
Events
Class CL_WDK_PRINT_UTILS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_MEMORY_PARAMS | Private | See coding | 20070315 | BEGIN OF ty_memory_params,
key TYPE ty_memory_param_key,
value TYPE ty_memory_param_value,
END OF ty_memory_params
|
||
| 2 | TY_MEMORY_PARAM_KEY | Private | See coding | 20070315 | ty_memory_param_key(20) TYPE c
|
||
| 3 | TY_MEMORY_PARAM_VALUE | Private | See coding | 20070315 | ty_memory_param_value(20) TYPE c
|
Method Signatures
Method CONVERT_XML_TO_PDF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_XML | Call by reference | Type reference (TYPE) | XSTRING | 20070315 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | It wasn't possible to retrieve the print parameters | 20070315 | ||
| 2 | It wasn't possible to retrieve the processing state | 20070315 | ||
| 3 | File transfer failed | 20070315 | ||
| 4 | Parsing of XML document failed | 20070315 | ||
| 5 | Backend ALV wan't able to display the transformed data | 20070315 |
Method EXPORT_XML_TO_MEMORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_XML | Call by reference | Type reference (TYPE) | XSTRING | 20070315 |
Method EXPORT_XML_TO_MEMORY on class CL_WDK_PRINT_UTILS has no exception.
Method GET_PROCESSING_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_STATE | Call by reference | Type reference (TYPE) | SY-SUBRC | Get State of Processing | 20070315 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No data found | 20070315 |
Method GET_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_XML | Call by reference | Type reference (TYPE) | XSTRING | 20070315 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No XML was passed from POWL | 20070315 |
Method IMPORT_XML_FROM_MEMORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_XML | Call by reference | Type reference (TYPE) | XSTRING | 20070315 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No data found | 20070315 |
Method SET_PROCESSING_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_STATUS | Call by reference | Type reference (TYPE) | SY-SUBRC | Set Processing State | 20070315 |
Method SET_PROCESSING_STATE on class CL_WDK_PRINT_UTILS has no exception.
History
| Last changed by/on | SAP | 20070911 |
| SAP Release Created in |