Skip to Content

Read deleted entries of AD_EMAIL And AD_TEL

Nov 07, 2017 at 11:24 AM


avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers