Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9067

Re: Run alv report without selection screen in background

$
0
0

Hi,

 

I used with job wizard button, but i'm receiving cancelled Status.

 

Via ST22 i receive: Exception condition "CONTROL_FLUSH_ERROR" raised.

 

in my program, i upload 2 xml files to 2 internal table, and i do compare between the both file, at the end i show the compare result in ALV.

 

 

this is the code used to upload the xml file:

 

 

create object gcl_xml.

*Upload XML File
   call method gcl_xml->import_from_file
     exporting
       filename = p_filref
     receiving
       retcode  = gv_subrc.

   if gv_subrc = 0.
     call method gcl_xml->render_2_xstring
       importing
         retcode = gv_subrc
         stream  = gv_xml_string
         size    = gv_size.
     if gv_subrc = 0.

       refresh gt_xml_data[].

* Convert XML to internal table
       call function 'SMUM_XML_PARSE'
         exporting
           xml_input = gv_xml_string
         tables
           xml_table = gt_xml_data
           return    = gt_return.
     endif.
   endif.





Any idea?



Viewing all articles
Browse latest Browse all 9067

Latest Images

Trending Articles



Latest Images

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