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: 

two table controls on single screen

Former Member
0 Kudos

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.

3 REPLIES 3

former_member188685
Active Contributor
0 Kudos

Check Rich's Blog

Former Member
0 Kudos

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.

Former Member
0 Kudos

what is the error message you are getting

Regards

MD