Please try below one if you really want to use power of hana through its Calculation engine
ot_var1 = CE_COLUMN_TABLE("a");
ot_var2 = CE_COLUMN_TABLE("b");
out_put1 = CE_FULL_OUTER_JOIN(:ot_var1,:ot_var2,["id"]);
out_put2 = CE_PROJECTION(:out_put1,'"name"='xyz''); ( this line i have doubts because how CE will know that name should come from table B ,, but plz try
waiting for ur reply