SAP ABAP IMG Activity SMI_BDI_COUNTRY_MAP (BAdI: Map Country Name to Country Code)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   CA-EPT-SMI (Application Component) Social Media Intelligence Foundation
     BS_SOMI_DATA_MODELS (Package) Datta Models for Social Media Intelligence
IMG Activity
ID SMI_BDI_COUNTRY_MAP BAdI: Map Country Name to Country Code  
Transaction Code S_B17_86000041   IMG Activity 
Created on 20131113    
Customizing Attributes SMI_BDI_COUNTRY_MAP   BAdI: Map Country Name to Country Code 
Customizing Activity SMI_BDI_COUNTRY_MAP   BAdI: Map Country Name to Country Code 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SMI_BDI_COUNTRY_MAP    

Use

The Business Add-In (BAdI) is used in component Social Media Intelligence Foundation (CA-EPT-SMI). You can use this BAdI to provide specific mapping logic for a particular country name of the social data post that comes from various social media channels, with a corresponding standard country key. This mapping is then used to fill the social post with the corresponding country key.

You can use the Business Add-In (BAdI) method MAP_COUNTRYNAME_TO_COUNTRYCODE to specify the country key to be mapped to a particular country name.

Requirements

Standard settings

For more information about the standard settings (filters, single or multiple uses), see the

Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

Activities

Example

You can find example implementations in the BAdI Builder on the Enhancement Spot Element Definitions tab in the Implementation Example Classes section.

The following example implementations are available:

Class for BAdI : CL_SMI_SOCIALDATA_COUNTRY_MAP

This class is the default implementation class for the BAdI which provides the default mapping between the country name and country key as found in the Customizing table maintained by the view Social Data Country Name Mapping View (V_SMI_CNTRYCNFG).

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG SMI_BDI_COUNTRY_MAP 0 BFI0000041 Social Media Intelligence Foundation 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20131113 
SAP Release Created in