Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Submit statement not working in Background

$
0
0

Dear All,

 

I am using Submit statement to get stock value from MC.9 report and using LIST_FROM_MEMORY i am  getting the values. Everything is working fine in foreground, but when i run my report in background, am not getting any values from submit statement. Below is my coding:

 

SUBMIT ZRMCB0300

                   WITH SL_WERKS IN R_CHE

                   WITH SL_SPMON IN R_SPMON

*                   with sl_matnr in r_matnr

                   WITH SL_MTART IN R_MTART

                   AND RETURN   EXPORTING LIST TO MEMORY .

 

check sy-subrc eq 0.

CALL FUNCTION 'LIST_FROM_MEMORY'

   TABLES

   LISTOBJECT = ABAPLIST

   EXCEPTIONS

   NOT_FOUND = 1

   OTHERS = 2.

 

 

call function 'LIST_TO_ASCI'

   tables

   listobject = ABAPLIST

   listasci = INT_S000

   exceptions

   empty_list = 1

   list_index_invalid = 2

   others = 3.

 

 

Am not getting any values in ABAPLIST if i run my program in background.


 

Please suggest what will be the problem.

 

Regards,

Rithika.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>