refer to :http://forums.sdn.sap.com/thread.jspa?threadID=824322
Any driver program must contain Open_Form, Close_Form and Write_Form. Other function modules are optional.
OPEN_FORM: This function module opens layout set printing. One must call this function module before he uses any of other layout set function modules like Write_Form, Start_Form, Control_Form etc., You need specify a layout set name in the export parameters of this function module. If nothing is passed to Open_Form then one should use Start_Form function module to open layout set before starting the output. The layout set opened by Open_Form should be closed by Close_Form function module, other wise output doesnt appear. We can use any number of Open_Form, Close_Form functions in one single program. But Close_Form must be there for every Open_Form in the program.
Some of the important export parameters we have to pass to Open_Form function module.
Form: Enter the Layout set name here, which then controls the output formatting. If nothing is specified then we must use Start_Form for opening layout set.
Language: Layout sets are Language dependent. Enter the desired language here. If the entered layout set is not in that language, then the function tries to open the Form entered in its original language. The default value is SY-LANGU.
Device: SAP Script can format a text on different device types. The device can be PRINTER or TELEX, TELEFAX, ABAP and SCREEN.
Dialog: Use parameter DIALOG to determine whether to display a dialog box before printing, in which the user can set several spool parameters for print formatting. Possible values: SPACE displays no print parameter screen. 'X' display print parameter screen. Default value: 'X'
Options: Use parameter OPTIONS to set several options for print formatting. The parameter has the structure ITCPO. The user can change some of the defined settings on the print control screen. The default value for Options is . We will discuss about ITCPO structure in detail later.
Other Export, Import and Exceptions are self-explanatory.
Start_Form: In-between the function modules OPEN_FORM and CLOSE_FORM, we can use different layout sets. This allows us to combine several different layout sets into one print output. However, we can combine only those layout sets that have the same page format. To switch layout sets, use the function module START_FORM. If another layout set is still open, we must close it first using END_FORM. If we specify no layout set name when calling START_FORM, the system restarts the last open layout set. If after OPEN_FORM no layout set was activated yet, the system leaves the function module with the exception UNUSED. Some of the important export parameters for this function module are
Form: The parameter contains the name of the layout set you want to use for printing. If you specify no layout set here, the system restarts the last active layout set.
Language: Layout sets are language-dependent. Enter the desired language here. If the layout set does not exist in this language, the system tries to call the layout set in its original language. If the parameter LANGUAGE is empty, the system uses the language of the last active layout set.
Startpage: Usually, SAP script starts with the page specified as start page in the layout set definition. If we want to start output with another layout set page, enter the name of the desired layout set page here. If the desired page is not defined, the system uses the start page defined in the layout set.
Program: To replace program symbols, SAP script must know which active program contains the work areas for the values to be passed. If we omit the parameter, the system searches for the field values in the program that was specified in the parameter OPTIONS (field TDPROGRAM) of OPEN_FORM. If we enter a program name, the system replaces the program symbols with the values from this program up to the next END_FORM.
分享到:
相关推荐
### PLMN与PSTN的区别详解 #### 一、概述 本文旨在清晰地阐述公共陆地移动网络(PLMN)与公共交换电话网络(PSTN)之间的主要区别。随着通信技术的发展,这两种网络系统各自承担着不同的角色,并在各自的领域内...
difference_output_all(1).xlsx
标签“difference_of_image tongue8lb white_”进一步确认了主题,强调了图像差异计算和特定的图像“tongue8lb_white”。 在压缩包内的文件中: 1. "chrom_adapt_bradford.m":这可能是一个MATLAB脚本,实现了...
6. What is Free and Open Source Software (FOSS)?.....................28 7. Advantages and disadvantages of FOSS ...................................33 8. Is donated software also free software? ..........
市场营销与销售是商业活动中两个密切相关的但又有所区别的领域。它们之间的差异可以从多个角度进行阐述: 1. 目标与期限:市场营销关注长期的竞争优势和未来市场趋势,旨在解决问题并创造需求;...
在IT领域,数据库的选择对于系统设计至关重要。本文将深入探讨两种截然不同的数据库类型:HBase和RDBMS(关系型数据库管理系统)之间的差异,以及为什么在某些情况下选择HBase可能更为合适。 HBase,全称为Hadoop ...
在图像处理和计算机视觉领域,"accumulative_difference.rar_Inter-frame_图像差分"是一个重要的概念,主要用于检测视频序列中的运动物体。这个标题暗示了我们正在处理一个与视频分析相关的项目,其中涉及到帧间图像...
标题 "Project 1 Code_Yanbo Li.zip_CFD_The Difference_excitedfeg_matlab" 涉及的是一项计算项目,重点在于实现有限差分算法(Finite Difference Method)在CFD(Computational Fluid Dynamics,计算流体动力学)...
The Finite Difference Time Domain Method for Electromagnetics With MATLAB Simulations Atef Elsherbeni and Veysel Demir Chapter 11
MAKING A WORLD OF DIFFERENCE 这是我的英文自传。我决定把整本书从收费的Amazon转换成免费分享。昨晚修改格式后(内 容丝毫未变)。任何一本书不可能没有错误,如果您看到错误,请留言,一定修改。谢谢! 这本英文...
【标题】"源程序_单片机台灯_单片机_台灯控制程序_台灯_difference7fn_" 涉及的是一个基于单片机的智能LED台灯项目,其核心是使用了STC89C51RC型号的单片机进行控制。这个项目不仅实现了基本的照明功能,还加入了...
Femtocells offer a different approach to these problems. Femtocells are smaller than nano cells but the biggest difference is not the size of the cell.
本文将深入探讨这一主题,并结合提供的“sum_difference.rar”压缩包文件中的“sum_difference_single.m”和“sum_difference_double.m”两个MATLAB脚本来阐述相关知识点。 首先,我们需要理解幅度和差的概念。在...
《消消乐游戏laya版本.zip_difference74w_laya_neste77_thisb9a_消消乐游戏laya版本》是一个与游戏开发相关的压缩包,主要关注的是使用LayaBox引擎创建的一款名为“消消乐”的休闲益智游戏。LayaBox是一款强大的2D/...
Simulation of a gaussian pulse propagated in free space through 1000 um, using finite differences....Just run the script and you'll get a surface which is made up of the pulse propagated at 1 um steps.
json 转化图像的,有的时候图像中某个类别不存在, 在转化的时候回发生类别 偏差,按照指定像素进行转化,不管一张图像有几类都不会变化
采用相关法在TMS320F28035上实现计算两个信号相位差
利用difference expansion水印隐藏! 方法是利用Haar整数变换,或是S变换在LSB里隐藏水印信息
EZ-USB FX2系列和EZ-USB FX2LP系列是Cypress公司生产的USB 2.0高速控制器。从FX2迁移到FX2LP的过程中,设计人员需要注意两者之间存在的功能差异,并对现有设计进行必要的修改以适应新系列的特点。...
本文将详细阐述“AVO difference.zip”压缩包中的知识点,包括地震参数反演、地震AVO反演、地震反演以及地震弹性反演,并结合压缩包内的四个文件进行解析。 地震参数反演是一种利用地震波传播信息来推断地下岩石...