SAP ABAP Class CL_NWDEMO_LEAN_SERVICE_SO (Services for sales order)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-NWD (Application Component) NetWeaver Demonstration
     S_NWDEMO_MODEL_SALES_ORDER (Package) SAP NetWeaver Demo Model - Sales Order
Properties
Class CL_NWDEMO_LEAN_SERVICE_SO  
Short Description Services for sales order    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_NWDEMO_MODEL_SALES_ORDER   SAP NetWeaver Demo Model - Sales Order 
Created 20070724   SAP 
Last change 20071217   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_LEAN_SERVICE_SO has no interface implemented.
Friends
Class CL_NWDEMO_LEAN_SERVICE_SO has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_TZ_CET Constant Private Type reference (TYPE) TZNZONE 'CET ' Time Zone 20070727
2 GR_BP_SERV Static Attribute Private Object reference (TYPE REF TO) CL_NWDEMO_SERVICE_BP Services for BP 20070727
3 GR_PD_SERV Static Attribute Private Object reference (TYPE REF TO) CL_NWDEMO_SERVICE_PD Services for PD 20070730
4 GR_SO_SERV Static Attribute Private Object reference (TYPE REF TO) CL_NWDEMO_SERVICE_SO Services for sales order 20070724
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20070724
2 GET_COMPANY_NAME_BY_BP_GUID Static method Private Method get company name of business partner by int. key 20070727
3 GET_NAME Static method Private Method get relevant text entry 20070730
4 GET_PD_ATTR Static method Private Method Read product attributes 20070730
5 GET_TEXT Static method Private Method get relevant text entry 20070730
6 READ_SO_BY_BUYER_ID Static method Public Method Read sales order by buyer party id 20070724
7 READ_SO_ITEM_BY_SO_ID Static method Public Method Readt items of sales order 20070724
Events
Class CL_NWDEMO_LEAN_SERVICE_SO has no event.
Types
Class CL_NWDEMO_LEAN_SERVICE_SO has no local type.
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_NWDEMO_LEAN_SERVICE_SO has no parameter.
Method CLASS_CONSTRUCTOR on class CL_NWDEMO_LEAN_SERVICE_SO has no exception.

Method GET_COMPANY_NAME_BY_BP_GUID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PARTNER_GUID Call by reference Type reference (TYPE) GUID_16 GUID in 'RAW' format 20070727
2 Returning R_COMPANY_NAME Value transfer Type reference (TYPE) SDEMO_COMPANY_NAME CompanyName 20070727

Method GET_COMPANY_NAME_BY_BP_GUID on class CL_NWDEMO_LEAN_SERVICE_SO has no exception.

Method GET_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_NAME Call by reference Type reference (TYPE) SDEMO_PD_NA_TT List of names (for product) 20070730
2 Importing I_NAME_GUID Call by reference Type reference (TYPE) GUID_16 GUID in 'RAW' format 20070730
3 Returning R_NAME Value transfer Type reference (TYPE) SDEMO_PRD_NAME Product Name 20070730

Method GET_NAME on class CL_NWDEMO_LEAN_SERVICE_SO has no exception.

Method GET_PD_ATTR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CATEGORY_ID Call by reference Type reference (TYPE) SDEMO_CATEGORY_ID Category ID 20070730
2 Exporting E_DESCRIPTION Call by reference Type reference (TYPE) CHAR255 Description 20070730
3 Exporting E_PRODUCT_NAME Call by reference Type reference (TYPE) SDEMO_PRD_NAME Product name 20070730
4 Exporting E_WEIGHT_MEASURE Call by reference Type reference (TYPE) SDEMO_WEIGHT_MEASURE Gross Weight Measure 20070730
5 Exporting E_WEIGHT_UNIT Call by reference Type reference (TYPE) SDEMO_UNIT_CODE MeasureUnitCode 20070730
6 Importing I_PRODUCT_ID Call by reference Type reference (TYPE) SDEMO_PRODUCT_ID ProductID 20070730

Method GET_PD_ATTR on class CL_NWDEMO_LEAN_SERVICE_SO has no exception.

Method GET_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TEXT Call by reference Type reference (TYPE) SDEMO_TEXT_TT List of text entries 20070730
2 Importing I_TEXT_GUID Call by reference Type reference (TYPE) GUID_16 GUID in 'RAW' format 20070730
3 Returning R_TEXT Value transfer Type reference (TYPE) CHAR255 Char255 20070730

Method GET_TEXT on class CL_NWDEMO_LEAN_SERVICE_SO has no exception.

Method READ_SO_BY_BUYER_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SO_BUYER_ID Call by reference Type reference (TYPE) SDEMO_BUYER_PARTY_ID Buyer Party 20070724
2 Returning RT_SALES_ORDER Value transfer Type reference (TYPE) SDEMO_SO_LEAN_HEADER_TT List of sales orders header data (reduced) 20070724
# Exception Resumable Description Created on
1 CX_NWDEMO_SO Business partner related exceptions 20070724

Method READ_SO_ITEM_BY_SO_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SO_ID Call by reference Type reference (TYPE) SDEMO_SO_ID SalesOrderID 20070724
2 Returning RT_ITEM Value transfer Type reference (TYPE) SDEMO_SO_I_LEAN_TT List of reduced sales order item data 20070724
# Exception Resumable Description Created on
1 CX_NWDEMO_SO Sales order related exceptions 20070724
History
Last changed by/on SAP  20071217 
SAP Release Created in 710