Creating a new view in a component
HI,
I am trying to create a new view in a BSP component using the wizard. But the context nodes are not getting created. Its throwing up an error - "View not copied with wizard; processing not possible".
What could be the problem ? Pls help.
Regards,
Aravind.
Hi Arvind,
Before posting error, please search for it.
Here is what i found here in 2007 forum itself.
I guess you have not enhanced your component and your view.
Without enhancing the component it is not possible to add a new context node.
Here is a very helpful, follow it and the the other link within this thread,
both are very useful in this regard.
Web Client Context Node Enhancement
Thanks & Regards
Shiven
Similar Messages
-
Create a new view under a component in IC Webclient UI
Hi ,
Can anyone tell how to create a new view under a component in IC Webclient UI.
Regards,
SijoDepends what kind of view you are talking about. In any case first go to runtime repository on the left panel of the component and then click the edit button.
If you are talking about interface view, right click the component interface and choose "Add interface view". The created view is added to the selected window in the runtime repository.
If you want to add view to the window right click the windows component and select "Add view".
Select the view using the f4 help and save the runtime repository. -
Create a new view in a enhance component
Hi All,
I want to create a new view for sales order and quatation in a component BP_factsheet.When i craete new view ,it is asking about some value like model node, bol entity, higher level, bol realtion.after that is is asking context node ,bsp application ,custome controller and view type.How can i get these value .when i create a new view then have to add these view in run time repositry under a window or not?
Thanks in advance....
VishwasHello Vishwas,
You might be interested in knowing how to customise the new UI to add a new view using the enhancement concept.
Please refer to the published document on the service marketplace:
http://help.sap.com/saphelp_crm60/helpdata/en/1a/023d63b8387c4a8dfea6592f3a23a7/frameset.htm
refers to the link at
service.sap.com/okp
Inside this go to:
SAP CRM 2006s: Learning Map for Technology Consultants
wherein you can find the cookbook to perform similar operation in detail.
SAP CRM UI Cookbook
I hope this helps. -
How to create a new view by copying from standard view in IC webclient?
Hello, expert,
I need to enhance a sap standard component (BP_Factsheet), inside it I need to create a new view by copying from an existing standard view (Acitivities). However when I try to make a copy, I was asked for destination BSP application, I entered the Z-Application which I used when defining enhancement for the component. After the copy, I don't see the new view.
Then I tried the destination BP_factsheet, instead of the z-application, then after the copy, I can see the new view. However since it's in SAP application, it seems like it's a MOD, not enhancemnet, and inside the new view, the classes (for context, context nodes, etc.) are not in custom namespace (not starting with Z).
So please let me know how can I make a copy of sap standar view in custom namespace.
Thanks in advance.
JaysonWhen copying you can put any BSP name..normally the practice is to prefix the standard name with a Z.
Secondly when you want to make changes to the individual classes and methods you need to right click and say enhance. Then the AZ class names etc would be generated. The view should appear in the component wherein you copied the original view from.
I hope this helps.
The cookbook should have details on this. Otherwise also its quite intuitive.
Award points if it helps.
Thanks. -
Create a new view on Reports section
I have tried to create a new view on the "Reports" section in SCSM 2012 SP1 and here is my final MP:
<ManagementPack xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" ContentReadable="true" SchemaVersion="1.1" OriginalSchemaVersion="1.1">
<Manifest>
<Identity>
<ID>SG.Report.Library</ID>
<Version>1.0.0.0</Version>
</Identity>
<Name>SG Report Library</Name>
<References>
<Reference Alias="System">
<ID>System.Library</ID>
<Version>7.5.2905.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
<Reference Alias="SMReport">
<ID>Microsoft.SystemCenter.Report.Library</ID>
<Version>7.5.2905.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
</References>
</Manifest>
<Presentation>
<Folders>
<Folder ID="Folder.SGReporting" Accessibility="Public" ParentFolder="SMReport!ServiceManager" />
</Folders>
</Presentation>
<LanguagePacks>
<LanguagePack ID="ENU" IsDefault="true">
<DisplayStrings>
<DisplayString ElementID="SG.Report.Library">
<Name>SG Report Library</Name>
<Description />
</DisplayString>
<DisplayString ElementID="Folder.SGReporting">
<Name>SG Reports</Name>
<Description>Contains SG reports</Description>
</DisplayString>
</DisplayStrings>
</LanguagePack>
</LanguagePacks>
<Resources>
</Resources>
</ManagementPack>
I can see the MP is imported successfully, Then I query the DB for folder:
select * from Folder
where folderName like '%report%'
which gives me some rows containing the folder with parentID = '77C85F13-0D2F-5989-F175-781DE54AD627'
this GUID belongs to "ServiceManager" folder which is the parent folder of "reports" section.
All goes well without error, yet the folder does not show up!
I have tried sealing the Mp but still to no avail.
What I have done wrong?
YSobhdelyou have to use the MM01 tocde and enter the mateial you want extend for new view. system will propose the view and select the new view.
Or use MM50 for mass -
Creating a new view to search local database
SA
i need to create a new view that searches my local db for certain clumns
and i need the filter to have drop down lists based on my instace variables objects
any suggesstions please ?You cannot implement that functionality using the Workspace views. I suggest having a screenflow that uses a JSP to display the information in the way you want. This screenflow can be exposed as a global activity.
-
Create a new view in Material Master
Hi All,
I need to create a new view in the Material Master (Tcode - MM*)
Can anyone let me know how can this be attained. Can this be attained by configuration.
Regards
Simin.Ryou have to use the MM01 tocde and enter the mateial you want extend for new view. system will propose the view and select the new view.
Or use MM50 for mass -
Unable to create a new view for SAP UI5 in NWDS
Hi UI5 Profis,
I'm just getting started with SAP UI5 and wanted to create and run my first application using the UI5 Tools wirh NWDS. After having installed NWDS and the UI5 Tools
I create new SAP ui5 project, but the wizard always run into error, when I want to create new view.
Did someone already have the same issue?
Thanks in advance,
BR,
BerengerHi Berenger,
Which is your NWDS version?
It seems there is a bug on view creation with 1.8.8 version:
1814417 - Patched version 1.8.8 of UI Development Toolkit for HTML5
http://service.sap.com/sap/support/notes/1814417
Kind regards -
ALV: Create a new view in Settings
I get an exception "Dynamic type conflict when assigning references " when trying to create new view in Settings of ALV.
The ABAP call stack was:
Method: MAP_FROM_MODEL_CELL_EDITOR of program CL_SALV_WD_PERSISTENCE========CP
Method: MAP_FROM_MODEL_COLUMN_SETTINGS of program CL_SALV_WD_PERSISTENCE========CP
Method: MAP_FROM_MODEL of program CL_SALV_WD_PERSISTENCE========CP
Method: IF_SALV_WD_COMP_TABLE_PERS~SAVE_AS of program CL_SALV_WD_C_TABLE============CP
Method: ON_VIEW_SAVE_AS of program CL_SALV_WD_C_TABLE_V_SERVICE==CP
Method: IF_SALV_WD_VIEW~ON_HANDLE_EVENT of program CL_SALV_WD_C_TABLE_V_SERVICE==CP
Method: IF_SALV_WD_COMPONENT~VIEW_ON_HANDLE_EVENT of program CL_SALV_WD_A_COMPONENT========CP
Method: ON_VIEW_SAVE_AS of program /1BCWDY/2S9J7MRTEX4AZT4W9F24==CP
Method: ON_VIEW_SAVE_AS of program /1BCWDY/2S9J7MRTEX4AZT4W9F24==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/2S9J7MRTEX4AZT4W9F24==CP
After some research it turned out that there is a problem with toggle button which is set as editor for one of columns.
Debugging showed that data persistance logic of ALV (method MAP_FROM_MODEL_CELL_EDITOR, class CL_SALV_WD_PERSISTENCE, package SALV_WD_COMMON) expects that class CL_SALV_WD_UIE_A_TOGGLE_BUTTON like simple button is derived from class CL_SALV_WD_UIE_A_CAPTION, but it's not.
The same error can be reproduced on sample SALV_WD_DEMO_TABLE_EVENTS.
Do I have a problem with different versions of packages (SALV_WD_COMMON and SALV_WD_CONFIG)? Or something else?you have to use the MM01 tocde and enter the mateial you want extend for new view. system will propose the view and select the new view.
Or use MM50 for mass -
How to create new view in WebUI for Product
Hello,
We want to create a new view (Z) based on the fields of the BOL object and show it in the WebUI. Is there any step by step explanation how to do it?
Thanks in advance,
Sergey KozyrevHi Sijo,
The following would be the steps to integrate a z component to a std component:
1. Create the view that you would like to integrate with the standard component in a separate z component and design its configuration
2. Add the view in the Component Interface of runtime repository editor. Executing the z component directly must display the view without any errors
3. In the standard component, add the z component in Component Usage of runtime repository editor
4. In the standard component, add the custom component view in Viewsets->Viewarea->View (overview page view) of runtime repository editor
5. Now the view would be there in the available views of the overview page. Move it to the list of visible view on the right side
6. Execute the std component through Web UI and the view should appear
7. Make sure the Web UI uses the same role config key as that of the overview page in which you have added the view -
Problem in Spras field for join condition in creating new views
Hi,
I want to create a new view for three tables t1 t2 and t3 say.....i want to join this three tables like
table field table field
t1 mandt = t2 mandt.
t1 vkbur = t2 vkbur.
And other condition is t2-spras = 'E' now.... how should i give this condition in the join condition as u have to give the other table name and the field name on the other side too..... table t1 has no filed in its table for the field spras.........so i just have to give t2-spras as 'E'. But this is throwing error...Please helpHi,
1.u can specify the first thing i.e. t1 mandt = t2 mandt and t1 vkbur = t2 vkbur in the <b>join conditions</b> even if there is no relation ship b/w t1 and t2 on vkbur.simply u specify the join condition manually.
2.for the second thing....wat u did is rite.......
I think it will work.
Thanks ,
Jyothi.D
want to create a new view for three tables t1 t2 and t3 say.....i want to join this three tables like
table field table field
t1 mandt = t2 mandt.
t1 vkbur = t2 vkbur.
And other condition is t2-spras = 'E' now.... how should i give this condition in the join condition as u have to give the other table name and the field name on the other side too..... table t1 has no filed in its table for the field spras.........so i just have to give t2-spras as 'E'. But this is throwing error...Please help -
Problem with creating new view and binding it wht existing ViewSet/viewArea
Hi All,
I created a new view.
Now I am trying to dynamically change the veiw in ViewArea : product of ViewSet : BupaMainViewSet .
I added my new view in the views for viewarea : "product".
Now I wanted to get this new view based on some button clicks on view BupaSearchB2B.
If search Account button is clicked my new View has to appeared. Othewise the standard view in the Product view area shud appear.
I dont know how to do.
Your response will be highly appreciated with your reward points.
kindly assist me on this.
Thanks,
SR.Hi,
You can find detailed information at the following link:
<a href="https://portal.wdf.sap.corphttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/go/km/docs/corporate_portal/ws%20service%20%26%20support/product%20support/workspace_public/product%20support%20knowledge%20base/crm/crm-ic/crm-ic/icwc_cbk_crm50_290306.pdf">https://portal.wdf.sap.corphttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/go/km/docs/corporate_portal/ws%20service%20%26%20support/product%20support/workspace_public/product%20support%20knowledge%20base/crm/crm-ic/crm-ic/icwc_cbk_crm50_290306.pdf</a>
Please reward points if helpful
Best regards
Reyes -
How do I create a new Work Center for the transaction launcher and links
Hi
The requirement here is for me to find out if I can create a new Work Center that will contain up to 6 assignment blocks and each block having either links to websites and BW reports, or triggers to R/3 applications via the transaction launcher.
Can I do this purely through customising or do I need to create a new view using BSPs? If I can do it through customising please could I have a few pointers to what component I would need to use/copy?
Regards
DeclanHi Robert,
Thanks again for taking the time to reply.
Just so I understand, if I want to show a work center I need to link it to a component / view? I think this was the original query - do I need a developer to create the view that contains the 6 blocks with their links to reports, transactions and websites? I think when I talk about blocks I mean 1 viewset containing 6 views. There is no SAP standard view that would suit my requirements is there? Even if the work center had 8 views, I can always hide the two views in configuration.
After the developer has created the view, I then reference that component in the target Id in the define logical links section of my work center.
If my understanding is right, then it follows that it is not possible to create a user specific work center without some development.
Is this correct?
Cheers
Declan -
Adding new view to viewset (BP_DATA to ICCMP_BP_DETAIL)
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.Hi,
Some components are meant to be used with a main component. The view group context is inherited hierarchically from parent components. Coming to your problem, assuming that the BP_DATA/AccountIDNumberList view is already enhanced, redefine the method set_view_group_context method im the IMPL class.
Put in code, something like this..
method SET_VIEW_GROUP_CONTEXT.
IF iv_parent_context IS BOUND.
CALL METHOD super->set_view_group_context
EXPORTING
iv_parent_context = iv_parent_context
iv_first_time = iv_first_time.
ELSE.
CREATE OBJECT me->view_group_context
TYPE cl_bsp_wd_view_group_context.
ENDIF.
endmethod.
This will clear up the immediate issue, but you will likely face more.
Regards,
Arun Prakash -
Hi All,
I have created the new view in my custom CRM_IC. Can I know what is the next step to do in order for the new view to show in ICWC - what is the inbound or outbound plug all about?
Appreciate if someone can list me all the steps. ThanksObjective
Calling a custom Simple View for the follow-up activity. Whenever, we click the link of a follow-up activity from the activity clipboard, the system leads us to Simple Activity view, where we can maintain the description and the status.
Note
This is just a guideline document to work with customer specific view sets for one case. While following this procedure for other cases, we may need to do further enhancements.
A. Primary Steps
Create Custom Package Z_CONS_COOK1
Create BSP application Z_CRM_IC1 under package Z_CONS_COOK1.
B. Creating View Sets & Controllers
1. Through workbench transaction, Create New View Set: SimpleActivitySet
2. Specify view area name main.
3. All Controller & Model Classes are generated in the background.
4. Redefine method GET_STATE_DESCRIPTION of Controller Class ZL_Z_CRM_IC_SIMPLEACTIVIT_IMPL & populate with following source code:
METHOD IF_BSP_WD_HISTORY_STATE_DESCR~GET_STATE_DESCRIPTION.
*CALL METHOD SUPER->IF_BSP_WD_HISTORY_STATE_DESCR~GET_STATE_DESCRIPTION
EXPORTING
IV_CURRENT_DESCRIPTION =
RECEIVING
DESCRIPTION =
DESCRIPTION = TEXT-001. " 'Simple Activity'
ENDMETHOD.
5. Corresponding BSP Page is generated with the following code:
%@page language="abap"%
<%@ extension name="htmlb" prefix="htmlb"%>
<%@ extension name="xhtmlb" prefix="xhtmlb"%>
<%@ extension name="crm_bsp_ic" prefix="crmic"%>
<%@ extension name="bsp" prefix="bsp"%>
<crmic:gridLayout cellSpacing="1" columnSize="1" height="100%"
rowSize="1" width="100%">
<crmic:gridLayoutCell colSpan="1" columnIndex="1"
rowIndex="1" rowSpan="1">
<bsp:call comp_id="<%=controller->GET_VIEWAREA_CONTENT_ID( 'main' )%>"
url="<%=controller->GET_VIEWAREA_CONTENT_URL( 'main' )%>"/>
</crmic:gridLayoutCell>
</crmic:gridLayout>
6. Activate all objects
C. Creating Views & Controllers
1. Create View using IC Web Client Workbench transaction. Give view name SimpleActivity.
In the wizard enter our view name, and specify all model nodes, model attributes and links to custom controllers.
Add Model Nodes:
Model Nodes BOL Entity High-level model node BOL Relation
GT_BTORDER BTOrder
GR_BTADMINH BTAdminH GT_BTORDER BTOrderHeader
GR_BTSTATUS BTStatusH GR_BTADMINH BTHeaderStatusSet
GR_BTSTATUSH BTStatus GR_BTSTATUS BTStatusHCurrent
Four nodes are the pointers to the similarly named BOL entities of the focus object. The focus object will be the Activity that the user clicked in the Activity Clipboard. Whenever this happens, an instance method of the controller is called. Method IP_INBOUNDPLUGID retrieves the BOL entities from the global memory and places them into these attributes. They can also be seen as buffers since they are used in multiple locations within the controller class.
Value node: Optional entry, keep it blank.
Add Model Attributes:
Model Attribute Model Node BOL Attribute
DESCRIPTION GR_BTADMINH DESCRIPTION
STATUS GR_BTSTATUSH STATUS
Create Links to Custom Controller
Context node: GT_BTORDER
BSP Application: CRM_IC
Custom Controller: CuCoBDC.do
Context node (Custom Controller): CURRENTINTERACTIONRECORD
Select View Type
Type: Form View
2. Restart the IC Web Client Workbench. We will observe, controller class is generated with methods. If we want to enhance these methods we should redefine them in the corresponding *_IMPL class.
3. Define the Inbound Plug.
This is the method that is called by the framework whenever we navigate to our view set. Define method IP_INBOUNDPLUGID and populate with following code:
Following attributes added to the controller class, as it was showing an error message:
GR_BTORDER TYPE REF TO CL_CRM_BOL_ENTITY
GR_BTADMINH TYPE REF TO CL_CRM_BOL_ENTITY
GR_BTSTATUSH TYPE REF TO CL_CRM_BOL_ENTITY
GR_BTSTATUS TYPE REF TO CL_CRM_BOL_ENTITY
METHOD IP_INBOUNDPLUGID.
data: lr_bdc type ref to cl_crm_ic_cucobdc_impl,
lr_btorder type ref to if_bol_bo_property_access.
*- Read Parameter
lr_bdc ?= get_custom_controller( 'CuCoBDC' ).
CALL METHOD lr_bdc->get_navigation_data
IMPORTING
ev_selected_object = lr_btorder.
*- Read Model
IF lr_btorder IS BOUND.
TRY.
gr_btorder ?= lr_btorder.
gr_btadminh = gr_btorder->get_related_entity(
iv_relation_name = 'BTOrderHeader' ).
gr_btstatush = gr_btadminh->get_related_entity(
iv_relation_name = 'BTHeaderStatusSet' ).
IF gr_btstatush IS NOT BOUND.
gr_btstatush = gr_btadminh->create_related_entity(
iv_relation_name = 'BTHeaderStatusSet' ).
ENDIF.
gr_btstatus = gr_btstatush->get_related_entity(
iv_relation_name = 'BTStatusHCurrent' ).
IF gr_btstatush IS NOT BOUND.
gr_btstatush = gr_btstatush->create_related_entity(
iv_relation_name = 'BTStatusHCurrent' ).
ENDIF.
CATCH cx_root.
ENDTRY.
ENDIF.
ENDMETHOD.
4. Confirm View Layout SimpleActivity consistency.
5. Two methods are responsible for the data transfer between the model/controller and the view and are created automatically by the wizard.
SET_MODELLS -- Sends data to the view (PBO)
DO_HANDLE_DATA -- Retrieves data from the HTTP request fields (PAI)
We can redefine these methods for further enhancements.
D. Adjusting IC Web Client Framework
After having defined the views, controllers and classes, we need to hook them up to the runtime profile of IC Web Client.
STEPS:
1. To prepare IC Web Client framework for custom-built view-sets, create a new runtime profile BSP application in the customer namespace.
Create BSP application Z_CRM_IC_RT_REP under package Z_CONS_COOK1.
Copy the file CRM_IC.xml from the BSP application CRM_IC_RT_REP to Z_CRM_IC_RT_REP.
2. Adjust the contents of file CRM_IC.xml, as under:
<%@page language="abap"%><?xml version="1.0"?>
<WebDynProDefinitions>
<Application id="CRM_IC">
<ViewSets>
<%@include file="../Z_CRM_IC_DT_REP/CRM_IC_All_Viewsets.xml" %>
</ViewSets>
<NavigationalLinks>
<%@include file="../Z_CRM_IC_DT_REP/CRM_IC_All_NavLinks.xml" %>
</NavigationalLinks>
</Application>
</WebDynProDefinitions>
3. Create BSP application Z_CRM_IC_DT_REP in package Z_CONS_COOK1.
4. Copy page fragment CRM_IC_All_Viewsets.xml of BSP application CRM_IC_DT_REP to Z_CRM_IC_DT_REP and replace the file contents with the following lines:
Page fragment: CRM_IC_All_Viewsets.xml
<%@page language="abap"%>
<%@include file="MainViewSet.xml" %>
<%@include file="../CRM_IC_DT_REP/BuPaViewSet.xml" %>
<%@include file="../CRM_IC_DT_REP/CRM_IC_All_Viewsets_wo_BUPA_and_Main.xml" %>
This definition still works with all standard view sets, but replaces the MainViewSet.xml with our own definition, since it is now loaded from Z_CRM_IC_DT_REP.
5. Copy page fragment MainViewSet.xml from BSP application CRM_IC_DT_REP to Z_CRM_IC_DT_REP.
6. Copy page fragment CRM_IC_All_NavLinks.xml of BSP application CRM_IC_DT_REP to Z_CRM_IC_DT_REP and replace the file contents with the following line:
<%@page language="abap" %>
<%@ include file="../CRM_IC_DT_REP/CRM_IC_All_NavLinks.xml" %>
This definition makes sure that standard navigational links still work and that we are able to add our own link definitions later.
7. Activate all objects.
8. Customize the IC Web Client Runtime Framework Profile in such a way that the new Source file is used with the following sample code:
Navigation: SPRO  CRM  Interaction Center Web Client  Customer-Specific System Modifications  Define IC Web Client Runtime Framework Profiles.
Provide new profile name ZCUST_PROF & populate it with following set of attributes:
Profile name: ZCUST_PROF
Component Set: ALL
Separate Display Model: Off
Application: IC_BASE
Viewset name: workViewSet
Runtime Rep.Type: BSP Application
Application: Z_CRM_IC_RT_REP
Page: CRM_IC.XML
E. Creating View Definitions for Design Time Repositories
1. Every new view set must be defined in Design Time Repository. For this purpose, create page fragment SimpleActivitySet.xml in BSP application Z_CRM_IC_DT_REP and maintain it as shown in the following sample code:
Page fragment SimpleActivitySet.xml
<%@page language="abap"%>
<ViewSet id="Z_CRM_IC1 /SimpleActivitySet">
<ViewArea id="main" views="Z_CRM_IC1 /SimpleActivity"/>
</ViewSet>
2. Include file SimpleActivitySet.xml" into page CRM_IC_All_Viewsets.xml of BSP application Z_CRM_IC_DT_REP.
Page CRM_IC_All_Viewsets.xml after modification:
<%@page language="abap"%>
<%@include file="MainViewSet.xml" %>
<%@include file="../CRM_IC_DT_REP/BuPaViewSet.xml" %>
<%@include file="../CRM_IC_DT_REP/CRM_IC_All_Viewsets_wo_BUPA_and_Main.xml" %>
<%@ include file="SimpleActivitySet.xml" %>
3. Activate all objects.
F. Creating Navigational Link Definitions for Design Time Repositories
To provide a navigational link for the activity clipboard, define this link.
1. Create Page fragment SimpleActivityNavLinks.xml in BSP Application Z_CRM_IC_DT_REP and maintain layout with following code:
<NavigationalLink name="SimpleActivity">
<Source viewRef="IRecActivitiesClipboard"
outboundPlugRef="default"/>
<Targets>
<Target viewRef=" Z_CRM_IC1/SimpleActivity"
inboundPlugRef="inboundplugid"/>
</Targets>
</NavigationalLink>
2. Similar to the view definition, also the Navigational Link must be included into the framework.
Add the following line
<%@ include file="SimpleActivityNavLinks.xml" %> to the file
CRM_IC_ALL_NavLinks.xml in the BSP application Z_CRM_IC_DT_REP.
Page fragment CRM_IC_All_NavLinks.xml source code
<%@page language="abap" %>
<%@ include file="../CRM_IC_DT_REP/CRM_IC_All_NavLinks.xml" %>
<%@ include file="SimpleActivityNavLinks.xml" %>
3. Activate all objects.
G. Placing View Sets into Controller Hierarchies
1. Adjust the file MainViewSet.xml in BSP application Z_CRM_IC_DT_REP.
Add the reference to our view set and activate the file as shown in the following sample code:
Page fragment: MainViewSet.xml
<%@page language="abap"%>
<ViewSet id="IC_BASE/ICAPPMainViewSet">
<ViewArea id="navigationArea" views="IC_BASE/navigationViewSet"/>
<ViewArea id="workArea" views="IC_BASE/workViewSet"/>
<ViewArea id="contextArea" views="IC_BASE/contextAreaView"/>
<ViewArea id="breadCrumbsArea" views="IC_BASE/BreadCrumbsView"/>
<ViewArea id="globalSearchArea" views="HistoryView"/>
<ViewArea id="helpArea" views="Help"/>
<ViewArea id="statusArea" views="StatusView"/>
<ViewArea id="errorArea" views="IC_BASE/ErrorViewSet"/>
</ViewSet>
<ViewSet id="IC_BASE/navigationViewSet">
<ViewArea id="navigationViewSetArea" views="IC_BASE/NavBarView"/>
</ViewSet>
<ViewSet id="IC_BASE/workViewSet">
<ViewArea id="workViewSetArea"
views="<%@include file="../CRM_IC_DT_REP/StdWorkareaOccupation.xml" %>
Z_CRM_IC1/SimpleActivitySet "/>
</ViewSet>
H. Customize Activity Clipboard
To make activity clipboard call our new view set, change its customizing.
1. Create Activity Clipboard profile called ZCUST_PROF.
Navigation: SPRO  CRM  IC Web Client  Basic Functions  Define Activity Clipboard Profiles.
Profile name: ZCUST_PROF (copy all entries)
Keep Technical Profile name: DEFAULT
2. Assign this profile to IC Web Client profile.
3. Create a new entry for the object BTOrder and wrapped object type BUS2000126 by copying the existing entry BTORDERBUS2000126.
Activity Clipboard Entry ID: ZBTORDERBUS2000126
BOL Type: BTOrder
NavigationLink: SimpleActivity
4. Go back to your profile and select Assign Entries to Profile. Replace the original Entry ID BTORDERBUS2000126 with your new entry ZBTORDERBUS2000126.
5. Activate your changes and test the IC WebClient (application CRM_IC)
Maybe you are looking for
-
Ipod found in my computer but not in iTunes with "do not disconnect"
I bought my ipod nano yesterday and when i installed everything and plugged my ipod into my computer.. i got the "do not disconnect" message, When i click on My Computer it reads as a drive, but it is not found in iTunes and i can't use the ipod when
-
Macbook Pro to HDTV Leads & Is It HD?
So folks anyone with experience of setting up their Mac to a HDTV? Got a late 08 Macbook Pro. Already have one of these Do i then need on of these What about audio..? this? Thinking of trying boxee out, thats the interest really... Will the picture b
-
How do I install the Perl module DBD::mysql in OSX? I've installed mysql and DBI successfully via Fink, but can't seem to be able to install DBD::mysql in this same way. I've tried using cpan, but this didn't get me far. Thanks!
-
Trex patch upgrade issue from 44 to 50
Hello I have successfully installed Trex version 7.00.44.00 on windows 2008 server and Now, when I am trying to upgrade patch from 44 to 50 gives the below error at DNS domain name parameter enter stage. <<Reverse Lookup of address '64.-88.xxx.xxx fa
-
Just wondering if you ever found a way to edit ID3 tag on the E51? I am still looking for a free app - tried GetJar but no luck. Edit: this was meant to be a reply to thread #17168 but it's come up with a new post... oh well ;] Message Edited by jkfo