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

Formatting report

Former Member
0 Likes
1,392

Hi Experts,

How to display bold text in classical report?i have to do many write statements to draw rows and column in a report.in some of the columns i have to display static text in bold.

And can anybody tell me how to decrease the gap between two lines in report?

for example

WRITE 😕 SY-ULINE.

WRITE 😕 SY-uLINE.

WRITE 😕 SY-uLINE.

WRITE 😕 SY-uLINE.

if i need to reduce the gap between the third and fourth line, what has to be done?

Rewards for sure,

Rgds,

Prajith

4 REPLIES 4
Read only

Former Member
0 Likes
734

Hi

Yopu can't increase the font of the words in reports

just use the colors and the commands like

FORMAT COLOR COL_INTENSIFIED ON or OFF

<b>Reward points for useful Answers</b>

Regards

Anji

Read only

Former Member
0 Likes
734

Hi,

FORMAT INTENSIFIED ON.

WRITE : / 'welcome'.

FORMAT INTENSIFIED OFF.

Refer the links -

Regards,

Priyanka.

Read only

Former Member
0 Likes
734

Hi,

We can not increase the FONT in the Normal reports,

If you want to print these then do not use the / symbol

WRITE 😕 SY-ULINE.

WRITE 😕 SY-uLINE.

WRITE 😕 SY-uLINE.

WRITE : SY-uLINE.

If you want a line then use the below code

WRITE: ULINE(30). then it will print the line upto 30 charecters

Regards

Sudheer

Read only

Former Member
0 Likes
734

<b>You can't increase the font of characters in Reports.</b>

<u>Horizontal lines</u>

You can generate horizontal lines on the output screen by using the following syntax:

Syntax

ULINE [AT [/][<pos>][(<len>)]].

This is equivalent to

WRITE [AT [/][<pos>][(<len>)]] SY-ULINE.

The format specifications after AT are exactly the same as the format specifications described for the WRITE statement in Positioning WRITE Output on the Screen.

If there are no format specifications, the system starts a new line and fills it with a horizontal line. Otherwise, horizontal lines are output as specified.

Another way of generating horizontal lines is to type the appropriate number of hyphens in a WRITE statement as follows:

WRITE [AT [/][<pos>][(<len>)]] '-----...'.

<u>Vertical lines</u>

You generate vertical lines on the output screen by using the following syntax:

Syntax

WRITE [AT [/][<pos>]] SY-VLINE.

or

WRITE [AT [/][<pos>]] '|'.

<u>Blank lines</u>

You can generate blank lines on the screen by using the following syntax:

Syntax

SKIP [<n>].

Starting with the current line, this statement generates <n> blank lines on the output screen. If no value is specified for <n>, one blank line is output. In the standard setting, you cannot create empty lines with the WRITE statement alone.

To position the output data in a specific line on the screen, use:

Syntax

SKIP TO LINE <n>.

This statement allows you to move the output position upwards or downwards.

So you can develop your logic to create lines as per your requirement.

Regards,

Pavan