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

scripts

Former Member
0 Likes
664

Hi,

how to have data alignment in scripts like we do in reports.

in reports we do like

loop at itab.

write:/12 itab-name,

24 itab-num.

endloop.

Like this how to have in script driver program.

Loop at itab.

call write_form

exporting

function =

type =

.

.

endloop.

in this where to give alignments.

Regards,

Nasru

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
638

Hi!

After you created a paragraph in your sapscript, with more tabulators in it, you can access the tabulators like this (separated the fields by ",," characters.

Your paragraph is "AA".

AA Field1:,,&field1&,,Field2,,&field2,,Field3,,&field3&

Regards

Tamá

4 REPLIES 4
Read only

Former Member
0 Likes
638

Hi,

You have to create Paragraph formates with tabs to apply alighments.

Sudheer

Message was edited by:

sudheer Addepalli

Read only

Former Member
0 Likes
638

hi,

Create your own paragraph formats and use that

P1 write : itab

P2 write

Read only

Former Member
0 Likes
638

u need to create your <b>own paragraph formats</b> and use the same in ur program

Read only

Former Member
0 Likes
639

Hi!

After you created a paragraph in your sapscript, with more tabulators in it, you can access the tabulators like this (separated the fields by ",," characters.

Your paragraph is "AA".

AA Field1:,,&field1&,,Field2,,&field2,,Field3,,&field3&

Regards

Tamá