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

Reading Error Table

Former Member
0 Likes
1,109

Good morning! i got a question, is there a way to acumulate a table into another? this question comes up from the following situation: i'm using a call transaction into a loop, every iteration the call transaction returns an error table typed bdcmsgcol, i want to acumulate this table for every iteration and show it in a ALV. does exist a way to do that? and if it does, what would be the best way to do it? Thanks!!!

1 ACCEPTED SOLUTION
Read only

Nawanandana
Active Contributor
957

Hi,

APPEND LINES OF lt_sorted TO rv_table.

Regards,

Nawa

3 REPLIES 3
Read only

Nawanandana
Active Contributor
958

Hi,

APPEND LINES OF lt_sorted TO rv_table.

Regards,

Nawa

Read only

0 Likes
957

Thanks a lot, again!!!

Read only

matt
Active Contributor
0 Likes
957

INSERT LINES OF ... INTO TABLE ... is to be preferred over APPEND LINES OF.

Although in this case, the internal table is standard, so APPEND will work, generally it works only for standard tables, not hashed or sorted. If you use INSERT LINES OF ... INTO TABLE, or INSERT ... INTO TABLE, you'll never go wrong.