Hi,
I have a requirement to add GSTEXT/lines of Accounts to the viewset BP_DATA/AccountRelationshiViewSet. So what I did is-
1) In Runtime Repository Editor added Component GSTEXT and InterfaceView - MainWindow.
2) Created a new ViewArea named- TEXT under BP_DATA/AccountRelationshiViewSet and added the view Text.MainWindow
3) Further in Do_PREPARE_OUTPUT of the Viewset added the binding as-
READ TABLE lt_children INTO ls_child WITH KEY viewarea = 'Text'.
CHECK sy-subrc = 0.
lv_child_rep_view = ls_child-repview.
lv_replacement_viewname = 'Text.MainWindow'.
lv_child_rep_view = lv_child_rep_view->get_replacement( lv_replacement_viewname ).
bind_view( rep_view = lv_child_rep_view viewarea = ls_child-viewarea ).
4) Added below in AccountRelationshipViewSet.htm
<bsp:call comp_id = "<%= controller->GET_VIEWAREA_CONTENT_ID( 'Text' ) %>"
url = "<%= controller->GET_VIEWAREA_CONTENT_URL( 'Text' ) %>" />
However the GSTEXT\List is missing in the UI, neither appearing the assignment block in the available list. Can someone guide me where and what I have missed in my mission?
Thanks,
TMG