SAP ABAP Class CL_NWDEMO_SERVICE_BP (Services for BP)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-NWD (Application Component) NetWeaver Demonstration
     S_NWDEMO_MODEL_BUSINESS_P (Package) SAP NetWeaver Demo Model - Business Partner
Properties
Class CL_NWDEMO_SERVICE_BP  
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_BUSINESS_P   SAP NetWeaver Demo Model - Business Partner 
Created 20070615   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_BP has no interface implemented.
Friends
Class CL_NWDEMO_SERVICE_BP 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_ADDR_AGENT Static Attribute Private Object reference (TYPE REF TO) CA_NWDEMO_PERSIST_BP_AD Agent SAP NW Demo Model - bp address persistence class 20070710
3 GR_AGENT Static Attribute Private Object reference (TYPE REF TO) CA_NWDEMO_PERSIST_BP Agent SAP NW Demo Model - bp persistence class 20070702
4 GR_QUERY_MNG Static Attribute Private Object reference (TYPE REF TO) IF_OS_QUERY_MANAGER Object Services Query Manager 20070702
5 GR_QUERY_WITH_ADDR_GUID Static Attribute Private Object reference (TYPE REF TO) IF_OS_QUERY Object Services Query 20070710
6 GR_QUERY_WITH_ADDR_GUID_MULT Static Attribute Private Object reference (TYPE REF TO) IF_OS_QUERY Object Services Query 20070711
7 GR_QUERY_WITH_COUNTRY Static Attribute Private Object reference (TYPE REF TO) IF_OS_QUERY Object Services Query 20070709
8 GR_QUERY_WITH_NAME Static Attribute Private Object reference (TYPE REF TO) IF_OS_QUERY Object Services Query 20070710
9 GR_QUERY_WITH_PARTNER_ID Instance attribute Private Object reference (TYPE REF TO) IF_OS_QUERY Object Services Query 20070702
10 GR_QUERY_WITH_ROLE_CODE Static Attribute Private Object reference (TYPE REF TO) IF_OS_QUERY Object Services Query 20070709
11 MT_MY_PARTNER_ID Static Attribute Private Type reference (TYPE) SDEMO_SO_PARTNER_ID_TT Lst of seller partner IDs 20070730
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_MULT_NAME_QUERY Instance method Private Method Build filter argument for the query by name 20070711
2 BUILD_MULT_ROLE_QUERY Instance method Private Method Build filter argument for the query by role 20070711
3 BUILD_MUTL_COUNTRY_QUERY Instance method Private Method Build filter argument for the query by country 20070711
4 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20070702
5 CREATE_BP Instance method Public Method Create Business Partner 20070615
6 DELETE_ALL Static method Public Method Delete all data from all business partners 20071009
7 DELETE_BP Instance method Public Method Delete Business Partner 20070702
8 DELETE_BP_BY_GUID Instance method Public Method Delete Business Partner by int. key (partner GUID) 20070703
9 DELETE_BP_BY_ID Instance method Public Method Delete Business Partner by ext. key (partner ID) 20070703
10 FILL_BP_DATA Instance method Private Method Fill business partner data 20070620
11 FILL_MULT_RESULT Instance method Private Method Fill multiple results into table 20070709
12 GET_NEXT_BP_ID Static method Public Method Get the next free Business partner ID 20070703
13 GET_OWN_PARTNER_IDS Instance method Public Method Read own partner IDs 20070730
14 MAP_RESULT Instance method Private Method Fill Proxy output structure 20070622
15 QUERY_BP_BY_EXT_KEY Instance method Private Method Query Business partner by ext. key (partner ID) 20070620
16 READ_ALL_BP Instance method Public Method Read all Business Partner 20070702
17 READ_BP Instance method Public Method Read Business Partner 20070702
18 READ_BP_BY_COUNTRY Instance method Public Method Read Business Partner by country 20070709
19 READ_BP_BY_GUID Instance method Public Method Read Business Partner by int. key (partner GUID) 20070619
20 READ_BP_BY_ID Instance method Public Method Read Business Partner by ext. key (partner ID) 20070702
21 READ_BP_BY_NAME Instance method Public Method Read Business Partner by company- and lastname 20070710
22 READ_BP_BY_ROLE Instance method Public Method Read Business Partner by role 20070709
23 READ_BP_HEADER_BY_COUNTRY Instance method Public Method Read Business Partner header data by country 20070718
Events
Class CL_NWDEMO_SERVICE_BP has no event.
Types
Class CL_NWDEMO_SERVICE_BP has no local type.
Method Signatures

Method BUILD_MULT_NAME_QUERY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_NAME Call by reference Type reference (TYPE) SDEMO_BP_NAME_TT List of last names per company 20070724
2 Exporting ETR_PARAMETER Call by reference Type reference (TYPE) OSDREFTAB OS: Table of Data References 20070711

Method BUILD_MULT_NAME_QUERY on class CL_NWDEMO_SERVICE_BP has no exception.

Method BUILD_MULT_ROLE_QUERY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ROLE Call by reference Type reference (TYPE) SDEMO_BP_ROLE_TT List of role info for business partner 20070725
2 Exporting ETR_PARAMETER Call by reference Type reference (TYPE) OSDREFTAB OS: Table of Data References 20070711

Method BUILD_MULT_ROLE_QUERY on class CL_NWDEMO_SERVICE_BP has no exception.

Method BUILD_MUTL_COUNTRY_QUERY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_COUNTRY Call by reference Type reference (TYPE) SDEMO_BP_COUNTRY_TT List of countries 20070725
2 Exporting ETR_PARAMETER Call by reference Type reference (TYPE) OSDREFTAB OS: Table of Data References 20070711

Method BUILD_MUTL_COUNTRY_QUERY on class CL_NWDEMO_SERVICE_BP has no exception.

Method CLASS_CONSTRUCTOR Signature

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

Method CREATE_BP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_PARTNER Call by reference Type reference (TYPE) SDEMO_BP SAP NetWeaver Demo Model - business partner 20070620
2 Changing CT_BP_ADDR Call by reference Type reference (TYPE) SDEMO_BP_AD_NEW_TT List of addresses (ext. key) 20070620
3 Changing CT_BP_EMAIL Call by reference Type reference (TYPE) SDEMO_BP_EM_NEW_TT List of emails (ext. key) 20070620
4 Changing CT_BP_PHONE Call by reference Type reference (TYPE) SDEMO_BP_PH_NEW_TT List of telephone details (ext. key) 20070620
5 Changing CT_BP_ROLE Call by reference Type reference (TYPE) SDEMO_BP_RR_NEW_TT List of role relations (ext. key) 20070620
6 Changing CT_BP_WEB Call by reference Type reference (TYPE) SDEMO_BP_WA_NEW_TT List of web addresses (ext. key) 20070620
7 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
# Exception Resumable Description Created on
1 CX_NWDEMO_BP Business partner related exceptions 20070704

Method DELETE_ALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LANGU Call by reference Type reference (TYPE) SYLANGU SY-LANGU Language Key of Current Text Environment 20071009

Method DELETE_ALL on class CL_NWDEMO_SERVICE_BP has no exception.

Method DELETE_BP 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) SDEMO_BP-PARTNER_GUID Partner Guid (internal key) 20070702
2 Importing I_PARTNER_ID Call by reference Type reference (TYPE) SDEMO_BP-PARTNER_ID Partner Id (external key) 20070702
3 Importing I_PERFORM_COMMIT Call by reference Type reference (TYPE) XFELD CL_NWDEMO_SERVICE=>TRUE Perform COMMIT WORK AND WAIT at end of method 20070702
# Exception Resumable Description Created on
1 CX_NWDEMO_BP Business partner related exceptions 20070704

Method DELETE_BP_BY_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) SDEMO_BP-PARTNER_GUID Partner Guid (internal key) 20070703
2 Importing I_PERFORM_COMMIT Call by reference Type reference (TYPE) XFELD CL_NWDEMO_SERVICE=>TRUE Perform COMMIT WORK AND WAIT at end of method 20070703
# Exception Resumable Description Created on
1 CX_NWDEMO_BP Business partner related exceptions 20070704

Method DELETE_BP_BY_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PARTNER_ID Call by reference Type reference (TYPE) SDEMO_BP-PARTNER_ID Partner Id (external key) 20070703
2 Importing I_PERFORM_COMMIT Call by reference Type reference (TYPE) XFELD CL_NWDEMO_SERVICE=>TRUE Perform COMMIT WORK AND WAIT at end of method 20070703
# Exception Resumable Description Created on
1 CX_NWDEMO_BP Business partner related exceptions 20070704

Method FILL_BP_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_BP Call by reference Type reference (TYPE) SDEMO_BP SAP NetWeaver Demo Model - business partner 20070620
2 Exporting ET_BP_ADDR Call by reference Type reference (TYPE) SDEMO_BP_AD_TT List of addresses 20070620
3 Exporting ET_BP_EMAIL Call by reference Type reference (TYPE) SDEMO_BP_EM_TT List of emails 20070620
4 Exporting ET_BP_PHONE Call by reference Type reference (TYPE) SDEMO_BP_PH_TT List of telephone details 20070620
5 Exporting ET_BP_ROLE Call by reference Type reference (TYPE) SDEMO_BP_RR_TT List of role relations 20070620
6 Exporting ET_BP_WEB Call by reference Type reference (TYPE) SDEMO_BP_WA_TT List of web addresses 20070620
7 Importing IR_BP Call by reference Object reference (TYPE REF TO) CL_NWDEMO_PERSIST_BP SAP NW Demo Model - bp persistence class 20070718
8 Importing I_WITH_ADDR Call by reference Type reference (TYPE) XFELD CL_NWDEMO_SERVICE=>TRUE Get addresses 20070702
9 Importing I_WITH_BP_DATA Call by reference Type reference (TYPE) XFELD CL_NWDEMO_SERVICE=>TRUE Get BP data 20070702
10 Importing I_WITH_EMAIL Call by reference Type reference (TYPE) XFELD CL_NWDEMO_SERVICE=>TRUE Get email 20070702
11 Importing I_WITH_PHONE Call by reference Type reference (TYPE) XFELD CL_NWDEMO_SERVICE=>TRUE Get phone 20070702
12 Importing I_WITH_ROLE Call by reference Type reference (TYPE) XFELD CL_NWDEMO_SERVICE=>TRUE Get roles 20070702
13 Importing I_WITH_WEB Call by reference Type reference (TYPE) XFELD CL_NWDEMO_SERVICE=>TRUE Get web adresses 20070702

Method FILL_BP_DATA on class CL_NWDEMO_SERVICE_BP has no exception.

Method FILL_MULT_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BP Call by reference Type reference (TYPE) SDEMO_BP_ALL_TT List of business partners incl. dependend data 20070709
2 Importing ITR_BP Call by reference Type reference (TYPE) OSREFTAB OS: Table of References 20070709

Method FILL_MULT_RESULT on class CL_NWDEMO_SERVICE_BP has no exception.

Method GET_NEXT_BP_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_PARTNER_ID Value transfer Type reference (TYPE) SDEMO_PARTNER_ID Partner Id 20070703
# Exception Resumable Description Created on
1 CX_NWDEMO_BP Business partner related exceptions 20070704

Method GET_OWN_PARTNER_IDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_PARTNER_ID Value transfer Type reference (TYPE) SDEMO_SO_PARTNER_ID_TT List of partner IDs 20070730

Method GET_OWN_PARTNER_IDS on class CL_NWDEMO_SERVICE_BP 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_BUSINESS_P_BY_ID_R_MSG BusinessPartnerByIDResponse 20070622
2 Importing IS_PARTNER Call by reference Type reference (TYPE) SDEMO_BP Partner data 20070622
3 Importing IT_BP_ADDR Call by reference Type reference (TYPE) SDEMO_BP_AD_TT List of addresses 20070622
4 Importing IT_BP_EMAIL Call by reference Type reference (TYPE) SDEMO_BP_EM_TT List of emails 20070622
5 Importing IT_BP_PHONE Call by reference Type reference (TYPE) SDEMO_BP_PH_TT List of telephone details 20070622
6 Importing IT_BP_ROLE Call by reference Type reference (TYPE) SDEMO_BP_RR_TT List of role relations 20070622
7 Importing IT_BP_WEB Call by reference Type reference (TYPE) SDEMO_BP_WA_TT List of web addresses 20070622

Method MAP_RESULT on class CL_NWDEMO_SERVICE_BP has no exception.

Method QUERY_BP_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 Agent 20070620
2 Importing I_PARTNER_ID Call by reference Type reference (TYPE) SDEMO_BP-PARTNER_ID Partner ID 20070620
3 Returning RT_ENTRY Value transfer Type reference (TYPE) OSREFTAB OS: Table of References 20070620

Method QUERY_BP_BY_EXT_KEY on class CL_NWDEMO_SERVICE_BP has no exception.

Method READ_ALL_BP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BP Call by reference Type reference (TYPE) SDEMO_BP_ALL_TT List of business partners incl. dependend data 20070702
# Exception Resumable Description Created on
1 CX_NWDEMO_BP Business partner related exceptions 20070704

Method READ_BP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_BP Call by reference Object reference (TYPE REF TO) CL_NWDEMO_PERSIST_BP SAP NW Demo Model - bp persistence class 20070718
2 Exporting ES_BP Call by reference Type reference (TYPE) SDEMO_BP SAP NetWeaver Demo Model - business partner 20070702
3 Exporting ES_PROXY_OUTPUT Call by reference Type reference (TYPE) SDEMO_BUSINESS_P_BY_ID_R_MSG BusinessPartnerByIDReponse 20070702
4 Exporting ET_BP_ADDR Call by reference Type reference (TYPE) SDEMO_BP_AD_TT List of addresses 20070702
5 Exporting ET_BP_EMAIL Call by reference Type reference (TYPE) SDEMO_BP_EM_TT List of emails 20070702
6 Exporting ET_BP_PHONE Call by reference Type reference (TYPE) SDEMO_BP_PH_TT List of telephone details 20070702
7 Exporting ET_BP_ROLE Call by reference Type reference (TYPE) SDEMO_BP_RR_TT List of role relations 20070702
8 Exporting ET_BP_WEB Call by reference Type reference (TYPE) SDEMO_BP_WA_TT List of web addresses 20070702
9 Importing I_PARTNER_GUID Call by reference Type reference (TYPE) SDEMO_BP-PARTNER_GUID Partner Guid (internal key) 20070702
10 Importing I_PARTNER_ID Call by reference Type reference (TYPE) SDEMO_BP-PARTNER_ID Partner Id (external key) 20070702
# Exception Resumable Description Created on
1 CX_NWDEMO_BP Business partner related exceptions 20070704

Method READ_BP_BY_COUNTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BP Call by reference Type reference (TYPE) SDEMO_BP_ALL_TT List of business partners incl. dependend data 20070709
2 Importing IT_COUNTRY Call by reference Type reference (TYPE) SDEMO_BP_COUNTRY_TT List of countries 20070710
# Exception Resumable Description Created on
1 CX_NWDEMO_BP Business partner related exceptions 20070709

Method READ_BP_BY_GUID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_BP Call by reference Type reference (TYPE) SDEMO_BP SAP NetWeaver Demo Model - business partner 20070619
2 Exporting ES_PROXY_OUTPUT Call by reference Type reference (TYPE) SDEMO_BUSINESS_P_BY_ID_R_MSG BusinessPartnerByIDReponse 20070622
3 Exporting ET_BP_ADDR Call by reference Type reference (TYPE) SDEMO_BP_AD_TT List of addresses 20070620
4 Exporting ET_BP_EMAIL Call by reference Type reference (TYPE) SDEMO_BP_EM_TT List of emails 20070620
5 Exporting ET_BP_PHONE Call by reference Type reference (TYPE) SDEMO_BP_PH_TT List of telephone details 20070620
6 Exporting ET_BP_ROLE Call by reference Type reference (TYPE) SDEMO_BP_RR_TT List of role relations 20070620
7 Exporting ET_BP_WEB Call by reference Type reference (TYPE) SDEMO_BP_WA_TT List of web addresses 20070620
8 Importing I_PARTNER_GUID Call by reference Type reference (TYPE) SDEMO_BP-PARTNER_GUID GUID in 'RAW' format 20070619
# Exception Resumable Description Created on
1 CX_NWDEMO_BP Business partner related exceptions 20070704

Method READ_BP_BY_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_BP Call by reference Type reference (TYPE) SDEMO_BP SAP NetWeaver Demo Model - business partner 20070702
2 Exporting ES_PROXY_OUTPUT Call by reference Type reference (TYPE) SDEMO_BUSINESS_P_BY_ID_R_MSG BusinessPartnerByIDReponse 20070702
3 Exporting ET_BP_ADDR Call by reference Type reference (TYPE) SDEMO_BP_AD_TT List of addresses 20070702
4 Exporting ET_BP_EMAIL Call by reference Type reference (TYPE) SDEMO_BP_EM_TT List of emails 20070702
5 Exporting ET_BP_PHONE Call by reference Type reference (TYPE) SDEMO_BP_PH_TT List of telephone details 20070702
6 Exporting ET_BP_ROLE Call by reference Type reference (TYPE) SDEMO_BP_RR_TT List of role relations 20070702
7 Exporting ET_BP_WEB Call by reference Type reference (TYPE) SDEMO_BP_WA_TT List of web addresses 20070702
8 Importing I_PARTNER_ID Call by reference Type reference (TYPE) SDEMO_BP-PARTNER_ID Partner ID (ext. key) 20070702
# Exception Resumable Description Created on
1 CX_NWDEMO_BP Business partner related exceptions 20070704

Method READ_BP_BY_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BP Call by reference Type reference (TYPE) SDEMO_BP_ALL_TT List of business partners incl. dependend data 20070710
2 Importing IT_NAME Call by reference Type reference (TYPE) SDEMO_BP_NAME_TT List of last names per company 20070710
# Exception Resumable Description Created on
1 CX_NWDEMO_BP Business partner related exceptions 20070710

Method READ_BP_BY_ROLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BP Call by reference Type reference (TYPE) SDEMO_BP_ALL_TT List of business partners incl. dependend data 20070709
2 Importing IT_ROLE Call by reference Type reference (TYPE) SDEMO_BP_ROLE_TT List of role info for business partner 20070710
# Exception Resumable Description Created on
1 CX_NWDEMO_BP Business partner related exceptions 20070709

Method READ_BP_HEADER_BY_COUNTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BP Call by reference Type reference (TYPE) SDEMO_BP_TT List of business partners 20070718
2 Importing IT_COUNTRY Call by reference Type reference (TYPE) SDEMO_BP_COUNTRY_TT List of countries 20070718
# Exception Resumable Description Created on
1 CX_NWDEMO_BP Business partner related exceptions 20070718
History
Last changed by/on SAP  20080612 
SAP Release Created in 710