cancel
Showing results for 
Search instead for 
Did you mean: 

How to save a custom field value in EHHSS_INCIDENT

LinkinP
Explorer
0 Kudos

In the Extension Include structure INCL_EEW_EHHSS_INC_BINFA_D of the BASIC_INFO_ALL Node of EHHSS_INCIDENT I have created a custom field called ZZ_CLAIM_NO.

I want to populate this field with a calculate value at run time when the user saves the Incident Report from the portal using the FPM application.

I added an implicit implementation for the

Determination BASIC_INFO_ALL_SET_TRANS_ATTR

Class CL_EHHSS_INC_BINFA_D_TRANS_ATT

Method /BOBF/IF_FRW_DETERMINATION~EXECUTE.

But this only derives the custom value at run time for transient attribute but not for the derived value for persistent value i.e .. It does not store this value in the database table EHHSSD_INC_BINFA.

How do I save the value in the database field. Does anyone know which method to extend to store the value to the database ?

Accepted Solutions (0)

Answers (1)

Answers (1)

sammysap
Explorer
0 Kudos

Add the new field under INCL_EEW_EHHSS_INC_BINFA_D and this should appear under the combined structure

Additional code changes are not necessary.

If this doesnt work you would have to do an enhancemnt of the BO and create a new determination and in this implementing class you can use Fill transient attributes to change the data.