‎2005 Sep 30 12:10 PM
Can anybody please tell me how to pick the values from the selection screen and use them in internal tables for manupulation.
I mean after the inputs i receive from the selection screen i want to use them for my internal table operations
Regards
Mave
‎2005 Sep 30 12:14 PM
Can you describe your requirement in more detail way with example.
‎2005 Sep 30 12:17 PM
Hi Mave,
You can use
Loop at Screen.
Endloop.
Inside this all the values entered in the selection screen will be available. You can assign to your internal table for further proceedings.
The fields of the internal table are as follows:
Sign
Option
Low
High
Regards,
Baburaj
‎2005 Sep 30 12:22 PM
Hi Baburaj,
When you are using loop at screen...endloop, you will get the selection screnn fields name and not the values enter in those fields.
Also Sign, Option, low and high you will get for only select-options and not for parameters.
‎2005 Sep 30 12:52 PM
Hi mave,
this may help you.
http://help.sap.com/saphelp_erp2004/helpdata/en/9f/dba65c35c111d1829f0000e829fbfe/frameset.htm
regards,
venu.
‎2005 Sep 30 1:02 PM
Hi mave,
try this.
Selection-screen : matnr foe mara-matnr.
Data : Begin of itab,
matnr like mara-matnr,
End of itab.
.
.
.
Loop at matnr.
itab-matnr = matnr-low.
append itab.
.
.
endloop
Reg,
Viswanath Babu
‎2005 Sep 30 1:24 PM
If you are using a select-option in your selection screen you can do something like this.
select-options: s_matnr for mara-matnr.
data: imara type table of mara with header line.
select * from mara into table imara
where matnr <b>IN</b> s_matnr.
If you are using a parameter in your selection screen you can do something like this.
parameters: p_matnr type mara-matnr.
data: imara type table of mara with header line.
select * from mara into table imara
where matnr = p_matnr.
Is this what you are asking?
Regards,
Rich Heilman