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

Internal table joins?

Juwin
Active Contributor
0 Likes
1,520

With this new expressions available in 7.40, is it possible to create an internal table, by joining multiple internal tables (inner /outer join)?

Thanks,

Juwin

With this new expressions available in 7.40, is it possible to create an internal table, by joining multiple internal tables (inner /outer join)?

Thanks,

Juwin

9 REPLIES 9
Read only

Former Member
0 Likes
1,360

Hi,

no, itabs can not be joined.

to see whats new in 740 refer to this blog Blog neues in 7.40

regards

Stefan Seeburger

Read only

Juwin
Active Contributor
0 Likes
1,360

Yes, that's what triggered my question. There are CORRESPONDING, FOR, WHERE syntaxes, which work with internal tables, and looks like the way to go, to create a join between internal tables. But, I couldn't figure out how.

Thanks

Juwin

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,360

I think what you are looking for is "meshes":

Tbh, i have not played with this language construct yet.

Read only

Juwin
Active Contributor
0 Likes
1,360

Yes, Meshes also provide association methods. But, how to do a join and create a new internal from that, is what I am looking for.

Thanks,

Juwin

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,360

As i have told, i have not used "meshes" and have no idea how they work. Maybe you should play around with the SAP demo program.

Read only

Juwin
Active Contributor
0 Likes
1,360

I'm doing that, as we speak....


Was just trying to see if someone has already done this.

Thanks.

Read only

Juwin
Active Contributor
0 Likes
1,360

I DID IT

Blog on the way....

Read only

0 Likes
1,360

Hi,

your right... looks like i was blind.

looking at the examples out there you can join internal tables.

where you also able to find out something about the performance?

join via selects or using meshes, what is better?

please link your blog here

regards

Stefan Seeburger

Read only

Juwin
Active Contributor
0 Likes
1,360

The blog is here:

Outer Join of Internal Tables (ABAP Release 7.40) | SCN

Kindly review and comment.

Thanks,

Juwin