Skip to Content

How to Suppress Print Screen Popup While Using SUBMIT with EXPORT LIST TO MEMORY

Hello All,

I am using below code for reading data from a standard program RSRQ_QUERYDEFINITION in my custom program to update some custom table.

But when i am executing my program and when the control is at the below SUBMIT statement a popup appears to give the Printer detail which is interrupting the flow of the program and i am getting no data in my list.

Would you please help me out what should i do to get the data from the above standard program in the form of an internal table.

SUBMIT rsrq_querydefinition
  WITH p_query EQ ls_rsrrepdir-genuniid
  WITH p_filter EQ ' '
  WITH p_rowcol EQ 'X'
  WITH p_cells EQ ' '
  WITH p_flat EQ ' '
  WITH p_vari EQ ' '
  WITH p_exccon EQ ' '
  WITH p_technm EQ ' '
  WITH p_guid EQ 'X'
capture.png (12.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Aug 22, 2018 at 06:52 AM


    The missing list data is not because of the printer settings popup, it's because of the AVL Tree output of the report RSRQ_QUERYDEFINITION.

    With the ALV Tree it's NOT possible to get the output list from memory (EXPORTING LIST TO MEMORY) neither the tree data itself!

    You could do the submit via job and get the jobs spool list, but you need to "parse" the list data to get your information.

    But maybe FM RSZ_DB_ELT_GET already deliver all relevant information you need?



    Add comment
    10|10000 characters needed characters exceeded