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

Input Table Control wizard

Former Member
0 Likes
526

Hi ABAP Guns,

I have a question regarding Input Table control wizard.

When iam entering the data in the input wizard, the data is not populating in the interal table of the table control wizard.

Should i write any code in PAI ?

Could u please help me out.

Regards,

Sudhir

2 REPLIES 2
Read only

Former Member
0 Likes
452

write the code in pai .

try to write the code between loop endloop.

MODULE table_modify.

double click on table_modify and it will create module.

here t_tcdata is internal table and t_tc is Table control name.

MODULE table_modify INPUT.

MODIFY t_tcdata INDEX t_tc-current_line.

IF sy-subrc <> 0.

INSERT t_tcdata INDEX t_tc-current_line.

ENDIF.

ENDMODULE. " table_modify INPUT

endmodule.

Reward Points if it is possible.

Thanks

Seshu

Read only

former_member196299
Active Contributor
0 Likes
452

hi Showri,

When you have created the table control using wizard , then no need to write any code for getting the values into the itab , as it is done by the wizard ..

I think you need to check on the declaration part of the variables , esp on the structures on the tablecontrol and the global type declared .

Regards,

Ranjita