10-13-2005 12:11 PM
Hi,
How to capture selection-screen values when user pressing F3 or Back button after the display of report.
Regards,
Bujji.
10-13-2005 12:14 PM
Hi
The selection screen values will very well still be available in the select option variables.
I am still not clear with ur Question
10-13-2005 12:21 PM
Probably , you are asking if we can reuse the values of selectio screen??
if this is your question, yes we can.just create a variant after giving input to selection screen, by clicking the save button on toolbar.you can use this values again & again.
and if r asking that you want to see the vales of selectin screen on F3, its not possible, unless som values are decalered as default in the report.
rewards point if it answer your query.
10-13-2005 12:21 PM
suppose if ur using select-options values will be accessed like
value1 = sel_opt_var1-low
value2 = sel_opt_var1-high.
10-13-2005 12:22 PM
Hi,
If you want to use it to other program,you can code for the same using EXPORT.
Export (s_option) to memory id 'ABC'.
Otherwise,if you use Memory id in addition to select option
select-option s_option for mara-matnr memory id ABC.
I hope,it will still be available.
Kindly reward points by clicking the star on the left of reply,if it helps.
Message was edited by: Jayanthi Jayaraman
10-13-2005 12:38 PM
hi all,
i know how to capture selection-screen fields(parameters,select-options...)values. But i dont know if user selects multiple selection through select-options in this situation how i can capture the values which entered in the select-option.
Regards,
Bujji
10-13-2005 12:47 PM
Hi,
As I suggested,use memory id or try with export.
Actually selec-option is an internal table.
So I hope my previous solution should work.
10-13-2005 12:49 PM
Hi Bujji,
select-option are actually ranges or more general internal tables with the structure:
SIGN: 'I'nclusive or 'E'xclusive
OPTION: 'EQ', 'BT', 'NE', 'GE', 'CP', ....
LOW: low value of type of the curresponding "FOR table-field"
HIGH: high value of type of the curresponding "FOR table-field"
You may just code:
TABLES: mara.
SELECT-OPTIONS s_matnr FOR mara-matnr.
LOOP AT s_matnr.
WRITE: / s_matnr-sign,
s_matnr-option,
s_matnr-low,
s_matnr-high.
ENDLOOP.
If you find my answer useful, please don't forget the reward.
Regards,
Juergen
10-13-2005 1:06 PM
Yes, All the Multiple selections will be stored in the Internal tables generated for that Select Options. The System actually does a Union of Inclusions - Union of Exclusions and generates the result. So u can at any point of time access the values from this Internal tables