09-27-2008 5:18 AM
Can we have two table controls on single screeen.
I was trying to have second table control on same screen but it gives me error with PBO\PAI module.
please help.
09-27-2008 5:26 AM
09-27-2008 5:32 AM
Hi,
You can have 2 table controls in a single screen. The good example being ME21n. If you have two table controls say TC and TC2,write following code in flow logic of the screen:
PROCESS BEFORE OUTPUT.
MODULE status_0100.
LOOP WITH CONTROL tc.
MODULE read_table.
ENDLOOP.
LOOP WITH CONTROL tc2.
MODULE read_table2.
ENDLOOP.
PROCESS AFTER INPUT.
LOOP WITH CONTROL tc.
MODULE insert_table.
ENDLOOP.
LOOP WITH CONTROL tc2.
MODULE insert_table2.
ENDLOOP.
MODULE exit AT EXIT-COMMAND.
09-27-2008 7:09 AM