cancel
Showing results for 
Search instead for 
Did you mean: 

Error in set an Z field by code.

Former Member
0 Kudos

Hi;

I enhance the method on_save of save of account, because i need create a validate method to execute before on_save, but in the validate method i need to set a Z field by code. When I exit of validate method, this field is filled, but when i execute the standard code of on_save (because i call the standard code) the field exit empty.

Any suggestions?

Regards.

Accepted Solutions (1)

Accepted Solutions (1)

former_member192716
Contributor
0 Kudos

Hi,

Once you set value to the field, modify the core and the cal the save method. Insert the below code after you set value to the

field,


Data: lr_core type ref to cl_crm_bol_entity.

lr_core = cl_crm_bol_core=>get_instance( ).
lr_core->modify( ).

Regards,

Arun

Former Member
0 Kudos

Hi;

Thanks so much.

Go fine, but for me the lr_core is type ref to cl_crm_bol_core.

Answers (0)