Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

create search page from simple BOL object

$
0
0

Hi,

the problem I have, was already discussed here, and I also asked there if it was solved. But since that discussion is a bit outdated (2010) I´m not sure if there is enough attention on that discussion, so I want ask it again in this topic.

 

I´m trying to create a search page based on a custom value node/simple bol object.

 

I created a simple object (ZMySObject), which is related to genil component SO2 automatically. The object has a class and a structure. I have no mandatory fields structure and also no key structure maintained. But i have a search structure maintained, which I named ZMySObjectQ.

I created a search page in the BSP component workbench and used inheritance from cl_bsp_wd_advsearch_controller for the view controller and inheritance from cl_bsp_wd_context_node_asp for my query context node.

 

Now when I try to configure the search page in the component workbench, I can see all attributes from my search structure. But once I try to move them to right side, to include it on the search page, the configuration crashes with an cx_unsupported_object exception. The message says 'Object type MySObjectQ (namespace '') has not been defined'.

The location of the exception is IF_GENIL_OBJ_MODEL~GET_DQUERY_AVAIL_ATTR_OPTIONS line 10.

 

Do I missed a step in the configuration? Is it even possible to create such a search page, from a simple object?

 

Thanks in Advance

Alexander Petrenz


Viewing all articles
Browse latest Browse all 4552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>