Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
15,944

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 1

To display dynamic header text and footer text in Adobe page breaks

Applies to:

Adobe Print forms designer version 8.0 in ECC6

For more information, visit the ABAP homepage.

Summary

This tutorial explains step-by-step process to display dynamic header text and footer text in page breaks using referenced objects (Overflow header & Overflow trailer).

Author(s): Deepthi Mineni

Company: IBM India Pvt. Ltd.

Created on: 5th Sep 2012

Author Bio

Deepthi Mineni is a Senior Systems Engineer currently working with IBM India Pvt. Ltd. She is having hands on experience in Adobe Forms.

To display dynamic header text and footer text in Adobe page breaks

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 2

Table of Contents

Creating Interface .............................................................................................................................................. 3

Create Form ....................................................................................................................................................... 4

Process .......................................................................................................................................................... 6

Related Content ............................................................................................................................................... 17

Copyright.......................................................................................................................................................... 18

To display dynamic header text and footer text in Adobe page breaks

SAP COMMUNITY NETWORK scn.sap.com

© 2012 SAP AG 3

Creating Interface

Go to transaction SFP and create Adobe Interface ZADOBE_SALES_DETAILS_INT.

Click on create button give description.

Then press enter.

Go to types tab and create type for VBAP.

TYPES: BEGIN OF TY_VBAP,

VBELN TYPE VBELN_VA,

POSNR TYPE POSNR_VA,

ERDAT TYPE ERDAT,

ERNAM TYPE ERNAM,

MATNR TYPE MATNR,

PSTYV TYPE PSTYV,

KWMENG TYPE KWMENG,

END OF TY_VBAP.

In Code Initialization write the following code to populate sales order details

Save and activate Interface.

Create Form

Go to transaction code SFP and Create Form ZADOBE_SALES_DETAILS_FORM

Click on Create

Press Save.

Go to context tab and drag table from Interface to Context.

Process

Go to layout tab -> Drag table from data view palette to layout.

Add subform „Head‟ above to Data subform and drag text field enter text “Item Continued”

Place cursor in middle of text “Item Continued” and go to insert -> floating field

In hierarchy palette order of subforms should be Head->data->Textfield

Now drag subform „Head‟ from table IT_VBAP to referenced objects as below.

Now „Head‟ is dragged to „Referenced objects‟.

Go to palettes -> object -> binding tab for „Head‟ subform and bind IT_VBAP

For DATA subform in „Head‟ bind DATA[*]

For field POSNR in „Head‟ bind POSNR

Sameway create one more sub form „Footer‟ after DATA subform in table IT_VBAP and drag text field enter text “Order Continued”

Place cursor in middle of text after “Order” and go to insert -> floating field

In hierarchy palette order of subforms should be footer->data->Textfield.

Now drag subform Footer from table to referenced objects. After „Footer‟ drag, hierarchy order will be as below.

Go to palette ->object-> binding tab for „Footer‟ subform bind IT_VBAP

For DATA subform in „Footer‟ bind DATA[*]

For field VBELN in „Footer‟ bind VBELN

Change Design view properties to flow content and direction should be “Top to Bottom” for design view..

Change IT_VBAP subform content to “Flowed” Flow direction should be “Top to Bottom”. Same way change DATA subform in IT_VBAP content to “flowed” and direction to “Western Text”

For DATA subform in IT_VBAP, on Object palette pagination tab give overflow leader as “Head” and overflow trailer as “Footer” as below

Now activate and execute form.

Below is the output. Middle of order number 7 break occurred. So before page break it is showing “Order 7 Continued” (Footer text), in next page it is showing “Item 000010 Continued” (Head Text)

Sample page in output:

Sample page in output:

Related Content

For more information, visit the ABAP homepage.

PDF-Based Print Forms (SAP Help)

Copyright

© Copyright 2012 SAP AG. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice.

Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.

Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.

IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.

Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.

Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries.

Oracle is a registered trademark of Oracle Corporation.

UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.

Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc.

HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology.

Java is a registered trademark of Oracle Corporation.

JavaScript is a registered trademark of Oracle Corporation, used under license for technology invented and implemented by Netscape.

SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.

Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company.

All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.

2 Comments