全部博文(38)
发布时间:2015-05-22 13:33:45
REPORT ZTHOMAS_OO_INTERFACE."definition of interface*----------------------------------------------------------------------** INTERFACE lif_employee*----------------------------------------------------------------------***----.........【阅读全文】
发布时间:2015-05-22 10:08:37
DATA: STR(20),STR2(20),N.STR = ' abcade*'.WRITE STR.IF SUBSTRING( VAL = STR OFF = STRLEN( STR ) - 1 LEN = 1 ) = '*'. STR = SUBSTRING( VAL .........【阅读全文】
发布时间:2015-05-17 11:57:16
REPORT zthomas_oo_pattern_singleton1."class definitionCLASS lcl_application DEFINITION CREATE PRIVATE. PUBLIC SECTION. "static method whic will return us the object reference. CLASS-METHODS: get_apps_instance .........【阅读全文】
发布时间:2015-05-16 22:05:38
REPORT zthomas_oo_pattern_singleton.*----------------------------------------------------------------------** CLASS lcl_vehicle DEFINITION*----------------------------------------------------------------------***-------------------------------------------------------.........【阅读全文】
发布时间:2015-05-16 20:51:28
REPORT zthomas_oo_casting."class definition*----------------------------------------------------------------------** CLASS lcl_super DEFINITION*----------------------------------------------------------------------***--------------------------------------------------.........【阅读全文】
发布时间:2015-05-16 20:40:58
REPORT zthomas_oo_casting."class definition*----------------------------------------------------------------------** CLASS lcl_super DEFINITION*----------------------------------------------------------------------***--------------------------------------------------.........【阅读全文】
发布时间:2015-05-14 09:28:33
今天有朋友问在声明select-options的时候是否可以参考structure字段直接创建如果你的代码如下:SELECT-OPTIONS:s_matnr for mpop-matnr.此处的mpop为系统内的一个structure那么在你做active或者check的时候会报错其实这个错误提示内容我们在平时应该遇到过多次解决此问题的方法:1.代码:TABLES m.........【阅读全文】
发布时间:2015-05-11 22:31:14
REPORT ZTHOMAS_DEMO5.DATA lv_num TYPE i.DO 2 TIMES.PERFORM sy-index of sub1 sub2.ENDDO.*&---------------------------------------------------------------------**& Form sub1*&---------------------------------------------------------------------** &n.........【阅读全文】
发布时间:2015-05-11 22:02:18
"替换字符串中的某一个字符DATA:lv_char TYPE c VALUE 'C01' LENGTH 10.lv_char+0(1) = 'B'.WRITE:lv_char.OVERLAY lv_char WITH 'B' ONLY lv_char.WRITE: / lv_char.REPLACE FIRST OCCURRENCE OF 'C' IN LV_CHAR WITH 'B'.WRITE: / lv_char.此三种方法均能将C01转变成B01..........【阅读全文】
发布时间:2015-05-10 22:12:55
1.smod的出口在modsap表中,cmod 的project在modact表中2.可以搜索查找出口程序代码来进行查找......【阅读全文】