Enabling SAP IBP Hooks

By default, the SAP IBP hooks (VBA events) IBPBeforeSend, IBPAfterRefresh, IBPMDAfterRefresh, and IBPMDBeforeUpdate are disabled.

To enable the hooks, change the value of the global configuration parameters in parameter group PLAN_VIEW from the default value None to one of the values in described in the following table:

Parameter Name

Parameter Description

Values

ACTIVATE_VBA_HOOKS

Allows you to enable hooks to enhance functions of the Excel add-in through Microsoft Visual Basic for Applications (VBA) coding. The hooks can be used in a similar way as VBA events provided by Microsoft.

The following SAP IBP hooks (VBA events) can be enabled:
  • IBPBeforeSend

  • IBPAfterRefresh

  • Mandatory

    If there is no VBA implementation available for these hooks, the SAP IBP code stops.

  • Optional

    If there is no VBA implementation available for these hooks, the SAP IBP code continues running.

If none of the values above is set, the hooks are disabled.

ACTIVATE_MD_VBA_HOOKS

Allows you to enable hooks to enhance master data workbooks in the Excel add-in through Microsoft Visual Basic for Applications (VBA) coding. The hooks can be used in a similar way as VBA events provided by Microsoft.

The following SAP IBP hooks (VBA events) can be enabled:
  • IBPMDAfterRefresh

  • IBPMDBeforeUpdate