Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to read type ref object?

Hi Guys.

I have a object:

Inside it has :

and inside has a strutucre that i need .

how can i get this structure with this data?

I try assign but didnt work.

FIELD-SYMBOLS:<trq_id> type any.

ASSIGN COMPONENT 'TRQ_ID' of STRUCTURE IS_DATA to <trq_id>.

if <trq_id> is assigned.

  endif.

Thanks

replied

Try to derefence the IS_DATA (REF TO DATA?) with an ASSIGN ->*

* Dereference

ASSIGN is_data->* TO <structure>.

* Assign components

ASSIGN COMPONENT 'TRQ_ID' of STRUCTURE <structure> to <trq_id>.

Regards,

Raymond

2 View this answer in context
Not what you were looking for? View more on this topic or Ask a question