Skip to Content
0

Default Value/Derivation using webdynpro application USMD_ENTITY_VALUE2 value not stored on tables

Dec 22, 2016 at 10:40 AM

54

avatar image

Hi,

I have requirement to derive and make some field as default values on screen.

My feeder class is - CL_USMD_ENTITY_VALUE2_PROXY Method: IF_FPM_GUIBB_FORM~GET_DATA

I have enhanced CS_DATA changing parameters to make some field default/derived. And I am able to see my default values on screen.

But problem on submit, Data is not saving on MDG backend tables. However if manually I enter value on those field the value being saved on database table.

ASSIGN COMPONENT 'ZACTIVE' OF STRUCTURE cs_data to <lv_zactive>.
IF <lv_zactive> IS ASSIGNED AND <lv_zactive> IS INITIAL.
<lv_zactive> = 'TRUE'.
ev_field_usage_changed = abap_true.
ev_data_changed = abap_true.
ENDIF.

Regards,

Riyaj..

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Loga Nathan Duraisamy Dec 22, 2016 at 11:04 AM
0

Hi,

  1. Use validations and derivations BADI under data quality search.
  2. If it is not dynamic or cross entity derivations ,you can use BRF+ as well.
Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks,

Done by BADI.

0