下面主角登场了,SAP提供了一个类CL_ABAP_CONTAINER_UTILITIES,里面有两个方法, 方法read_container_c-用来读取EXTENSIONIN, 方法fill_container_c用来填充EXTENSIONIN。 例子代码当然不能少了,下面这一小段代码就是先将EXTENSIONIN中的值读出来,然后再加入一个自定义字段 zsfyg的值,再回写EXTENSIONIN。 LOOPATet_extensi...
下面主角登场了,SAP提供了一个类CL_ABAP_CONTAINER_UTILITIES,里面有两个方法,方法read_container_c-用来读取EXTENSIONIN,方法fill_container_c用来填充EXTENSIONIN。 例子代码当然不能少了,下面这一小段代码就是先将EXTENSIONIN中的值读出来,然后再加入一个自定义字段zsfyg的值,再回写EXTENSIONIN。 LOOP AT et_extensio...
CALL METHOD CL_ABAP_CONTAINER_UTILITIES=>FILL_CONTAINER_C EXPORTING IM_VALUE = ZEMM_EXTEND_PLANT IMPORTING EX_CONTAINER = p_lit_IDOCData-sdata a® Reply naimesh_patel Active Contributor 2008 May 30 7:13 PM 0 Kudos 1,126 SAP Managed Tags: ABAP Development Try to use the ...
数据处理包括有连接,分割,查找子串,字串位移等。 连接字符串 将几个字符串连接起来的使用的是CONCATENATE语句。语法格式是:concatenate s1···sn into s_dest [separted by sep]. tips:如果目标字符的长度小于 连接的字符串,则会被截断。为避免截断可以设置目标字符类型为string,该类型在操作过程中可以自适应长度。
A journey into space ^H^H^H^H^H project system (2)- (2016 Jul 065:31 PM) Additional Blogs by Members byEnnoWulffon2016 Jul 065:31 PMLatest post on2017 Sep 1812:55 PMbyFormer Member 1Reply 1382Views Conversion using method cl_abap_container_utilitie...- (2013 Sep ...
*越来越多的SAP系统会采用Unicode,并且SAP将最终舍弃Non-Unicode。**在Unicode中,汉字与英文字符的长度是相同的,即一个汉字和一个英文字符的长度都是1,这给SAP系统与Non-Unicode系统的数据交换带来困难。**SAP提供了一个Class来解决这些问题,这个Class名为CL_ABAP_LIST_UTILITIES。**例如取得字符串的显示长度:...
SAP Managed Tags: ABAP Development Hi, DATA: BEGIN OF TREC, STRING(299), CARRIAGE_RETURN(1) TYPE c, --->instead of this try this crlf(1) type c value cl_abap_char_utilities=>CR_LF, END OF TREC. and no need to do MOVE CL_ABAP_CHAR_UTILITIES=>cr_lf TO TREC-CARRIAGE...
0 Kudos 1,943 SAP Managed Tags: ABAP Development This is generally used when we need to pass the HORIZENTAL TAB in the string field. You can use CONCATENATE ITAB-FLD1 ITAB-FLD2 INTO L_STRING SEPERATED BY cl_abap_char_utilities=>horizontal_tab. Regards, Naimesh Patel Reply All...
hi The class CL_ABAP_CHAR_UTILITIES provides attributes and methods that affect the properties of single characters. The components of this class are all static and public. The attributes are write-protected and are initialized in the class constructor method. regards, madhu Reply Post Reply ...
Methoden CALC_WIDTH4DDLBBYKEY Methode für die Berechnung der idealen Breite für einDropDownByKey-UI-Element anhand der Liste der Einträge. SET_WIDTH_4DDLBBYKEY Methode für das Berechnen und Setzen der idealen Breite für einDropDownByKey-UI-Element anhand der Liste der Einträge. ...