02-2015年sap abap培訓教程44課英文flv adkj62講screen exit_第1頁
02-2015年sap abap培訓教程44課英文flv adkj62講screen exit_第2頁
02-2015年sap abap培訓教程44課英文flv adkj62講screen exit_第3頁
02-2015年sap abap培訓教程44課英文flv adkj62講screen exit_第4頁
02-2015年sap abap培訓教程44課英文flv adkj62講screen exit_第5頁
已閱讀5頁,還剩15頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1、 UNIT 3 LESSION 4Screen Exit 屏幕出口This lesson explains how to find a screen exit that is implemented using a customer exit. In addition, it outlines possible uses.本節(jié)課解釋如何尋找使用客戶出口實現的屏幕出口,此外,概述可能的用法。Lesson OverviewAfter completing this lesson, you will be able to: Find and use screen exits that are imp

2、lemented using customer exits完成本課程,我們將能夠: 尋找和使用由客戶出口實現的屏幕出口Lesson ObjectivesCustomer Exits - Screen ExitScreen exits allow you to make use of reserved sections of a main screen (subscreen areas). You can either display additional information in these areas or input data. You define the necessary inp

3、ut and output fields on a customer screen (subscreen).屏幕出口允許我們利用主屏幕 預留的子屏幕區(qū)域,我們可以 在這些區(qū)域顯示額外的信息或 輸入數據,我們在客戶屏幕( 子屏幕)上定義需要的輸入字 段和輸出字段。Customer Exits - Screen ExitSubscreens are rectangular areas on your screen that are reserved for displaying additional screens at runtime. Another screen (of the subscr

4、een type) can be displayed in each subscreen area at runtime.子屏幕區(qū)域是我們屏幕上的長方 形區(qū)域,這些區(qū)域是在運行時為 顯示額外的屏幕預留的,在運行 時,每一個子屏幕區(qū)域中能夠被 顯示另外一個屏幕(子屏幕類型)Customer Exits - Screen ExitYour system determines which screen has to be displayed in a subscreen area at the PBO event. The general syntax is: CALL SUBSCREEN INCL

5、UDING .我們的系統(tǒng)確定在PBO事件中,哪一個子屏幕需要給顯示在子屏幕區(qū)域中,通常的語法是: CALL SUBSCREEN INCLUDING .Customer Exits - Screen ExitFor each subscreen, PAI and PBO events are processed just as if the subscreen were a normal screen.The sequence of “CALL SUBSCREEN” calls in the flow logic of the main screen determines the sequenc

6、e in which the flow logic of individual subscreen screens is processed.對每一個子屏幕,PAI和PBO事 件被處理,就像這個子屏幕是普 通的屏幕一樣被處理。主屏幕流邏輯中的CALL SUBSC REEN調用順序,確定了個體子 屏幕的流邏輯被處理的順序。Customer Exits - Screen ExitImportant: The function code can only be processed via the main screen You are not allowed enter a name for a s

7、ubscreens command field. You are not allowed to define GUI statuses for subscreens. No value for next screen may be entered in a subscreens flow control.重要的: 功能碼只能通過主屏幕被處理 我們不能為子屏幕的命令字段給名 我們不能為子屏幕定義GUI Status 在子屏幕的流控制中不能有下一個 屏幕Customer Exits - Screen ExitThe SAP application programmer can reserve mu

8、ltiple subscreen areas for a screen.SAP應用程序員可以為一個屏幕預留多個子屏幕區(qū)域Customer Exits - Screen ExitThis subscreen is called during flow control of the main screen with the CALL CUSTOMER-SUBSCREEN statement. The name of the subscreen area must be defined without apostrophes. The function group to which the subs

9、creen belongs must be defined statically in apostrophes, but the screen number can be kept variable by using fields; it must always have four places.子屏幕在主屏幕的流控制期間,使用 CALL CUSTOMER-SUBSCREEN語 句被調用,子屏幕區(qū)域的名字必須不 帶省略號被定義,子屏幕所屬的函數 組必須在省略號中被靜態(tài)定義,但是, 屏幕編碼可以通過使用字段被保存在 變量中,變量必須四位長度。Customer Exits - Screen Exi

10、tScreen exit calls are inactive at first, and are skipped when a screen is processed.Only after a corresponding subscreen has been created in an enhancement project, and this project has been activated, will the system process the screen exit.You create subscreens for screen exits in X function grou

11、ps. Normally, these function groups also contain program exits.屏幕出口起初是不活動的,并在屏幕被處 理的時候被跳過。只有在一個增強項目中,相應的子屏幕被 創(chuàng)建,并且這個項目被激活,系統(tǒng)才會處 理這個屏幕出口。我們在X函數組中為屏幕出口創(chuàng)建子屏幕, 通常,這些函數組也包含程序出口。Customer Exits - Screen ExitWhenever the statement CALL CUSTOMER-SUBSCREEN INCLUDING occurs at PBO in the flow control of a scre

12、en, a subscreen is included in the subscreen area defined by SAP application programmers. At this point, all modules called during the PBO event of the subscreen are also processed.當語句CALL CUSTOMER-SUBSCREEN INCLUDING 在屏幕的流控制中的 PBO中執(zhí)行的時候,一個子屏幕就被包含 在由SAP應用程序員定義的子屏幕區(qū)域中, 這時,這個子屏幕PBO事件期間的所有模 塊調用也被處理。Cus

13、tomer Exits - Screen ExitThe PAI event of a subscreen is processed when the calling screen calls the subscreen during its PAI event using the statement CALL CUSTOMER-SUBSCREEN .當調用屏幕在其PAI事件中,使用語句CALL CUSTOMER-SUBSCREEN 調用子屏幕的時候,子屏幕的PAI事件被處理。Customer Exits - Screen ExitThe global data of the calling

14、program is not known to the X function group that contains your subscreen; SAP application programmers use program exits to explicitly provide this data to subscreens.對包含我們子屏幕的X函數組來說,調用程序的全局數據是不知道的,SAP應用程序員使用程序出口來顯示提供這個數據給子屏幕。Customer Exits - Screen ExitTo facilitate data transport, modules are call

15、ed in the flow control of the calling program that contain program exits for transferring data via interface parameters.The corresponding exit function modules are in the same X function group in which you must create the customer subscreen.為促進數據的傳輸,在調用程序 的流控制中有被調用的模塊,這 些模塊包含為通過接口參數傳輸 數據的程序出口。相應的出口函

16、數模塊在我們必須 創(chuàng)建客戶子屏幕的同一個X函數組 中。Customer Exits - Screen ExitData must be transported in the other direction as well, since global data from the X function group that contains the user entries on your subscreen is not known to the calling program either. For this reason, SAP application programmers use pr

17、ogram exits to return any data that was changed in the subscreen to the calling program.數據必須同時在另一個方向被傳 輸,由于包含我們子屏幕上用戶 記錄的X函數組的全局數據,對 調用程序來說也是不知道的,因 此,SAP應用程序員使用程序出 口來返回子屏幕中任何被修改的 數據給調用程序。Customer Exits - Screen ExitTo do this, the system calls a module at the PAI event of the main screen, which cont

18、ains a program exit that can receive the relevant global data for the X function group.要做這個傳輸,系統(tǒng)在主屏幕的PAI事件中調用一個模塊,這個模塊包含能夠接收X函數組相關全局數據的程序出口。Customer Exits - Screen ExitScreen exits are edited with the project management transaction (CMOD).The technical names of screen exits consist of the name of th

19、e calling program, the four-digit screen number for the main screen, and the name of the subscreen area, followed by the name of the X function groups program and the number of the subscreen.屏幕出口使用項目管理交易事務 (CMOD)被編輯。屏幕出口的技術名稱由調用程序、 主屏幕的四位屏幕編號、和子屏 幕區(qū)域的名字構成,后面跟著X函 數組的程序名和子屏幕編碼。Customer Exits - Screen ExitThe SAP dev

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論