on 07-07-2013 7:22 AM
Is it possible to implement a Floor Plan Manager Search UIBB and put the search results in a tree?
I would like to create an application to display customer hierarchy in tree format based on customer selection similar like VDH1N transaction.
I know that we can have search result in LIST but what can I do in order to display result in hierarchical List. Any suggestion will be appreciated.
Hello Praveen,
Thanks for the quick response.
I am looking at the structure for ET_FIELD_DESCRIPTION in method IF_FPM_GUIBB_TREE~GET_DEFINITION. However, I am not able to find the fields for SORT and FILTER enablement here. Can you please provide me with some more information on this.
Appreciate your help.
Thanks,
Gayatree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Valerie,
Yes it is possible to have a result list in hierarchical list.
1.For that you have to take only search uibb and you should not consume result list for the search uibb. You can include tree uibb for that seperate result list as a new component configuration.
Thanks & Regards
Praveen Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
Thanks for quick reply. Can you elaborate more about tree uibb for that seperate result list as a new component configuration. How can I pass results data to the new configuration as a tree.
Say I have the search UIB in initial screen of the search configuration, I provide feeder class ZCL_FEEDER_SEARCH for the search UIBB. When user click search, I get data from a single ton class ZCL_DB_ACCESS and store result data in attributes for ZCL_DB_ACCESS.
Now I want to display my data in a tree so I have to create a new tree UIBB with a feeder class as ZCL_FEEDER_TREE but how do I pass data from search results to this class ZCL_FEEDER_TREE so that I can display in tree format.
Do you have any example for similar situation or can you show me step by step for this application. Thanks
Hi Valerie Lee,
In your search feeder class ZCL_FEEDER_SEARCH , you can form the where string by calling the conversion routine.
cl_fpm_guibb_search_conversion=>to_abap_select_where_tab( EXPORTING it_fpm_search_criteria = it_fpm_search_criteria
iv_table_name = <table name>
io_field_catalog = <field_catalog>
IMPORTING et_abap_select_table = lt_where_string ).
Then pass the where string from event parameter of FPM_SEARCH_EXECUTE event.
Catch the same event in your tree uibb GET_DATA method of feeder class ZCL_FEEDER_TREE and apply the where string into the tree list and filter the result.
Hope this helpful.
Thanks & Regards
Praveen Gupta
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.