Skip to Content

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.

1.png (65.8 kB)
2.png (59.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 30, 2016 at 02:48 PM

    You have several methods at the interface IF_FPM_PARAMETER, which you are using with IV_EVENT_ID->MO_EVENT_DATA, e.g. GET_KEYS or GET_VALUE.

    By the way: you don't need the field symbol. Use direclty IV_EVENT_ID->MO_EVENT_DATA.

    Add comment
    10|10000 characters needed characters exceeded