【正文】
44. Name a few system global variables you can use in ABAP programs? 45. What are internal tables? How do you get the number of lines in an internal table? How to use a specific number occurs statement? 46. How do you take care of performance issues in your ABAP programs? 47. What are datasets? 48. How to find the return code of a stmt in ABAP programs? 49. What are interface/conversion programs in SAP? 50. Have you used SAP supplied programs to load master data? 51. What are the techniques involved in using SAP supplied programs? Do you prefer to write your own programs to load master data? Why? 52. What are logical databases? What are the advantages/disadvantages of logical databases? 邏輯數(shù)據(jù)庫(kù)是特殊的 ABAP/4 程序,將一 定數(shù)據(jù)庫(kù)表的內(nèi)容組合 在一起??梢詫⑦壿嫈?shù)據(jù)庫(kù)鏈接為 ABAP/4 報(bào)表程序的屬性。這樣,邏輯數(shù)據(jù)庫(kù)就可向報(bào)表程序提供一組層次結(jié)構(gòu)表格行。 該層次結(jié)構(gòu)表格行可從不同數(shù)據(jù)庫(kù)表中提取。創(chuàng)建或維護(hù)邏輯數(shù)據(jù)庫(kù)的事務(wù)是SE36 或者SLDB。 選擇 “工具 ABAP/4 工作臺(tái) 開(kāi)發(fā) 編程環(huán)境 邏輯數(shù)據(jù)庫(kù)”。53. What specific statements do you using when writing a drill down report? 54. What are different tools to report data in SAP? What all have you used? 55. What are the advantages and disadvantages of ABAP query tool? 56. What are the functional areas? User groups? and how does ABAP query work in relation to these? 57. Is a logical database a requirement/must to write an ABAP query? 58. What is the structure of a BDC sessions. 59. What are Change header/detail tables? Have you used them? 60. What do you do when the system crashes in the middle of a BDC batch session? 61. What do you do with errors in BDC batch sessions? 62. How do you set up background jobs in SAP? What are the steps? What are the event driven batch jobs? 63. Is it possible to run host mand from SAP environment? How do you run? 64. What kind of financial periods exist in SAP? What is the relavent table for that? 65. Does SAP handle multiple currencies? Multiple languages? 66. What is a currency factoring technique? 67. How do you document ABAP programs? Do you use program documentation menu option? 68. What is SAPscript and layout set? 69. What are the ABAP mands that link to a layout set? 70. What is output determination? 71. What are IDOCs? 72. What are screen painter? menu painter? Gui status? ..etc. 73. What is screen flow logic? What are the sections in it? Explain PAI and PBO. 74. Overall how do you write transaction programs in SAP? 75. Does SAP has a GUI screen painter or not? If yes what operating systems is it available on? What is the other type of screen painter called? 76. What are step loops? How do you program pagedown pageup in step loops? 77. Is ABAP a GUI language? 78. Normally how many and what files get created when a transaction program is written? What is the XXXXXTOP program? 79. What are the include programs? 80. Can you call a subroutine of one program from another program? 81. What are user exits? What is involved in writing them? What precations are needed? 82. What are RFCs? How do you write RFCs on SAP side? 83. What are the general naming conventions of ABAP programs? 84. How do you find if a logical database exists for your program requrements? 85. How do you find the tables to report from when the user just tell you the transaction he uses? And all the underlying data is from SAP structures? 86. How do you find the menu path for a given transaction in SAP? 87. What are the different modules of SAP? 88. What is IMG in SAP? 89. How do you get help in ABAP? 90. What are different ABAP editors? What are the differences? 91. What are the different elements in layout sets? 92. Can you use if then else, perform ..etc statements in sap script? 93. What type of variables normally used in sap script to output data? 94. How do you number pages in sapscript layout outputs? 95. What takes most time in SAP script programming? 96. How do you use tab sets in layout sets? 97. How do you backup sapscript layout sets? Can you download and upload? How? 98. What are presentation and application servers in SAP? 99. In an ABAP program how do you access data that exists on a presentation server vs on an application server? 100. What are different data types in ABAP? 101. What is difference between BDC and Call Transaction? 102. Setting up a BDC program where you find information from? 103. What has to be done to the packed fields before submitting to a BDC session. 問(wèn)題一:鎖對(duì)象(Lock Object)和 FM(Function Module),激活Lock Object時(shí),產(chǎn)生的 FM 的名字是什么?答案:首先要在 ABAP 字典中創(chuàng)建鎖對(duì)象,然后才能在 ABAP 程序中設(shè)鎖。創(chuàng)建鎖對(duì)象時(shí),系統(tǒng)會(huì)自動(dòng)生成兩個(gè) FM 來(lái)進(jìn)行鎖管理。 用于設(shè)鎖的 FM 為: ENQUEUE_鎖對(duì)象名。它用于在鎖表(Lock Table)中生成一個(gè)鎖項(xiàng)(Lock Entry)。若設(shè)鎖不成功的話(huà),就會(huì)在 Return 中反映出來(lái)。用于釋放鎖的 FM 為:DEQUEUE_鎖對(duì)象名。它用于從鎖表中刪除一個(gè)鎖項(xiàng)。在 ABAP 程序中,只需使用 CALL FUNCITION ... 語(yǔ)句就可以調(diào)用它們。這兩個(gè)鎖 FM 是在 SAP 系統(tǒng)的一個(gè)特殊工作進(jìn)程中執(zhí)行的,專(zhuān)門(mén)進(jìn)行鎖管理。它運(yùn)行在一個(gè)單獨(dú)的服務(wù)器上,而該服務(wù)器專(zhuān)門(mén)用于維護(hù)整個(gè) SAP 系統(tǒng)的主鎖表(Central Lock Table)。有兩種鎖類(lèi)型:1. 共享鎖——只讀鎖,一個(gè)用戶(hù)正在讀數(shù)據(jù)時(shí),阻止其他用戶(hù)更改該數(shù)據(jù)。2. 獨(dú)占鎖——可寫(xiě)鎖,一個(gè)用戶(hù)正在修改數(shù)據(jù)時(shí),阻止其他用戶(hù)更改該數(shù)據(jù)。 問(wèn)題二:更新方面的 FM更新 FM 分為 V1 和 V2,那么首先會(huì)執(zhí)行哪一種更新類(lèi)型呢?每種類(lèi)型又是以哪種模式(異步、同步或本地)執(zhí)行的呢? 答案:V1 更新類(lèi)型比 V2 更新類(lèi)型的優(yōu)先級(jí)高,因此,V1 比 V2 行執(zhí)行。V1 的執(zhí)行模式可以為異步、同步或本地;V2 只能為異步執(zhí)行。問(wèn)題三:ABAP 內(nèi)存(ABAP Memory)交換在使用 ABAP 內(nèi)存的程序間進(jìn)行數(shù)據(jù)交換時(shí)用到的兩個(gè)語(yǔ)句是什么? 答案:EXPORT to MEMORY ID id/id用于將數(shù)據(jù)復(fù)制到 ABAP 內(nèi)存,IMPORT from MEMORY ID id/id用于將數(shù)據(jù)從 ABAP 內(nèi)存復(fù)制到程序中。在 ABAP 內(nèi)存間進(jìn)行交換的數(shù)據(jù)必須在兩個(gè)程序中都進(jìn)行聲明,并包含同樣的數(shù)據(jù)聲明。 問(wèn)題四:授權(quán)對(duì)象(Authorization Objects)什么是授權(quán)對(duì)象?在 ABAP 程序中使用哪條語(yǔ)句進(jìn)行授權(quán)檢查?答案:授權(quán)對(duì)象由一組字段組成,這些字段中的值將被用于進(jìn)行授權(quán)檢查。ABAP 程序中使用 AUTHORITYCHECK 語(yǔ)句根據(jù)授權(quán)對(duì)象進(jìn)行授權(quán)檢查。在 AUTHORITYCHECK 語(yǔ)句中,必須指明授權(quán)對(duì)象的所有字段,但有一個(gè)例外,可以用 DUMMY 關(guān)鍵字來(lái)繞過(guò)某個(gè)字段的檢查。一個(gè)授權(quán)對(duì)象中最多可以定義 10 個(gè)字段。問(wèn)題五:修改(Modifications)在 SAP 系統(tǒng)中是怎樣定義修改的?它們對(duì)更新(upgrade)有怎樣的影響?答案:修改是指用戶(hù)對(duì) SAP 發(fā)布的庫(kù)對(duì)象(Repository Object)進(jìn)行的更改。必須在更新期間對(duì)修改進(jìn)行評(píng)審(Review),來(lái)決定是否應(yīng)該使用新的 SAP 對(duì)象,以及將來(lái)使用時(shí)是否需要進(jìn)一步修改該對(duì)象。問(wèn)題六:修改助手(Modification Assistant)什么是修改助手?答案:修改助手是 版中引入的一個(gè)工具,用于簡(jiǎn)化更新過(guò)程??梢酝ㄟ^(guò) ABAP 編輯器觸發(fā)修改助手,它會(huì)記錄對(duì)系統(tǒng)進(jìn)行的修改。修改助手支持通過(guò) ABAP 編輯器、Screen Painter、Menu Painter、文本元素維護(hù)、Function Builder 和 ABAP 字典進(jìn)行的修改。問(wèn)題七:功能模塊出口(Function Module Exit)實(shí)現(xiàn)功能模塊出口時(shí) SAP 應(yīng)用程序中應(yīng)使用哪條語(yǔ)句?答案:某些 SAP 應(yīng)用程序中存在功能模塊出口,它使用戶(hù)能夠向 SAP 程序中添加一些功能。通過(guò)搜索 CALL CUSTOMER 可以發(fā)現(xiàn)是否存在功能模塊出口。問(wèn)題八: