2006 Dec 21 12:09 PM
Hello there people,
can anyone please give me some help..
here's what i have..
I have a table with 2 fields, field 1 CODE and field 2 TEXT.
also have a program with a table control on, this table control is related to the table above, the field TEXT is in the table control as a listbox and i'm using FM VRM_SET_VALUES to fill each line with possible values for that field..this works pretty fine..
the problem begins when i in one line select a possible value and press ENTER, it seems that is not passing the values to the internal table related to the table control...
in PAI i have the following :
<b> loop at it_meios.
MODULE MODIFICAR_TC_MEIOS.
endloop.</b>
and
<b>MODULE MODIFICAR_TC_MEIOS INPUT.
modify it_meios index sy-tabix.
if sy-subrc <> 0.
append wa_meios1 to it_meios.
endif.</b>
can someone please help me with this problem ?
thanx in advance..
Ricardo Monteiro
Hello there people,
can anyone please give me some help..
here's what i have..
I have a table with 2 fields, field 1 CODE and field 2 TEXT.
also have a program with a table control on, this table control is related to the table above, the field TEXT is in the table control as a listbox and i'm using FM VRM_SET_VALUES to fill each line with possible values for that field..this works pretty fine..
the problem begins when i in one line select a possible value and press ENTER, it seems that is not passing the values to the internal table related to the table control...
in PAI i have the following :
<b> loop at it_meios.
MODULE MODIFICAR_TC_MEIOS.
endloop.</b>
and
<b>MODULE MODIFICAR_TC_MEIOS INPUT.
modify it_meios index sy-tabix.
if sy-subrc <> 0.
append wa_meios1 to it_meios.
endif.</b>
can someone please help me with this problem ?
thanx in advance..
Ricardo Monteiro
2006 Dec 21 12:23 PM
Not able to point your problem, may be u can put a break point in your code and check the new list value available in yout internal table at runtime.
Thanks,
Alex
2006 Dec 21 12:27 PM
Hi Alexander,
as i said, i selected one of the options in the listbox and at runtime i went on debug and the internal table from the TC is empty. and the list values as the same values as before...
and when i press F8 to return to the screen, the field is empty.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |