‎2007 Jul 30 8:00 AM
Hi All,
I want to write a table control program and also at bottom i need to have a report of the table content.For displayinr the report i need to use the Write statement.Can i use the write statement in the Module pool program to display the report.Otherwise how to do that?Cany any one explain the table control code and how to inculde this printing report in the same screen.Please explain with sample code.
Thanks in advance.
‎2007 Jul 30 5:05 PM
I don't see why you would have a table control AND a report showing the table contents. Surely the table control would show the table contents?
You could use the WRITE command but only in conjunction with LEAVE TO LIST PROCESSING. I'm not sure what would happend if you had a table control and a list on the same screen, they would have to be two separate sub-screens? You could easily test this with some sample code. Alternatively you could probably use object code with screen containers.
‎2007 Jul 30 5:08 PM
for this purpose u need to create a subscreen area under tablecontrol and there u can add the report code... Best way is use ALV grid in this subscreen area for printing the report.