SAP ABAP Class CL_MDG_BS_FND_BP_SERVICES (MDG: Public service methods for BP)
Hierarchy
MDG_FND (Software Component) MDG Foundation
   CA-MDG-APP-BP (Application Component) MDG Business Partner (Central Part)
     MDG_BS_BP_ACCESS (Package) MDG: Business Partner - Mapping to existing persistency
Properties
Class CL_MDG_BS_FND_BP_SERVICES  
Short Description MDG: Public service methods for BP    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MDG_BS_BP_ACCESS   MDG: Business Partner - Mapping to existing persistency 
Created 20110330   SAP 
Last change 20131127   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)
Interfaces
Class CL_MDG_BS_FND_BP_SERVICES has no interface implemented.
Friends
Class CL_MDG_BS_FND_BP_SERVICES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GF_APPLICATION_SWITCH_EHP6 Static Attribute Private Type reference (TYPE) USMD_FLG MDGAF: General Indicator 20110330
2 GF_SWITCH_CHECKED Static Attribute Private Type reference (TYPE) ABAP_BOOL 20110330
3 GT_BP_GROUPS Static Attribute Private See coding 20110609
4 GT_MDG_BS_BP_FLDGRP Static Attribute Private Type reference (TYPE) MDG_BS_BP_FLDGRP_T MDG BP: table type for MDG_BS_BP_FLDGRP 20110330
5 GT_STRUCNAMES Static Attribute Private See coding 20111122
Methods
# Method Level Visibility Method type Description Created on
1 FILTER_BEGRU_LIST_BY_AUTH Static method Public Method Returns authorized authority groups for a user 20110824
2 FILTER_OBJECT_LIST_BY_AUTH Static method Private Method Returns authorized objects for a user 20110824
3 FILTER_ROLE_LIST_BY_AUTH Static method Public Method Returns authorized authority groups for a user 20110825
4 GET_DEFAULT_GROUP_FROM_ID Static method Public Method 20110504
5 GET_FIELDMAPPING_FOR_ENTITY Static method Public Method 20110609
6 GET_PARTNER_DESCRIPTION Static method Public Method Get partner description 20130301
7 GET_STANDARD_INDUSTRY_SYSTEM Static method Public Method Returns the Standard Industry System 20120730
8 GET_STRUCNAMES Static method Public Method Return BAPI-structurenames and fieldmapping for an entity 20110330
9 GET_TAX_JURISDICTION_CODES Static method Public Method Returns Tax Jurisdiction Code(s) for the given address 20120705
10 IS_BP_ID_IN_STAGING Static method Private Method Check if business partner is in staging 20120426
11 IS_NEW_PARTNER Static method Public Method Returns true if the BP does not exist on the database yet 20110404
12 IS_NEW_PARTNER_2 Static method Public Method Is BP new, active or doesn't exist on DB 20120123
13 IS_NUMBER_INTERNAL_FOR_GROUP Static method Public Method 20110609
14 IS_TEMPORARY_BP_ID Static method Private Method 20110504
15 SET_BP_GROUPS Static method Private Method 20110609
Events
Class CL_MDG_BS_FND_BP_SERVICES has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_S_SEL Private See coding 20110824 BEGIN OF gty_s_sel, sign TYPE ddsign, option TYPE ddoption, low TYPE usmd_value, high TYPE usmd_value, END OF gty_s_sel
2 GTY_S_STRUCNAMES Private See coding 20111122 BEGIN OF gty_s_strucnames, entity TYPE usmd_entity, strucnames TYPE mdg_bs_bp_strucnames_t, field_mapping TYPE usmd_ts_map_struc, END OF gty_s_strucnames
3 GTY_S_TAXJURCODE_RESULT Public See coding Structure for Tax Jurisidiction Code search results 20120705 BEGIN OF gty_s_taxjurcode_result, country TYPE land_tax, region TYPE regio, district TYPE ad_city2, city TYPE ad_city1, postal_code TYPE ad_pstcd1, taxjurcode TYPE ad_txjcd, "name like in target stucture! END OF gty_s_taxjurcode_result
4 GTY_S_TAXJURCODE_SEARCH Public See coding Search Parameter for Tax Jurisdiction Code determination 20120705 BEGIN OF gty_s_taxjurcode_search, country TYPE land_tax, region TYPE regio, postal_code TYPE pstlz, district TYPE ort02_bas, city TYPE ort01_gp, END OF gty_s_taxjurcode_search
5 GTY_T_TAXJURCODE_RESULT Public See coding Table for Tax Jurisidiction Code search results 20120705 gty_t_taxjurcode_result TYPE STANDARD TABLE OF gty_s_taxjurcode_result
Method Signatures

Method FILTER_BEGRU_LIST_BY_AUTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_BEGRU Call by reference Type reference (TYPE) WDR_CONTEXT_ATTR_VALUE_LIST All Fixed Values of an Attribute with Texts 20110824
2 Importing IV_ACTVT Call by reference Type reference (TYPE) ACTIV_AUTH Activity 20110824

Method FILTER_BEGRU_LIST_BY_AUTH on class CL_MDG_BS_FND_BP_SERVICES has no exception.

Method FILTER_OBJECT_LIST_BY_AUTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_OBJECT Call by reference Type reference (TYPE) WDR_CONTEXT_ATTR_VALUE_LIST All Fixed Values of an Attribute with Texts 20110824
2 Importing IV_ACTVT Call by reference Type reference (TYPE) ACTIV_AUTH Activity 20110824
3 Importing IV_AUTH_OBJECT Call by reference Type reference (TYPE) XUOBJECT Authorization Object 20110824
4 Importing IV_FIELDNAME Call by reference Type reference (TYPE) FIELDNAME Field Name 20110824

Method FILTER_OBJECT_LIST_BY_AUTH on class CL_MDG_BS_FND_BP_SERVICES has no exception.

Method FILTER_ROLE_LIST_BY_AUTH 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) WDR_CONTEXT_ATTR_VALUE_LIST All Fixed Values of an Attribute with Texts 20110825
2 Importing IV_ACTVT Call by reference Type reference (TYPE) ACTIV_AUTH Activity 20110825

Method FILTER_ROLE_LIST_BY_AUTH on class CL_MDG_BS_FND_BP_SERVICES has no exception.

Method GET_DEFAULT_GROUP_FROM_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT 20110504
2 Importing IV_BP_ID Call by reference Type reference (TYPE) BU_PARTNER 20110504
3 Returning RV_BP_GROUP Value transfer Type reference (TYPE) BU_GROUP 20110504

Method GET_DEFAULT_GROUP_FROM_ID on class CL_MDG_BS_FND_BP_SERVICES has no exception.

Method GET_FIELDMAPPING_FOR_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BP_FLDGRP Call by reference Type reference (TYPE) MDG_BS_BP_FLDGRP_T MDG BP: table type for MDG_BS_BP_FLDGRP 20110609
2 Exporting ET_FIELD_MAPPING_ECC Call by reference Type reference (TYPE) USMD_TS_MAP_STRUC Table for Mapping Long Field Names 20110616
3 Exporting ET_STRUCNAMES_ECC Call by reference Type reference (TYPE) MDG_BS_BP_STRUCNAMES_T Table type for DE BU_BAPISTRC 20110616
4 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20110609
5 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20110609

Method GET_FIELDMAPPING_FOR_ENTITY on class CL_MDG_BS_FND_BP_SERVICES has no exception.

Method GET_PARTNER_DESCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DESCRIPTION Call by reference Type reference (TYPE) BU_DESCRIP Short name of business partner 20130301
2 Exporting EV_DESCR_SHORT Call by reference Type reference (TYPE) SZAD_FIELD-ADDR_SHORT One-line short form of formatted address 20130308
3 Exporting EV_DESCR_WITH_NAME Call by reference Type reference (TYPE) SZAD_FIELD-ADDR_SHORT One-line short form of formatted address 20130308
4 Exporting EV_DESCR_WO_NAME Call by reference Type reference (TYPE) SZAD_FIELD-ADDR_SHORT One-line short form of formatted address 20130308
5 Importing IS_ADRS1 Call by reference Type reference (TYPE) ADRS1 Address format transfer structure (normal address) 20130301
6 Importing IS_ADRS2 Call by reference Type reference (TYPE) ADRS2 Address formatting transfer structure (personal address) 20130301
7 Importing IV_ADDRESS_NUMBER Call by reference Type reference (TYPE) AD_ADDRNUM Address number 20130308
8 Importing IV_ADRTYPE Call by reference Type reference (TYPE) AD_ADRTYPE Address type (1=Organization, 2=Person, 3=Contact person) 20130301
9 Importing IV_PARTNER Call by reference Type reference (TYPE) BU_PARTNER Business Partner Number 20130301

Method GET_PARTNER_DESCRIPTION on class CL_MDG_BS_FND_BP_SERVICES has no exception.

Method GET_STANDARD_INDUSTRY_SYSTEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_INDUSTRY_SYSTEM Value transfer Type reference (TYPE) BU_ISTYPE Industry System 20120730

Method GET_STANDARD_INDUSTRY_SYSTEM on class CL_MDG_BS_FND_BP_SERVICES has no exception.

Method GET_STRUCNAMES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FIELD_MAPPING Call by reference Type reference (TYPE) USMD_TS_MAP_STRUC Mapping table entity/ attribute -> BAPI-struc.name/ field 20110330
2 Exporting ET_STRUCNAMES Call by reference Type reference (TYPE) MDG_BS_BP_STRUCNAMES_T Table of BAPI struc.names associated with entity 20110330
3 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20110330
4 Importing IV_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20110330

Method GET_STRUCNAMES on class CL_MDG_BS_FND_BP_SERVICES has no exception.

Method GET_TAX_JURISDICTION_CODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ERROR Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20120705
2 Exporting ET_TAXJURCODES Call by reference Type reference (TYPE) GTY_T_TAXJURCODE_RESULT Table for Tax Jurisidiction Code search results 20120705
3 Importing IS_SEARCH Call by reference Type reference (TYPE) GTY_S_TAXJURCODE_SEARCH Search Parameter for Tax Jurisdiction Code determination 20120705

Method GET_TAX_JURISDICTION_CODES on class CL_MDG_BS_FND_BP_SERVICES has no exception.

Method IS_BP_ID_IN_STAGING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT 20120426
2 Importing IV_BP_ID Call by reference Type reference (TYPE) BU_PARTNER 20120426
3 Returning RV_IS_IN_STAGING Value transfer Type reference (TYPE) ABAP_BOOL 20120426

Method IS_BP_ID_IN_STAGING on class CL_MDG_BS_FND_BP_SERVICES has no exception.

Method IS_NEW_PARTNER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20110404
2 Importing IV_BP_ID Call by reference Type reference (TYPE) BU_PARTNER 20110504
3 Returning RV_IS_NEW_PARTNER Value transfer Type reference (TYPE) ABAP_BOOL 20110504

Method IS_NEW_PARTNER on class CL_MDG_BS_FND_BP_SERVICES has no exception.

Method IS_NEW_PARTNER_2 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EF_NEW_PARTNER Value transfer Type reference (TYPE) ABAP_BOOL Partner is new 20120123
2 Exporting EF_PARTNER_FOUND_ON_DB Value transfer Type reference (TYPE) ABAP_BOOL Partner is saved 20120123
3 Exporting EF_PARTNER_IN_STAGING Value transfer Type reference (TYPE) ABAP_BOOL Partner is in staging 20120426
4 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20120123
5 Importing IV_BP_ID Call by reference Type reference (TYPE) BU_PARTNER 20120123

Method IS_NEW_PARTNER_2 on class CL_MDG_BS_FND_BP_SERVICES has no exception.

Method IS_NUMBER_INTERNAL_FOR_GROUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BP_GROUP Call by reference Type reference (TYPE) BU_GROUP 20110609
2 Returning RV_IS_INTERNAL Value transfer Type reference (TYPE) ABAP_BOOL 20110609

Method IS_NUMBER_INTERNAL_FOR_GROUP on class CL_MDG_BS_FND_BP_SERVICES has no exception.

Method IS_TEMPORARY_BP_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT 20110504
2 Importing IV_BP_ID Call by reference Type reference (TYPE) BU_PARTNER 20110504
3 Returning RV_IS_TEMPORARY_ID Value transfer Type reference (TYPE) ABAP_BOOL 20110504

Method IS_TEMPORARY_BP_ID on class CL_MDG_BS_FND_BP_SERVICES has no exception.

Method SET_BP_GROUPS Signature

Method SET_BP_GROUPS on class CL_MDG_BS_FND_BP_SERVICES has no parameter.
Method SET_BP_GROUPS on class CL_MDG_BS_FND_BP_SERVICES has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in 731