Submit Exporting list to Memory
I am facing a problem while submitting a standard report RKAEP000.
Please find the code I have done in my report.
WITH aufnr IN s_aufnr
WITH p_tcode = 'KOB1'
WITH p_disvar = 'ZWEEKLYTEST'
EXPORTING LIST TO MEMORY
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.
Naimesh Patel replied
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.