SAP ABAP Class CL_NWDEMO_SERVICE_PD (Services for BP)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-NWD (Application Component) NetWeaver Demonstration
⤷
S_NWDEMO_MODEL_PRODUCT (Package) SAP NetWeaver Demo Model - Product

⤷

⤷

Properties
Class | CL_NWDEMO_SERVICE_PD | |
Short Description | Services for BP | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | S_NWDEMO_MODEL_PRODUCT | SAP NetWeaver Demo Model - Product |
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) |
2 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_NWDEMO_SERVICE_PD has no interface implemented.
Friends
Class CL_NWDEMO_SERVICE_PD has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'IF_OS_CA_PERSISTENCY~GET_PERSISTENT_BY_QUERY' | Name of the query method | 20070702 | |
2 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CA_NWDEMO_PERSIST_PD | Agent SAP NW Demo Model - product persistence class | 20070702 | ||
3 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CA_NWDEMO_PERSIST_PD_NA | Agent SAP NW Demo Model - product name persistence class | 20080314 | ||
4 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_RANDOM_INT | Random number generation | 20070919 | ||
5 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | IF_OS_QUERY_MANAGER | Object Services Query Manager | 20070702 | ||
6 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | IF_OS_QUERY | Object Services Query | 20070702 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Change product | 20080124 |
2 | ![]() |
Instance method | Public | Method | Change name of product | 20080125 |
3 | ![]() |
Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20070702 |
4 | ![]() |
Instance method | Public | Method | Create product | 20070619 |
5 | ![]() |
Instance method | Public | Method | create stock quantity for product | 20070918 |
6 | ![]() |
Static method | Public | Method | Delete all data for all products | 20071009 |
7 | ![]() |
Instance method | Public | Method | Delete product by int. or ext. key | 20070702 |
8 | ![]() |
Instance method | Public | Method | Delete product by int. key (product guid) | 20070703 |
9 | ![]() |
Instance method | Public | Method | Delete product by ext. key (product ID) | 20070703 |
10 | ![]() |
Instance method | Private | Method | Fill the data of the product reference | 20070620 |
11 | ![]() |
Instance method | Private | Method | Fill the proxy output structure | 20070622 |
12 | ![]() |
Instance method | Private | Method | Query product by ext. key (product ID) | 20070619 |
13 | ![]() |
Instance method | Public | Method | Read all products | 20070702 |
14 | ![]() |
Instance method | Public | Method | Read poduct by int. or ext. key | 20070702 |
15 | ![]() |
Instance method | Public | Method | Read poduct by int. key (product guid) | 20070619 |
16 | ![]() |
Instance method | Public | Method | Read poduct by ext. key (product ID) | 20070619 |
Events
Class CL_NWDEMO_SERVICE_PD has no event.
Types
Class CL_NWDEMO_SERVICE_PD has no local type.
Method Signatures
Method CHANGE_PD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_PRODUCT | Call by reference | Type reference (TYPE) | SDEMO_PD_WITH_PR_CHG | Change: product data incl. price | 20080124 | ||
2 | ![]() |
CT_PD_NAME | Call by reference | Type reference (TYPE) | SDEMO_PD_NA_CHG_TT | Table type of structure SDEMO_PD_NA_CHG | 20080125 | ||
3 | ![]() |
CT_PD_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_CHG_TT | Change: List of text entries | 20080124 | ||
4 | ![]() |
I_PERFORM_COMMIT | Call by reference | Type reference (TYPE) | XFELD | CL_NWDEMO_SERVICE=>TRUE | Checkbox | 20080124 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Product related exceptions | 20080124 |
Method CHANGE_PD_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IR_PD | Call by reference | Object reference (TYPE REF TO) | CL_NWDEMO_PERSIST_PD | SAP NW Demo Model - product persistence class | 20080314 | ||
2 | ![]() |
IS_NAME | Call by reference | Type reference (TYPE) | SDEMO_PD_NA_CHG | Change: Name of product | 20080314 |
Method CHANGE_PD_NAME on class CL_NWDEMO_SERVICE_PD has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_NWDEMO_SERVICE_PD has no parameter.
Method CLASS_CONSTRUCTOR on class CL_NWDEMO_SERVICE_PD has no exception.
Method CREATE_PRODUCT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_PRODUCT | Call by reference | Type reference (TYPE) | SDEMO_PD_WITH_PRICE | Product data inklunding attribut fields from SDEMO_PD_PR | 20070619 | ||
2 | ![]() |
CT_PRODUCT_NAME | Call by reference | Type reference (TYPE) | SDEMO_PD_NA_NEW_TT | List of product names (ext. key) | 20070619 | ||
3 | ![]() |
CT_PRODUCT_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_NEW_TT | List of text entries (ext. key) | 20070620 | ||
4 | ![]() |
CT_PRODUCT_WEBRES | Call by reference | Type reference (TYPE) | SDEMO_PD_WR_ALL_TT | List of product web resources (ext. key) | 20070620 | ||
5 | ![]() |
IV_PERFORM_COMMIT | Call by reference | Type reference (TYPE) | XFELD | CL_NWDEMO_SERVICE=>TRUE | Performe COMMIT WORK AND WAIT at end of method | 20070702 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Product related exceptions | 20070704 |
Method CREATE_STOCK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_PRODUCT | Call by reference | Type reference (TYPE) | SDEMO_PD_WITH_PRICE | Product data including attribut fields from SDEMO_PD_PR | 20070918 |
Method CREATE_STOCK on class CL_NWDEMO_SERVICE_PD has no exception.
Method DELETE_ALL Signature
Method DELETE_ALL on class CL_NWDEMO_SERVICE_PD has no parameter.
Method DELETE_ALL on class CL_NWDEMO_SERVICE_PD has no exception.
Method DELETE_PRODUCT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_PERFORM_COMMIT | Call by reference | Type reference (TYPE) | XFELD | CL_NWDEMO_SERVICE=>TRUE | Performe COMMIT WORK AND WAIT at end of method | 20070702 | |
2 | ![]() |
I_PRODUCT_GUID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_GUID | product GUID (internal key) | 20070702 | ||
3 | ![]() |
I_PRODUCT_ID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_ID | ProductID (external key) | 20070702 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Business partner related exceptions | 20070704 |
Method DELETE_PRODUCT_BY_GUID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_PERFORM_COMMIT | Call by reference | Type reference (TYPE) | XFELD | CL_NWDEMO_SERVICE=>TRUE | Performe COMMIT WORK AND WAIT at end of method | 20070703 | |
2 | ![]() |
I_PRODUCT_GUID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_GUID | product GUID (internal key) | 20070703 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Business partner related exceptions | 20070704 |
Method DELETE_PRODUCT_BY_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_PERFORM_COMMIT | Call by reference | Type reference (TYPE) | XFELD | CL_NWDEMO_SERVICE=>TRUE | Performe COMMIT WORK AND WAIT at end of method | 20070703 | |
2 | ![]() |
I_PRODUCT_ID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_ID | ProductID (external key) | 20070703 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Business partner related exceptions | 20070704 |
Method FILL_PRODUCT_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_PRODUCT | Call by reference | Type reference (TYPE) | SDEMO_PD_WITH_PRICE | Product data inklunding attribut fields from SDEMO_PD_PR | 20070620 | ||
2 | ![]() |
ET_PRODUCT_NAME | Call by reference | Type reference (TYPE) | SDEMO_PD_NA_TT | List of names (for product) | 20070620 | ||
3 | ![]() |
ET_PRODUCT_WEBRES | Call by reference | Type reference (TYPE) | SDEMO_PD_WR_ALL_TT | List of web resources | 20070620 | ||
4 | ![]() |
ET_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_TT | SAP NetWeaver Demo Model - Text | 20070622 | ||
5 | ![]() |
IR_PRODUCT | Call by reference | Object reference (TYPE REF TO) | CL_NWDEMO_PERSIST_PD | SAP NW Demo Model - product persistence class | 20070718 | ||
6 | ![]() |
I_WITH_NAME | Call by reference | Type reference (TYPE) | XFELD | CL_NWDEMO_SERVICE=>TRUE | Get names | 20070702 | |
7 | ![]() |
I_WITH_PRODUCT_DATA | Call by reference | Type reference (TYPE) | XFELD | CL_NWDEMO_SERVICE=>TRUE | Get product data | 20070702 | |
8 | ![]() |
I_WITH_TEXT | Call by reference | Type reference (TYPE) | XFELD | CL_NWDEMO_SERVICE=>TRUE | Get text | 20070702 | |
9 | ![]() |
I_WITH_WEBRES | Call by reference | Type reference (TYPE) | XFELD | CL_NWDEMO_SERVICE=>TRUE | Get web resources | 20070702 |
Method FILL_PRODUCT_DATA on class CL_NWDEMO_SERVICE_PD has no exception.
Method MAP_RESULT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_OUTPUT | Call by reference | Type reference (TYPE) | SDEMO_PRODUCT_BY_ID_RESP_MSG | ProductByIDResponse | 20070622 | ||
2 | ![]() |
IS_PRODUCT | Call by reference | Type reference (TYPE) | SDEMO_PD_WITH_PRICE | Product data inklunding attribut fields from SDEMO_PD_PR | 20070622 | ||
3 | ![]() |
IT_PRODUCT_NAME | Call by reference | Type reference (TYPE) | SDEMO_PD_NA_TT | List of names (for product) | 20070622 | ||
4 | ![]() |
IT_PRODUCT_WEBRES | Call by reference | Type reference (TYPE) | SDEMO_PD_WR_ALL_TT | List of web resources | 20070622 | ||
5 | ![]() |
IT_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_TT | SAP NetWeaver Demo Model - Text | 20070622 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
This product GUID does not exists | 20070622 |
Method QUERY_PRODUCT_BY_EXT_KEY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_AGENT | Call by reference | Object reference (TYPE REF TO) | OBJECT | Object Type Name | 20070620 | ||
2 | ![]() |
I_PRODUCT_ID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_ID | ProductID | 20070620 | ||
3 | ![]() |
RT_ENTRY | Value transfer | Type reference (TYPE) | OSREFTAB | List of references | 20070619 |
Method QUERY_PRODUCT_BY_EXT_KEY on class CL_NWDEMO_SERVICE_PD has no exception.
Method READ_ALL_PRODUCTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_PRODUCT | Call by reference | Type reference (TYPE) | SDEMO_PD_ALL_TT | List of products with dependen data | 20070702 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Business partner related exceptions | 20070704 |
Method READ_PRODUCT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ER_PD | Call by reference | Object reference (TYPE REF TO) | CL_NWDEMO_PERSIST_PD | SAP NW Demo Model - product persistence class | 20070718 | ||
2 | ![]() |
ES_PRODUCT | Call by reference | Type reference (TYPE) | SDEMO_PD_WITH_PRICE | Product data inklunding attribut fields from SDEMO_PD_PR | 20070702 | ||
3 | ![]() |
ES_PROXY_OUTPUT | Call by reference | Type reference (TYPE) | SDEMO_PRODUCT_BY_ID_RESP_MSG | ProductByIDResponse | 20070702 | ||
4 | ![]() |
ET_PRODUCT_NAME | Call by reference | Type reference (TYPE) | SDEMO_PD_NA_TT | List of names (for product) | 20070702 | ||
5 | ![]() |
ET_PRODUCT_WEBRES | Call by reference | Type reference (TYPE) | SDEMO_PD_WR_ALL_TT | List of web resources | 20070702 | ||
6 | ![]() |
ET_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_TT | List of names (for product) | 20070702 | ||
7 | ![]() |
I_PRODUCT_GUID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_GUID | Product Guid (internal key) | 20070702 | ||
8 | ![]() |
I_PRODUCT_ID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_ID | ProductID (external key) | 20070702 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Business partner related exceptions | 20070704 |
Method READ_PRODUCT_BY_GUID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_PRODUCT | Call by reference | Type reference (TYPE) | SDEMO_PD_WITH_PRICE | Product data including attribut fields from SDEMO_PD_PR | 20070619 | ||
2 | ![]() |
ES_PROXY_OUTPUT | Call by reference | Type reference (TYPE) | SDEMO_PRODUCT_BY_ID_RESP_MSG | ProductByIDResponse | 20070622 | ||
3 | ![]() |
ET_PRODUCT_NAME | Call by reference | Type reference (TYPE) | SDEMO_PD_NA_TT | List of names (for product) | 20070619 | ||
4 | ![]() |
ET_PRODUCT_WEBRES | Call by reference | Type reference (TYPE) | SDEMO_PD_WR_ALL_TT | List of web resources (for product) | 20070620 | ||
5 | ![]() |
ET_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_TT | SAP NetWeaver Demo Model - Text | 20070622 | ||
6 | ![]() |
I_PRODUCT_GUID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_GUID | GUID in 'RAW' format | 20070619 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Business partner related exceptions | 20070704 |
Method READ_PRODUCT_BY_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_PRODUCT | Call by reference | Type reference (TYPE) | SDEMO_PD_WITH_PRICE | Product data inklunding attribut fields from SDEMO_PD_PR | 20070619 | ||
2 | ![]() |
ES_PROXY_OUTPUT | Call by reference | Type reference (TYPE) | SDEMO_PRODUCT_BY_ID_RESP_MSG | ProductByIDResponse | 20070622 | ||
3 | ![]() |
ET_PRODUCT_NAME | Call by reference | Type reference (TYPE) | SDEMO_PD_NA_TT | List of names (for product) | 20070619 | ||
4 | ![]() |
ET_PRODUCT_WEBRES | Call by reference | Type reference (TYPE) | SDEMO_PD_WR_ALL_TT | List of web resources | 20070620 | ||
5 | ![]() |
ET_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_TT | List of names (for product) | 20070622 | ||
6 | ![]() |
I_PRODUCT_ID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_ID | ProductID | 20070619 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Business partner related exceptions | 20070704 |
History
Last changed by/on | SAP | 20080612 |
SAP Release Created in | 710 |