Hi,
I've run into a requirement which I'm not sure how to fulfil:
How to convert the data contents from one table format (Set of columns/objects) to other format (subset of columns), i.e. MOVE-CORRESPONDING-TABLE in standard ABAP?
In my scenario I have a table with 5 columns for internal logic (defined as ruleset variable) and I want to expose a table with only 2 columns as the function result.
My first shot was trying to define both tables with the same element objects (fields) and use a table operation expression (not sure if it actually works), but it leads to (plausible) error message "Multiple use of identical objects in context/temporary ruleset variable not allowed" (FDT_CORE 378).
What is the best/only way to achieve it?
Shai