Reply from Ben Meijs Ctac on Dec 5 at 9:42 AM And I remember having to put INPUT after the PAI module name in my program, although I'm not sure if this is really necessary. Did you check the examples and alternatives for using table controls? Met Vriendelijke Groet / kind regards, Ben Meijs Op 5 dec. 2012, om 15:38 heeft Ben Meijs Ctac email@removed<mailto:email@removed> het volgende geschreven: Reply from Ben Meijs Ctac on Dec 5 at 9:32 AM And you are absolutely sure that the modules in the PAI table control really exist with this exact name in your program/modulepool? Have you tried to generate/activate the dynpro again. Met Vriendelijke Groet / kind regards, Ben Meijs Op 5 dec. 2012, om 15:21 heeft TrishDV email@removed<mailto:email@removed> het volgende geschreven: Reply from TrishDV on Dec 5 at 9:15 AM John, I have run this code thru debug multiple times, so much that I see it when I close my eyes. There is data in the internal table, 8 records, 4 lines visible on the screen. The code processes the LOOP AT and then drops to the ENDLOOP 4 times and then moves on to the next MODULE in the PAI. It's like I have no MODULES or FIELDS in the LOOP...ENDLOOP. But as you can see, I do. The table control on the screen is TC_PERS. I double checked that and the field names that I am using. I made sure all the MODULES exist and have no trouble activating. I am truly baffled. I have used table controls before. This screen is a subscreen and all the others were main screens but I don't understand why that would make a difference. Ameen, The code enters PAI no problem. It processes all MODULES before and after the loop. It processes the loop the correct number of times, it just never enters the loop. Thanks for your thoughts. I'll take all the help I can get. Trish
| | | ---------------Original Message--------------- From: Ben Meijs Sent: Wednesday, December 05, 2012 9:32 AM Subject: Table Control Loop in PAI And you are absolutely sure that the modules in the PAI table control really exist with this exact name in your program/modulepool? Have you tried to generate/activate the dynpro again. Met Vriendelijke Groet / kind regards, Ben Meijs Op 5 dec. 2012, om 15:21 heeft TrishDV email@removed<mailto:email@removed> het volgende geschreven: Reply from TrishDV on Dec 5 at 9:15 AM John, I have run this code thru debug multiple times, so much that I see it when I close my eyes. There is data in the internal table, 8 records, 4 lines visible on the screen. The code processes the LOOP AT and then drops to the ENDLOOP 4 times and then moves on to the next MODULE in the PAI. It's like I have no MODULES or FIELDS in the LOOP...ENDLOOP. But as you can see, I do. The table control on the screen is TC_PERS. I double checked that and the field names that I am using. I made sure all the MODULES exist and have no trouble activating. I am truly baffled. I have used table controls before. This screen is a subscreen and all the others were main screens but I don't understand why that would make a difference. Ameen, The code enters PAI no problem. It processes all MODULES before and after the loop. It processes the loop the correct number of times, it just never enters the loop. Thanks for your thoughts. I'll take all the help I can get. Trish | | Reply to this email to post your response. __.____._ | _.____.__ |