Ansicht
Dokumentation

SMI_BADI_ACT_POST - BAdI: Consent Based Action on Post

SMI_BADI_ACT_POST - BAdI: Consent Based Action on Post

CL_GUI_FRONTEND_SERVICES - Frontend Services   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

This BAdI is used for handling the cleanup of application-specific data for Consent Management. 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_SOCIALPOSTShas 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 (SOCIALMEDIACHANNELand SOCIALUSER) to determine whether the social user is deleted.

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).






CPI1466 during Backup   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 2762 Date: 20240523 Time: 171402     sap01-206 ( 69 ms )