Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get attribute from value ?

gerd_hotz
Contributor
0 Kudos

Hello experts,

I've following problem:

DATA: lv_cell TYPE REF TO data.

DATA: contact type BU_CONTACT_CHAR.

lv_cell = r_param->value. 'lv_cell contains 1

'now i want to give this paramter to another variable in order to start a fm

move lv_cell to contact. '=> retunrs error.

call fm...

How can I give this value to this paramter ?

Thanks

G

1 REPLY 1

gerd_hotz
Contributor
0 Kudos

Problem solved:

we have to de-refrende the object

and then move it to a vriable.

DATA: lv_cell TYPE REF TO bu_contact.

DATA: contacti type bu_contact.

move lv_cell->* to contacti.