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

String Concatenation in BSP

graghavendra_sharma
Contributor
0 Likes
814

Hi,

I'm calling an RFC FM inside my BSP Applicaiton. I am concatenating strings in this RFC FM. But it is concatenating upto 132 characters only, though I have declared the variable with the type TEXT8192.

Pls let me know ASAP if anybody has some solution.

Thanks in advance.

Regards

Raghav

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
744

Declare it as type string or char1024.

On second thoughts, i don't think this is a problem.

Can you show how you wrote the code?

Probably the variable you are collecting is of length 132?

Can you show your code?

Regards,

Ravi

4 REPLIES 4
Read only

Former Member
0 Likes
745

Declare it as type string or char1024.

On second thoughts, i don't think this is a problem.

Can you show how you wrote the code?

Probably the variable you are collecting is of length 132?

Can you show your code?

Regards,

Ravi

Read only

0 Likes
744

Hi,

here is my code:

data: lt_log TYPE STANDARD TABLE OF zpqr_stand_alone_st WITH HEADER LINE.

data: lv_comm type text8192.

LOOP AT lt_msg.

CONCATENATE lv_comm lt_msg-message

INTO lv_comm SEPARATED BY c_sep.

ENDLOOP.

lt_log-comments = lv_comm.

Read only

0 Likes
744

Hi,

Most probably, the <b>field COMMENTS of structure ZPQR_STAND_ALONE is only 132 characters long</b>. Thus, it is troncated when assigned.

Try to check this in debug and get back.

Best regards,

Guillaume

Read only

0 Likes
744

What is the type of lt_log-comments?

I think it is 132 characters long.

Regards,

Ravi