行类型为 tline 的表是 read_text 和 save_text 等处理长文本的函数所必须的,使用这两个函数,在程序处理中就无需考虑原始文本用什么格式的内表存储,只要在使用前后调用相应函数就能进行转换了。 CONVERT_ITF_TO_STREAM_TEXT CONVERT_STREAM_TO_ITF_TEXT
"将特殊字符正常输出 CALL FUNCTION 'CONVERT_ITF_TO_STREAM_TEXT' EXPORTING LANGUAGE = FU_LANGU * LF = ' ' * IMPORTING * STREAM_LINES = TABLES ITF_TEXT = LT_TEXT TEXT_STREAM = LT_LINES. IF SY-SUBRC <> 0. * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO "不提示 错误信息 * ...
All texts are appended to an internal table, and sent to a utility class for formatting toCL_BCS_SENDmail content format. Function modulesREAD_TEXTandCONVERT_ITF_TO_STREAM_TEXTis used to convert the standard text to required format. The returned internal table 'RT_MAIL_BODY' is now a format...
1 .Smartforms output as dynamic text 2.The order of Excel printing is as follows. DATA: l_string TYPE string,//the value is the long text above gt_text TYPE tlint_t. APPEND l_string TO lt_stream_lines . CALL FUNCTION 'CONVERT_STREAM_TO_ITF_TEXT' EXPORTING stream_lines = lt_stream...
What about 'CONVERT_ITF_TO_STREAM_TEXT' Edited by: Micky Oestreich on May 14, 2009 10:21 AM Reply Former Member 2009 May 14 9:38 AM 0 Kudos 3,255 SAP Managed Tags: ABAP Development Hi Udi , You need to loop the internal table that fetches record from the table type T...
These kind of texts ("long texts") are stored in ITF format, which is a "rich text" (bold, etc.) READ_TEXT returns the text in ITF format. If you want to convert ITF rich text into plain text, my preferred way is to use CONVERT_ITF_TO_STREAM_TEXT. Line breaks are the charac...
1316. Scala学习笔记:how to convert a StringRDD to array 1317. Scala闭包特性的一个测试 1318. SAP ABAP Netweaver容器化, 不可能完成的任务吗? 1319. Account mobile phone in CRM and C4C 1320. ABAP和Go语言的初始化操作, Kubernetes的Init Container 1321. ABAP report的递归submit和在虚拟机里再次启动...
1316. Scala学习笔记:how to convert a StringRDD to array 1317. Scala闭包特性的一个测试 1318. SAP ABAP Netweaver容器化, 不可能完成的任务吗? 1319. Account mobile phone in CRM and C4C 1320. ABAP和Go语言的初始化操作, Kubernetes的Init Container 1321. ABAP report的递归submit和在虚拟机里再次启动...
Solved: Hi, We have lost some of our label formats in Barone but have the itf formats in SAP . is it possible to convert back to BarOne format (.lbl) of these labels?
-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.ENDIF.*---"将特殊字符正常输出CALLFUNCTION'CONVERT_ITF_TO_STREAM_TEXT'EXPORTINGLANGUAGE= SY-LANGU*LF = ' '*IMPORTING*STREAM_LINES =TABLESITF_TEXT=LT_TEXT TEXT_STREAM=LT_LINES.IFSY-SUBRC <>0.MESSAGEIDSY-MSGIDTYPESY-MSGTYNUMBERSY-MSGNO"不提示 错误信息...