2006 Nov 27 12:47 PM
I have an internal table, which display certain values for matnr. Im inputting some values for another field correspoding to this matnr. How do i take these values from the table control on the screen to my internal table ..
2006 Nov 27 12:52 PM
In the Table Control Loop in PAI Event, insert following code.
modify internal table from work area index table control-current_line.
I have an internal table, which display certain values for matnr. Im inputting some values for another field correspoding to this matnr. How do i take these values from the table control on the screen to my internal table ..
2006 Nov 27 12:52 PM
if u have the internal table which is reflected in table control and when u enter values in this TC and say on enter, the values gets reflected in the internal table which can be used for further processing.
2006 Nov 27 12:55 PM
Well I have an internal table, three of fields are displayed and fourth is for input.
When i input values and press save suppose.. then these values must be stored in an internal table rather the same internal table, .
2006 Nov 27 12:52 PM
In the Table Control Loop in PAI Event, insert following code.
modify internal table from work area index table control-current_line.
2006 Nov 27 1:11 PM
2006 Nov 27 1:24 PM
Lets say your internal table name for table control is t_stock and table control name is tc_material.
in the PAI of Screen you would have something like this:
LOOP AT T_STOCK.
FIELD .......
*Insert a module here.
MODULE UPDATE_VALUES_TO_IT.
ENDLOOP.
and in the Module UPDATE_VALUES_TO_IT you should code .....
modify t_stock from wa_stock index tc_material-current_line.
hope this would help u.
regards,
Mahesh
2006 Nov 27 1:40 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |