SAP ABAP Class CL_NWDEMO_SERVICE_PO (Services for purchase order)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-NWD (Application Component) NetWeaver Demonstration
⤷
S_NWDEMO_MODEL_PURCHASE_ORDER (Package) SAP NetWeaver Demo Model - Purchase Order

⤷

⤷

Properties
Class | CL_NWDEMO_SERVICE_PO | |
Short Description | Services for purchase order | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | S_NWDEMO_MODEL_PURCHASE_ORDER | SAP NetWeaver Demo Model - Purchase Order |
Created | 20071029 | 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_PO has no interface implemented.
Friends
Class CL_NWDEMO_SERVICE_PO 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 | 20071029 | |
2 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CA_NWDEMO_PERSIST_PO | Agent SAP NW Demo Model - po persistence class | 20071029 | ||
3 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CL_NWDEMO_SERVICE_BP | Services for BP | 20071029 | ||
4 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CA_NWDEMO_PERSIST_PO_I | Agent SAP NetWeaver Demo Model - Purch Order Item persistenc | 20071106 | ||
5 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | IF_OS_QUERY_MANAGER | Object Services Query Manager | 20071029 | ||
6 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | IF_OS_QUERY | Object Services Query | 20071029 | ||
7 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | IF_OS_QUERY | Object Services Query | 20071029 | ||
8 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | IF_OS_QUERY | Object Services Query | 20071106 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Private | Method | Build filter argument for the query by name | 20071029 |
2 | ![]() |
Instance method | Public | Method | Change purchase order | 20071106 |
3 | ![]() |
Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20071029 |
4 | ![]() |
Instance method | Public | Method | Create purchase order | 20071029 |
5 | ![]() |
Static method | Public | Method | Delete all data of all purchase orders | 20071029 |
6 | ![]() |
Instance method | Public | Method | Delete purchase order | 20071029 |
7 | ![]() |
Instance method | Public | Method | Delete purchase order by int. key (GUID) | 20071029 |
8 | ![]() |
Instance method | Public | Method | Delete purchase order by ext. key (ID) | 20071029 |
9 | ![]() |
Instance method | Private | Method | Fill multiple results into table | 20071029 |
10 | ![]() |
Instance method | Private | Method | Fill purchase order data | 20071029 |
11 | ![]() |
Instance method | Private | Method | Get partner guid by product id | 20071029 |
12 | ![]() |
Static method | Public | Method | Get the next free purchase order ID | 20071029 |
13 | ![]() |
Instance method | Private | Method | Get product guid by product id | 20071029 |
14 | ![]() |
Instance method | Public | Method | Purchase order mapping of proxy input | 20080312 |
15 | ![]() |
Instance method | Private | Method | Fill Proxy output structure | 20071029 |
16 | ![]() |
Instance method | Private | Method | Query purchase order by ext. key (partner ID) | 20071029 |
17 | ![]() |
Instance method | Private | Method | Query purchase order by ext. key (partner ID) | 20071106 |
18 | ![]() |
Instance method | Public | Method | Read all purchase orders | 20071029 |
19 | ![]() |
Instance method | Public | Method | Read purchase order | 20071029 |
20 | ![]() |
Instance method | Public | Method | Read purchase order by buyer party id | 20071029 |
21 | ![]() |
Instance method | Public | Method | Read purchase order by int. key (GUID) | 20071029 |
22 | ![]() |
Instance method | Public | Method | Read purchase order by ext. key (ID) | 20071029 |
Events
Class CL_NWDEMO_SERVICE_PO has no event.
Types
Class CL_NWDEMO_SERVICE_PO has no local type.
Method Signatures
Method BUILD_QUERY_BY_BUYER_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_SELLER_ID | Call by reference | Type reference (TYPE) | SDEMO_PO_SELLER_ID_TT | Lst of seller partner IDs | 20071029 | ||
2 | ![]() |
C_BUYER_ID | Call by reference | Type reference (TYPE) | SDEMO_PARTNER_ID | Partner Id | 20071029 | ||
3 | ![]() |
ETR_PARAMETER | Call by reference | Type reference (TYPE) | OSDREFTAB | OS: Table of Data References | 20071029 |
Method BUILD_QUERY_BY_BUYER_ID on class CL_NWDEMO_SERVICE_PO has no exception.
Method CHANGE_PO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_PURCH_ORDER | Call by reference | Type reference (TYPE) | SDEMO_PO_WITH_ST | Purchase order data incl. status information | 20071106 | ||
2 | ![]() |
CT_PO_ITEM | Call by reference | Type reference (TYPE) | SDEMO_PO_ITEM_ALL_NEW_TT | List of purch order items with dep. data, sorted by ext key | 20071106 | ||
3 | ![]() |
CT_PO_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_NEW_TT | List of text entries (ext. key) | 20071106 | ||
4 | ![]() |
IS_ITEM_XFLAG | Call by reference | Type reference (TYPE) | SDEMO_PO_I_XFLAG | Change flags for purch order item data incl. status info | 20071106 | ||
5 | ![]() |
IS_PURCH_ORDER_XFLAG | Call by reference | Type reference (TYPE) | SDEMO_PO_WITH_ST_XFLAG | Change flags for purch order data incl. status information | 20071106 | ||
6 | ![]() |
I_PERFORM_COMMIT | Call by reference | Type reference (TYPE) | XFELD | CL_NWDEMO_SERVICE=>TRUE | Performe COMMIT WORK AND WAIT at end of method | 20071106 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Business partner related exceptions | 20071106 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_NWDEMO_SERVICE_PO has no parameter.
Method CLASS_CONSTRUCTOR on class CL_NWDEMO_SERVICE_PO has no exception.
Method CREATE_PO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_PURCH_ORDER | Call by reference | Type reference (TYPE) | SDEMO_PO_WITH_ST | SAP NetWeaver Demo Model - purchase_order with status info | 20071029 | ||
2 | ![]() |
CT_PO_ITEM | Call by reference | Type reference (TYPE) | SDEMO_PO_ITEM_ALL_NEW_TT | List of purchase order items with dep. data | 20071029 | ||
3 | ![]() |
CT_PO_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_NEW_TT | List of text entries (ext. key) | 20071029 | ||
4 | ![]() |
I_PERFORM_COMMIT | Call by reference | Type reference (TYPE) | XFELD | CL_NWDEMO_SERVICE=>TRUE | Performe COMMIT WORK AND WAIT at end of method | 20071029 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Business partner related exceptions | 20071031 |
Method DELETE_ALL Signature
Method DELETE_ALL on class CL_NWDEMO_SERVICE_PO has no parameter.
Method DELETE_ALL on class CL_NWDEMO_SERVICE_PO has no exception.
Method DELETE_PO 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 | Perform COMMIT WORK AND WAIT at end of method | 20071029 | |
2 | ![]() |
I_PO_GUID | Call by reference | Type reference (TYPE) | SDEMO_PO-GUID | Pürchase order Guid (internal key) | 20071029 | ||
3 | ![]() |
I_PO_ID | Call by reference | Type reference (TYPE) | SDEMO_PO-ID | Pürchase order Id (external key) | 20071029 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20071031 |
Method DELETE_PO_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 | Perform COMMIT WORK AND WAIT at end of method | 20071029 | |
2 | ![]() |
I_PO_GUID | Call by reference | Type reference (TYPE) | SDEMO_PO-GUID | Pürchase order GUID (internal key) | 20071029 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Business partner related exceptions | 20071029 |
Method DELETE_PO_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 | Perform COMMIT WORK AND WAIT at end of method | 20071029 | |
2 | ![]() |
I_PO_ID | Call by reference | Type reference (TYPE) | SDEMO_PO-ID | Pürchase order ID (external key) | 20071029 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20071031 |
Method FILL_MULT_RESULT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_PO | Call by reference | Type reference (TYPE) | SDEMO_PO_ALL_TT | List of purchase orders incl. dependend data | 20071029 | ||
2 | ![]() |
ITR_PO | Call by reference | Type reference (TYPE) | OSREFTAB | OS: Table of References | 20071029 |
Method FILL_MULT_RESULT on class CL_NWDEMO_SERVICE_PO has no exception.
Method FILL_PO_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_PURCH_ORDER | Call by reference | Type reference (TYPE) | SDEMO_PO_WITH_ST | Purchase order data incl. status information | 20071029 | ||
2 | ![]() |
ET_PO_ITEM | Call by reference | Type reference (TYPE) | SDEMO_PO_ITEM_ALL_TT | List of Purchase order items with dep. data | 20071029 | ||
3 | ![]() |
ET_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_TT | List of text entries | 20071029 | ||
4 | ![]() |
IR_PO | Call by reference | Object reference (TYPE REF TO) | CL_NWDEMO_PERSIST_PO | SAP NW Demo Model - po persistence class | 20071029 | ||
5 | ![]() |
I_WITH_PO_DATA | Call by reference | Type reference (TYPE) | XFELD | CL_NWDEMO_SERVICE=>TRUE | Get Purchase order data | 20071029 | |
6 | ![]() |
I_WITH_PO_ITEM | Call by reference | Type reference (TYPE) | XFELD | CL_NWDEMO_SERVICE=>TRUE | Get Purchase order items | 20071029 |
Method FILL_PO_DATA on class CL_NWDEMO_SERVICE_PO has no exception.
Method GET_BP_GUID_BY_ID 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_BP-PARTNER_ID | Partner ID | 20071029 | ||
2 | ![]() |
R_PARTNER_GUID | Value transfer | Type reference (TYPE) | SDEMO_BP-PARTNER_GUID | Partner Guid | 20071029 |
Method GET_BP_GUID_BY_ID on class CL_NWDEMO_SERVICE_PO has no exception.
Method GET_NEXT_PO_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
R_PO_ID | Value transfer | Type reference (TYPE) | SDEMO_PO-ID | PurchaseOrderID | 20071031 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Business partner related exceptions | 20071031 |
Method GET_PD_GUID_BY_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_PRODUCT_ID | Call by reference | Type reference (TYPE) | SDEMO_PD-PRODUCT_ID | ProductID | 20071029 | ||
2 | ![]() |
R_PRODUCT_GUID | Value transfer | Type reference (TYPE) | SDEMO_PD-PRODUCT_GUID | Product Guid | 20071029 |
Method GET_PD_GUID_BY_ID on class CL_NWDEMO_SERVICE_PO has no exception.
Method MAP_PO_PROXY_INPUT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_PO | Call by reference | Type reference (TYPE) | SDEMO_PO_WITH_ST | Purchase order data incl. status information | 20080312 | ||
2 | ![]() |
ET_ITEM | Call by reference | Type reference (TYPE) | SDEMO_PO_ITEM_ALL_NEW_TT | List of purch order items with dep. data, sorted by ext key | 20080312 | ||
3 | ![]() |
ET_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_NEW_TT | List of text entries (ext. key) | 20080312 | ||
4 | ![]() |
IS_INPUT | Call by reference | Type reference (TYPE) | SDEMO_PO_CREATE_REQUEST_PO | Proxy Structure (generated) | 20080312 |
Method MAP_PO_PROXY_INPUT on class CL_NWDEMO_SERVICE_PO has no exception.
Method MAP_PO_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_PURCHASE_O_BY_ID_RES_PO | PurchaseOrderByIDResponse | 20071029 | ||
2 | ![]() |
IS_PURCH_ORDER | Call by reference | Type reference (TYPE) | SDEMO_PO_ALL | Purchase order including attribut fields from SDEMO_SO_ST | 20071031 |
Method MAP_PO_RESULT on class CL_NWDEMO_SERVICE_PO has no exception.
Method QUERY_PO_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 | Agent | 20071029 | ||
2 | ![]() |
I_PO_ID | Call by reference | Type reference (TYPE) | SDEMO_PO-ID | Purchase Order ID | 20071029 | ||
3 | ![]() |
RT_ENTRY | Value transfer | Type reference (TYPE) | OSREFTAB | OS: Table of References | 20071029 |
Method QUERY_PO_BY_EXT_KEY on class CL_NWDEMO_SERVICE_PO has no exception.
Method QUERY_PO_ITEM_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 | Agent | 20071106 | ||
2 | ![]() |
I_PO_GUID | Call by reference | Type reference (TYPE) | SDEMO_PO-GUID | Purchase Order GUID (Int. key) | 20071106 | ||
3 | ![]() |
I_PO_ITEM_ID | Call by reference | Type reference (TYPE) | SDEMO_PO_I-ID | Purchase Order Item ID | 20071106 | ||
4 | ![]() |
RT_ENTRY | Value transfer | Type reference (TYPE) | OSREFTAB | OS: Table of References | 20071106 |
Method QUERY_PO_ITEM_BY_EXT_KEY on class CL_NWDEMO_SERVICE_PO has no exception.
Method READ_ALL_PO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_PURCH_ORDER | Call by reference | Type reference (TYPE) | SDEMO_PO_ALL_TT | List of purchase orders with dependend data | 20071029 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20071031 |
Method READ_PO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_BY_PO_ID_OUTPUT | Call by reference | Type reference (TYPE) | SDEMO_PURCHASE_O_BY_ID_RES_PO | Proxy Structure (generated) | 20080430 | ||
2 | ![]() |
ET_PURCH_ORDER | Call by reference | Type reference (TYPE) | SDEMO_PO_ALL_TT | List of purchase orders with dependend data | 20071029 | ||
3 | ![]() |
I_PO_BUYER_ID | Call by reference | Type reference (TYPE) | SDEMO_PO-BUYER_PARTY_ID | BuyerParty | 20071029 | ||
4 | ![]() |
I_PO_GUID | Call by reference | Type reference (TYPE) | SDEMO_PO-GUID | Sales order Guid (internal key) | 20071029 | ||
5 | ![]() |
I_PO_ID | Call by reference | Type reference (TYPE) | SDEMO_PO-ID | Sales order Id (external key) | 20071029 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20071031 |
Method READ_PO_BY_BUYER_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_PROXY_OUTPUT | Call by reference | Type reference (TYPE) | ANY | PurchaseOrderByIDReponse | 20071029 | ||
2 | ![]() |
ET_PURCH_ORDER | Call by reference | Type reference (TYPE) | SDEMO_PO_ALL_TT | List of Purchase orders with dependend data | 20071029 | ||
3 | ![]() |
I_PO_BUYER_ID | Call by reference | Type reference (TYPE) | SDEMO_BUYER_PARTY_ID | Buyer Party | 20071029 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20071031 |
Method READ_PO_BY_GUID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_PROXY_OUTPUT | Call by reference | Type reference (TYPE) | ANY | SalesOrderByIDReponse | 20071029 | ||
2 | ![]() |
ES_PURCH_ORDER | Call by reference | Type reference (TYPE) | SDEMO_PO_WITH_ST | Purchase order data incl. status information | 20071029 | ||
3 | ![]() |
ET_PO_ITEM | Call by reference | Type reference (TYPE) | SDEMO_PO_ITEM_ALL_TT | List of addressesList of Purchase order items with dep. data | 20071029 | ||
4 | ![]() |
ET_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_TT | List of text entries | 20071029 | ||
5 | ![]() |
I_PO_GUID | Call by reference | Type reference (TYPE) | SDEMO_PO-GUID | GUID in 'RAW' format | 20071029 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20071031 |
Method READ_PO_BY_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_PROXY_OUTPUT | Call by reference | Type reference (TYPE) | ANY | PurchaseOrderByIDReponse | 20071029 | ||
2 | ![]() |
ES_PURCH_ORDER | Call by reference | Type reference (TYPE) | SDEMO_PO_WITH_ST | Purchase order data incl. status information | 20071029 | ||
3 | ![]() |
ET_PO_ITEM | Call by reference | Type reference (TYPE) | SDEMO_PO_ITEM_ALL_TT | List of addressesList of purchase order items with dep. data | 20071029 | ||
4 | ![]() |
ET_TEXT | Call by reference | Type reference (TYPE) | SDEMO_TEXT_TT | List of text entries | 20071029 | ||
5 | ![]() |
I_PO_ID | Call by reference | Type reference (TYPE) | SDEMO_PO-ID | Purchase Order ID | 20071029 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20071031 |
History
Last changed by/on | SAP | 20080612 |
SAP Release Created in | 711 |