每日一函數(2007/12/09)
函數:MD_STOCK_REQUIREMENTS_LIST_API說明:MRP庫存需求清單函數[@more@]例子:call function 'MD_STOCK_REQUIREMENTS_LIST_API' exporting* plscn = matnr = it_marc-matnr werks = p_werks* berid =* ergbz =* afibz =* inper =* display_list_mdpsx = 'x'* display_list_mdezx = 'x'*
国际企业管理复习资料(2)
第二章 国际企业的基本理论[@more@]1、名词解释: 跨国公司:是指两个以上国家的实体所组成的公营、私营或混合所有制形式的企业,不论这些实体是法律形式和经营活动领域如何,该公司实施在一个决策体系中运营,通过一个或一个以上的决策中心得以具有吻合的政策和共同的战略;该公司中各实体通过所有权或其他形式相联结,从而一个或更多的实体可以对其他实体的活动施加有效的影响,特别是其他实体分享知识、资源和责任。(就是在它的基地所在国之外拥有或控制着生产和服务设施的企业。)所有权优势:是指企业拥有或掌握某种财产权或无开资产的
国际企业管理复习资料(1)
第一章 总论[@more@]第一1、名词解释:国际经济一体化:是指世界各国在社会生产的各个领域内都实现的国际化。经济全球化:是指各国在生产、分配、流通、消费各个领域紧密联系,在资源开发、配置及各种生产要素的流动、应用方面实现国际分工和协作,使全球经济突破地理限制,成为一个相互依赖、密不可分的国际经济体系。国际企业:是指在两个或两个以上国家或地区设立生产或销售机构,并从事跨国生产与经营活动的企业。企业经营国制化:是指企业从国内经营走向跨国经营的过程。2、简答题现代国际企业的特征。答:1.在众多的国家或地区之间
每日一函數(2007/12/08)
函數:CLAF_CLASSIFICATION_OF_OBJECTS說明:根據物料碼查找分類特性值[@more@]例子:call function 'CLAF_CLASSIFICATION_OF_OBJECTS' exporting* CLASS = ' '* CLASSTEXT = 'X' classtype = '001'* CLINT = 0* FEATURES = 'X'* LANGUAGE = SY-LANGU object = objek_matnr "物料碼* OBJECTTABLE = ' '
英语写作 第十四天:THE BENEFITS OF TRAVELING 旅行的益处
I am always interested in traveling. My reasons are quite (extremely) simple and clear. If anybody is not satisfied with my viewpoint(s), I shall be greatly surprised at his ways of thinking.In the first place, traveling increases our knowledge. Only by traveling can we see (因為用(only)開頭,主動詞須顛倒)things outside our home town.In the second place, traveling is good to our health. While we are traveling, we usually exercise our bodies.In conclusion, I earnestly hope that everybody must
英语写作 第十三天:HOW EXERCISE HELPS 运动的利益
If our bodies are not strong, our spirit to do things will certainly be quite dull. And at the same time, we are lack of energy (ies) to study. Diseases will only attack the weak, but not the strong.Why are our bodies not strong? Because we do not pay attention to exercise. For this reason, we students must often take different kinds (sorts) of exercise in the gym.Exercise helps us (to) strengthen our bodies and avoid disease. It also teaches us cooperation, for most exercise is played by team.[
英语写作 第十二天:HONESTY IS THE BEST POLICY 诚为上策
There is an English proverb which says (saying) 「Honesty is the best policy.」 It signifies the importance of honesty.What are the benefits of honesty? If you are honest to others, they will be honest to you in return. When you are sad, they will comfort you. When you are in trouble, they will help you.There is no enumerating the evils of dishonesty here. In a word, a dishonest man will be looked down upon by others and (be) regarded as a public enemy.[@more@]英國有一句諺語說「諡樯喜摺埂K?f明
Basis常用事務代碼
僅供參考:[@more@]1.SM50 Work Process Overview Tools-Administration-Monitoring-System monitoring-Process overview2.SM04 User List Tools-Administration-Monitoring-System monitoring-User overview3.AL08 Users Logged On Tools-Administration-Monitor-Performance-Exceptions/Users-Active users-Users, global3.SM02 System Messages Tools-Administration-Administration-System Messages4.AL11 Display SAP Directories Tools-CCMS-Control Monitoring-Performance Menu-Exceptions/Users-Exceptions-SAP directories5.
根據選擇的物料顯示其特性值
程式代碼:[@more@] report zrp_show_material_chara.include <list>.tables: mara, makt, marc, ausp, kssk, klah, ksml, cabn, cabnt.data: gt_fieldcat type lvc_t_fcat.data: gp_table type ref to data.field-symbols: <gt_table> type table.data: g_title type string.data: begin of wa_fieldlist, atinn like ausp-atinn, "特性碼 atbez like cabnt-atbez, "特性名稱 atfor like cabn-atfor, "資料類型 anzst like cabn-anzst, "字元數 anzdz like cabn-anzdz, "小數位數e
SAP物料主檔新舊物料碼對照
程式代碼:[@more@] report ZRP_NEW_OLD_MATNR. tables: mara, makt, marc.type-pools: slis.data: fieldcat type slis_t_fieldcat_alv, fieldcat_ln like line of fieldcat, event_exit type slis_t_event_exit, event_exit_ln like line of event_exit, sortcat type slis_t_sortinfo_alv, sortcat_ln like line of sortcat, eventcat type slis_t_event, eventcat_ln like line of eventcat.data: gt_list_top_of_page type slis_t_listheader.data: gc_formname_t
在屏幕上多項選擇示例(More on selection screens)
程序代碼:[@more@]*&---------------------------------------------------------------------**& Report ZPROG02*&*&---------------------------------------------------------------------**& Demo 2 - More on selection screens*&*&---------------------------------------------------------------------*REPORT ZPROG02.***********************************Define Tables**********************************TABlES: MARA.***********************************Input Screen***********************
使用concatenate連接時,字串類型(String)要比字符類型(C)快
Character and String Manipulation:Depending on the length of the character field, string operation may be faster. The concatenate algorithm has to compute the length of the fixed character fields by scanning the first non-blank character from the end. [@more@]data string1 type string.data string2 type string.data string3 type string.string1 = 'mysap'.string2 = '.com'.concatenate string1 string2 into string3.以上代碼的速度要比下面的代碼快:data c1(200) type c.data c2(200) type c.data c3(400) typ
C與I類型的比較
Comparing C with C ist faster as comparing C with a great number .[@more@] DATA C(8) TYPE C. IF '12345678' = C. ENDIF.上述代碼比以下代碼速度要快。 DATA C(8) TYPE C. IF 12345678 = C. ENDIF.
STATICS 语句
如果要在过程的运行时间之外仍保留某变量的数值,可以在该过程中利用STATICS语句定义该变量。STATICS语句是DATA语句的变异。语法如下: STATICS <s>[<length>] <type> [<value>] [<decimals>].要在过程中将字段串定义为静态有效,如:[@more@]The subroutine add_1 gets the same result for the variable local for each call as this is instanced again each time. The static variable static is already available and its value increased by 1 during each call. DO 10 TIMES. PERFORM add_one. END
SAP数据库的划分
SAP的数据库分为两部份,即Cross-Client和Client-Specific。Cross-Client包括Repository和其他一些东西,其中,Repository这部分组成数据字典;在Client-specific部分,包括应用程序和客户化的表。由于有了Client-specific部分,才使得各个用户的数据得以区分。[@more@]
ABAP代码运行时间优化的几点建议
ABAP/4的程序会需要花费大量的时间执行,而且会使其它进程被迫暂停以等待当前程序运行结束。 这里提供一些建议以提高你的程序运行速度和系统荷载。[@more@]1.最主要的是尽量减少I/O操作,然后是内存占用,在再就是CPU的负载。类似对硬盘的读写的I/O 操作是最耗费时间的。如果对内存的操作不加以控制,可能有些时候不得不对硬盘的交换空间操作,这样就增加了对磁盘的I/O读写操作。CPU的负载可以通过优化程序来改善,在程序中尽量使用诸如SUM(SQL语句)或者COLLECT(ABAP语句)。 2.Field-groups对于多层次的排序和显示是非常有用的。它是将
每日一函數(2007/12/07)
函數:BAPI_CLASS_SELECT_OBJECTS說明:根據分類碼查找用到該分類物料碼清單[@more@]例子:call function 'BAPI_CLASS_SELECT_OBJECTS' exporting classtype = '001' "001為物料分類 classnum = ip_class "分類碼* LANGUISO =* LANGUINT =* KEYDATE = SY-DATUM* MAXHITS = 100* I_STATUS_LOCKED =* I_STATUS_INCOMPLETE
ABAP對記錄進行加鎖及解鎖
具體操作步驟:[@more@]1. 使用TCODE: SE11,選擇最後一項[加鎖物件],輸入物件名稱(注意一定要以字母‘E’開頭,這是SAP內部規定的,如EZTESTING)2. 輸入名稱後,按新增,進入界面後輸入要加鎖的Table名,及加鎖類型(E:專用,累計;S:共享;X:專用,不累計)。保存後,系統會自動產生兩個函數: ENQUEUE_EZTESTING(加鎖)和 DEQUEUE_EZTESTING(解鎖)。3.然後在更改記錄前調用加鎖函數對記錄進行鎖定,在修改完成或退出修改後一定要對記錄進行解鎖。 具體加鎖及解鎖的使用可參考以下代碼:(Table:ZTESTING,key: fieldKey)加鎖:form l
ABAP字符串操作
ABAP對字串的操作方法與其他語言的操作有較大差別,以下是較常用的對字串操作的方法:[@more@]1. 字串的連接:CONCATENATE DATA: t1 TYPE c LENGTH 10 VALUE 'We', t2 TYPE c LENGTH 10 VALUE 'have', t3 TYPE c LENGTH 10 VALUE 'all', t4 TYPE c LENGTH 10 VALUE 'the', t5 TYPE c LENGTH 10 VALUE 'time', t6 TYPE c LENGTH 10 VALUE 'in', t7 TYPE c LENGTH 10 VALUE 'the', t8 TYPE c LENGTH 10 VALUE 'world', result TYPE string. CONCATENATE t1 t2 t3 t4 t5 t6 t7 t8 INTO r
每日一函數(2007/11/06)
函數:CF_UT_UNIT_CONVERSION說明:不同單位之間的數量轉換[@more@]例子:call function 'CF_UT_UNIT_CONVERSION' exporting matnr_imp = p_matnr "物料碼 (可選) meins_imp = p_meins "物料基本單位(可選) unit_new_imp = to_unit "目標單位 unit_old_imp = From_unit "原單位 value_old_imp = p_qty "轉換數量 importing value_new_exp = out_pty. "目標單位數量 .if sy-subrc <> 0. MESSAGE ID SY-MS