Hello everyone, I am new to abap programming. I have a local table where I store data from a join select. Which is defined like this
addrnumber TYPE c LENGTH 10,
name1 TYPE c LENGTH 60,
name2 TYPE c LENGTH 60,
city1 TYPE c LENGTH 40,
city2 TYPE c LENGTH 40,
post_code1 TYPE c LENGTH 10,
street TYPE c LENGTH 60,
house_num1 TYPE c LENGTH 10,
house_num2 TYPE c LENGTH 10,
adrnr TYPE adrnr,
END OF adrc.
Data: lt_adrc TYPE TABLE OF adrc, …
How can I define now a return parameter for a method of the same local table like lt_adrc. Anything I find online like the following does not work.
OR
…
prepare_data IMPORTING lv_read_sucess TYPE abap_bool returning value(lt_data) type tt_adrc,…
Is there a solution or is this just not done anymore.
Thank you so much!
Stefanie