09-09-2008 6:16 PM
Hi,
I am facing a problem while submitting a standard report RKAEP000.
Please find the code I have done in my report.
SUBMIT RKAEP000
WITH aufnr IN s_aufnr
WITH p_tcode = 'KOB1'
WITH p_disvar = 'ZWEEKLYTEST'
EXPORTING LIST TO MEMORY
AND RETURN.
The output list is not moving to the memory.Inspite of giving EXPORTING LIST TO MEMORY, still it is displaying the report.
Can anyone please help on this.
Many Thanks,
Sharath
09-09-2008 7:11 PM
I think it is not passing the list to Memory because by default it generates the ALV Grid.
To generate the LIST, you have to pass the parameter P_USEGRD and in this way it will not call the list.
SUBMIT RKAEP000
WITH aufnr IN s_aufnr
WITH p_tcode = 'KOB1'
WITH p_disvar = 'ZWEEKLYTEST'
WITH P_USEGRD = ' ' "<< For List
EXPORTING LIST TO MEMORY
AND RETURN.
Regards,
Naimesh Patel
09-09-2008 7:11 PM
I think it is not passing the list to Memory because by default it generates the ALV Grid.
To generate the LIST, you have to pass the parameter P_USEGRD and in this way it will not call the list.
SUBMIT RKAEP000
WITH aufnr IN s_aufnr
WITH p_tcode = 'KOB1'
WITH p_disvar = 'ZWEEKLYTEST'
WITH P_USEGRD = ' ' "<< For List
EXPORTING LIST TO MEMORY
AND RETURN.
Regards,
Naimesh Patel
09-09-2008 7:11 PM
Hi,
Please try like this...
SUBMIT YVREE025 EXPORTING LIST TO MEMORY
AND RETURN
WITH P_VKORG = P_VKORG
WITH P_VTWEG = P_VTWEG
WITH P_SPART = P_SPART
WITH S_VKBUR IN S_VKBUR
WITH S_VKGRP IN S_VKGRP
WITH S_KUNNR IN S_KUNNR.
Thanks and Regards
Guru