SAP Managed Tags: ABAP Development Hi Guyz, I created a program using submit and return..since it there is an existing program named ZFF_STA_VESSEL which wil generate a per cost center report, i will call it to my program ZF_SummarySOA which will create a multiple cost center report.....
* Once report has finished and control has returned to calling * program, use function modules LIST_FROM_MEMORY, WRITE_LIST and * DISPLAY_LIST to retrieve and display report. *Example Code (Retrieving list from memory) DATA BEGIN OF itab_list OCCURS 0. INCLUDE STRUCTURE abaplist. DATA END ...
ABAP:SUBMIT执行其他报表并返回的数据 有些情况我们需要取一些标准报表的数据,如果自己重写比较复杂,用SUBMIT … AND RETURN可以调用标准报表并获取获取返回值。 参考:ZEROTEST69 语法:SUBMIT [程序名] WITH [调用程序屏幕的参数名]IN/= 值 AND RETURN 加上EXPORTING LIST TO MEMORY 将程序返回的alv输出到MEMORY可以...
cl_salv_bs_runtime_info=>set( EXPORTING display = abap_false metadata = abap_false data = abap_true ). CLEAR lr_alv_data. UNASSIGN <lt_alv_data>. SUBMIT rm07mlbd "MB5B特殊库存及搜索条件 WITH matnr IN so_matnr WITH werks IN so_werks WITH lgort EQ so_lgort-low "循环获取每个库存...
AND RETURN关键字在一个新的内部会话中运行程序。调用程序和当前的SAP LUW会保持存在,被调用程序运行它自己的SAP LUW,一旦程序访问结束,程序将继续执行SUBMIT语句之后的内容。 在SUBMIT后如何获取数据 对于获取某些既有ALV报表数据的需求,可以使用submit来满足,并且不需要修改既有报表程序的代码。 如果你不想在调用后输...
*Submit report and return to current program afterwards SUBMIT zreport AND RETURN. *Submit report via its own selection screen SUBMIT zreport VIA SELECTION-SCREEN. *Submit report using selection screen variant SUBMIT zreport USING SELECTION-SET 'VARIANT1'. ...
下面ABAP语句允许你调用一个可执行程序或者事务码,调用后你可以直接退出主调程序,或者返回到调用被调程序的地方继续后继代码的执行:可执行Program TransactionCall (without returning) SUBMIT LEAVE TO TRANSACTIONCall and return SUBMIT AND RETURN CALL TRANSACTION...
SAP Managed Tags: ABAP Development I want to create a report and need to call the report program AUT_REP10 in this program using submit and return. Transaction is AUT10. When I tried to call using submit with parameters exporting list to memory and return, it is showing the below dump...
SAP Managed Tags: ABAP Development HI, I have to submit to two reports from my ABAP report, one after the other. Now, after submitting to the first ABAP report, suppose there is some problem with the selection paramters and user plans to exit out, so he presses on the back button, ...
SAP Managed Tags: ABAP Development Hi ALL, I have 2 programs (Zpgm1 and Zpgm2) and i am calling this program from another a customer screen based on a push button. if pgm1 = 'X'. submit ZPGM1 via selection-screen with p_e = 'X' and return. ELSEIF PGM2 = 'X'. submit ZPG...