‎2009 Feb 17 6:36 AM
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.
‎2009 Feb 17 6:49 AM
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
‎2009 Feb 17 6:45 AM
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
‎2009 Feb 17 6:46 AM
‎2009 Feb 17 6:48 AM
Hi Suman,
You can use the offset in this:
like 0(132) for first and then so on.
Regards,
Rahul
‎2009 Feb 17 6:49 AM
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