cancel
Showing results for 
Search instead for 
Did you mean: 

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

mohd_riyajuddin
Participant
0 Kudos

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..

Accepted Solutions (1)

Accepted Solutions (1)

loga201
Contributor
0 Kudos

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.
mohd_riyajuddin
Participant
0 Kudos

Thanks,

Done by BADI.

Answers (0)