Skip to Content
0
Former Member
Nov 02, 2009 at 06:55 PM

Adding new view to viewset (BP_DATA to ICCMP_BP_DETAIL)

132 Views

Hello Experts !

We are on CRM 7.0. I want to add the window IDNumber of component BP_DATA in the component ICCMP_BP_DETAIL.

What are the steps to follow?

I created an "usage" of the component BP_DATA in the component ICCMP_BP_DETAIL. I added the interface view BP_DATA/IdNumberWindow to the usage.

I also created a new view area ('ZIdNumberData') in the viewset ICCMP_BP_DETAIL/BuPaCreateVS. Then, I assign the view of my usage BP_DATA to this new view area.

I enhance the BuPaCreateVS.htm by adding a new line to the code like this:

   <thtmlb:gridCell columnIndex = "1"
                   rowIndex    = "3" >
    <bsp:call comp_id = "<%= controller->GET_VIEWAREA_CONTENT_ID( 'ZIdNumberData' ) %>"
              url     = "<%= controller->GET_VIEWAREA_CONTENT_URL( 'ZIdNumberData' ) %>" />
  </thtmlb:gridCell>

But when I enter the webui it's giving me a DUMP in the view BP_DATA/AccountIDNumberList, the method DO_PREPARE_OUTPUT, because the following reference is initial:

ME->VIEW_GROUP_CONTEXT

The reference ME has the following value:

Does anybody has any suggestions ?

Thank you in advance

M.