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
⤷ 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 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | CL_NWDEMO_SERVICE | 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 | GC_QUERY_METHOD_NAME | Constant | Private | Type reference (TYPE) | STRING | 'IF_OS_CA_PERSISTENCY~GET_PERSISTENT_BY_QUERY' | Name of the query method | 20070702 | |
2 | GR_AGENT | Static Attribute | Private | Object reference (TYPE REF TO) | CA_NWDEMO_PERSIST_PD | Agent SAP NW Demo Model - product persistence class | 20070702 | ||
3 | GR_AGENT_NAME | Static Attribute | Private | Object reference (TYPE REF TO) | CA_NWDEMO_PERSIST_PD_NA | Agent SAP NW Demo Model - product name persistence class | 20080314 | ||
4 | GR_PRNG | Static Attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_RANDOM_INT | Random number generation | 20070919 | ||
5 | GR_QUERY_MNG | Static Attribute | Private | Object reference (TYPE REF TO) | IF_OS_QUERY_MANAGER | Object Services Query Manager | 20070702 | ||
6 | GR_QUERY_WITH_PRODUCT_ID | 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 | CHANGE_PD | Instance method | Public | Method | Change product | 20080124 |
2 | CHANGE_PD_NAME | Instance method | Public | Method | Change name of product | 20080125 |
3 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20070702 |
4 | CREATE_PRODUCT | Instance method | Public | Method | Create product | 20070619 |
5 | CREATE_STOCK | Instance method | Public | Method | create stock quantity for product | 20070918 |
6 | DELETE_ALL | Static method | Public | Method | Delete all data for all products | 20071009 |
7 | DELETE_PRODUCT | Instance method | Public | Method | Delete product by int. or ext. key | 20070702 |
8 | DELETE_PRODUCT_BY_GUID | Instance method | Public | Method | Delete product by int. key (product guid) | 20070703 |
9 | DELETE_PRODUCT_BY_ID | Instance method | Public | Method | Delete product by ext. key (product ID) | 20070703 |
10 | FILL_PRODUCT_DATA | Instance method | Private | Method | Fill the data of the product reference | 20070620 |
11 | MAP_RESULT | Instance method | Private | Method | Fill the proxy output structure | 20070622 |
12 | QUERY_PRODUCT_BY_EXT_KEY | Instance method | Private | Method | Query product by ext. key (product ID) | 20070619 |
13 | READ_ALL_PRODUCTS | Instance method | Public | Method | Read all products | 20070702 |
14 | READ_PRODUCT | Instance method | Public | Method | Read poduct by int. or ext. key | 20070702 |
15 | READ_PRODUCT_BY_GUID | Instance method | Public | Method | Read poduct by int. key (product guid) | 20070619 |
16 | READ_PRODUCT_BY_ID | 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 | Changing | CS_PRODUCT | Call by reference | Type reference (TYPE) | SDEMO_PD_WITH_PR_CHG | Change: product data incl. price | 20080124 | ||
2 | Changing | CT_PD_NAME | Call by reference | Type reference (TYPE) | SDEMO_PD_NA_CHG_TT | Table type of structure SDEMO_PD_NA_CHG | 20080125 | ||
3 | Changing | CT_PD_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_CHG_TT | Change: List of text entries | 20080124 | ||
4 | Importing | I_PERFORM_COMMIT | Call by reference | Type reference (TYPE) | XFELD | CL_NWDEMO_SERVICE=>TRUE | Checkbox | 20080124 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_NWDEMO_PD | Product related exceptions | 20080124 |
Method CHANGE_PD_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IR_PD | Call by reference | Object reference (TYPE REF TO) | CL_NWDEMO_PERSIST_PD | SAP NW Demo Model - product persistence class | 20080314 | ||
2 | Importing | 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 | Changing | CS_PRODUCT | Call by reference | Type reference (TYPE) | SDEMO_PD_WITH_PRICE | Product data inklunding attribut fields from SDEMO_PD_PR | 20070619 | ||
2 | Changing | CT_PRODUCT_NAME | Call by reference | Type reference (TYPE) | SDEMO_PD_NA_NEW_TT | List of product names (ext. key) | 20070619 | ||
3 | Changing | CT_PRODUCT_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_NEW_TT | List of text entries (ext. key) | 20070620 | ||
4 | Changing | CT_PRODUCT_WEBRES | Call by reference | Type reference (TYPE) | SDEMO_PD_WR_ALL_TT | List of product web resources (ext. key) | 20070620 | ||
5 | Importing | 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 | CX_NWDEMO_PD | Product related exceptions | 20070704 |
Method CREATE_STOCK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | 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 | Importing | 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 | Changing | I_PRODUCT_GUID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_GUID | product GUID (internal key) | 20070702 | ||
3 | Changing | I_PRODUCT_ID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_ID | ProductID (external key) | 20070702 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_NWDEMO_PD | 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 | Importing | 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 | Changing | I_PRODUCT_GUID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_GUID | product GUID (internal key) | 20070703 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_NWDEMO_PD | 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 | Importing | 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 | Changing | I_PRODUCT_ID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_ID | ProductID (external key) | 20070703 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_NWDEMO_PD | 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 | Exporting | ES_PRODUCT | Call by reference | Type reference (TYPE) | SDEMO_PD_WITH_PRICE | Product data inklunding attribut fields from SDEMO_PD_PR | 20070620 | ||
2 | Exporting | ET_PRODUCT_NAME | Call by reference | Type reference (TYPE) | SDEMO_PD_NA_TT | List of names (for product) | 20070620 | ||
3 | Exporting | ET_PRODUCT_WEBRES | Call by reference | Type reference (TYPE) | SDEMO_PD_WR_ALL_TT | List of web resources | 20070620 | ||
4 | Exporting | ET_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_TT | SAP NetWeaver Demo Model - Text | 20070622 | ||
5 | Importing | IR_PRODUCT | Call by reference | Object reference (TYPE REF TO) | CL_NWDEMO_PERSIST_PD | SAP NW Demo Model - product persistence class | 20070718 | ||
6 | Importing | I_WITH_NAME | Call by reference | Type reference (TYPE) | XFELD | CL_NWDEMO_SERVICE=>TRUE | Get names | 20070702 | |
7 | Importing | I_WITH_PRODUCT_DATA | Call by reference | Type reference (TYPE) | XFELD | CL_NWDEMO_SERVICE=>TRUE | Get product data | 20070702 | |
8 | Importing | I_WITH_TEXT | Call by reference | Type reference (TYPE) | XFELD | CL_NWDEMO_SERVICE=>TRUE | Get text | 20070702 | |
9 | Importing | 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 | Exporting | ES_OUTPUT | Call by reference | Type reference (TYPE) | SDEMO_PRODUCT_BY_ID_RESP_MSG | ProductByIDResponse | 20070622 | ||
2 | Importing | IS_PRODUCT | Call by reference | Type reference (TYPE) | SDEMO_PD_WITH_PRICE | Product data inklunding attribut fields from SDEMO_PD_PR | 20070622 | ||
3 | Importing | IT_PRODUCT_NAME | Call by reference | Type reference (TYPE) | SDEMO_PD_NA_TT | List of names (for product) | 20070622 | ||
4 | Importing | IT_PRODUCT_WEBRES | Call by reference | Type reference (TYPE) | SDEMO_PD_WR_ALL_TT | List of web resources | 20070622 | ||
5 | Importing | IT_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_TT | SAP NetWeaver Demo Model - Text | 20070622 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | PRODUCT_DOES_NOT_EXIST | 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 | Importing | I_AGENT | Call by reference | Object reference (TYPE REF TO) | OBJECT | Object Type Name | 20070620 | ||
2 | Importing | I_PRODUCT_ID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_ID | ProductID | 20070620 | ||
3 | Returning | 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 | Exporting | 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 | CX_NWDEMO_PD | Business partner related exceptions | 20070704 |
Method READ_PRODUCT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ER_PD | Call by reference | Object reference (TYPE REF TO) | CL_NWDEMO_PERSIST_PD | SAP NW Demo Model - product persistence class | 20070718 | ||
2 | Exporting | ES_PRODUCT | Call by reference | Type reference (TYPE) | SDEMO_PD_WITH_PRICE | Product data inklunding attribut fields from SDEMO_PD_PR | 20070702 | ||
3 | Exporting | ES_PROXY_OUTPUT | Call by reference | Type reference (TYPE) | SDEMO_PRODUCT_BY_ID_RESP_MSG | ProductByIDResponse | 20070702 | ||
4 | Exporting | ET_PRODUCT_NAME | Call by reference | Type reference (TYPE) | SDEMO_PD_NA_TT | List of names (for product) | 20070702 | ||
5 | Exporting | ET_PRODUCT_WEBRES | Call by reference | Type reference (TYPE) | SDEMO_PD_WR_ALL_TT | List of web resources | 20070702 | ||
6 | Exporting | ET_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_TT | List of names (for product) | 20070702 | ||
7 | Importing | I_PRODUCT_GUID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_GUID | Product Guid (internal key) | 20070702 | ||
8 | Importing | I_PRODUCT_ID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_ID | ProductID (external key) | 20070702 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_NWDEMO_PD | 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 | Exporting | ES_PRODUCT | Call by reference | Type reference (TYPE) | SDEMO_PD_WITH_PRICE | Product data including attribut fields from SDEMO_PD_PR | 20070619 | ||
2 | Exporting | ES_PROXY_OUTPUT | Call by reference | Type reference (TYPE) | SDEMO_PRODUCT_BY_ID_RESP_MSG | ProductByIDResponse | 20070622 | ||
3 | Exporting | ET_PRODUCT_NAME | Call by reference | Type reference (TYPE) | SDEMO_PD_NA_TT | List of names (for product) | 20070619 | ||
4 | Exporting | ET_PRODUCT_WEBRES | Call by reference | Type reference (TYPE) | SDEMO_PD_WR_ALL_TT | List of web resources (for product) | 20070620 | ||
5 | Exporting | ET_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_TT | SAP NetWeaver Demo Model - Text | 20070622 | ||
6 | Importing | I_PRODUCT_GUID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_GUID | GUID in 'RAW' format | 20070619 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_NWDEMO_PD | 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 | Exporting | ES_PRODUCT | Call by reference | Type reference (TYPE) | SDEMO_PD_WITH_PRICE | Product data inklunding attribut fields from SDEMO_PD_PR | 20070619 | ||
2 | Exporting | ES_PROXY_OUTPUT | Call by reference | Type reference (TYPE) | SDEMO_PRODUCT_BY_ID_RESP_MSG | ProductByIDResponse | 20070622 | ||
3 | Exporting | ET_PRODUCT_NAME | Call by reference | Type reference (TYPE) | SDEMO_PD_NA_TT | List of names (for product) | 20070619 | ||
4 | Exporting | ET_PRODUCT_WEBRES | Call by reference | Type reference (TYPE) | SDEMO_PD_WR_ALL_TT | List of web resources | 20070620 | ||
5 | Exporting | ET_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_TT | List of names (for product) | 20070622 | ||
6 | Importing | I_PRODUCT_ID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_ID | ProductID | 20070619 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_NWDEMO_PD | Business partner related exceptions | 20070704 |
History
Last changed by/on | SAP | 20080612 |
SAP Release Created in | 710 |