- 浏览: 406012 次
- 性别:
- 来自: 上海
文章分类
最新评论
-
yiming163:
thank you!
eCATT, LSMW in detail -
泡泡蓝:
把WITH INCLUDES.改成 WITH ANALYSI ...
User Exits,Customer Exits,BAdI and BTE -
泡泡蓝:
王弈争 写道泡泡蓝 写道SCAN ABAP-SOURCE SO ...
User Exits,Customer Exits,BAdI and BTE -
王弈争:
泡泡蓝 写道SCAN ABAP-SOURCE SOURCETA ...
User Exits,Customer Exits,BAdI and BTE -
jgtang82:
泡泡,我没遇到你所说的问题呀
User Exits,Customer Exits,BAdI and BTE
1. 对select-options的显示作约束
在Report的Initialization event中调用FM: SELECT_OPTIONS_RESTRICT (该Function的Help文档中有较仔细的用法说明和示例程序)
2. 动态获取屏幕的值的FMs
DYNP_VALUES_READ : Parameter
DYNPRO_FIELD_GET
RS_REFRESH_FROM_SELECTOPTIONS : Select-Options
e.g:
<!----> FORM GET_DYN_VALUE USING P_NAME
CHANGING P_VALUE.
DATA: LT_DYN_VALUES TYPE TABLE OF DYNPREAD,
WA_DYN_FIELD LIKE LINE OF LT_DYN_VALUES.
TRANSLATE P_NAME TO UPPER CASE.
WA_DYN_FIELD-FIELDNAME = P_NAME.
APPEND WA_DYN_FIELD TO LT_DYN_VALUES.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
DYNAME = SY-REPID
DYNUMB = SY-DYNNR
TRANSLATE_TO_UPPER = 'X'
TABLES
DYNPFIELDS = LT_DYN_VALUES.
READ TABLE LT_DYN_VALUES INDEX 1 INTO WA_DYN_FIELD.
P_VALUE = WA_DYN_FIELD-FIELDVALUE.
ENDFORM. " get_dyn_value
3. AT SELECTION-SCREEN OUTPUT时修改Screen上的element显示相关属性
LOOP AT screen.
screen-active = 0/1.
MODIFY SCREEN.
ENDLOOP.
4. 隐藏标准选择屏幕的执行按钮
REPORT ZTXXX.
DATA it_exclude TYPE TABLE OF sy-ucomm.
PARAMETER p_1 TYPE lifnr.
AT SELECTION-SCREEN OUTPUT.
APPEND 'ONLI' TO it_exclude.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = sy-pfkey
TABLES
p_exclude = it_exclude.
5. Interact with radiobutton/ checkbox on selection screen
SAP demo program: DEMO_SEL_SCREEN_USER_COMMAND
6. Search Help
7. 在subscreen中调用selection screen (1000)
...
zt: http://www.saptechies.com/selection-screen/
Selection Screen Contents
1. Using select options to select records
2. Select options with more than one default value or range
3. Making a frame around groups of fields on the selection screen.
4. making a checkbox
5. Making a radiobutton group
6. How to add an option programmatically after the user has finished the selection screen
7. Selection screen events
8. Making an option invisible
9. Selection screen - Parameters on a single line
10. Setting the title text of a selection screen dynamically
11. Using a custom toolbar in a selection screen
12. Skip line on selection screen
13. Using a matchcode
1. Using select options to select records
SELECT-OPTIONS: S_CPUDT FOR BKPF-CPUDT DEFAULT SY-DATUM,
S_USNAM FOR BKPF-USNAM.
SELECT * FROM BKPF
WHERE CPUDT IN S_CPUDT AND
USNAM IN S_USNAM.
2. Select options with more than one default value or range
If you want to use more than one default value or default range, you add the values to the internal table selection table.
Note: You don't have to declare the table, it is created automatically. The table has the same name as the select variable ( In the example below s_hkont ).
SELECT-OPTIONS: S_HKONT FOR ZTSAPSPEC-HKONT.
INITIALIZATION.
MOVE: 'I' to s_hkont-sign,
'BT' TO S_HKONT-OPTION,
'87111100' TO S_HKONT-LOW,
'87111124' TO S_HKONT-HIGH.
APPEND S_HKONT.
MOVE: 'I' to s_hkont-sign,
'EQ' TO S_HKONT-OPTION,
'87111300' TO S_HKONT-LOW,
APPEND S_HKONT.
3. Making a frame around groups of fields on the selection screen.
SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: S_CPUDT FOR BKPF-CPUDT OBLIGATORY
DEFAULT SY-DATUM.
SELECTION-SCREEN END OF BLOCK 1.
You can add further blocks (block2.......)
4. making a checkbox
parameters: x_afstem as checkbox default 'X'.
5. Making a radiobutton group
PARAMETERS: RADIOBUTTON GROUP ,
RADIOBUTTON GROUP .
Example:
PARAMETERS: BUTTON1 RADIOBUTTON GROUP RAPT,
BUTTON2 RADIOBUTTON GROUP RAPT.
In the program you test for the radiobuttons like this:
if button1 = 'X' then.
< Here comes some code>
elseif button2 = 'X' then.
< Here comes some code>
endif.
5. How to add an option after the user has finished the selection screen
Use the at selection-screen event to add options as showed above in example 2.
7. Selection screen events
Initialization Before processing the selection screen
at selection-screen output Before the contents of selections screen is displayed
at selection-screen on p/s Processed after the user has specified the Parameter p
or Select option s
at selection-screen After the user has specified all selection criteria
8. Making an option invisible
If you don't want the user to be able to see the option you want to add, define it as No-DISPLAY.
SELECT-OPTIONS: S_HKONT FOR ZTSAPSPEC-HKONT NO-DISPLAY,
S_BUKRS FOR ZTSAPSPEC-BUKRS,
9. Selection screen - Parameters on a single line
SELECTION-SCREEN BEGIN OF LINE.
* The system does not output selection texts for parameters.
* Set your own
SELECTION-SCREEN COMMENT 1(15) text-001.
* Parameters
PARAMETERS: p1(3) TYPE c,
p2(5) TYPE c.
SELECTION-SCREEN COMMENT 55(10) p_wmunit.
SELECTION-SCREEN END OF LINE.
INITIALIZATION.
MOVE 'Unit' TO p_wmunit.
10. Setting the title text of a selection screen dynamically
Define GUI titles for the report. In this example the GUI titles COLLILABEL
and PALLETLABEL has been defined. In the INITIALIZATION event, dynamically
set which GUI title to show with the SET TITELBAR statement.
INITIALIZATION.
IF p_colli = 'X'.
SET TITLEBAR 'COLLILABEL'.
ELSEIF p_pallet = 'X'.
SET TITLEBAR 'PALLETLABEL'.
ENDIF.
11. Using a custom toolbar in a selection screen
When you use your own custom toolbar in a selection screen, the flow of the
report changes. Below is an example of how to use the events in such a
report.
Important! To be abel to submit your report, the submit button on the custom
toolbar of the selection screen must be named
'ONLI' (= Execute) or 'PRIN' (= Execute and Print).
INITIALIZATION.
* Your custom toolbar for the selection screen
SET PF-STATUS '0002'.
AT SELECTION-SCREEN.
* Handle sy-ucomm from your custom toolbar on the selection screen. Note
that it is not necessary explicitly to handle 'ONLI' or 'PRIN'
CASE sy-ucomm.
WHEN 'GETDATA'.
WHEN 'EXIT'.
LEAVE PROGRAM.
ENDCASE.
START-OF-SELECTION.
..... retreieve data for the ereport.....
END-OF-SELECTION.
* PF status for the report
SET PF-STATUS '0001'.
..... write report ......
Henrik Frank
12. Skip line on selection screen
Selection-screen skip 1.
13. Using a matchcode
Parameters:
matnr like mara-matnr matchcode object mat1.
Note: Matchcode objects can be found in SE11
发表评论
-
Sap Number Range Object (SNRO)
2010-12-21 16:11 1828Brief Example http://www.sapte ... -
SAP R/3 Security Tables
2010-12-09 15:27 1616Below the list of SAP R/3 Sec ... -
Class def & impl, Inherit & overwriting, interface & using it, event & handler
2010-12-08 10:05 1148Below codes is a simply and rou ... -
IDOC_INPUT_ORDERS with error msg RV45A-VBAP_SELKZ (2) is not input field
2010-11-08 14:51 2403[Issue] Hi I am creating a mul ... -
SAP ALV Trees
2010-11-05 14:07 2151BCALV_GRID_DND_TREE ALV Grid: D ... -
Creating a SAP shortcut for any transaction and sending it by mail
2010-11-02 11:12 2004Refer to SAP wiki: http://wiki. ... -
Note 573128 - Debugging programs in the background
2010-11-01 20:13 1176Note 573128 - Debugging program ... -
Function Module related on Date calculations (ZT)
2010-07-20 17:00 1691http://wiki.sdn.sap.com/wiki/di ... -
SAP SDN Interesting Topics
2010-06-29 09:48 984Web Dynpro ABAP Performance Too ... -
SE16N &SAP_EDIT, ICON at Selection Screen
2010-06-12 17:35 1732摘录From blog of 翱翔云天 1. SE16N & ... -
Debug background processes, update/system code,model dialog...
2009-12-18 13:55 1197How do I debug running backgrou ... -
ABAP character variables vs. string variables
2009-11-16 11:23 2947Chinese Version: http://blog.cs ... -
ECC6 ALV Dump
2009-10-21 15:20 1032[Dump] 1. Use system reserved ... -
Simple Transfermation Program
2009-08-07 23:42 1994Have you been requested to gene ... -
eCATT, LSMW in detail
2009-02-15 10:14 3451eCATT : http://sap.iteye.com/bl ... -
Trigger ABAP program using UNIX script
2009-01-09 13:27 22421. Create a batch job in SM37 f ... -
How to cancel active job, del/change schedule job
2008-12-26 09:56 2305if the job is active and you wa ... -
How to Run UNIX script from ABAP?
2008-12-19 12:52 2526Look at SM69, SM49 and Functio ... -
REUSE_ALV_GRID_DISPLAY事件子过程和cl_gui_grid类的事件对应关系
2008-12-04 18:46 3855一、SLIS定义的ALV的事件名称* Eventsslis_e ... -
DDIC info related tables
2008-12-03 09:58 1943Data elementsDD04L Data elem ...
相关推荐
Report Machine 操作手册 Report Machine(RM)是一款功能强大的 Delphi 报表控件包,使用它可以制作出非常复杂的报表。下面将详细介绍 Report Machine 的使用方法和相关知识点。 一、Report Machine 的基本用法 ...
常见问题解决方法 1. 如何在一张纸上双面打印报表?可以在打印时选择打奇数页还是打偶数页。 2. 如何在一个页面中打印固定的条数?可以设置 LinesPerPage,另外最后一页记录不够时可以设置 AutoAppendBlank=True 来...
《iFix-Dream Report梦醒报表操作指南》是一款专门针对iFix系统提供的报表工具,旨在帮助用户更加高效地管理和分析工业自动化系统中的数据。这款工具提供了丰富的报表设计和数据分析功能,使得用户能够根据实际需求...
标题中的“3_Screen_Report”指的是关于移动设备(Mobile)、电视(TV)和个人电脑(PC)三类屏幕的综合报告。这份报告很可能是针对现代多屏幕环境下的用户体验、市场趋势和技术发展进行深入分析的文档。在描述中,...
总的来说,这些文档覆盖了BI@Report v3.3的全面操作,无论你是初次接触还是经验丰富的用户,都能从中找到所需的信息,提升报表开发和数据分析的能力。通过深入学习和实践,可以充分挖掘BI@Report的潜力,为企业决策...
New Report New Report New Report New Report
在本案例中,"data view_report screen"似乎是一个专为创建这类大屏设计的平台,可能是基于Web的应用,通过它用户可以自定义和设计数据报表。结合标签"vue",我们可以推断这个平台可能使用Vue.js作为前端框架来构建...
通过其强大的功能集,style Report支持多种数据源连接方式以及灵活多变的报表样式定制,满足不同行业领域对数据报告的需求。 #### 1.2 style Report的特点 - **数据源支持广泛**:包括但不限于数据库(MySQL、...
在XtraReport中,你可以通过其直观的设计器来构建报表,这个设计器支持拖放操作,允许用户添加各种类型的字段、表格、图表、图片和自定义形状。报表的布局可以灵活调整,满足不同需求。此外,XtraReport还支持子报表...
报告机器(ReportMachine)是一款专为Delphi开发者设计的报表生成工具,其在Delphi 10.2版本中的兼容性和实用性已经得到了实际测试验证。本文将深入探讨ReportMachine与Delphi 10.2的集成,以及如何利用ReportMachine...
在报表工具领域,"reportMachine"与市面上其他常见的报表控件相比,虽然可能在某些方面表现出类似的特性,但其核心优势在于用户友好的界面和直观的操作流程。用户可以通过拖放方式添加和调整报表元素,如表格、图表...
在使用ReportMachine3时,开发者可以按照以下步骤操作来添加二维码: 1. **集成Qrcode功能**:由于ReportMachine3已经内置了Qrcode源码,因此不需要下载或导入任何额外的库。在Delphi的项目中,直接调用相关的API或...
6. 去水印功能:去水印版的Grid++Report消除了试用版中常见的版权水印,这意味着用户在设计和打印报表时不会看到任何干扰元素,提升了报表的专业外观和用户体验。 7. 文件组件:在压缩包中的“gregn50.dll”和...
在.NET开发领域,DevExpress是一款广泛使用的控件库,其中XtraReport是其报表系统的核心组件。本篇文章将深入探讨如何在XtraReport中实现手工分页功能,通过代码实例来详细解析这一技术。 手工分页是指在报表设计时...
SAP ReportPainter 应用指南 SAP ReportPainter 应用指南是 SAP 系统中的一种报表设计工具,用于创建复杂的报表。它可以帮助用户快速创建报表,并提供了许多有用的功能和参数来控制报表的输出格式。 Report...
9. 报告任务:定义执行批处理操作的任务(数据加载,Excel 加载,备份,数据处理等)或从外部程序集触发程序。 10. 无 SQL 数据源:从您自己的代码中填写源数据表并将其显示在报表中。 Seal Report 的系统要求包括...
- **交互式操作**:报表可以设计为交互式,允许用户在查看时进行筛选、排序等操作。 4. **安装与使用** "Rave_7_6_2_BE.exe"是Rave Report 7.6.2 BE的安装程序,下载后双击执行即可开始安装。安装过程中需遵循...
《ReportMachine帮助电子书》是针对ReportMachine这款专业报表生成工具的详尽指南,旨在协助用户深入了解该软件的功能和操作方法。ReportMachine是一款强大的数据可视化和报表制作工具,广泛应用于企业数据分析、...
《ReportMachine5.51全源码解析与应用探索》 ReportMachine是一款备受推崇的报表控件,尤其在.NET开发环境中被广泛使用。其5.51版本的发布,为开发者提供了更强大、更灵活的报表设计和呈现能力。本文将深入探讨...
下面将对activereport报表控件的使用进行详细的说明,并解决一些常见的问题。 判断是否到报表的最后一页 判断是否到报表的最后一页是activereport报表控件中常见的问题。解决方法是控制一页的记录行数,然后根据...