- 1、本文档共16页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ABAP--如何在选择屏幕上输出ALV GRID报表(国外英文资料)
ABAP--如何在选择屏幕上输出ALV GRID报表(国外英文资料)
Some clients want some functional report to see the input parameters on the screen at the same time when the report is output
I want to be able to query the selection criteria over and over again. The way to do this is to output the report content on the screen.
In general, you will find the corresponding routines directly from the SAP system and then modify them. But SAP system
The routines of the series are object-oriented development, which is not quite the custom of our group of old birds. I took a closer look at this routine,
Change it to our usual programming model. The code sees the attachment, and the details are as follows:
The selection screen is also a screen, unlike the one created in general: it doesnt have a PBO, a PAI event, or a report program
The INITIALIZATION is the PBO event that selects the screen, and other events are the PAI events that select the screen. Specific event and program functions
The code is as follows:
INITIALIZATION.
PERFORM sub_init_cond. initialize the selected screen field
PERFORM sub_create_fieldcat.
PERFORM sub_init_layout.
PERFORM sub_create_object. create the object on the screen
START - OF - SELECTION.
PERFORM sub_process_cond. handle the selection criteria
PERFORM sub_query_t006a. query the relevant data
The END - OF - SELECTION.
PERFORM sub_refresh_table. refresh the data in the inner table
We created the ALV GRID output needed for the INITIALIZATION event. If the output inner table GT_RESULT [] is
Empty, skip this code; If the output inner table GT_RESULT [] is not empty, you create the object that ALV GRID needs,
The contents are then printed on the selected BLOCK on the screen.
System MEMORY ID sy-cprog is a global storage area used to store the table data in the result. If it doesnt feel convenient
A new inner table can be defined to hold the data for the resulting inner table. The contents of the IMPORT MEMORY ID are assigned to the result
In the inner table, the data in the resul
您可能关注的文档
- 01 C语言基础(国外英文资料).doc
- 01控制一个LED 灯的亮和灭(国外英文资料).doc
- 09会计管理会计作业(国外英文资料).doc
- 009年山东省聊城市高唐县中小学班主任远程培训(国外英文资料).doc
- 01探索者STM32F4开发板光盘结构(必读)(国外英文资料).doc
- 01-第一章 计算机的基础知识(国外英文资料).doc
- 09年 春 计算机六_1(国外英文资料).doc
- 10KV高压电缆头冷缩(国外英文资料).doc
- 1.日本研制出防瞌睡座椅提高驾驶(国外英文资料).doc
- 10个常用菜鸟必学DOS命令(国外英文资料).doc
- 2024-2025学年黑龙江省饶河县高级中学高三下学期二模(4月)数学试题含解析.doc
- 自考作文17篇带范文(1).pdf
- 做好化妆品专卖店的三步走.docx
- 自考英语二语法(词性转换)(1).pdf
- 高压旋喷桩试桩方案.docx
- 自考作文讲义(曹胖版)(1).pdf
- 新教科版四年级科学上册期末测试卷及参考答案【实用】.docx
- 2024-2025学年湖北省武汉市黄陂区汉口北高中高三第四次月考(数学试题)试题含解析.doc
- 2024-2025学年黑龙江省哈尔滨市第六中学高三第二学期期末练习(二模)数学试题试卷含解析.doc
- 2024-2025学年福建省福州文博中学高三下学期一模诊断测试数学试题含解析.doc
文档评论(0)