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

Split 'SPELL-WORD' word in SAP SCRIPT

Former Member
0 Likes
1,228

Hi All,

  i am using spell-word function for printing word in my check printing.is there any possibility to split the that word in to two column as flows

1.column   - 50 Characters

2 column   - remaining  Characters

Thanks

kanishka

Hi All,

  i am using spell-word function for printing word in my check printing.is there any possibility to split the that word in to two column as flows

1.column   - 50 Characters

2 column   - remaining  Characters

Thanks

kanishka

5 REPLIES 5
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,043

Hi Kanishka

For that you will have to code it in your driver program You can use FM RKD_WORD_WRAP and pass position as 50 char. Move that into two global variables and print using them

Nabheet

Read only

0 Likes
1,043

Hi Nabheet,

   i am using stranded program of SAP,i am trying to do without modifying stranded ,do it script it self .

is there any possibility to do

Thanks

Read only

0 Likes
1,043

Yes you can do it in SAP script via... Perform subroutine in program ZABC(subroutine pool) ...Search on this you will just need to create asubroutine pool in SE38 no need to modify standard

NAbheet

Read only

Former Member
0 Likes
1,043

Hi Kanishka,

Try to use offset values, below are sample way to  split the values into two columns.

1.column : spell-word+0(50)

2 column : spell-word+51(remaining characters).

Thanks,

Ashok.

Read only

0 Likes
1,043

Nice way..but we will still need subroutines pool to find length.