‎2008 Nov 30 9:30 AM
I have use SUBMIT statement which is calling another report & i am exporting its output.
But some times it generate message which comes from the Called Program.
I dnt want this message to come in Calling program.How can i control that.
Viru.
‎2008 Dec 01 11:23 AM
SUBMIT rm07docs VIA SELECTION-SCREEN AND RETURN exporting list to memory.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = t_list
EXCEPTIONS
not_found = 1.
‎2008 Nov 30 9:52 AM
Hi Virendra
You can do this
SUBMIT ZPROGRAM EXPORTING LIST TO MEMORY.
so you can manipulate the list display according to your need.
You this link for more details on Submit:
http://sapdevelopment.co.uk/reporting/rep_submit.htm
Regards
Neha
‎2008 Nov 30 10:50 AM
SUBMIT RMCB0300 WITH SL_WERKS-LOW = P_WERKS
WITH SL_LGORT = 'C001' WITH SL_LGORT = 'Q001'
WITH SL_LGORT = 'R001' WITH SL_LGORT = 'T001'
WITH SL_MTART = 'ROH'
WITH SL_SPMON-LOW = P_FPERIOD
WITH SLV_NO = 'YMC.9'
WITH SL_SPMON-HIGH = P_FPERIOD EXPORTING LIST TO MEMORY AND RETURN .
Calling Program - ZTEST.
Here SUBMIT is generating "No data exists for chosen selection" Message no. M5017.
I dnt want to display this message if i used ZTEST.How can i control that.
‎2008 Nov 30 12:53 PM
Hi
Have you tried this:
SUBMIT
RMCB0300 WITH SL_WERKS-LOW = P_WERKS
WITH SL_LGORT = 'C001' WITH SL_LGORT = 'Q001'
WITH SL_LGORT = 'R001' WITH SL_LGORT = 'T001'
WITH SL_MTART = 'ROH'
WITH SL_SPMON-LOW = P_FPERIOD
WITH SLV_NO = 'YMC.9'
WITH SL_SPMON-HIGH = P_FPERIOD.
EXPORTING LIST TO MEMORY.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = itab_list
EXCEPTIONS
not_found = 4
OTHERS = 8.
Regards
Neha
if you do this you can
‎2008 Nov 30 7:47 PM
Thanx Neha,
I have used the same code.
But the problem is that ,the message gets generate in the SUBMIT program not in Calling Program.
Is their ay command to control this message .
Viru.
‎2008 Dec 01 11:23 AM
SUBMIT rm07docs VIA SELECTION-SCREEN AND RETURN exporting list to memory.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = t_list
EXCEPTIONS
not_found = 1.
‎2008 Dec 02 5:03 AM
But it is taking me to selection screen,which i dnt want.
I want to pass parameters from by calling program.
thanx,
Dheeraj Nadamwar
‎2009 Feb 07 5:31 AM
Hi Virendra,
did your problem solved?
PLease share the solution with me as I am facing same problem.
rgds,
Madhuri