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

Compare Two Dynamic Internal Tables with Dynamic Fields

Former Member
0 Likes
485

Hello SDNs,

I have a requirement to compare the MMR data across the systems using an RFC. I'm fetching the MMR data into a dynamic Internal Table which has got dynamically determined fields in it. In the simillar fashion, I'm fetching the data through an RFC from a different Sytem for the same set of Dynamic fields in Dynamic internal Table.

Now, I have to compare the data from both the sytems and display the difference.The comparision has to happen intially at row level then field level. The no of Fields in an Internal Table will differ based on the requirement. For Instance, I have 107 fields for a particular selection criteria and may have 190 fields for different set of selection criteria.

Experts please suggest me how do I acheive this.

Do we have any FMs to comapre data from int tables. Any kind of help in this regard is appreciated.

Cheers

Badam

1 REPLY 1
Read only

uwe_schieferstein
Active Contributor
0 Likes
297

Hello Badam

You may have a look at my Wiki posting

[Comparing Two Internal Tables - A Generic Approach|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/comparing%2btwo%2binternal%2btables%2b-%2ba%2bgeneric%2bapproach]

Regards

Uwe