Hierarchy
⤷ CA-EPT-SMI (Application Component) Social Media Intelligence Foundation
⤷ BS_SOMI_DATA_MODELS (Package) Datta Models for Social Media Intelligence
IMG Activity
ID | SMI_BADI_ACT_POST | BAdI: Consent Based Action on Post |
Transaction Code | S_B17_86000046 | IMG Activity |
Created on | 20131113 | |
Customizing Attributes | SMI_BADI_ACT_POST | BAdI: Consent Based Action on Post |
Customizing Activity | SMI_BADI_ACT_POST | BAdI: Consent Based Action on Post |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | SMI_BADI_ACT_POST |
Use
This BAdI is used for handling the cleanup of application-specific data. This BAdI is called in the following scenarios:
- When a social post is made anonymous or deleted.
- When a social user is deleted
This Business Add-In (BAdI) has two methods:
- CLEAN_UP_SOCIALPOSTS
- CLEAN_UP_SOCIALUSERINFO
CLEAN_UP_SOCIALPOSTS - The method CLEAN_UP_SOCIALPOSTS has the following importing parameters:
- IT_SOCIALDATA of the type SMI_T_CLEANUP_POST.
- IV_CONSENTBASEDACTIONONPOST of the type BOOLEAN.
- IV_HANDLE of the type SY-TABIX
The post in this method is recognizable based on the combination of SOCIALDATAUUID, SOICALPOST, SOCIALDATARETRIEVALMODE, SOCIALMEDIACHANNEL, and SOCIALDATASEARCHTERMTEXT.
The method passes the following fields (SOCIALDATAUUID, SOICALPOST, SOCIALDATARETRIEVALMODE, SOCIALMEDIACHANNEL, and SOCIALDATASEARCHTERMTEXT) along with a flag to identify whether that post is made anonymous or deleted.
CLEAN_UP_SOCIALUSERINFO - The method CLEAN_UP_SOCIALUSERINFO has the following importing parameters:
- IT_SOCIALUSERINFO of the type SMI_T_CLEANUP_USER
- IV_HANDLE of the type SY-TABIX
The post in this method is recognizable based on the combination of SOCIALMEDIACHANNEL and SOCIALUSER.
The method passes the following fields (SOCIALMEDIACHANNEL and SOCIALUSER) to determine whether the social user is deleted.
Requirements
Standard settings
For more information about the standard settings (filters, single or multiple use), see the
Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).
Activities
Example
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_BADI_ACT_POST | 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 |