Skip to Content

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 22, 2016 at 11:04 AM

    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.
    Add comment
    10|10000 characters needed characters exceeded