Skip to Content
0
Former Member
May 14, 2008 at 07:24 PM

Pass data from table control to internal table

912 Views

Hi All.

In my initial screen, I created a table control where the user can enter material numbers and quantities. Then, when the user hits ENTER, I want to be able to pass the values in the table control to an internal table.

I'm not sure how to do this. I know that normally, I can add a LOOP-ENDLOOP statement in the PAI and then within the LOOP add a MODULE statement to modify the internal table accordingly. But my internal table is empty - I need to take the data from the table control to populate it - so this logic won't work.

This is the first time I'm working with table controls, so any tips would be appreciated.