To repeat a table header row in an SAP Adobe Form when designing with subforms, you must configure the pagination overflow settings between the body subform and the header subform. This approach is often used for customized table designs.
- Structure the Subforms:
- Create a main wrapping subform for your entire table structure (optional but recommended for organization).
- Inside the main subform, create two separate subforms: one for the Header and one for the Body (item rows).
- Configure the Header Subform:
- Select the Header subform.
- In the Object palette, go to the Subform tab. Set the Content property to Positioned.
- (Optional) In the Accessibility tab, you can set its role to “Header Row”.
- Ensure any margins are set appropriately or eliminated to prevent layout issues.
- Configure the Body Subform:
- Select the Body subform (which contains the actual repeating item rows/data table).
- In the Object palette, go to the Subform tab. Set the Content property to Flowed.
- Go to the Pagination tab for the Body subform.
- In the Overflow Leader field, select or type the exact name of your Header subform. This tells the body subform to use the header subform as a leader when it overflows to a new page.
- Ensure Allow page breaks within content is checked in the Object palette for the subform.
- Configure the Main Wrapping Subform:
- Ensure the main subform wrapping the header and body is also set to Flowed layout (typically “Flowed (Top to Bottom)” or similar, depending on the design). This allows the content to expand and flow onto subsequent pages.
- (Optional) In the Accessibility tab, you can set its role to “Table”.
By following these steps, when the data in the Body subform overflows to a new page, the SAP Adobe form will automatically repeat the specified Header subform at the top of the new page.