2020-09-22 10:41发布
点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)专家们。 我需要在不使用/不使... 显示全部
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
专家们。
我需要在不使用/不使用EXCEL的情况下将Alv数据导出到本地文件。
请帮助我了解如何通过标准Alv导出调用此模式
任何人都有示例代码吗?
谢谢您
嗨
使用此FM:K_KKB_LIST_DISPLAY
示例:
调用函数'K_KKB_LIST_DISPLAY'导出 i_export = i_export * I_INTERFACE_CHECK = i_callback_program = l_callback_program * I_CALLBACK_USER_COMMAND = * i_callback_top_of_page = ms_list_events = ms_list_events-topoflist * i_callback_end_of_page = ms_list_events-endofpage * i_callback_end_of_list = ms_list_events-endoflist * I_CALLBACK_PF_STATUS_SET = * I_CALLBACK_LAY_FIELD == * I_CALLBACK_LAY_SOUT == I_CALLBACK_BEFORE_LINE_OUTPUT =点击* I_CALLBACK_AFTER_LINE_OUTPUT =点击* I_CALLBACK_FOREIGN_TOP_OF_PAGE =点击* I_CALLBACK_FOREIGN_END_OF_PAGE =点击* I_CALLBACK_LIST_MODIFY =点击* I_CALLBACK_TOP_OF_COVERPAGE =点击* I_CALLBACK_END_OF_COVERPAGE =点击* I_CALLBACK_HEADER_TRANSPORT =点击* I_CALLBACK_REPREP_SEL_MODIFY = * I_CALLBACK_SUBTOTAL_TEXT = i_tabname = l_tabname i_oo_alv = me is_layout = ls_layout_kkblo it_fieldcat = lt_fiel dcat_kkblo * I_FCTYPE ='R' it_clusion = lt_clusion it_special_groups = lt_special_groups_kkblo it_sort = lt_sort_kkblo it_filter = lt_filter_kkblo * IT_EVENT_EXIT_h = l = ide sel_sel = lt_kkbl_qinf ir_salv_adapter =我-> r_salv_adapter * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = 表 t_outtab = it_collect00 = it_collect01 = it_collect02 = it_collect03 = it_collect04 = it_collect05 = it_collect06 = it_collect07 = it_collect08 = it_collect09 = 。
最多设置5个标签!
嗨
使用此FM:K_KKB_LIST_DISPLAY
示例:
调用函数'K_KKB_LIST_DISPLAY' sel_sel = lt_kkbl_qinf
。
导出
i_export = i_export
* I_INTERFACE_CHECK =
i_callback_program = l_callback_program
* I_CALLBACK_USER_COMMAND =
* i_callback_top_of_page = ms_list_events = ms_list_events-topoflist
* i_callback_end_of_page = ms_list_events-endofpage
* i_callback_end_of_list = ms_list_events-endoflist
* I_CALLBACK_PF_STATUS_SET =
* I_CALLBACK_LAY_FIELD ==
* I_CALLBACK_LAY_SOUT ==
I_CALLBACK_BEFORE_LINE_OUTPUT =点击* I_CALLBACK_AFTER_LINE_OUTPUT =点击* I_CALLBACK_FOREIGN_TOP_OF_PAGE =点击* I_CALLBACK_FOREIGN_END_OF_PAGE =点击* I_CALLBACK_LIST_MODIFY =点击* I_CALLBACK_TOP_OF_COVERPAGE =点击* I_CALLBACK_END_OF_COVERPAGE =点击* I_CALLBACK_HEADER_TRANSPORT =点击* I_CALLBACK_REPREP_SEL_MODIFY =
* I_CALLBACK_SUBTOTAL_TEXT =
i_tabname = l_tabname
i_oo_alv = me
is_layout = ls_layout_kkblo
it_fieldcat = lt_fiel dcat_kkblo
* I_FCTYPE ='R'
it_clusion = lt_clusion
it_special_groups = lt_special_groups_kkblo
it_sort = lt_sort_kkblo
it_filter = lt_filter_kkblo
* IT_EVENT_EXIT_h = l = ide
ir_salv_adapter =我-> r_salv_adapter
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
表
t_outtab =
it_collect00 =
it_collect01 =
it_collect02 =
it_collect03 =
it_collect04 =
it_collect05 =
it_collect06 =
it_collect07 =
it_collect08 =
it_collect09 =
一周热门 更多>