Creating a Header Section in a Planning View
Context
To decouple the formatting of the header section from the changing width of the planning view columns, you can merge the cells in the header section across the top.
Procedure
- Open the relevant planning view in the SAP Integrated Business Planning, add-in for Microsoft Excel (SAP IBP, add-in for Microsoft Excel).
- Select and highlight the empty cells at the top of the planning view that you want to format as your header section.
- Add blank cells on the top of the planning view, if you don't have any, by selecting the Report Editor button in the Template Admin group, under Advanced on the Layout tab.
Use the arrows in the bottom right corner to change the cell where you want the data area of your IBP planning view to start. Use the down arrow to add new blank cells on top.
- Choose
Merge & Center
Merge Across
.
The selected cells are now merged.
- Set the column width to 2 by selecting all merged cells and choosing
Format
Column Width
.
This is a workaround for an issue related to the auto-width feature for merged cells.
The Excel add-in provides additional names that you can use for your headers. You can use the Microsoft Excel AutoComplete feature or the Name Manager (found in the Defined Names group on the Formulas ribbon) to get an overview.
For example, some names depend on the implementation (all conversions, such as currency) or on the state of the worksheet (for example, SOP_Favorite_Name and SOP_Template_Name are only created when the planning view is uploaded to the server). You can also use functions such as IBPUser().
For more information, see SAP IBP APIs (VBA Methods).
The following table shows the available names:Name Description SOP_Connection_Name Returns the name of your connection as you have defined it in the Connection Manager window. SOP_Favorite_Name Returns the name of the favorite that you have opened. SOP_Filter Returns the filter criteria defined in your attribute-based filter.
SOP_Filter_Criteria_Count Returns a integer value indicating the amount of attribute-based filter criteria in your planning view definition. SOP_Filter_Name Returns the name of your attribute-based filter in case you have saved it. SOP_Heading 1-15 Returns the member names that you have in your planning view. SOP_Planning_AreaSOP_Planning_Area Returns the name of the planning area that you are connected to as defined in the SAP IBP configuration. SOP_Planning_Scope Returns the values of the selected planning scope. SOP_Refresh_Timestamp Returns the date and time of the last time you refreshed of the planning view. SOP_TargetCurrency Returns the value of the selected currency. SOP_TargetUoM Returns the value of the selected unit of measure. SOP_Template_Name Returns the name of the template that you have opened. SOP_Value_Based_Filter Returns the filter criteria defined in your value-based filter. SOP_Value_Based_Filter_Name Returns the name of your value-based filter in case you have saved it. You can also add further information to your views with user-defined functions that are available in the function list of Microsoft Excel in the IBP functions category.
The table shows you the available functions.
Name Description IBPDimensionProperty Retrieves the properties of a specific dimension in the cell range you defined. This provides the same list if properties as the Show Cell Properties in the Context Menu.
IBPDimensionPropertyValues Retrieves the details of a specific property. This provides the same results as the Show Cell Properties in the Context Menu. IBPMemberDesc Retrieves the description of a specific member. IBPMemberID Retrieves the unique name of a specific dimension member. This can be useful also for time periods to retrieve the specific ID that is then used as input for further functions. IBPMemberOffset Specifies the offset from where to retrieve the previous or subsequent member. IBPMemberProperty Retrieves the value of a specific property of a specified member. IBPRefreshTime Retrieves the time and date of the last data refresh. IBPServer Retrieves the server address for the active connection. IBPUser Retrieves the user name logged in to the active connection. - Use the features on the Microsoft Excel Home ribbon to format your header text.