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: 

Table control in Tab Strip in dialog programming

former_member212148
Participant
0 Kudos
307

Hello Experts,

I have created a table control in tab strip. While i modify data in table control its not modified in internal table.

Here i check on select field and i want to store it in internal table so that i save it in ztable on click on save.

Thanks,

Ranjit Kumar.

4 REPLIES 4

dibyajeeban_jena
Active Participant
0 Kudos
174

Hi Ranjit,

Use a module inside LOOP AT ITAB.......        ENDLOOP   in PAI Module for modifying internal table from the  structure on the screen .

loop at itab .

module modify_table .

endloop .

module modify_table .

modify itab from wa_tab index tabctrl-current_line ."tabctrl - table control name

                                                                                       "wa_tab- structure used on screen for table control

                                                                                       "itab - internal table to be modified

endmodule .

Regards

DJ

0 Kudos
174

Hi DJ,

Thanks for your prompt reply.

I have done it but modified data is not coming in internal table.

When i debug it debugger is not reaching inside this module.

Screen is here.

reason is that there is no any user command perform on tab strip.

Just check the value and click on save button of main screen.

Thanks,

Ranjit Kumar

0 Kudos
174

Hi,

You can assign Function code for check box in select field ,Then i think it will trigger PAI .

Regards

DJ

0 Kudos
174

Hi DJ,

Is there any solution without assigning function code. Because no need to put function code in tab strip.

Regards,

Ranjit Kumar.