cancel
Showing results for 
Search instead for 
Did you mean: 

Read deleted entries of AD_EMAIL And AD_TEL

Former Member
0 Kudos

Dear Experts,

I am trying to fetch inactive data of entity AD_EMAIL using below code.This code works fine when either the entity is changed(value modified) or created but if email is made blank, then the method does not return the AD_EMAIL entry in table li_entity_data.

I am able to read the deleted entry for BP_CENTRL but not AD_EMAIL.

Please suggest how to fetch all the entries like inserted/modified/deleted.

I need it for email validation with error message, so could not use CROSS_ENTITY BADI(Since in cross entity i.e. DERIVE_ENTITY all messages are populated as warning)

**-- Get USMD Model Instance
cl_usmd_model=>get_instance( EXPORTING i_usmd_model = 'BP'IMPORTING eo_instance = DATA(lo_usmd_model)
et_message = DATA(li_message) ).
**--Get all the inactive entities of the change request
lo_usmd_model->if_usmd_model_crequest~crequest_get_data(EXPORTING
i_crequest = lv_cr_numberIMPORTING
et_entity_data_inactive = DATA(li_entity_data)
et_hry_nodes = DATA(li_hry_nodes) ).

Expert help is required for the same.

Accepted Solutions (0)

Answers (0)