on 09-26-2016 11:19 AM
Good day,
We created a extension on BP model both on BUT000 and LFA1, updated SMT mapping etc. The final requirement that the business has is to search on the newly created fields.
The fields are available in the Available Result List Criteria but NOT in the Available Search Criteria
We implemented a enhancement on BAdi -> MDG_SEARCH_BP but its not getting triggered. We added the fields to the UI Modelling without any luck.
Second option we tried was to enhance class CL_MDG_BS_BP_HANDLER but the issue we are experiencing is that the ZCLMDG_SEARCH_BP is not getting calling correctly.
Can you please assist with document, I think the BAdi should be the easiest option?
Thank you
Otto
Hi Otto,
Write post exit at CL_USMD_SEARCH_DATA_DB method GET_DUP_CHECK_ATTR
ls_search_attributes-fieldname = "your zfield as data model "
APPEND ls_search_attributes TO et_search_attributes.
you will start getting at search criteria .
Regards,
Varun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Otto,
Go to the feeder class for BP search -> method CREATE_STRUCT_RTTI
Add all custom fields.
After this the fields will be available in UI configuration.
Add the custom attributes to the search criteria.
This configuration will be entity specific.
Regards,
Mrityunjai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.