cancel
Showing results for 
Search instead for 
Did you mean: 

assigning a paragraph without new line (break line)

Former Member
0 Kudos

Hello!

The following sap script code is given.

Z1 is a paragrah with a tab position. ,,&gv_s_pal& has to be positioned directly behind of &gv_s_meins& by the output. But in order to assign &gv_s_pal&

the paragraph Z1 I wrote in in the next line. There is line break in the output.

How can it be removed (line break) or how can reach assigning ,,&gv_s_pal&

to Z1 and write it also to the same line like ,,&gv_s_meins& in the output

Regards

Ilhan

= ,,,,,,,,&gv_s_posnr&,,&gv_s_pstyv&,,&gv_s_matnr&&gv_s_konv&

= ,,&gv_s_meins&

Z1 ,,&gv_s_pal&

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello

the problem is having an absolute positioning.

e.g.

&gv_s_posnr& must be positioned at 70

&gv_s_pstyv& must be positioned at 80

&gv_s_matnr& must be positioned at 90

&gv_s_konv& must be positioned at 100

&gv_s_meins& must be positioned at 110

,&gv_s_pal& must be positioned at 120

s.o

How can I do that ?

Regards

Ilhan

Former Member
0 Kudos

Hi

It is better to use a different paragraph format for this and after that by using the operator (,) you can change it to your desired position

Reward all helpfull answers

Regards

Pavan

Former Member
0 Kudos

Hi

Here you can do one thing one is changing your paragraph formats or create a new paragraph format which satisfies your requirement. Why i'm saying new paragraph format because already which was in use format presently Z1 may be used so many places in your coding every where it will works fine but for your present requirement if you change it then it will effect your whole script. So better create new paragraph format

goto Tcode SE71

give your script name and click on the radio button '<b>Paragraph Format</b>' then press F5 or create tab then give your desired line spacing

or else to change your old one choose Z1 in this paragraph formats and goto line spacing tab from there select CM or MM or else change line spacing suppose presently it is 1.25 then change it to 0.80

Reward all helpfull answers

Regards

Pavan

Former Member
0 Kudos

Hi

Use '=' to continue/print in the same line or

use Paragraph format Z1 to print it in the next line

and use ',,' (2 commas) to separate the TAB setting between fields

Reward points for useful Answers

Regards

Anji