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: 

Dereferencing in ABAP?

former_member1330001
Participant
0 Kudos

Hi Friends,

I was going through a Standard Program when i came across an ASSIGN statement that goes something like this...

ASSIGN i_rsthie_rep-ptr->* TO <FS>

What does this mean?. Are they trying to assign the value of the structure directly to a field symbol?. Is 'ptr' a keyword?.

1 ACCEPTED SOLUTION

athavanraja
Active Contributor
0 Kudos

ptr is not a keyword.

it is assigning structure i_rsthie_rep-ptr->* to field symbol <FS>

check the abap key word documentation for ASSIGN - mem_area - dref->*

Regards

Raja

4 REPLIES 4

athavanraja
Active Contributor
0 Kudos

ptr is not a keyword.

it is assigning structure i_rsthie_rep-ptr->* to field symbol <FS>

check the abap key word documentation for ASSIGN - mem_area - dref->*

Regards

Raja

Former Member
0 Kudos

Hi Tamilarasan,

To add to what Raja wrote, 'ptr' is a field of i_rsthie and this statement is assigning reference (address) of this field to field-symbol <FS>.

Cheers,

Sanjeev

0 Kudos

is your question answered?

Raja

0 Kudos

Hi,

Thanks for your reply.

Regards,

Tamilarasan.