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: 

When executing report in background Spool is showing Filter Criteria. Which needs to be removed.

theitbro
Explorer
0 Kudos
742

Hello All,

When I am executing one report in the background, in the spool output, it is showing filter criteria, data statistics, and the records (which are required). My requirement is to remove filter criteria. I already used print parameters to set ALV statistics to NO and the cover page to NO, but this also removes filter criteria along with the data statistics. Both are being removed. I need to remove only the filter criteria list. Please help.

4 REPLIES 4

Sandra_Rossi
Active Contributor
0 Kudos
605

Which ALV technology are you using? Could you show your code?

theitbro
Explorer
0 Kudos
605

ALV Technology What exactly do you want to see? Let me tell you that I am submitting values to the standard program through the SUBMIT statement, which is passing the values to the main program. For displaying ALV, I am using REUSE_ALV_GRID_DISPLAY.

Sandra_Rossi
Active Contributor
0 Kudos
605

I want to see the code relative to your question i.e. the way you "set ALV statistics to NO and the cover page to NO". According to what you say, either you did it right and there's a bug in standard, or you did it wrong and nobody can help you without code.

ALV technology = REUSE_ALV_LIST_DISPLAY versus REUSE_ALV_GRID_DISPLAY versus CL_SALV_TABLE versus CL_GUI_ALV_GRID versus etc. (other ALV flavors)

Ideally you should create a minimal reproducible example and post it. People can then run it, reproduce the issue and give the solution.

Sandra_Rossi
Active Contributor
0 Kudos
605

For REUSE_ALV_GRID_DISPLAY, you have these parameters:

  • selection criteria: GET_SELINFOS in the layout parameter and NO_PRINT_SELINFOS in the print parameter
  • ALV Statistics: NO_PRINT_LISTINFOS in the print parameter