4.READ_TEXT函数使用 ID参数为图片3中的Text ID,language为图片3中的语言(需传内部值),name为图片3中的文本名,object为文本对象。TABLES接收长文本对象返回的内表,ps:长文本对象以行进行存储,若文本长度超过132个字符,SAP会自动换行,需要循环内表进行拼接得到完全的长文本。 查看代码 CALL FUNCTION'READ_TEXT' E...
FORM frm_save_noteUSING p_invno p_year p_zfpdz. DATA:ls_rbkpTYPE mrm_rbkpv. DATA:lv_indTYPEiVALUE'0'. DATA:lv_timeTYPE mseg-menge. DATA:lv_lenTYPE mseg-menge. "DATA:ls_txt TYPE TDSTXLLINE. DATA:ls_txtTYPE tline. DATA:lt_tnoteTYPETABLEOF tline. DATA: ls_headerTYPE thead. D...
SAP Managed Tags: ABAP Development Hi, I had requirement,I need to populate the Long text in CO01. Iam using the FM SAVE_TEXT. But it doesnt worked.Iam using the Following code to save long text DATA: BEGIN OF tlinetab OCCURS 100. INCLUDE STRUCTURE tline. DATA: END OF tlinetab....
SAP Managed Tags: ABAP Development hi, In my program i have a requirement to save all the text after using COMMIT_TEXT. can anyone give me a sample code for using COMMIT_TEXT after SAVE_TEXT or give me an idea how and which FM to call in UPDATE TASK and do i required to use exp...
SAP Managed Tags: ABAP Development Hi Vijay Babu Dudla, I am looking for a function by which I can split the handling units of a delivery. Transaction "VLSP" can be used to do the above but I need to get this done via a program. I looked at BAPI_OUTB_DELIVERY_SPLIT_DEC but that...
exporting fid = 'Z01' flanguage = '1' fname = l_name fobject = 'ZHTBZ' save_direct = 'X' tables flines = it_tlines exceptions no_init = 1 no_save = 2. DELETE_TEXT 3 相关表 STXH :STXD SAPscript 文本文件抬头 stxl:STXD SAPscript 文本文件行 ...
【转载】SAP ABAP中读取项目文本 READ_TEXT 的方法 刚刚产生的这些数据,依据此项就可以找到对应的参数了,这个方法非常实用 二、第二种前台查看,进入长文本编辑界面以后(记得是双击长文本编辑器进入),点击菜单转到—->表头,里面出现的就是对应的那些参数值,如下图: 如果是要用ABAP代码创建文本用函数CREATE_TEXT,修...
ABAP 对长文本的操作 SAVE_TEXT & READ_TEXT(2011-06-12 19:34:26)转载▼标签: abapheadertextitem杂谈 分类: R/3-ABAP DATA: gs_header TYPE thead . DATA: gt_ltxts TYPE STANDARD TABLE OF tline . DATA: lw_ltxt TYPE tline . START-OF-SELECTION . CLEAR gt_ltxts[] . CLEAR lw_ltxt ...
ABAP 对长文本的操作 SAVE_TEXT & READ_TEXT(2011-06-1219:34:26)转载▼标签: abapheadertextitem杂谈 分类: R/3-ABAPDATA: gs_headerTYPEthead .DATA: gt_ltxtsTYPESTANDARDTABLEOFtline .DATA: lw_ltxtTYPEtline .START-OF-SELECTION.CLEARgt_ltxts[] .CLEARlw_ltxt . ...
https://wiki.scn.sap.com/wiki/display/ABAP/How+to+Upload+Long+Text+into+SAP+Using+Excel+Sheet+and+SAVE_TEXT+Function+Module Created bySmruti Ranjan Mohanty, last modified onOct 09, 2013Go to start of metadata Reference Link: Note 933420 - ALSM_EXCEL_TO_INTERNAL_TABLE ...