on 09-20-2018 11:29 AM
Hello experts,
I've implemented OData Gateway RFC scenario defining Entity Types properties manually and then Mapping them to RFC parameters (tx SEGW in ECC). So I can call successfully call GET request from GW_CLIENT but there is the input parameter empty in response. How can hide it from response?
Thank you
Hallo you can do it by deleting the row. Just click the properties and then delete it. If you need to display it again. Just click on the properties and then just select the check box for the field which you would like to display it.
So you have 2 Options with Code and without.
Option1: Without code:
Delete the row from Properties
Display it again
Option2: with code: MPC_EXT class
If you want to display them in run time you can redefine the method define of the class
ZCL_*.......MPC_EXT=>Define
call super define.
and then write this code :
Data: lo_property_PAY_SUM TYPE REF TO /iwbep/if_mgw_odata_property.
lo_property_PAY_SUM = lo_entity_type->get_property( iv_property_name = 'PAYMENTSUM' ).
lo_property_PAY_SUM->SET_DISABLED('X')." abap_true.
Best regards
Ebrahim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.