2014 Feb 26 4:34 AM
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.
2014 Feb 26 4:43 AM
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
2014 Feb 26 5:02 AM
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
2014 Feb 26 5:12 AM
Hi,
You can assign Function code for check box in select field ,Then i think it will trigger PAI .
Regards
DJ
2014 Feb 26 5:35 AM
Hi DJ,
Is there any solution without assigning function code. Because no need to put function code in tab strip.
Regards,
Ranjit Kumar.