cancel
Showing results for 
Search instead for 
Did you mean: 

invalid or no mapping to system data types found.

04-10-2014 9:27 AM
SAP Managed Tags
Subscribe

Hello Netweaver gurus.

One of my client faces this issue. Has anybody come across similar error types ?

Regards,

Nitin Koushik

View Entire Topic
Former Member

Hi All,

I redefined the DEFINE method in ZCL_ZDSR_IMAGE_MPC_EXT as follows.

method DEFINE.

     super->define( ).

Data: lo_entity TYPE REF TO /iwbep/if_mgw_odata_entity_typ,

lo_property TYPE REF TO /iwbep/if_mgw_odata_property.

lo_entity = model->get_entity_type( iv_entity_name = 'FILE' ).

IF lo_entity IS BOUND.

lo_property = lo_entity->get_property( iv_property_name = 'FileName').

lo_property->set_as_content_type( ).

ENDIF.

   endmethod.


After that my problem has solved.


Thanks,

sivaraju

Former Member
0 Likes

Thanks Sivaraju. Your solution worked for me as well.

Steve-Kangethe
Participant

Thanks. This worked perfect! Just also worth to note that after this one needs to Load Metadata again for the service in order for the change to take effect after activating the redefined method.