cancel
Showing results for 
Search instead for 
Did you mean: 

how to export to memory using submit statement?

former_member182426
Active Contributor
0 Kudos

hi friends,

There is a standard report RPTQTA10.

After executing this report using submit statement i want get the result from the QTTRANS itable of RPTQTA10 to our local itab of BSP.

After this from local itab of BSP i want display some fields of local itba.

Any solutions plz....

Regards,

shankar.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member182426
Active Contributor
0 Kudos

SOLVED

former_member188685
Active Contributor
0 Kudos

use exporting list to memory addition

SUBMIT RPTQTA10 with .......

EXPORT LIST

AND RETURN.

Now after the submit call , use this code.

data: field(25).
field-symbols: <fs_tab> type standanrd table.
field = '(RPTQTA10)QTTRANS[]'.

assign (field) to <fs_tab>.

now you can have all the information of QTTRANS internal table.

try this,,

former_member182426
Active Contributor
0 Kudos

hi,

thanks for ur reply.

but i am getting error like this in IE.

Note 

The following error text was processed in the system IT3 : Exception condition "CNTL_ERROR" raised. 
The error occurred on the application server itcsvr_IT3_01 and in the work process 0 . 
The termination type was: RABAX_STATE 
The ABAP call stack was: 
Form: CONSTRUCTOR of program CL_GUI_CUSTOM_CONTAINER=======CP
Form: PBO of program SAPLSLVC_FULLSCREEN
Module: PBO of program SAPLSLVC_FULLSCREEN
Function: REUSE_ALV_GRID_DISPLAY of program SAPLSLVC_FULLSCREEN
Form: DISPLAY_LIST of program RPTQTA10
END-OF-SELECTION of program RPTQTA10

And my BSP code is like this in OnInitialization event.

SUBMIT rptqta10
         WITH PNPPERNR-LOW = w_pernr
         EXPORTING LIST TO MEMORY AND RETURN.

data: field(25).
field-symbols: <fs_tab> type STANDARD table.
field = '(RPTQTA10)QTTRANS[]'.

assign (field) to <fs_tab>.

MOVE <FS_TAB>[] TO it_qttrans[].

Here it_qttrans is local itab of BSP.

Regards,

Shankar.

former_member188685
Active Contributor
0 Kudos

i think you can't submit this program. just check the program in Background execution mode. are you able to run the same in background mode...?

former_member182426
Active Contributor
0 Kudos

hi,

why, wat is the need of running back ground... just i want execute it and output of that report i want dsipaly in IE.

Regards,

Shankar.

former_member188685
Active Contributor
0 Kudos

i am just thinking the report normally fails in background, thats the reason i asked you test it in background once.