2023 Apr 17 10:08 AM
Hello,
I submit a report with a range table.
SUBMIT zv405
WITH s_equnr IN lr_equnr
If user parameters are specified for this exact program those user parameters overwrite the range table used in the submit.
Is there a way to use the range in the submit without disabling the user parameters?
Thank you in advance.
2023 Apr 17 10:43 AM
Is that (WITH s_equnr IN lr_equnr) sentence the real one you are using? I'm not sure but something smells there. In your case, I'd try another option for pass the range to the program, I'd say you are passing none, and then the system retrieves the user ones.
But it's just a guess.
2023 Apr 17 11:50 AM
My code works when not using user parameters.
The range is passed, I checked in debugger.
2023 Apr 17 12:24 PM
This is a customer program.
You wrote 'If user parameters are specified for this exact program those user parameters overwrite the range table used in the submit.'
Did you code something related to this behavior, user parameters defined in the selection-screen are overwritten by the values passed by WITH option between the events INITIALIZATION and AT SELECTION SCREEN OUTPUT. Any code from the second (PBO ) event will override the parameter/range values passed within a variant, a with option or a selection-tab.
Try to add some breakpoints at the start of selection-screen events.