Extensibility Using Visual Basic for Applications (VBA)

Microsoft Visual Basic for Applications (VBA) enables you to extend the features and functions provided by the SAP Integrated Business Planning, add-in for Microsoft Excel (Excel add-in).

Using custom VBA coding, you can do the following, for example:
  • Create enhanced planning view templates that reflect your business processes.

  • React to specific events triggered through actions in the Excel add-in, and include additional checks or enhance the functions of the Excel add-in.

  • Extend the SAP IBP ribbon with VBA functions.

You may also think of several other ways to use VBA coding to enhance the experience for your users and automate some of the manual steps they need to do in their daily work.

To access the Visual Basic Editor, on the Developer tab in Microsoft Excel, choose Visual Basic.

To make the use of custom VBA coding in combination with the SAP IBP, add-in for Microsoft Excel easier, we are providing the following extensibility capabilities and supplementary information about how to use them:

Option Used For More Information

SAP IBP APIs (VBA methods)

You can use the SAP IBP APIs to enhance your planning view templates, build your own business logic, and automate manual steps.

SAP IBP APIs (VBA Methods)

SAP IBP Hooks (VBA Events)

You can use the SAP IBP hooks to react to specific events triggered through actions in the Excel add-in.

SAP IBP Hooks (VBA Events)

SAP IBP ribbon extension

You can extend the SAP IBP ribbon of the Excel add-in with additional VBA functions.

SAP IBP Ribbon Extension

VBA samples

VBA samples provide an idea of the capabilities of custom VBA coding in the Excel add-in.

VBA Samples

If you need help with starting with the VBA implementation, check the following information from Microsoft: https://docs.microsoft.com/en-us/office/vba/library-reference/concepts/getting-started-with-vba-in-officeInformation published on non-SAP site.