Hello Netweaver gurus.
One of my client faces this issue. Has anybody come across similar error types ?
Regards,
Nitin Koushik
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.