cancel
Showing results for 
Search instead for 
Did you mean: 

Sap Script problems

Former Member
0 Kudos

Hi,

I have problem with tables in SapScript

i have tamplate with example. One

item should look like this:

132130000 2300005 AC-23-23 MAt34240

000000000

000003433

My problem is hot to make this long numer 132130000000000000000003433

broken but in one line.

For example i should fill one line:

1,,&tab-field1&,AC-23-23,,&tba-longnumber&,,MAt34240

How to make &tba-longnumber& broken like

132130000

000000000

000003433

Please help.

Regards,

Greg.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

You can display the same field with offset in three lines as below

/ &ITAB-NUMBER+0(9)&,,,,&tba-longnumber&,,MAt34240,,

/ &ITAB-NUMBER+9(9)&

/ &ITAB-NUMBER+18(9)&

this will print the first 9 char in first line and similarly in 2nd and 3rd lines

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

Regards

Anji

Answers (1)

Answers (1)

former_member196280
Active Contributor
0 Kudos

Do it like this

&tba-longnumber+0(9C)& 2300005 AC-23-23 MAt34240

&tba-longnumber+9(9C)&

&tba-longnumber+18(9C)&

Regards,

Sairam