Home > Ask the SAP Experts > SAPscript and Smart Forms Questions & Answers > Can I create tables in SAPscript like I create in Smart Forms?
Ask The SAP Expert: Questions & Answers
EMAIL THIS

Can I create tables in SAPscript like I create in Smart Forms?

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: 07 July 2005
How can I create a table display with horizontal and vertical lines for number of columns and rows in SAPscript?

In Smart Forms, we can just click on "Table" and get a table display, but how do we create this in SAPscript?


>
EXPERT RESPONSE
Alas, there is no "pattern" option in SAPscript. All you have at your disposal are the following SAPscript commands: BOX, POSITION and SIZE. Not only are these commands both confusing and tedious to implement, they also are limited in what they can achieve. For instance, although you can suppress a box during printout (by making it conditional), there is no simple way to adjust it dynamically instead. Thus, to divide sequential line items, you may wish to use an underline (ULINE) or simply white space.

Think of directing an 'Etch-A-Sketch' session over someone's shoulder and you've got the basic concept down.

BOX is the primary driver command. The other two assist in breaking down the task of defining a box – or line (often defined as a box with either zero height or width) – into multiple steps. Normally, each SAPscript command must fit on a single line; by handling some of its definition, POSITION and SIZE get around this restriction for a box with complex properties.

Click here to link to a section in the SAP Help Portal which discusses these commands and provides examples. The best advice I can offer on getting comfortable with them is to review an existing form which uses them, even if it serves a different purpose. For instance, there are several standard FI template forms, such as the credit memo (F140_DOCU_EXC_01) which use all three of these commands together.


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


RELATED CONTENT
SAPscript and Smart Forms
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
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?

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?
What are some common Smart Forms printing errors?
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