Home > SAP FAQs > SearchSAP.com expert FAQ > SearchSAP.com FAQs > SAPscript and Smart Forms FAQ > SAPscript and Smart Forms FAQ > What are some common Smart Forms printing errors?
FAQs: SearchSAP.com expert FAQ:
EMAIL THIS
 START   SEARCHSAP.COM FAQS   
SearchSAP.com FAQs


SAPscript and Smart Forms FAQ
<< PREVIOUS | NEXT >>

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.


>
EXPERT RESPONSE
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.


Sound Off! -   Be the first to post a message to Sound Off!


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


<< PREVIOUS | NEXT >>
VIEW ALL IN THIS CATEGORY

RELATED CONTENT
SAPscript and Smart Forms
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
Need more options in newer Smart Forms
What is SAPscript 'RV_CONNOTE_SUPPL'?
Problems with the output device 'LOCL'
How to print Smart Forms on Zebra printer with the landscape format
Half the page disappears after a wrong click in the SAPscript editor; how is this fixed?
New fonts added to SAP are replaced by old fonts in a print preview, why?
How to include T&Cs on the back of every printed page in a PO form

SAP Smart Forms and SAPscript
SAP administration information for a Basis interview
Quiz: SAP ABAP development
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
Printing specifics on the last page of a Smart Form
How to print Smart Forms on Zebra printer with the landscape format
Half the page disappears after a wrong click in the SAPscript editor; how is this fixed?
New fonts added to SAP are replaced by old fonts in a print preview, why?
How to include T&Cs on the back of every printed page in a PO form
SAP Smart Forms and SAPscript 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?
How do I use a Smart Form for internal employee information?
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

HomeNewsTopicsBlogsTipsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, 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