SAP ABAP Class CL_NWDEMO_SERVICE_LIGHT (Overall application methods)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-NWD (Application Component) NetWeaver Demonstration
⤷
S_NWDEMO_MODEL_COMMON (Package) SAP NetWeaver Demo Model - Helper Classes and Utilities
⤷
⤷
Properties
| Class | CL_NWDEMO_SERVICE_LIGHT | |
| Short Description | Overall application methods | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_NWDEMO_MODEL_COMMON | SAP NetWeaver Demo Model - Helper Classes and Utilities |
| Created | 20070815 | SAP |
| Last change | 20071217 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_NWDEMO_SERVICE_LIGHT has no forward declaration.
Interfaces
Class CL_NWDEMO_SERVICE_LIGHT has no interface implemented.
Friends
Class CL_NWDEMO_SERVICE_LIGHT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | TZNZONE | 'CET ' | Time Zone | 20070815 | ||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_NWDEMO_SERVICE_BP | Services for BP | 20070815 | |||
| 3 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_NWDEMO_SERVICE_PD | Services for PD | 20070815 | |||
| 4 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_NWDEMO_SERVICE_SO | Services for sales order | 20070815 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20070815 | |
| 2 | Static method | Private | Method | get company name of business partner by int. key | 20070815 | |
| 3 | Static method | Private | Method | get relevant text entry | 20070815 | |
| 4 | Static method | Private | Method | Read product attributes | 20070815 | |
| 5 | Static method | Private | Method | get relevant text entry | 20070815 | |
| 6 | Static method | Public | Method | Read addresse(s) for business partner | 20070815 | |
| 7 | Static method | Public | Method | Read Business Partner by company- and lastname | 20070815 | |
| 8 | Static method | Public | Method | Read sales order by buyer party id | 20070815 | |
| 9 | Static method | Public | Method | Readt items of sales order | 20070815 |
Events
Class CL_NWDEMO_SERVICE_LIGHT has no event.
Types
Class CL_NWDEMO_SERVICE_LIGHT has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_NWDEMO_SERVICE_LIGHT has no parameter.
Method CLASS_CONSTRUCTOR on class CL_NWDEMO_SERVICE_LIGHT has no exception.
Method GET_COMPANY_NAME_BY_BP_GUID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PARTNER_GUID | Call by reference | Type reference (TYPE) | GUID_16 | GUID in 'RAW' format | 20070815 | |||
| 2 | R_COMPANY_NAME | Value transfer | Type reference (TYPE) | SDEMO_COMPANY_NAME | company name | 20070815 |
Method GET_COMPANY_NAME_BY_BP_GUID on class CL_NWDEMO_SERVICE_LIGHT has no exception.
Method GET_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_NAME | Call by reference | Type reference (TYPE) | SDEMO_PD_NA_TT | List of names (for product) | 20070815 | |||
| 2 | I_NAME_GUID | Call by reference | Type reference (TYPE) | GUID_16 | GUID in 'RAW' format | 20070815 | |||
| 3 | R_NAME | Value transfer | Type reference (TYPE) | SDEMO_PRD_NAME | product name | 20070815 |
Method GET_NAME on class CL_NWDEMO_SERVICE_LIGHT has no exception.
Method GET_PD_ATTR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CATEGORY_ID | Call by reference | Type reference (TYPE) | SDEMO_CATEGORY_ID | category ID | 20070815 | |||
| 2 | E_DESCRIPTION | Call by reference | Type reference (TYPE) | CHAR255 | Description | 20070815 | |||
| 3 | E_PRODUCT_NAME | Call by reference | Type reference (TYPE) | SDEMO_PRD_NAME | product name | 20070815 | |||
| 4 | E_WEIGHT_MEASURE | Call by reference | Type reference (TYPE) | SDEMO_WEIGHT_MEASURE | gross weight measure | 20070815 | |||
| 5 | E_WEIGHT_UNIT | Call by reference | Type reference (TYPE) | SDEMO_UNIT_CODE | measure unit code | 20070815 | |||
| 6 | I_PRODUCT_ID | Call by reference | Type reference (TYPE) | SDEMO_PRODUCT_ID | product ID | 20070815 |
Method GET_PD_ATTR on class CL_NWDEMO_SERVICE_LIGHT has no exception.
Method GET_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_TT | List of text entries | 20070815 | |||
| 2 | I_TEXT_GUID | Call by reference | Type reference (TYPE) | GUID_16 | GUID in 'RAW' format | 20070815 | |||
| 3 | R_TEXT | Value transfer | Type reference (TYPE) | CHAR255 | Char255 | 20070815 |
Method GET_TEXT on class CL_NWDEMO_SERVICE_LIGHT has no exception.
Method READ_BP_ADDR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PARTNER_ID | Call by reference | Type reference (TYPE) | SDEMO_PARTNER_ID | partner id | 20070815 | |||
| 2 | RS_ADDRESS | Value transfer | Type reference (TYPE) | SDEMO_BP_LEAN_ADDRESS | Reduced address data of business partner | 20070815 |
Method READ_BP_ADDR on class CL_NWDEMO_SERVICE_LIGHT has no exception.
Method READ_BP_HEADER_BY_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_COMPANY_NAME | Call by reference | Type reference (TYPE) | SDEMO_COMPANY_NAME | company name | 20070815 | |||
| 2 | I_LAST_NAME | Call by reference | Type reference (TYPE) | SDEMO_LASTNAME | last name | 20070815 | |||
| 3 | RT_BP | Value transfer | Type reference (TYPE) | SDEMO_BP_LEAN_HEADER_TT | List of business partner reduced header data | 20070815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | NWDEMO related Exceptions | 20070928 |
Method READ_SO_BY_BUYER_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SO_BUYER_ID | Call by reference | Type reference (TYPE) | SDEMO_BUYER_PARTY_ID | BuyerParty | 20070815 | |||
| 2 | RT_SALES_ORDER | Value transfer | Type reference (TYPE) | SDEMO_SO_LEAN_HEADER_TT | List of sales orders header data (reduced) | 20070815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Sales order related exceptions | 20070815 |
Method READ_SO_ITEM_BY_SO_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SO_ID | Call by reference | Type reference (TYPE) | SDEMO_SO_ID | sales order ID | 20070815 | |||
| 2 | RT_ITEM | Value transfer | Type reference (TYPE) | SDEMO_SO_I_LEAN_TT | List of reduced sales order item data | 20070815 |
Method READ_SO_ITEM_BY_SO_ID on class CL_NWDEMO_SERVICE_LIGHT has no exception.
History
| Last changed by/on | SAP | 20071217 |
| SAP Release Created in | 710 |