SAP ABAP Class CL_NWDEMO_SERVICE (Common methods for service classes)
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 | |
Short Description | Common methods for service classes | |
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 | 20070619 | SAP |
Last change | 20080612 | 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_NWDEMO_SERVICE has no interface implemented.
Friends
Class CL_NWDEMO_SERVICE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | Type reference (TYPE) | SDEMO_OPERATION | 'C' | Change operation | 20080124 | |
2 | ![]() |
Constant | Public | Type reference (TYPE) | SDEMO_OPERATION | 'I' | Create operation | 20080111 | |
3 | ![]() |
Constant | Public | Type reference (TYPE) | SDEMO_CHG_FLAG | 'C' | Type of change operation | 20071105 | |
4 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR3 | 'USD' | standard currency code | 20070730 | |
5 | ![]() |
Constant | Public | Type reference (TYPE) | SDEMO_COMPANY_NAME | 'ITelO' | Company name of this user | 20070730 | |
6 | ![]() |
Constant | Public | Type reference (TYPE) | SDEMO_QUANT_UNIT | 'EA' | Quantity Unit Code | 20070918 | |
7 | ![]() |
Constant | Public | Type reference (TYPE) | SDEMO_CHG_FLAG | 'R' | Type of change operation | 20071105 | |
8 | ![]() |
Constant | Public | Type reference (TYPE) | SDEMO_TAX_RATE | 19 | Numc3, internal use | 20070730 | |
9 | ![]() |
Constant | Public | Type reference (TYPE) | TTZZ-TZONE | 'CET ' | Time Zone | 20070802 | |
10 | ![]() |
Constant | Public | Type reference (TYPE) | SDEMO_OPERATION | 'D' | Delete operation | 20080111 | |
11 | ![]() |
Constant | Public | Type reference (TYPE) | XFELD | SPACE | FALSE | 20070702 | |
12 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'IF_OS_CA_PERSISTENCY~GET_PERSISTENT_BY_QUERY' | Name of the query method | 20070924 | |
13 | ![]() |
Static Attribute | Public | Object reference (TYPE REF TO) | CA_NWDEMO_PERSIST_LINK | Agent SAP NW Demo Model - link persistence class | 20070924 | ||
14 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | IF_OS_QUERY_MANAGER | Object Services Query Manager | 20070924 | ||
15 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | IF_OS_QUERY | Object Services Query | 20070924 | ||
16 | ![]() |
Static Attribute | Public | Object reference (TYPE REF TO) | CA_NWDEMO_PERSIST_TEXT | Agent SAP NW Demo Model - link persistence class | 20080111 | ||
17 | ![]() |
Static Attribute | Private | Type reference (TYPE) | GYT_TYPEDESCR | 20071102 | |||
18 | ![]() |
Static Attribute | Public | Object reference (TYPE REF TO) | CL_NWDEMO_SERVICE | Common methods for service classes | 20070619 | ||
19 | ![]() |
Constant | Public | Type reference (TYPE) | SDEMO_MWST | 19 | TAXRATE | 20080312 | |
20 | ![]() |
Constant | Public | Type reference (TYPE) | XFELD | 'X' | TRUE | 20070702 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Private | Method | 20071105 | |
2 | ![]() |
Static method | Private | Method | Build filter argument for the query by name | 20070924 |
3 | ![]() |
Static method | Public | Method | Change text entry | 20080111 |
4 | ![]() |
Static method | Public | Method | Dynamic change of persistent object attribute | 20071105 |
5 | ![]() |
Static method | Public | Method | Change field values of structure | 20071105 |
6 | ![]() |
Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20070619 |
7 | ![]() |
Static method | Public | Method | Create link BP - Address | 20070924 |
8 | ![]() |
Instance method | Public | Method | create entries in text table | 20070622 |
9 | ![]() |
Instance method | Public | Method | Create RAW 16 GUID | 20070621 |
10 | ![]() |
Static method | Public | Method | Delete link table entry | 20071009 |
11 | ![]() |
Static method | Public | Method | Delete text | 20070928 |
12 | ![]() |
Static method | Public | Method | Delete list of text entries | 20080124 |
13 | ![]() |
Static method | Public | Method | Get business partner by address | 20070924 |
14 | ![]() |
Instance method | Public | Method | Fill structure with it's field values | 20070619 |
15 | ![]() |
Instance method | Public | Method | Fill all entries and all attributes of corresponding table | 20070619 |
16 | ![]() |
Static method | Private | Method | Get internal text id for text object | 20080124 |
17 | ![]() |
Static method | Private | Method | Get internal text id for text object | 20080125 |
18 | ![]() |
Static method | Public | Method | Get DDIC data of structure | 20071102 |
19 | ![]() |
Static method | Public | Method | Prepare change of DB | 20080314 |
Events
Class CL_NWDEMO_SERVICE has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | GYS_TYPEDESCR | Private | See coding | 20071102 | begin of gys_typedescr,
tabname type tabname,
t_comp type abap_compdescr_tab,
end of gys_typedescr
|
||
2 | GYT_TYPEDESCR | Private | See coding | 20071102 | gyt_typedescr type sorted TABLE OF gys_typedescr
with UNIQUE key tabname
|
Method Signatures
Method ADD_SUBSTRUCTURE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_COMPONENT | Call by reference | Type reference (TYPE) | ABAP_COMPDESCR_TAB | 20071105 | |||
2 | ![]() |
IS_STRUCT | Call by reference | Type reference (TYPE) | ANY | 20071105 |
Method ADD_SUBSTRUCTURE on class CL_NWDEMO_SERVICE has no exception.
Method BUILD_MULT_ADDR_QUERY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ETR_PARAMETER | Call by reference | Type reference (TYPE) | OSDREFTAB | OS: Table of Data References | 20070924 | ||
2 | ![]() |
IT_ADDR | Call by reference | Type reference (TYPE) | SDEMO_GUID_TT | List of address GUIDs | 20070924 |
Method BUILD_MULT_ADDR_QUERY on class CL_NWDEMO_SERVICE has no exception.
Method CHANGE_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_CHG | Change: Text | 20080111 | ||
2 | ![]() |
I_PERFORM_COMMIT | Call by reference | Type reference (TYPE) | CHAR1 | FALSE | Single-Character Flag | 20080111 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
NWDEMO related Exceptions | 20080111 |
Method CHG_ATTRIBUTE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
C_VALUE | Call by reference | Type reference (TYPE) | ANY | 20071105 | |||
2 | ![]() |
IR_OBJECT | Call by reference | Object reference (TYPE REF TO) | OBJECT | 20071105 | |||
3 | ![]() |
I_ATTRIBUTE_NAME | Call by reference | Type reference (TYPE) | ABAP_COMPNAME | 20071105 |
Method CHG_ATTRIBUTE on class CL_NWDEMO_SERVICE has no exception.
Method CHG_OBJECT_ATTRIBUTES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | 20071105 | |||
2 | ![]() |
IR_OBJECT | Call by reference | Object reference (TYPE REF TO) | OBJECT | 20071105 | |||
3 | ![]() |
IS_STRUCTURE_XFLAG | Call by reference | Type reference (TYPE) | ANY | 20071105 |
Method CHG_OBJECT_ATTRIBUTES on class CL_NWDEMO_SERVICE has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_NWDEMO_SERVICE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_NWDEMO_SERVICE has no exception.
Method CREATE_LINK_PERSISTENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_ADDRESS_GUID | Call by reference | Type reference (TYPE) | GUID_16 | Business Key | 20070924 | ||
2 | ![]() |
I_ASSOCIATION_NAME | Call by reference | Type reference (TYPE) | SDEMO_ASSOCIATION_NAME | Persistent Attribute | 20070924 | ||
3 | ![]() |
I_PARTNER_GUID | Call by reference | Type reference (TYPE) | GUID_16 | Business Key | 20070924 |
Method CREATE_LINK_PERSISTENT on class CL_NWDEMO_SERVICE has no exception.
Method CREATE_TEXT_ENTRIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_NEW_TT | List of text entries (ext. key) | 20070622 | ||
2 | ![]() |
I_PARENT_KEY | Call by reference | Type reference (TYPE) | SDEMO_TEXT-PARENT_KEY | Character field, length 70 | 20070717 | ||
3 | ![]() |
I_TEXT_GUID | Call by reference | Type reference (TYPE) | SDEMO_TEXT-TEXT_GUID | GUID in 'RAW' format | 20070622 | ||
4 | ![]() |
I_TEXT_TYPE | Call by reference | Type reference (TYPE) | SDEMO_TEXT-TEXT_TYPE | sdemo Text Type | 20070717 |
Method CREATE_TEXT_ENTRIES on class CL_NWDEMO_SERVICE has no exception.
Method CREATE_UUID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
R_UUID_X16 | Value transfer | Type reference (TYPE) | SYSUUID-X | UUID in X form (binary) | 20070621 |
Method CREATE_UUID on class CL_NWDEMO_SERVICE has no exception.
Method DELETE_LINK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_ADDRESS_GUID | Call by reference | Type reference (TYPE) | GUID_16 | GUID in 'RAW' format | 20071009 |
Method DELETE_LINK on class CL_NWDEMO_SERVICE has no exception.
Method DELETE_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | Language Key of Current Text Environment | 20070928 | |
2 | ![]() |
I_TEXT_GUID | Call by reference | Type reference (TYPE) | GUID_16 | GUID in 'RAW' format | 20070928 |
Method DELETE_TEXT on class CL_NWDEMO_SERVICE has no exception.
Method DELETE_TEXT_ENTRIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ITR_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_REF_TT | List of references for text entries | 20080124 |
Method DELETE_TEXT_ENTRIES on class CL_NWDEMO_SERVICE has no exception.
Method GET_BP_BY_ADDRESS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_BP | Call by reference | Type reference (TYPE) | SDEMO_GUID_TT | List of business partner guids | 20070924 | ||
2 | ![]() |
IT_ADDR | Call by reference | Type reference (TYPE) | SDEMO_GUID_TT | List of address GUIDs | 20070924 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
NWDEMO related Exceptions | 20070924 |
Method GET_STRUCTURE_CONTENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_RESULT | Call by reference | Type reference (TYPE) | ANY | Result structure with data | 20070619 | ||
2 | ![]() |
IR_ENTRY | Call by reference | Object reference (TYPE REF TO) | OBJECT | Reference to one table line | 20070619 | ||
3 | ![]() |
IT_COMPONENT | Call by reference | Type reference (TYPE) | ABAP_COMPDESCR_TAB | List of structure components | 20070619 | ||
4 | ![]() |
I_FIELD_SUFFIX | Call by reference | Type reference (TYPE) | CHAR10 | Character Field Length = 10 | 20070709 |
Method GET_STRUCTURE_CONTENT on class CL_NWDEMO_SERVICE has no exception.
Method GET_TABLE_CONTENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_RESULT | Call by reference | Type reference (TYPE) | ANY TABLE | List of table entries | 20070619 | ||
2 | ![]() |
IT_ENTRY | Call by reference | Type reference (TYPE) | ANY TABLE | List of references (1 object per table line) | 20070619 |
Method GET_TABLE_CONTENT on class CL_NWDEMO_SERVICE has no exception.
Method GET_TEXT_GUID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IR_TEXT | Call by reference | Object reference (TYPE REF TO) | CL_NWDEMO_PERSIST_TEXT | SAP NW Demo Model - text persistence class | 20080124 | ||
2 | ![]() |
R_TEXT_GUID | Value transfer | Type reference (TYPE) | GUID_16 | GUID in 'RAW' format | 20080124 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Object Services: Object not Found | 20080124 |
Method GET_TEXT_LANGU Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IR_TEXT | Call by reference | Object reference (TYPE REF TO) | CL_NWDEMO_PERSIST_TEXT | SAP NW Demo Model - text persistence class | 20080125 | ||
2 | ![]() |
R_TEXT_LANGU | Value transfer | Type reference (TYPE) | SYLANGU | Language Key of Current Text Environment | 20080125 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Object Services: Object not Found | 20080125 |
Method GET_TYPEDESCR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_COMPONENT | Call by reference | Type reference (TYPE) | ABAP_COMPDESCR_TAB | Structure components | 20071102 | ||
2 | ![]() |
IS_STRUCT | Call by reference | Type reference (TYPE) | ANY | 20071102 | |||
3 | ![]() |
I_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20071102 |
Method GET_TYPEDESCR on class CL_NWDEMO_SERVICE has no exception.
Method SAVE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IR_AGENT | Call by reference | Object reference (TYPE REF TO) | OBJECT | Agent | 20080314 |
Method SAVE on class CL_NWDEMO_SERVICE has no exception.
History
Last changed by/on | SAP | 20080612 |
SAP Release Created in | 710 |