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 | 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 | Static Attribute | Private | Type reference (TYPE) | USMD_FLG | MDGAF: General Indicator | 20110330 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20110330 | ||||
| 3 | Static Attribute | Private | See coding | 20110609 | |||||
| 4 | Static Attribute | Private | Type reference (TYPE) | MDG_BS_BP_FLDGRP_T | MDG BP: table type for MDG_BS_BP_FLDGRP | 20110330 | |||
| 5 | Static Attribute | Private | See coding | 20111122 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Returns authorized authority groups for a user | 20110824 | |
| 2 | Static method | Private | Method | Returns authorized objects for a user | 20110824 | |
| 3 | Static method | Public | Method | Returns authorized authority groups for a user | 20110825 | |
| 4 | Static method | Public | Method | 20110504 | ||
| 5 | Static method | Public | Method | 20110609 | ||
| 6 | Static method | Public | Method | Get partner description | 20130301 | |
| 7 | Static method | Public | Method | Returns the Standard Industry System | 20120730 | |
| 8 | Static method | Public | Method | Return BAPI-structurenames and fieldmapping for an entity | 20110330 | |
| 9 | Static method | Public | Method | Returns Tax Jurisdiction Code(s) for the given address | 20120705 | |
| 10 | Static method | Private | Method | Check if business partner is in staging | 20120426 | |
| 11 | Static method | Public | Method | Returns true if the BP does not exist on the database yet | 20110404 | |
| 12 | Static method | Public | Method | Is BP new, active or doesn't exist on DB | 20120123 | |
| 13 | Static method | Public | Method | 20110609 | ||
| 14 | Static method | Private | Method | 20110504 | ||
| 15 | 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 | CT_BEGRU | Call by reference | Type reference (TYPE) | WDR_CONTEXT_ATTR_VALUE_LIST | All Fixed Values of an Attribute with Texts | 20110824 | |||
| 2 | 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 | CT_OBJECT | Call by reference | Type reference (TYPE) | WDR_CONTEXT_ATTR_VALUE_LIST | All Fixed Values of an Attribute with Texts | 20110824 | |||
| 2 | IV_ACTVT | Call by reference | Type reference (TYPE) | ACTIV_AUTH | Activity | 20110824 | |||
| 3 | IV_AUTH_OBJECT | Call by reference | Type reference (TYPE) | XUOBJECT | Authorization Object | 20110824 | |||
| 4 | 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 | CT_ROLE | Call by reference | Type reference (TYPE) | WDR_CONTEXT_ATTR_VALUE_LIST | All Fixed Values of an Attribute with Texts | 20110825 | |||
| 2 | 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 | IO_MODEL | Call by reference | Object reference (TYPE REF TO) | IF_USMD_MODEL_EXT | 20110504 | ||||
| 2 | IV_BP_ID | Call by reference | Type reference (TYPE) | BU_PARTNER | 20110504 | ||||
| 3 | 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 | 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 | ET_FIELD_MAPPING_ECC | Call by reference | Type reference (TYPE) | USMD_TS_MAP_STRUC | Table for Mapping Long Field Names | 20110616 | |||
| 3 | ET_STRUCNAMES_ECC | Call by reference | Type reference (TYPE) | MDG_BS_BP_STRUCNAMES_T | Table type for DE BU_BAPISTRC | 20110616 | |||
| 4 | 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 | 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 | EV_DESCRIPTION | Call by reference | Type reference (TYPE) | BU_DESCRIP | Short name of business partner | 20130301 | |||
| 2 | EV_DESCR_SHORT | Call by reference | Type reference (TYPE) | SZAD_FIELD-ADDR_SHORT | One-line short form of formatted address | 20130308 | |||
| 3 | EV_DESCR_WITH_NAME | Call by reference | Type reference (TYPE) | SZAD_FIELD-ADDR_SHORT | One-line short form of formatted address | 20130308 | |||
| 4 | EV_DESCR_WO_NAME | Call by reference | Type reference (TYPE) | SZAD_FIELD-ADDR_SHORT | One-line short form of formatted address | 20130308 | |||
| 5 | IS_ADRS1 | Call by reference | Type reference (TYPE) | ADRS1 | Address format transfer structure (normal address) | 20130301 | |||
| 6 | IS_ADRS2 | Call by reference | Type reference (TYPE) | ADRS2 | Address formatting transfer structure (personal address) | 20130301 | |||
| 7 | IV_ADDRESS_NUMBER | Call by reference | Type reference (TYPE) | AD_ADDRNUM | Address number | 20130308 | |||
| 8 | IV_ADRTYPE | Call by reference | Type reference (TYPE) | AD_ADRTYPE | Address type (1=Organization, 2=Person, 3=Contact person) | 20130301 | |||
| 9 | 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 | 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 | ET_FIELD_MAPPING | Call by reference | Type reference (TYPE) | USMD_TS_MAP_STRUC | Mapping table entity/ attribute -> BAPI-struc.name/ field | 20110330 | |||
| 2 | ET_STRUCNAMES | Call by reference | Type reference (TYPE) | MDG_BS_BP_STRUCNAMES_T | Table of BAPI struc.names associated with entity | 20110330 | |||
| 3 | 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 | 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 | ES_ERROR | Call by reference | Type reference (TYPE) | BAPIRET2 | Return Parameter | 20120705 | |||
| 2 | ET_TAXJURCODES | Call by reference | Type reference (TYPE) | GTY_T_TAXJURCODE_RESULT | Table for Tax Jurisidiction Code search results | 20120705 | |||
| 3 | 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 | IO_MODEL | Call by reference | Object reference (TYPE REF TO) | IF_USMD_MODEL_EXT | 20120426 | ||||
| 2 | IV_BP_ID | Call by reference | Type reference (TYPE) | BU_PARTNER | 20120426 | ||||
| 3 | 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 | 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 | IV_BP_ID | Call by reference | Type reference (TYPE) | BU_PARTNER | 20110504 | ||||
| 3 | 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 | EF_NEW_PARTNER | Value transfer | Type reference (TYPE) | ABAP_BOOL | Partner is new | 20120123 | |||
| 2 | EF_PARTNER_FOUND_ON_DB | Value transfer | Type reference (TYPE) | ABAP_BOOL | Partner is saved | 20120123 | |||
| 3 | EF_PARTNER_IN_STAGING | Value transfer | Type reference (TYPE) | ABAP_BOOL | Partner is in staging | 20120426 | |||
| 4 | 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 | 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 | IV_BP_GROUP | Call by reference | Type reference (TYPE) | BU_GROUP | 20110609 | ||||
| 2 | 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 | IO_MODEL | Call by reference | Object reference (TYPE REF TO) | IF_USMD_MODEL_EXT | 20110504 | ||||
| 2 | IV_BP_ID | Call by reference | Type reference (TYPE) | BU_PARTNER | 20110504 | ||||
| 3 | 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 |