2013 Feb 18 12:34 PM
Hi all,
I have zprogram with normally parameters screen and dynamic selection from logical database read by FREE_SELECTIONS_DIALOG.
When I save variant in my selection program screen then values from parameters are save except fields value from dynamically selections.
How to extort to save all fields values on screens.
2013 Feb 18 12:38 PM
Hi,
when I have searched for the same issue, I have found that SAP only save dynamic variant for logical database based program.
so that will never work
Fred
Try to define your work area related to dynamic selection in NO-DISPLAY parameters, so those data will be saved with the variant.
Sample
parameters h_expr type rsds_texpr no-display.
parameters h_ranges type rsds_trange no-display.
parameters h_number like sy-tfill no-display.
parameters h_fields type tfields no-display.
You will have also to insure AT SELECTION-SCREEN OUTPUT and AT SELECTION-SCREEN.the impact on displayed dynamic selection of other changes (e.g. table name or table selection changes)
Regards,
Raymond
2013 Feb 18 12:38 PM
Hi,
when I have searched for the same issue, I have found that SAP only save dynamic variant for logical database based program.
so that will never work
Fred
2013 Feb 18 12:50 PM
Try to define your work area related to dynamic selection in NO-DISPLAY parameters, so those data will be saved with the variant.
Sample
parameters h_expr type rsds_texpr no-display.
parameters h_ranges type rsds_trange no-display.
parameters h_number like sy-tfill no-display.
parameters h_fields type tfields no-display.
You will have also to insure AT SELECTION-SCREEN OUTPUT and AT SELECTION-SCREEN.the impact on displayed dynamic selection of other changes (e.g. table name or table selection changes)
Regards,
Raymond
2013 Feb 19 11:33 AM
It has no effect. Maybe save variant with my own code will work.
2020 Jan 30 11:00 AM
I have tried the above suggestion, But what needs to be written in the At Sclelction Screen Event.
In AT SELECTION-SCREEN OUTPUT I have written the Logic for the Selection of the FIelds. Can Someone Help Me.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |