网站大量收购独家精品文档,联系QQ:2885784924

ABAP--如何在选择屏幕上输出ALV GRID报表(国外英文资料).doc

ABAP--如何在选择屏幕上输出ALV GRID报表(国外英文资料).doc

  1. 1、本文档共16页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 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

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档