09-15-2014 6:47 AM
Hello All,
I am designing a table control,in that if I am not pressing 'enter' key after first row and directly giving data in second row,the second row is getting erased,automatically.
I am putting the piece of my code.
09-16-2014 5:33 AM
Thank you all,i got the solution,I did like this.
MODULE modify INPUT.
MODIFY it_item FROM zlc_items INDEX tabctrl-current_line.
if sy-subrc = 0.
APPEND it_item.
endif.
ENDMODULE.
09-15-2014 7:09 AM
09-15-2014 7:50 AM
In read table I have wriiten following code as already mentioned
09-15-2014 7:51 AM
Hello Ritika.
What is the significance of read_table module?
Just add the following logic (in italicised) in your MODIFY module.
MODULE modify INPUT.
MODIFY it_item FROM zlc_items INDEX tabctrl-current_line.
if sy-subrc <> 0.
APPEND it_item.
endif.
ENDMODULE.
Regards.
09-16-2014 5:33 AM
Thank you all,i got the solution,I did like this.
MODULE modify INPUT.
MODIFY it_item FROM zlc_items INDEX tabctrl-current_line.
if sy-subrc = 0.
APPEND it_item.
endif.
ENDMODULE.