‎2009 Sep 22 9:18 PM
We have requirement to Create a 2 Table Control for the same field in 2 different table controls
Say For example
process before output.
loop at i_ctcusage with control tabcntl4.
field: yctcusage-tireusage,
yusaget-descr
module populate_usage_tab_0500.
endloop.
loop at i_ctcusage with control tabcntl9.
field: i_ctcusage-tireusage,
yusaget-descr
module populate_usage_tab_0500.
endloop.
If you see the above code here TIREUSAGE needs to be a column in 2 different table controls on the same screen.
But system not allowing. giving a syntax error message " TIREUSAGE already declared.
PS: I DONOT want to declare it as different name then user command control the same
a®
‎2009 Sep 23 1:43 AM
Use Subscreens and create your table controls in two different screens.
regards,
Aabhas
‎2009 Sep 23 1:43 AM
Use Subscreens and create your table controls in two different screens.
regards,
Aabhas
‎2009 Sep 23 3:00 AM
Hi a®s,
<li>You seem to have used same internal table to display data in two different table controls.That internal table has header as well it seems.But I do not understand why things which you kept inside LOOP-ENDLOOP are differed.
<li>You should have kept like below for both LOOPs.
Thanks
Venkat.OFIELD: I_CTCUSAGE-TIREUSAGE,
I_CTCUSAGE-DESCR.
MODULE POPULATE_USAGE_TAB_0500