Application Development and Automation 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: 
Read only

problem with submit xxxx export to memory

Former Member
0 Likes
694

HI,

i am using the below statement to send the output to memory.

even i use the return statement the program is going to output of the report.

it is not coming back automatically from report output.

can any one correct it if i am wrong.

SUBMIT RCNPE000

USING SELECTION-SET 'TEST_K'

USING SELECTION-SETS OF PROGRAM 'RCNPE000'

EXPORTING LIST TO MEMORY AND RETURN.

Thanks,

khasimsa.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
610

HI,

if you are using the list than do the following changes.

SUBMIT RCNPE000 EXPORTING LIST TO MEMORY

AND RETURN.

CALL FUNCTION 'LIST_FROM_MEMORY'

TABLES

listobject = list_tab

EXCEPTIONS

not_found = 1

OTHERS = 2.

IF sy-subrc = 0.

CALL FUNCTION 'WRITE_LIST'

TABLES

listobject = list_tab.

ENDIF.

if your using selection screen

SUBMIT RCNPE000 USING SELECTION-SCREEN '1100'

AND RETURN.

Thanks and Regards

Anna

HI,

i am using the below statement to send the output to memory.

even i use the return statement the program is going to output of the report.

it is not coming back automatically from report output.

can any one correct it if i am wrong.

SUBMIT RCNPE000

USING SELECTION-SET 'TEST_K'

USING SELECTION-SETS OF PROGRAM 'RCNPE000'

EXPORTING LIST TO MEMORY AND RETURN.

Thanks,

khasimsa.

2 REPLIES 2
Read only

Former Member
0 Likes
610

Hi,

Are you using the function module LIST_FROM_MEMORY to get the return ??

Read only

Former Member
0 Likes
611

HI,

if you are using the list than do the following changes.

SUBMIT RCNPE000 EXPORTING LIST TO MEMORY

AND RETURN.

CALL FUNCTION 'LIST_FROM_MEMORY'

TABLES

listobject = list_tab

EXCEPTIONS

not_found = 1

OTHERS = 2.

IF sy-subrc = 0.

CALL FUNCTION 'WRITE_LIST'

TABLES

listobject = list_tab.

ENDIF.

if your using selection screen

SUBMIT RCNPE000 USING SELECTION-SCREEN '1100'

AND RETURN.

Thanks and Regards

Anna