Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Submit Exporting list to Memory

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

naimesh_patel
Active Contributor
0 Kudos

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

2 REPLIES 2

naimesh_patel
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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