Home > Ask the SAP software/management Experts > SAPscript and Smart Forms Questions & Answers > What are some common Smart Forms printing errors?
Ask The SAP Expert: Questions & Answers
EMAIL THIS

What are some common Smart Forms printing errors?

Mark Smithson EXPERT RESPONSE FROM: Mark Smithson

Pose a Question
Other SAP Categories
Meet all SAP Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 29 August 2005
I am using Smart Forms to print a template. I have passed an internal table containing different line items from the driver program using the function modules (used for Smart Forms). Now in the Smart Forms I have looped through the template using the internal table and work area in the Smart Form, but still only one page is getting printed. What is the problem?

If I loop the internal table in the driver program at the point of the function modules, the print preview gets repeated.


>
There are a number of possible explanations for your problem. Here are some things to check:

1) Did you create a table or a template? Your question uses the word "template" several times. Please understand there is a significant difference between the two in a Smart Form. A template is designed primarily for fixed information, such as a grid in a secondary window. A table – which is what you need here – is designed for information of unknown height (until runtime, anyway) but fixed width. It is always found inside a MAIN window.

2) Does your form consist of multiple mapped pages? A form can consist of a single named page (e.g. FIRST). However, it needs to be told what to do when that page fills up. At that point, it can print info to the same page (i.e. a second page is generated with the same look and feel), or to a different page, or to none at all.

3) Have you verified that the entire table is passing into the form? Perhaps there is something amiss in the way data is passed or declared. To check this, set a break-point in your Initialization section and pass the internal table into it. Alternately, create a program node with a break-point inside the table and pass the table's work area into it. See what the values are at that point.

4) Are the nodes which print the table's work area properly contained within the table body? Sometimes it is difficult to tell whether a node is inside another node or at the same level. A quick way to check this is to expand and collapse the table and see whether these nodes appear then disappear when you do so.

Since you are working with a Smart Form, I would recommend against putting the loop inside the print program itself. Output loops there are designed for dealing with changes to header info, not line item info. This is a major distinction between SAPscript and Smart Forms.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
SAPscript and Smart Forms
Modifying standard SAP Smart Forms for purchase orders
How to solve output alignment problems with SAPscript printing
Using SAP Smart Forms to change layout of Plant Maintenance
How to fix Smart Forms printing double purchase orders
Deriving the name of a Smart Style from a Smart Form
Fixing a common OPEN_FORM and START_FORM error in SAPscript
Avoid printing out blank address lines in SAP Smart Forms
Setting soft breakpoints in ABAP that reside in Smart Forms
Printing specifics on the last page of a Smart Form
Unwelcome change in Smart Forms icons

SAPscript and Smart Forms
Modifying standard SAP Smart Forms for purchase orders
How to solve output alignment problems with SAPscript printing
Using SAP Smart Forms to change layout of Plant Maintenance
How to fix Smart Forms printing double purchase orders
Deriving the name of a Smart Style from a Smart Form
SAP administration information for a Basis interview
Transferring R/3 Admin skills to SAP NetWeaver
Easier maintenance of output types, procedures, conditions, etc.
Avoid printing out blank address lines in SAP Smart Forms
Setting soft breakpoints in ABAP that reside in Smart Forms
SAPscript and Smart Forms Research

SAPscript and Smart Forms FAQ
How do I print a single purchase order per page?
How do I print through Adobe Forms on a remote NetWeaver stack system?
How do I create a transaction code in a Smart Form without using a print program?
How do I troubleshoot printing issues with SAPscript?
What is the difference between saving, activating and generating a Smart Form?
What are some best practices for SAPscript forms and transaction SCC1?
Can I create tables in SAPscript like I create in Smart Forms?
Can a Smart Form print data relevant to one employee?
Can you provide beginners information for building interactive forms?

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SAP White Paper Topics
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
SearchSAP.com is a search service provided by TechTarget and is completely
independent of and not affiliated with SAP AG.
  TechTarget - The IT Media ROI Experts