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

Former Member
0 Likes
444

hai all

i want to upload one field which has 300 chars. so in database i have two fields

so ineed to split that string 300 chars into 150 and 150 chars and passed to different fields in table using lsmw

please help

2 REPLIES 2
Read only

Former Member
0 Likes
410

Use the code:

v_var(150): First 150 characters

v_var+150: Last 150 characters

Manoj

Read only

Former Member
0 Likes
410

data : c1(300),

c2(150),

c3(150).

*assume c1 contains 300 characters

c2 = c1+0(150).

c3 = c1+150(150)

move c2 and c3 values to u r database table fields