on 04-14-2015 5:29 PM
Here is the code.
mo_facade ?= /iwbep/if_mgw_conv_srv_runtime~get_dp_facade( ).
mo_read_model = mo_facade->get_model( ).
lr_entity_type = mo_read_model->get_entity_type( lv_entity_name ).
Now get properties from lr_entity_type.
Code from /IWBEP/CL_OCI_DP method /IWBEP/IF_MGW_APPL_SRV_RUNTIME~GET_ENTITY.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks.
what´s the type of MO_FACADE?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello.
This is my code :
"-->
DATA: mo_facade TYPE REF TO /iwbep/cl_mgw_dp_facade,
mo_read_model TYPE REF TO /iwbep/cl_mgw_odata_model,
"lr_entity_type TYPE REF TO /iwbep/if_mgw_odata_fw_etype,
lr_entity_type TYPE REF TO /iwbep/cl_mgw_odata_entity_typ,
lt_properties TYPE /iwbep/if_mgw_odata_re_prop=>ty_t_mgw_odata_properties,
lr_ext_property TYPE REF TO /iwbep/if_mgw_odata_re_prop.
FIELD-SYMBOLS : <wa_properties> LIKE LINE OF lt_properties.
mo_facade ?= /iwbep/if_mgw_conv_srv_runtime~get_dp_facade( ).
mo_read_model ?= mo_facade->/iwbep/if_mgw_dp_int_facade~get_model( ).
lr_entity_type ?= mo_read_model->/iwbep/if_mgw_odata_re_model~get_entity_type( 'ScreenStruct').
lt_properties = lr_entity_type->/iwbep/if_mgw_odata_re_etype~get_properties( ).
"<--
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.