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 fields

Former Member
0 Likes
592

Dear all,

I will not use SE38 to create ABAP for simple problem below.

I'd like to compare 2 fields in EKKO table. EKKO-AEDAT and EKKO-BEDAT.

Is there a way to achieve that ? how about SQ01, SQ02, SE16, etc ...

I believe there must be a way just for comparing content of two columns.

Points will be awarded for sure.

Regards,

BWAS

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
417

Yes, you can do it with the SQ01.

Create a join on EKKO with EKKO (create aliase like EKKO_1 and table EKKO) and join them on your required dates.

It will give you only those records which have both dates same.

Regards,

Naimesh Patel

Read only

naimesh_patel
Active Contributor
0 Likes
417

Please ignore.

Edited by: Naimesh Patel on May 22, 2008 8:14 AM