‎2006 Dec 06 10:57 AM
Hii All,
I am using SUBMIT stmt to run a different report R2. I need to submit this report in background and see the report list from memory. I am using the following:
SUBMIT REPORT2 using <specifications> list in memory and return.
But the list is getting displayed in the foreground only. I dont want this. I dont want to see the list in foreground. What needs to be done?
M A
‎2006 Dec 06 11:00 AM
Hi mohammad,
1. we have to use
submit myreport
EXPORTING LIST TO MEMORY
and return.
regards,
amit m.
‎2006 Dec 06 11:00 AM
Use the SUBMIT statement with TO SAP-SPOOL option instead.
~Suresh
‎2006 Dec 06 11:02 AM
Hi,
Did you used
SUBMIT REPORT2 using <specifications> <b>exporting</b> list in memory and return.
Check here.
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/submit.htm
‎2006 Dec 06 11:02 AM
Use F1 on SUBMIT and you will see different options. Are you using SUBMIT....EXPORTING?
‎2006 Dec 06 11:23 AM
Hi,
use below logic
DATA: PARAMS LIKE PRI_PARAMS,
DAYS(1) TYPE N VALUE 2,
COUNT(3) TYPE N VALUE 1,
VALID TYPE C.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING DESTINATION = 'LT50'
COPIES = COUNT
LIST_NAME = 'TEST'
LIST_TEXT = 'SUBMIT ... TO SAP-SPOOL'
IMMEDIATELY = 'X'
RELEASE = 'X'
NEW_LIST_ID = 'X'
EXPIRATION = DAYS
LINE_SIZE = 79
LINE_COUNT = 23
LAYOUT = 'X_PAPER'
SAP_COVER_PAGE = 'X'
COVER_PAGE = 'X'
RECEIVER = 'SAP*'
DEPARTMENT = 'System'
NO_DIALOG = ' '
IMPORTING OUT_PARAMETERS = PARAMS
VALID = VALID.
IF VALID <> SPACE.
SUBMIT RSTEST00 TO SAP-SPOOL
SPOOL PARAMETERS PARAMS
WITHOUT SPOOL DYNPRO.
ENDIF.
Regards
amole