Application Development and Automation 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: 
Read only

Module pool PAI : loop at internal table not going inside the loop code

Former Member
0 Likes
935

Hi All,

I am experiencing a strange problem. I have a loop in my module pool PAI. The table it loops at has entreis but the loop merely moves from

loop at statement

//some code here

endloop statement

but never goes inside to 'some code'.

It is iterating the no of

Can anyone give a clue as to why this could be happening ?

thanks in advance .

Inesha

6 REPLIES 6
Read only

Former Member
0 Likes
805

can you post your part of code containing the loop?

Read only

0 Likes
805

Are you sure that the table is not empty?

Read only

RaymondGiuseppi
Active Contributor
0 Likes
805

Are there records on the dynpro/screen in the table (not in the internal table of the program) ?

Can you provide

- logic of dynpro : LOOP/ENDLOOP of PBO and PAI

- internal table and table control definitions

Regards,

Raymond

Read only

Former Member
0 Likes
805

Hi Inesha,

If u are sure that the internal table consist values.

try looping with where condition that meets the internal table entries

Read only

Former Member
0 Likes
805

hi...............

I think its better to post the code for better result

Read only

Former Member
0 Likes
805

check the select statements (table or wa) so you may get some solution to execute the code inside the loop

thanking you