Home > Ask the SAP software/management Experts > SAPscript and Smart Forms Questions & Answers > Can paper size be defined on condition in SAPscript?
Ask The SAP Expert: Questions & Answers
EMAIL THIS

Can paper size be defined on condition in SAPscript?

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: 19 November 2004
I have an SAPscript question for you. Could paper size be defined on condition, for instance, per plant? If it is one plant print on A4 otherwise print on Letter size?

>
The only place to define a paper size is at the form header. I have heard rumor of a way to override it dynamically at run-time but have not seen it in practice. That being said, there are ways to ease the pain of dual maintenance. Here is a simple approach that I used a few years ago for a client with offices in the U.S. and Ireland; each location required the same form in different sizes (letter size and A4, respectively):

1.) Create the letter-size form, let's say: Z_DELNOTE.

2.) Try to make the first form flexible enough so that it can serve as a 'master form', with the only required difference being paper size.

3.) Copy that form into a new one, Z_DELNOTE_A4 and convert the paper size to A4. Adjust any windows as needed.

4.) Set up output config to point to the first form.

5.) In your print program, insert logic before the OPEN_FORM to append '_A4' to the form name field when appropriate (e.g. based on plant).

6.) Perform all subsequent changes to the first form and overlay the second one as in step 3.

I hope that answers your question.


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

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