两个Function module 可以将submit 产生的list 读取并展示。这个例子可以运用到BDC,batch job等批量作业上面。 REPORTytest_0102. DATAlist_tabTYPETABLEOFabaplist. SUBMITytest0101EXPORTINGLISTTOMEMORY ANDRETURN. CALLFUNCTION'LIST_FROM_MEMORY' TABLES listobject = list_tab EXCEPTIONS not_found =1 OTHERS=2....
方式二:将执行结果放入MEMORY(此法用于结果不是很明确的ALV结构),关键代码: EXPORT export_list TO MEMORY ID 'MB51_EXPORT_LIST'. SUBMIT... IMPORT export_list FROM MEMORY ID 'MB51_EXPORT_LIST'. 示例:获取MB51执行结果数据,详细代码: *&---* *& Report ZTEST_CALL_MB51 *& *&---* *& *& 获...
SUBMIT report EXPORTING LIST TO MEMORY AND RETURN. And later in our code we can read its output this way: CALL FUNCTION 'LIST_FROM_MEMORY' TABLES listobject = list_tab EXCEPTIONS not_found = 1 OTHERS = 2. But how does it work? The output from report is available throughout ABAP memor...
如果用SUBMIT z_simple_program EXPORTING LIST TO MEMORY AND RETURN.程序会输出calling中的语句,simple程序中的值不会输出,保存在内存中。如果你希望先输出calling中的语句,可以考虑使用GUI status START-OF-SELECTION.WRITE '222'.SET PF-STATUS 'STATUS_1000'.AT USER-COMMAND.CASE sy-ucomm.W...
SUBMIT zreport USING SELECTION-SET 'VARIANT1'. *Submit report but export resultant list to memory, rather than *it being displayed on screen SUBMIT zreport EXPORTING LIST TO MEMORY. * Once report has finished and control has returned to calling ...
Submit 'xxx' Exporting List to Memory returns no records for Extractor Go to solution Former Member 2016 Feb 12 5:35 PM 0 Kudos 417 SAP Managed Tags: ABAP Development Hi Gurus, I have created an extractor that remotely calls a report and retrieves data into SAP BW When I...
SAP Managed Tags: ABAP Development Hi, i am sorry for this stupid question, now I am learning abap. I need to submit some report from function module and recieve from that report some table. So I think that I have to submit this way: SUBMIT rep EXPORTING LIST TO MEMORY. now i am ...
SAP Managed Tags: ABAP Development Hi, i am sorry for this stupid question, now I am learning abap. I need to submit some report from function module and recieve from that report some table. So I think that I have to submit this way: SUBMIT rep EXPORTING LIST TO MEMORY. now i am ...
POPUP_TO_DECIDE_LIST 弹出供选择窗口 ABAP_DOCU_DOWNLOAD –以HTML格式下载ABAP文档。 ARFC_GET_TID – 以十六进制形式返回终端的IP地址。 BAL_* -容纳了SAP的应用程序日志所有的函数模块。 BP_EVENT_RAISE –在 ABAP/4 程序中触发一个事件。 BP_JOBLOG_READ –获得job log的执行结果。
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC' EXPORTING i_callback_program = sy-repid "程序名 is_layout_lvc = gs_layout "自定義樣式 it_fieldcat_lvc = gw_fieldcat "獲取自定義表格方法中的字段 i_save = 'A' i_default = 'X' TABLES t_outtab = <t_dyntable> EXCEPTIONS program_error = ...