01-21-2021 4:25 AM
Hi team,
I have two work areas wa_old and wa_new. Now I want to compare both the work areas and figure out which column values are different.
This is something like printing the Old values and modified values over an email to the user. I can fetch from CDPOS, but is there any way I can get the values with the work areas available during run time rather than fetching from DB table.
01-21-2021 6:32 AM
CDPOS is a good idea, check how SAP do this checking the code of the FM generated for CDPOS feed. (it is inside macro)
01-21-2021 2:04 PM
Are you looking for this?
IF wa_old-comp1 <> wa_new-comp1
OR wa_old-comp2 <> wa_new-comp2
...