Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Listbox under table control - Use the values

former_member210118
Participant
0 Likes
504

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

2 REPLIES 2
Read only

alex_m
Active Contributor
0 Likes
477

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

Read only

0 Likes
477

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.