Application Development 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: 

get data from tc

Former Member
0 Kudos

in table control there are data can be changed , i input some data,but in the module

MODULE item_info_modify INPUT.

MODIFY gt_tc

FROM gw_tc

INDEX item_info-current_line.

endmodule.

i think this is not worked ,why??

3 REPLIES 3

Former Member
0 Kudos

Hi Zhang,

use this



MODULE item_info_modify INPUT.

MODIFY  gw_tc INDEX item_info-current_line.
endmodule.

Former Member
0 Kudos

Hi,

You have to write module coding in PAI for modification that you have been changed in table control.

*PAI

loop at itab.

chain.

field itab-fld3 module check.

endchain.

endloop.

MODULE plans INPUT.

MODIFY itab INDEX tc9000-current_line. "It will modify the current changes that you have been done in table control

ENDMODULE.

Try the above coding. I hope this will solve your problem.

Regards,

Harish

GauthamV
Active Contributor
0 Kudos

hi,

check these sample programs.

DEMO_DYNPRO_TABCONT_LOOP

DEMO_DYNPRO_TABCONT_LOOP_AT.