cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform Display Text of type string Issue

Former Member
0 Kudos

Hi Experts,

I have copied a smartform to a system and i am making few changes in it.

One of the field is description which comes from source of type string

The text contains line breaks so this is the way it is splitted:

DESCRIPTION IS of type string

GT_STRING IS TABLE OF TYPE STRING

SPLIT DESCRIPTION AT '0A00' INTO GT_STRING.

GV_STRING IS OF TYPE STRING

Now to display the text on PDF o/p :

Loop at GT_STRING INTO GV_STRING

-->Here comes the issue

The way code is written is

&GV_STRING-VALUEPART1& &GV_STRING-VALUEPART2&

&GV_STRING-VALUEPART2&

I am not able to understand how the string is splitted in valuepart1 , 2 etc

Can anyone please help me with this?

BM

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member392866
Active Participant
0 Kudos

B M,

GT_STRING and GV_STRING declarations are miss matching..... declare similarly.

Hope this will fix your issue.

Regards,

BALAJI.