Application Development 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: 

Reg : BDC for LOng text Upload.. Issue in field space

Former Member
0 Kudos
164

Hi frinds

I have developed BDc for uploading long text transaction IA01. Its working fine. But while uploading text first and second line having one space. i have 6 line text. Only problem in first line only. How to remove that space in Two varible

first line item variable is wa_iteam-texline02

wa_iteam-txline03 while upload give one spce two this two variable.

example:

Check the chamber safety valve by settin g the steam chamber pressure to 1.0 kg/cm2 and introduce

wa_iteam-texline02 = Check the chamber safety valve by settin

wa_iteam-txline03= g the steam chamber pressure to 1.0 kg/cm2 and introduce

i want to remove this space between two variable.

Thanks in advance.

Prabu K

2 REPLIES 2

former_member320332
Contributor
0 Kudos
68

Hi Prabhu,

You can use SAVE_TEXT and COMMIT_TEXT Function modules for the above pupose

instead of BDC.

Thanx..

Former Member
0 Kudos
68

Question is...how did the text get split like that to start with? And, are you using the *TEXT function modules to create, save, alter texts?

May not help you, but I had a problem with texts splitting incorrectly due to some problematic string-handling code....what I did was first put my text into a char field of 65,535 length with concatenate and compress to remove extra, then used function module RKD_WORD_WRAP to break on spaces, supplying my desired output length, then stored the texts...works very well. There are other FMs that do this, of course....such as FORMAT_TEXTLINES.