Application Development 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: 

How to change font size and spaces between fields in SAPscripts?

Former Member
0 Kudos

Hi everyone!

I need help using sapscripts, 'cause I don't know what's the meaning of some symbols, for example: ,,<Z>&BSEG-HBKID</>. Now my question is what's for: ",," "<Z>" and "</>", I have no idea what does symbolas are for?

If anyone can help me I'll really appreciate it!

Thanks for your help!!!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Dear Guillermo,

To give a clear answer to your query.

I have the following.

when you are in one window and then go to the contents of the window in change mode.

There you can see that in the command editor i.e the editor where you are writing your code.

_ ______________________________________________

_

______________________________________________

as illustarated above your editor looks like.

in the left box you give commands like /: or /* or a paragraph format which you have defined like 'P1'.

By defining this paragraph format you want to tell that the text which is written on the right box will use the font defined whether it is <b>BOLD</b> / <i>Italic</i> etc. whether it is justified or left-aligned etc. and also in the same paragraph format you will define your tab stops.

So when you write <b>,,</b> then it is equivalent to one tab stop. i.e how much margin you want to leave for this paragraph line to start from you page starting.

the symbol <b><Z></b> represents a character format only catering to the characters defined in between <b><Z></b> and <b></></b>This character format is defined through the push button charcter format in you form editor.

the <b></></b> indicates the end of the character format.

&BSID-HBKID&.

& represents that the value will come dyanmically which has been defined before in the Driver program or in the script itself through the <b>DEFINE</b> command.

The <b>BSID-HBKID</b> represents that the value will be got from the table BSID and field HBKID during runtime.

I Hope things are far pretty clear in this way.

If you still have any more clarifications please come back with any further queries, but not forget to reward appropriately.

Thanks & Regards

venugopal

3 REPLIES 3

thomas_lambert
Explorer
0 Kudos

<Z> is a character format. Go to SE71 and look at your form. Click the Character Format button. Double click on the one labeled "Z" and its attibutes will be listed on the screen.

BLalk
Explorer
0 Kudos

Hi Guillermo,

The ",," stands for tab. If there are tab stops defined for the paragraph format then the text will print at the next tab stop, otherwise, it will tab five spaces. The "<Z>" means that there is a character format defined as Z and the variable will print using that character format. The "</>" means to stop using the character format.

Hope this helps,

Becky

Former Member
0 Kudos

Dear Guillermo,

To give a clear answer to your query.

I have the following.

when you are in one window and then go to the contents of the window in change mode.

There you can see that in the command editor i.e the editor where you are writing your code.

_ ______________________________________________

_

______________________________________________

as illustarated above your editor looks like.

in the left box you give commands like /: or /* or a paragraph format which you have defined like 'P1'.

By defining this paragraph format you want to tell that the text which is written on the right box will use the font defined whether it is <b>BOLD</b> / <i>Italic</i> etc. whether it is justified or left-aligned etc. and also in the same paragraph format you will define your tab stops.

So when you write <b>,,</b> then it is equivalent to one tab stop. i.e how much margin you want to leave for this paragraph line to start from you page starting.

the symbol <b><Z></b> represents a character format only catering to the characters defined in between <b><Z></b> and <b></></b>This character format is defined through the push button charcter format in you form editor.

the <b></></b> indicates the end of the character format.

&BSID-HBKID&.

& represents that the value will come dyanmically which has been defined before in the Driver program or in the script itself through the <b>DEFINE</b> command.

The <b>BSID-HBKID</b> represents that the value will be got from the table BSID and field HBKID during runtime.

I Hope things are far pretty clear in this way.

If you still have any more clarifications please come back with any further queries, but not forget to reward appropriately.

Thanks & Regards

venugopal