Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reports-scriptform

Former Member
0 Likes
519

Dear all

I have created a report using script form. how do i alignning my records so that field name followed by data in horizontal. my data is thrown everywhere no proper format. Help please

4 REPLIES 4
Read only

Former Member
0 Likes
483

Dear William Mutero,

U can use the TABS push button in the PARAGRAPH FORMAT to allign the heading and the values in the proper way.

Best regards,

raam

Read only

Former Member
0 Likes
483

hi all this is done in the script in tcode se71...

you can not do any thing in the report programme for any alignment of the lines or words or any values..

regards,

venkat

Read only

Former Member
0 Likes
483

Hi william,

Header Data

Header data is used for information and control of SAP printing. The header data comprises of 2 parts

Device Independent

Start page u2013 Tells the print program which page should be printed first.

Default paragraph u2013 Tells the print program, the default paragraph to be selected if no paragraph is mentioned in text elements.

Language Attributes u2013 Displays the original language, current language and the list of languages into which the form can be translated.

Tab Stop u2013 A grid set to a specified interval in window. This works for paragraphs for which tabs are not specified.

Device Dependent

Page format u2013 Specifies the format in which the form needs to be printed. E.g. Dina4, US Letter etc. The page format is determined from spool administration table with transaction SPAD.

Orientation u2013 Depends on the page format selected. E.g.. Landscape and Portrait.

Lines per inch

Characters per inch

Font attributes u2013 Default font for the form

Paragraph and Character Formats

Paragraphs are formatted using formats and their corresponding attributes.

Standard paragraph attributes

Left or Right margin - amount of space between paragraph and the left and right border of the window.

Indent first line- Indent of the first line of a paragraph. If the value is positive, it is indented to the right, if it is negative, it is indented to the left. E.g. 1-, 1 etc

Space before and space after u2013Space before and space after control the amount of space between paragraphs.

Alignment - Alignment of a paragraph. E.g. CENTER, LEFT, RIGHT and BLOCK

Line spacing - Spacing between the lines.

Font attributes To specify font attributes for paragraph formats.

Font family u2013 Select the font supported by font maintenance.

Font size

Bold / Italic or underlined

Paragraph and Character Formats

Tabs

The tab feed in a paragraph is controlled by tab positions. The tab positions defined can have MM, CM, LN etc as unit of measure. You can define as many tab positions as you require for each paragraph format. The text can be aligned in different ways. CENTER, LEFT or RIGHT.

Character formats

Character formats allow to format entire blocks of text within a paragraph

Windows

Windows are individual text areas (header address, date, footer) in a page

To combine the information contained in a document into certain groups and make each group appear on the printed page in an individual area, such a group known as window.

To refer to windows via the programming interface, each window must have a unique name.

Window types

MAIN Window

Window in which continuous text is printed. This window can extend over several pages. If the text fills one page, output continues in the window of the next and subsequent pages, as long as MAIN has been defined for these pages.

VAR Window

Window with variable contents. The text can vary on each page in which the window is positioned. Variable windows are formatted for each page.

CONST Window

Window with constant contents that is formatted only once.

Text Elements

You can define text elements (window texts) for each window. The print program accesses text elements by name, formats them and prints them in the respective window. The paragraph and the character formats used must be defined in the form.

Using Boxes, Lines, and Shading 

SAP script provides text commands for using boxes or frames, lines, and shading in documents:

The BOX command for drawing a box or a horizontal or vertical line.

The POSITION command for specifying the starting point (the upper left corner) of a box or line.

The SIZE command for specifying the width and height of a box.

Pages

The individual pages of a document

They must have a unique name. Often have different layouts for individual pages: The first page of an invoice differs from the subsequent pages, on which you need not repeat general information, such as address or customer data.

Attributes

Standard attributes

Next page - You should inform the system which page is to be used after reaching the end of the first page. If this is not specified the text printing stops after first page.

Print attributes

Resource name - You specify that the paper for this page should be taken from a particular paper tray at the printer. Eg TRY01 ( select paper from first tray)

Print Mode u2013 You can specify single or double side printing for a page.

Page Counter

Mode u2013 Specify the mode in which page numbering needs to be done.

INC - Increments by 1

HOLD u2013 Counter remains unchanged

START u2013 Sets the counter to 1

Numbering Type u2013 The format in which page numbering is to be done.

ARABIC , ROMAN or LETTER

i think this information is help ful to u

regards,

sindhu.

Read only

Former Member
0 Likes
483

Thanks