SAP CL_NWDEMO_SERVICE OO Class - Common methods for service classes
CL_NWDEMO_SERVICE is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_NWDEMO_SERVICE including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Method list of CL_NWDEMO_SERVICE SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
| Method Name | Description | Visability |
| ADD_SUBSTRUCTURE | Private | |
| CALL METHOD cl_nwdemo_service=>ADD_SUBSTRUCTURE...more details | ||
| BUILD_MULT_ADDR_QUERY | Build filter argument for the query by name | Private |
| CALL METHOD cl_nwdemo_service=>BUILD_MULT_ADDR_QUERY...more details | ||
| CHANGE_TEXT | Change text entry | Public |
| CALL METHOD cl_nwdemo_service=>CHANGE_TEXT...more details | ||
| CHG_ATTRIBUTE | Dynamic change of persistent object attribute | Public |
| CALL METHOD cl_nwdemo_service=>CHG_ATTRIBUTE...more details | ||
| CHG_OBJECT_ATTRIBUTES | Change field values of structure | Public |
| CALL METHOD cl_nwdemo_service=>CHG_OBJECT_ATTRIBUTES...more details | ||
| CLASS_CONSTRUCTOR | CLASS_CONSTRUCTOR | Public |
| CALL METHOD cl_nwdemo_service=>CLASS_CONSTRUCTOR...more details | ||
|
| ||
| CREATE_LINK_PERSISTENT | Create link BP - Address | Public |
| CALL METHOD cl_nwdemo_service=>CREATE_LINK_PERSISTENT...more details | ||
| CREATE_TEXT_ENTRIES | create entries in text table | Public |
| CALL METHOD cl_nwdemo_service=>CREATE_TEXT_ENTRIES...more details | ||
| CREATE_UUID | Create RAW 16 GUID | Public |
| CALL METHOD cl_nwdemo_service=>CREATE_UUID...more details | ||
| DELETE_LINK | Delete link table entry | Public |
| CALL METHOD cl_nwdemo_service=>DELETE_LINK...more details | ||
| DELETE_TEXT | Delete text | Public |
| CALL METHOD cl_nwdemo_service=>DELETE_TEXT...more details | ||
| DELETE_TEXT_ENTRIES | Delete list of text entries | Public |
| CALL METHOD cl_nwdemo_service=>DELETE_TEXT_ENTRIES...more details | ||
| GET_BP_BY_ADDRESS | Get business partner by address | Public |
| CALL METHOD cl_nwdemo_service=>GET_BP_BY_ADDRESS...more details | ||
| GET_STRUCTURE_CONTENT | Fill structure with it's field values | Public |
| CALL METHOD cl_nwdemo_service=>GET_STRUCTURE_CONTENT...more details | ||
| GET_TABLE_CONTENT | Fill all entries and all attributes of corresponding table | Public |
| CALL METHOD cl_nwdemo_service=>GET_TABLE_CONTENT...more details | ||
| GET_TEXT_GUID | Get internal text id for text object | Private |
| CALL METHOD cl_nwdemo_service=>GET_TEXT_GUID...more details | ||
| GET_TEXT_LANGU | Get internal text id for text object | Private |
| CALL METHOD cl_nwdemo_service=>GET_TEXT_LANGU...more details | ||
| GET_TYPEDESCR | Get DDIC data of structure | Public |
| CALL METHOD cl_nwdemo_service=>GET_TYPEDESCR...more details | ||
| SAVE | Prepare change of DB | Public |
| CALL METHOD cl_nwdemo_service=>SAVE...more details | ||
CL_NWDEMO_SERVICE attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
| Name | Level | Description | Initial Value | Type | Visability |
| CHANGE | Constant | Change operation | 'C' | LIKE SDEMO_OPERATION | Public |
| CREATE | Constant | Create operation | 'I' | LIKE SDEMO_OPERATION | Public |
| C_CLEAR | Constant | Type of change operation | 'C' | LIKE SDEMO_CHG_FLAG | Public |
| C_CURRENCY_CODE | Constant | standard currency code | 'USD' | LIKE CHAR3 | Public |
| C_MY_COMPANY_NAME | Constant | Company name of this user | 'ITelO' | LIKE SDEMO_COMPANY_NAME | Public |
| C_QUANTITY_UNIT | Constant | Quantity Unit Code | 'EA' | LIKE SDEMO_QUANT_UNIT | Public |
| C_REPLACE | Constant | Type of change operation | 'R' | LIKE SDEMO_CHG_FLAG | Public |
| C_TAX_RATE | Constant | Numc3, internal use | 19 | LIKE SDEMO_TAX_RATE | Public |
| C_TIMEZONE | Constant | Time Zone | 'CET ' | LIKE TTZZ-TZONE | Public |
| DELETE | Constant | Delete operation | 'D' | LIKE SDEMO_OPERATION | Public |
| FALSE | Constant | FALSE | SPACE | LIKE XFELD | Public |
| GC_QUERY_METHOD_NAME | Constant | Name of the query method | 'IF_OS_CA_PERSISTENCY~GET_PERSISTENT_BY_QUERY' | LIKE STRING | Private |
| GR_LINK_AGENT | Static Attribute | Agent SAP NW Demo Model - link persistence class | LIKE CA_NWDEMO_PERSIST_LINK | Public | |
| GR_QUERY_MNG | Static Attribute | Object Services Query Manager | LIKE IF_OS_QUERY_MANAGER | Private | |
| GR_QUERY_WITH_ADDR_GUID_MULT | Static Attribute | Object Services Query | LIKE IF_OS_QUERY | Private | |
| GR_TEXT_AGENT | Static Attribute | Agent SAP NW Demo Model - link persistence class | LIKE CA_NWDEMO_PERSIST_TEXT | Public | |
| GT_TYPEDESCR | Static Attribute | LIKE GYT_TYPEDESCR | Private | ||
| INSTANCE | Static Attribute | Common methods for service classes | LIKE CL_NWDEMO_SERVICE | Public | |
| MWST | Constant | TAXRATE | 19 | LIKE SDEMO_MWST | Public |
| TRUE | Constant | TRUE | 'X' | LIKE XFELD | Public |
CL_NWDEMO_SERVICE types
GYS_TYPEDESCR -GYT_TYPEDESCR -
Links to Related Class(s)
CL_NWDEM...Full list of available SAP object classes
Search for further information about these or an SAP related objects