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

Fields in sapscript

Former Member
0 Likes
587

Hi,

I have some fields in the sapscript but when one of them is empty the others fields move. So how can I set the length of the field so the others fields don't move.

Thanks

4 REPLIES 4
Read only

Vinod_Chandran
Active Contributor
0 Likes
520

This may help you (from SAP Help).

&symbol(length)&

If < symbol> has the value 123456789.

&symbol(3)& -> 123

&symbol(7)& -> 1234567

You can combine an output length specification with an offset specification. The specified length is then counted from the specified offset position.

&symbol+4(3)& -> 567

Read only

0 Likes
520

Thank you very much

Read only

0 Likes
520

If your problem is solved please assign points.

As Svetlin mentioned you can control the field position with tabs which can be defined in Paragraph.

Read only

Former Member
0 Likes
520

Hi,

In sapscrip you can create paragraph formats with diffent tabs.

http://help.sap.com/saphelp_me21sp2/helpdata/en/d1/802e1c454211d189710000e8322d00/frameset.htm