<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[george_506的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/george_506</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; george_506]]></copyright><item><title><![CDATA[SAP Session说明]]></title><link>https://blog.youkuaiyun.com/george_506/article/details/6284409</link><guid>https://blog.youkuaiyun.com/george_506/article/details/6284409</guid><author>george_506</author><pubDate>Mon, 28 Mar 2011 20:12:00 +0800</pubDate><description><![CDATA[<br />SAP Session有分external session和internal session.<br />External session最多有6个；一般每次打开一个新的Transaction code都可以看做一个external session.<br />Internal session最多有9个；当程序运行的时候，会产生多个internal session，这些internal session都是存储在一个stack里。当在程序中使用CALL Transacton .. and retu]]></description><category></category></item><item><title><![CDATA[Casting 和Casting type的区别]]></title><link>https://blog.youkuaiyun.com/george_506/article/details/6284392</link><guid>https://blog.youkuaiyun.com/george_506/article/details/6284392</guid><author>george_506</author><pubDate>Mon, 28 Mar 2011 20:02:00 +0800</pubDate><description><![CDATA[<br />当使用不同类型的对象进行赋值转换的时候，会碰到类型不匹配的问题。这时候，就需要在类型转换的语句添加附加条件。<br />CASTING: 就是取消必须使用原数据对象的这个限制条件。<br />例如：<br /> TYPES: BEGIN OF STR,<br />                    YEAR(4) TYPE N,<br />                    MONTH(2) TYPE N,<br />                    DAY(2) TYPE N,<]]></description><category></category></item><item><title><![CDATA[Persistent service]]></title><link>https://blog.youkuaiyun.com/george_506/article/details/6264747</link><guid>https://blog.youkuaiyun.com/george_506/article/details/6264747</guid><author>george_506</author><pubDate>Mon, 21 Mar 2011 13:57:00 +0800</pubDate><description><![CDATA[<br />一般情况下，程序运行时，数据和对象是有效的；当程序结束的时候，就会消失。如果数据要被永久的存储，那么在ABAP 对象里就使用persistent services.这些服务就写当前的属性值到数据库里，一收到另外一个请求就将他们的值从表里导出来，写到一个永久服务里，这个永久服务就是使用OPEN SQL的接口。<br />为一个对象使用persistent service,就需要使用persistent class, persistent class是唯一的，需要包含key attributes.使]]></description><category></category></item><item><title><![CDATA[Abstract class和Final class]]></title><link>https://blog.youkuaiyun.com/george_506/article/details/6264696</link><guid>https://blog.youkuaiyun.com/george_506/article/details/6264696</guid><author>george_506</author><pubDate>Mon, 21 Mar 2011 13:41:00 +0800</pubDate><description><![CDATA[<br />Abstract class (抽象类)： 没有instance.<br />abstract class:可以包含abstract method，也可以包含非abstract method;非abstract method可以实现。<br />abastract method:只能定义在abstract class中； 不能被重载；<br />需要定义一个sub class，只有在sub class才可以redefine 这个abstract method.<br /><br />Final ]]></description><category></category></item><item><title><![CDATA[OO对象中up-casting和Down-casting]]></title><link>https://blog.youkuaiyun.com/george_506/article/details/6264119</link><guid>https://blog.youkuaiyun.com/george_506/article/details/6264119</guid><author>george_506</author><pubDate>Mon, 21 Mar 2011 10:26:00 +0800</pubDate><description><![CDATA[在ABAP OO对象中，会经常提到UP-CASTING和Down-casting.那么这究竟是什么呢？UP-CASTING: 向上继承Down-casting:向下继承，也就是强制性向下赋值类型；比如：我们在系统里定义了一个Superclass: LCL_SUPERCLASS,它一个子类LCL_SUBCLASS并且CL_SUBCLASS继承了LCL_SUPERCLASS.子类的继承是通过INHERTING FROM来实现的。Data: lo_superclass type ref to LCL_SUPERC]]></description><category></category></item><item><title><![CDATA[exception class]]></title><link>https://blog.youkuaiyun.com/george_506/article/details/6253988</link><guid>https://blog.youkuaiyun.com/george_506/article/details/6253988</guid><author>george_506</author><pubDate>Wed, 16 Mar 2011 16:46:00 +0800</pubDate><description><![CDATA[在ABAP程序中，经常会碰到一些exception.通常碰见最多的地方也就是在Function module中添加的；下面介绍下Class Exception。Class exception通常是由CX_NO_CHECK/CX_DYNAMIC_CHECK/CX_STATIC_CHECK这3个类来调用，他们都会继承kernal class CX_ROOT;  当在TRY.   ENDTRY.这个句块中使用CATCH 捕捉到exception的时候，就通过方法GET_TEXT( )来读取text 信息。例如：首]]></description><category></category></item><item><title><![CDATA[程序中自定义接口和方法]]></title><link>https://blog.youkuaiyun.com/george_506/article/details/6252632</link><guid>https://blog.youkuaiyun.com/george_506/article/details/6252632</guid><author>george_506</author><pubDate>Wed, 16 Mar 2011 10:16:00 +0800</pubDate><description><![CDATA[<br />逻辑顺序：先建立接口及接口下的方法 =》 在类中声明接口 =》在类中实现接口类下的方法 =》定义类的实例，并调用接口下的方法  <br />REPORT  ZTEST01.<br />*----------------------------------------------------------------------*<br />*       INTERFACE ZIF_LCL_CLASS<br />*------------------------------------------]]></description><category></category></item><item><title><![CDATA[Web Dynapro产生错误信息]]></title><link>https://blog.youkuaiyun.com/george_506/article/details/6239306</link><guid>https://blog.youkuaiyun.com/george_506/article/details/6239306</guid><author>george_506</author><pubDate>Fri, 11 Mar 2011 10:02:00 +0800</pubDate><description><![CDATA[【第1步】SE91 - 创建一个message class ,如ZMSG，number为000.method ONACTIONSEARCH .  data: lo_node type ref to if_wd_context_node,        lo_element type ref to if_wd_context_element.  data: lv_vbeln type vbeln_va.  lo_node = wd_context->get_child_node( name = 'VBAK' ]]></description><category></category></item><item><title><![CDATA[RTTI中的一些类和方法的说明]]></title><link>https://blog.youkuaiyun.com/george_506/article/details/6231535</link><guid>https://blog.youkuaiyun.com/george_506/article/details/6231535</guid><author>george_506</author><pubDate>Tue, 08 Mar 2011 14:29:00 +0800</pubDate><description><![CDATA[ TYPES: BEGIN OF STR_MAT,           WERKS TYPE WERKS_D,           MATNR TYPE MATNR,           MAKTX TYPE MAKTX,       END OF STR_MAT.DATA: LO_STR TYPE REF TO CL_ABAP_STRUCTDESCR,      TAB_COMP TYPE CL_ABAP_STRUCTDESCR=>COMPONENT_TABLE.（1）获取结构的属性 LO_STR ?= ]]></description><category></category></item><item><title><![CDATA[Dynamic program]]></title><link>https://blog.youkuaiyun.com/george_506/article/details/6230685</link><guid>https://blog.youkuaiyun.com/george_506/article/details/6230685</guid><author>george_506</author><pubDate>Tue, 08 Mar 2011 09:37:00 +0800</pubDate><description><![CDATA[REPORT  ZTEST01.TYPES: BEGIN OF STR_MAT,         WERKS TYPE WERKS_D,         MATNR TYPE MATNR,         MAKTX TYPE MAKTX,       END OF STR_MAT.data: com_tab type cl_abap_structdescr=>component_table,      com like line of com_tab,      lo_tab type ref to cl]]></description><category></category></item></channel></rss>