on 11-07-2017 11:24 AM
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.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.