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

At end of....

Former Member
0 Likes
338

Hi experts,

I have one column called parent in the internal table ....

when I loop at the internal table and use at end of ... every record it encounters it enters the control block.

the structure of my internal table is

T_BODY_ELEMENTS,

row_iid(4),

parent(4)

i am using

loop at t_body_elements.

...

at end of parent.

..

endat.

endloop.

can anybody suggest why does it enter although the contents of the field parent are same in more than one record and the table is sorted on the field parent

Regards

Abdullah

1 ACCEPTED SOLUTION
Read only

former_member187255
Active Contributor
0 Likes
309

Abdullah,

Can u change the structure of the internal table to


parent(4),
T_BODY_ELEMENTS,
row_iid(4),

and try .. because the parent should be the first field in internal table....

Hope this helps...

Chandra.

Hi experts,

I have one column called parent in the internal table ....

when I loop at the internal table and use at end of ... every record it encounters it enters the control block.

the structure of my internal table is

T_BODY_ELEMENTS,

row_iid(4),

parent(4)

i am using

loop at t_body_elements.

...

at end of parent.

..

endat.

endloop.

can anybody suggest why does it enter although the contents of the field parent are same in more than one record and the table is sorted on the field parent

Regards

Abdullah

1 REPLY 1
Read only

former_member187255
Active Contributor
0 Likes
310

Abdullah,

Can u change the structure of the internal table to


parent(4),
T_BODY_ELEMENTS,
row_iid(4),

and try .. because the parent should be the first field in internal table....

Hope this helps...

Chandra.