Skip to Content

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

Getting data from Private reference Object.

Hi Experts.

I have a Reference object called 'IV_EVENT_ID' as followed on debug picture below:

I did use 'ASSIGN' COMMAND TO GET the atribute 'MO_EVENT_DATA' of 'IV_EVENT_ID'

and worked ( sy-subrc = 0 ) as showed below:

*===========================================================

FIELD-SYMBOLS:<evento> type any.             

ASSIGN iv_event_id->mo_event_data to <evento>.

*===========================================================

Now i want to get 'MT_PARAMETER' of <evento> as showed below:

Then i use ASSIGN command again to get 'MT_PARAMETER' but

didn´t work ( sy-subrc = 4 ) :

*===============================================================

FIELD-SYMBOLS:<clt>    type any.

ASSIGN COMPONENT 'MT_PARAMETER' OF STRUCTURE <evento> TO <clt> .

*===============================================================

Anyone knows how to get this 'MT_PARAMETER' atributte.

Thanks for sugestions.

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