Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8122

Re: need to display long text in va02 at header level text

$
0
0

first get the total sting length by using srtlen command and then divide it with 132 then you get the number which you can use in DO  loop

 

lv_string_lenth = strlen(p_text)

 

clear lv_off_begin.

lv_off_end(132)

DO n times

lv_text_132 = lv_org_text+lv_off_begin(lv_off_end)

lv_off_begin = lv_off_end

 

if lv_off_end LE lv_sting_length

lv_off_end = lv_off_end + 132

else.

lv_off_end = lv_sting_length

endif.

enddo

 

lv_test_132 will always have the text with 132 digits which you can pass to the header text.


Viewing all articles
Browse latest Browse all 8122

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>