‎2010 Jan 04 9:25 AM
Hi Experts ,
I am submitting a programme from my calling programme , the called programme generates a list which i want to skip during the execution of the main programme ,how can i skip the out put of the called report from my main programme and continue proceesing .
regards
PRASUN
‎2010 Jan 04 9:28 AM
Hi,
While using SUBMIT, use the extension EXPORTING LIST TO MEMORY.
Regards,
Amit Mittal.
‎2010 Jan 04 9:28 AM
Hi,
While using SUBMIT, use the extension EXPORTING LIST TO MEMORY.
Regards,
Amit Mittal.
‎2010 Jan 04 9:33 AM
‎2010 Jan 04 9:40 AM
Hi Prasun,
i have also used "EXPORT TO MEMORY" .. It worked well. (With extension AND RETURN - required)
See the syntax below
SUBMIT RMDMRPEXTRACT01 WITH SELECTION-TABLE INT_SELTAB
EXPORTING LIST TO MEMORY
AND RETURN.
Nag
‎2010 Jan 04 10:56 AM
Hi Pinaki
i am submitting rmdidoc with mesgtype eq value export list to memory and return , but everytime it is generating a list and i have come back tto the main programme by back button , is there is something i am missing in the sytax.
regards
Prasun
‎2010 Jan 04 11:11 AM
‎2010 Jan 04 11:16 AM
hi keshav
Please find the code below
SUBMIT rbdmidoc WITH mestyp EQ 'ZPMM_CONDA_ECC2PMM'
exporting list to memory
AND RETURN.
regards
Prasun
‎2010 Jan 04 11:17 AM
Hi Prasuna,
What is rmdidoc? , Could u please paste the exact code for the Submit syntax.
Thanks
Rohit G
‎2010 Jan 04 11:23 AM
Hi rohit
I rbdmidoc is a standard programme for idoc processing using message type.
regards
Prasun
‎2010 Jan 04 11:24 AM
HI rOHIT
Please find the code below.
SUBMIT rbdmidoc WITH mestyp EQ 'ZPMM_CONDA_ECC2PMM'
exporting list to memory
AND RETURN
regards
Prasun
‎2010 Jan 04 11:28 AM
Hi,
Instead of direct submit.
Follow below steps for avoid list display.
1) Open job
2) Submit with job name
3) Close job
‎2010 Jan 04 9:49 AM
Hi,
[http://erpbuzz.com/abap-submit-statement-calling-one-executable-program-from-another.php]
and use skip statement to skip first or any screen.
Thanks,
Arun
‎2010 Jan 04 9:50 AM
Hi Prasun,
Please use the EXPORTING LIST TO MEMORY AND RETURN addition with the SUBMIT.
It will resolve your issue.
Please check the code --
SUBMIT <Report_name> EXPORTING LIST TO MEMORY AND RETURN.Regards
Pinaki Mukherjee
‎2010 Jan 04 9:55 AM
Hi,
Instead of displaying a list on the screen, you can store it in ABAP memory using the EXPORTING LIST TO MEMORY addition in the SUBMIT statement:
SUBMIT... AND RETURN EXPORTING LIST TO MEMORY.
i) This statement stores the list in ABAP memory, allowing the calling program to access it once the called program has finished.
ii) You must use the "AND RETURN" addition in this case.
iii) The function group SLST provides function modules for accessing the saved list LIST_FROM_MEMORY.
Thnaks & Regards,
Abhijit
‎2010 Jan 04 9:57 AM
Hi Prasun,
First of all please check that the program ur submitting is a report or a modulr pool, in case it is a report program then u can use the following code inorder to skip the report list and get the output of report in an internal table:
DATA: BEGIN OF lt_list OCCURS 0 .
INCLUDE STRUCTURE abaplist .
DATA: END OF lt_list.
DATA: BEGIN OF lt_asci OCCURS 0 , " it should be of type ur list to be exported
matnr(18) ,
mtart(10) ,
date(1000) TYPE c,
END OF lt_asci.
SUBMIT ZZ_TEST05
WITH S_MATNR-LOW = ''
EXPORTING LIST TO MEMORY
AND RETURN.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = lt_list
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'LIST_TO_ASCI'
EXPORTING
LIST_INDEX = -1
* WITH_LINE_BREAK = ' '
* IMPORTING
* LIST_STRING_ASCII =
TABLES
listasci = lt_asci
listobject = lt_list
EXCEPTIONS
empty_list = 1
list_index_invalid = 2
OTHERS = 3.
* IF sy-subrc <> 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
* ENDIF.
Do reply for any confusion:
Rohit
Code Formatted by: Alvaro Tejada Galindo on Jan 4, 2010 3:56 PM
‎2010 Jan 04 10:21 AM
Hi ROHIT,
i am submitting rmdidoc with mesgtype eq value export list to memory and return , but everytime it is generating a list and i have come back tto the main programme by back button , is there is something i am missing in the sytax
reagrds
Prasun
‎2010 Jan 04 11:30 AM
Hi,
Follow below steps, Instead of direct submitting.
1) Open job
2) Submit with job name
3) Close job
In this process we can avoid list display.
Thanks,