Hi everybody,
hope to find somebody who can help me with a tricky problem:
I extended compontent BT111H_OPPT and created a new tree view there, with which I like to navigate within a opportunity hierarchy. That worked until I handed over a collection of BTOrder entities in the inbound plug interface of the inbound plug IP_OVERVIEW of MainWindow of BT111H_OPPT.
I extended this IP-method and build an IF-ELSE:
When the collection is initial, the super-method only of IP_OVERVIEW shall be processed. If collection is supplied, I write the first entity of the collection into the BTOrder collection wrapper of component controller context node BTOrder. The other entities are handed over to a custom controller where I store the collection which has been handed over from inbound plug import parameter. Those entites are used then to build the tree view for navigation. The tree is also build properly, but when I navigate within the tree, the detail view of the opportunity set in IP_OVERVIEW remains displayed.
If I navigate into the component WITHOUT a filled IV_COLLECTION, the navigation between the opportunities in the hierarchy works properly. So it seems that the way how I set the first entity in IV_OVERVIEW seems to be wrong.
Can anybody tell me how to process collections which are handed over to an inbound plug in IV_COLLECTION to make the navigation work?
Would be great if somebody could give me a hint how to solve this or maybe somebody can tell me a compontent/view where I can see how the collection handling works in an inbound plug correctly.
Thanks and best regards,
Markus