Hello!
I have the following problem.
I built a function with the INFOTYP and PERNR as Import parameters.
regarding to the infotyp i define my structure
DATA: wa_line TYPE REF TO data, FIELD-SYMBOLS: <wa> TYPE ANY. CREATE DATA wa_line TYPE infotyp '' which is e.g p0001 ASSIGN wa_line->* TO <wa>.
So if i Import the infotyp "p0001" i have a structure now <wa> with type of p0001.
Now i want to fill this structure with data.
Of course its not possible to say <wa>-pernr, because during compile time <wa> is no structure.
I tried to use
move-corresponding pernr to <wa>
but this is not working as well because you can't move a single data into a structure
move pernr to <wa>
didn't work as well
Is there a way to add data into an dynamic created structure?
greets thomas