




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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.本节课解释如何寻找使用客户出口实现的屏幕出口,此外,概述可能的用法。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).屏幕出口允许我们利用主屏幕 预留的子屏幕区域,我们可以 在这些区域显示额外的信息或 输入数据,我们在客户屏幕( 子屏幕)上定义需要的输入字 段和输出字段。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.子屏幕区域是我们屏幕上的长方 形区域,这些区域是在运行时为 显示额外的屏幕预留的,在运行 时,每一个子屏幕区域中能够被 显示另外一个屏幕(子屏幕类型)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 .我们的系统确定在PBO事件中,哪一个子屏幕需要给显示在子屏幕区域中,通常的语法是: 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应用程序员可以为一个屏幕预留多个子屏幕区域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语 句被调用,子屏幕区域的名字必须不 带省略号被定义,子屏幕所属的函数 组必须在省略号中被静态定义,但是, 屏幕编码可以通过使用字段被保存在 变量中,变量必须四位长度。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.屏幕出口起初是不活动的,并在屏幕被处 理的时候被跳过。只有在一个增强项目中,相应的子屏幕被 创建,并且这个项目被激活,系统才会处 理这个屏幕出口。我们在X函数组中为屏幕出口创建子屏幕, 通常,这些函数组也包含程序出口。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中执行的时候,一个子屏幕就被包含 在由SAP应用程序员定义的子屏幕区域中, 这时,这个子屏幕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、数模块在我们必须 创建客户子屏幕的同一个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.要做这个传输,系统在主屏幕的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)被编辑。屏幕出口的技术名称由调用程序、 主屏幕的四位屏幕编号、和子屏 幕区域的名字构成,后面跟着X函 数组的程序名和子屏幕编码。Customer Exits - Screen ExitThe SAP dev
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年气管插管三基考试题及答案
- 2025年中药学简答题试题及答案
- 2025年驾照科目试题及答案
- 2025年重庆单招试题及答案
- 2025年体操专业测试题及答案
- 2025年东乡中测试题及答案
- 2025年mysql查询面试题及答案
- 机油使用协议书
- 村与学校协议书
- 村民收地协议书
- 卫生监督协管员培训考试试题及答案
- 税务查账教学课件
- 产业研究报告-2025年中国生物质发电行业发展现状、市场规模、投资前景分析(智研咨询)
- 中医适宜技术-中药热奄包
- 2023年江苏大学附属医院医护人员招聘笔试模拟试题及答案解析
- 事故案例分析考试真题版
- 小学数学人教一年级上册准备课年市级公开课教案 市赛获奖
- 医院管理案例-智慧后勤助力医院后勤管理转型
- 企业应急管理及能力提升培训课件精选
- GB∕T 36363-2018 锂离子电池用聚烯烃隔膜
- 北京师范大学心平自立贷学金实施细则
评论
0/150
提交评论