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

Reg: Long Text While Uploading Data

suman_lakkimsetty2
Participant
0 Likes
699

hi friends

i want to upload transactional data with long text using BAPI. i want the long text to cut at every 132 characters and from 133rd character it has to upload it other line . how can it be done so tat for every 132 characters it has to upload in next line.

Thanks & Regards

suman.

1 ACCEPTED SOLUTION
Read only

Sm1tje
Active Contributor
0 Likes
636

Are you looking for the BAPI as well, or just how to wrap the textlines?

Well, here's a FM for wrapping textlines.

RSDG_WORD_WRAP

4 REPLIES 4
Read only

kamesh_g
Contributor
0 Likes
636

HI

What i understood is for evry 132 chars u need new line .

For that u can insert new line character after every 132 chars .

declare like following

data : v_new(1) type c value 'OD'.

and concatenate '132 chars ' v_new into one string .

like that use 2 or 3 strings for every 132 chars ...

i used this .. and for me problem got resolved ..

I am sure u wil get resolved with this solution

Read only

Former Member
0 Likes
636

Hi,

Refer this link,

Refer this link to know where long text get stored

Edited by: Tharani on Feb 17, 2009 7:50 AM

Read only

Former Member
0 Likes
636

Hi Suman,

You can use the offset in this:

like 0(132) for first and then so on.

Regards,

Rahul

Read only

Sm1tje
Active Contributor
0 Likes
637

Are you looking for the BAPI as well, or just how to wrap the textlines?

Well, here's a FM for wrapping textlines.

RSDG_WORD_WRAP