on 11-26-2012 10:31 AM
Hi experts,
we would like to develop an own pop up for Web UI.
For example, if the creates an incident, we would like to display a popup which includes a view information.
Is there a tutorial for this?
I already found a tutorial for BSP_WD_CMPWB, but this didn't help me.
Would be great if someone can give me a crash-guide or tutorial.
Thank you
Hi Christian
You have to modify the viewset .htm page . Select the viewset .htm page in the view structure tab and make changes.
Please check this link.
http://scn.sap.com/thread/576779
Regards
Vivikta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vivikta,
I don't think so.
I've enhanced the component CRM_KNOWART_S.
Therein I've to modify the .htm of View CRM_KNOWART_S/KASearchView.
This would be the page KASearchView.htm.
And when I open it and modify it, I've to make a modification.
And I've not found a possibility to redefine this.
Kind regards
As I got answers from great experts in this post, I've one last question which I would like to post here.
Now we made an Support Package-Upgrade and I get now errors like this, when calling IT-Servicedesk.
| ||||||||||||||||
|
Do I've to make a kind of SPAU for my enhnacements, which I made with BSP_WD_CMPWB?
Thank you in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christian,
Please refer these links.
http://scn.sap.com/thread/3173487
http://scn.sap.com/thread/3160818
http://scn.sap.com/thread/1223334
http://scn.sap.com/thread/1130788
http://scn.sap.com/thread/2054220
Regards
Vivikta
Hi
You have added zinfo view in the main window and also overview page.
Your view ZINFO is present in the main window AIC_INCIDENT_H/MainWindow. You have also added it to overview page IncidentOV. As view ZINFO is present in overview page IncidentOV which is already present in the mainwindow AIC_INCIDENT_H as default then remove view ZINFO from mainwindow as it is included in the overview page.
If the problem still persists then check once if you have added the view in the same enhanced component in which you have added the overview page IncidentOV. You might have added the view in the view in the enhanced component ZAIC_INCIDENT_H while the overview page in AIC_INCIDENT_H. Even then the view might not be visible.
Otherwise go to the View Configuration from the PERSONALIZE button.
Then simply click on the RESET TO DEFAULT button. It might help.
You might need to implement the SAP NOTE 0001504637 .
Refer these links
http://scn.sap.com/thread/3224670
http://scn.sap.com/thread/3183842
http://scn.sap.com/thread/3224956
http://scn.sap.com/thread/1854143
Regards
HCL ZENITH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello HCL ZENITH,
I don't know how exactly, but this problem is now solved. I can add my Z-View to the component AIC_INCIDENT_H.
Many thx for great support on this matter.
One last problem/question I still have.
I also would like to add a view to the component CRM_KNOWART_S.
I did exactly the same like enhancing the component AIC_INCIDENT_H.
But I can't find the Window-configuration (like available in AIC_INCIDENT_H), where I've to move the view from available views to displayed views.
I can't find this option in BSP_WD_CMPWB and also not directly on the WebUI.
How can I add my view to this componenet/site.
(so that I see the view, if I press F8 in BSP_WD_CMPWB).
Maybe I've to enhance the BSP KASearchView.htm, where I can find lines, which seems for me to define the available areas.
If yes, how can I enhance this page? Is this an modification?
Many thx again for you great help
Hi Christian
Sorry for the delay in the reply as I dint open sdn since the past 10 days.
To get the view name in the configuration you need to add it to the overview page. Right click on view and select create overview page. Then assign your view to the overview page in the runtime editor by right clicking on viewset. Save changes. Click on configuration of overview page. Now you will get the view configuration.
To add the view directly to the window, right click on window and add view. Your view will be added.
Hi HCL,
thank you very much again for your help.
However, I don't know how I've to implement it.
I try to explain my problem once again with screenshots.
I would like to enhance the "Search for Knowledge Articles" (component CRM_KNOWART_S).
There I would like to implement a view at the top. (See screenshot).
Therefore I've created a view named "ZINFO" in CRM_KNOWART_S.
This screenshot I've added to the window "CRM_KNOWART_S/MainWindow", which seems to be the standard window.
And at this window I can't configure the screens, to add my view.
Also not on the WebUI.
For me it seems, that I've to implement the Z-View on an other way.
Hope this helps to understand what I mean.
I also tried to create an Overview Page.
But how can I integrate this then?
Thank you very, very much again in advance
Hi Christian
You need to add your view to the viewset KnowArtVs. Your viewset contains 2 rows and 1 column.Change your viewset from 2 by 1 to 3 by 1 (3 views). Add your view to the top view area below which is the search view and result view. Add <chtmlb:overviewFormConfig/> in the htm coding of your view to change the configuration of the view. This link might be helpful. http://scn.sap.com/thread/2044633
Regards
HCL Zenith
Hi
If you are attaching your view to the overview page IncidentOV and view set you need not add it separately again to the Main Window. You can directly add the overview page IncidentOV to the main window. The view ZINFO is present in overview page. Before testing , In the configuration of the overview page your view will be in available assignment blocks. Move it to the right .
For the runtime repository error, Just copy the runtime repository file i.e. Repository.xml ( under Pages with Flow logic section below view) from the same standard component and paste it. Activate the runtime repository , that will help. Ignore the message if you have not done any enhancements. Whenever you make any changes in the runtime repository save .
Regards
HCL Zenith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
SAP CRM WEBU Client Customizing and Development by SAP PRESS would be very useful for you. http://www.sap-press.de/download/dateien/1931/sappress_sap_crm_web_client.pdf
This link might also be helpful. http://help.sap.com/bp_crm70/BBLibrary/Documentation/C04_BB_ConfigGuide_EN_DE.doc
http://wiki.sdn.sap.com/wiki/display/CRM/How+to+Guide+-+Enhancing+the+UI+in+CRM+7.0
http://wiki.sdn.sap.com/wiki/display/CRM/Best+Practices+for+SAP+CRM+Web+UI+Customization
http://wiki.sdn.sap.com/wiki/display/CRM/CRM+Web+Client+UI+Framework
To set the view configuration , add <chtmlb:overviewFormConfig/> to the view htm page.
In the runtime repository editor add the model set. Right click on Model and add all.
Set the configuration for the view by selecting SHOW Available Fields.
The BOL which you added in the model node while creating the view will be displayed.
Select the required fields and add them by clicking on +. Save your configuration.
In the runtime repository editor, right click on window and add your view to the main window. In this way you can make your view visible in the component. Save changes.
Click on Test.
Please reward points if helpful
Regards
HCL ZENITH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello HCL,
I think I am to stupid to realize this.
I create a view as described by you.
Next I changed to "runtime repository editor".
There I added the view to the window AIC_INCIDENT_H/MainWindow.
You wrote something with "add the model set", what do you exactly mean with this?
I can't add something to "component->models".
However, if I press F8 and open then the configuration mode, I can't select my view there.
Any ideas what I make wrong?
Hi
In the Runtime Repository Editor click on change and right click on models and add the component set as 'ALL' . Save the changes. Your window is public but your view is not public. To display your view on the screen you add the view to the window. In the web ui you can select 'Choose Configurable Areas' to add your fields to the view. Did you set the configuration for the view in the component by selecting 'Show Available Fields'?
Refer this link to get a clear picture on how to create a view in a component..
Regards
HCL ZENITH
Hi again,
and thank you again for your great help.
I read your post and link. However, I can't solve my problem.
For explaining it easier, I attached a few screenshots.
As written I would like to enhance AIC_INCIDENT_H. There I would like to add an customer view.
I already created one (ZINFO).
This one I attached to Window AIC_INCIDENT_H/MainWindow and also to ViewArea OverviewPage.
The Model is already maintained with "ONEORDER" (I guess that's the reason, that I can't add one again). I also changed this to "all", without success.
I also added the line you posted to my ZINFO.htm.
However, if I press F8 and start testing, I can't select my view.
Please have a look on my screen shots and it would be great if you can give me an other tip.
One Info I would like to post at least:
When I double click on my ZINFO view in "Component Structure Browser" I always get the message:
View ZAIC_INCIDENT_H/ZINFO is not defined in the runtime repository that was loaded
And it seems as my added view in AIC_INCIDENT_H/MainWindow and Viewarea OverviewPage is deleted out of them after leaving the workbench.
It seems as I made something wrong.....but what????
Thank you very, very much in advance.
Hi Christian,
Here are some links that I would like to refer to u:
http://scn.sap.com/message/7382304 this is a thread from the same SCN site,
http://www.saptechnical.com/Tutorials/CRM/WEBUI/Page2.htm this is a tutorial from SAP technical site,
http://scn.sap.com/docs/DOC-33653 this is a doc in the same SCN site,
http://sapcrmtutorials.com/page/7/ this is a crm tutorial page..
wish these links help u.
Regards,
HCL ZENITH.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Zenith,
many thx for your post.
This was very helpful.
However, is there also a possibility, to call a Popup where I can structure the text?
I used comp_controller->window_manager->create_popup_2_confirm.
The text is only a string-parameter. If you know an popup where I can enter a table as text, it would be great.
I also would like to create an own window (view) as popup, but I tried it by the guide, and it don't works for me. Maybe it is to difficult for me.
Do you also know an other tutorial for creating views / popups?
Thank you very much
Hi
One of the standard examples of a pop-up view is the component CPGAS_ADVSEARCH. Check the view CPGAS_ADVSEARCH/ResultListCampaign and method EH_ONMASSCHANGE in class CL_CPGAS_AD_RESULTLISTCAM_IMPL .
Try referring these links, you might get a clear understanding about creating pop-ups in web ui.
http://scn.sap.com/thread/1795434
http://scn.sap.com/thread/2002450
http://sapstuff-hari.blogspot.in/2011/08/navigation-and-pop-up-on-crm-web-ui.html
These links might help you in creating a table view as a pop-up
http://scn.sap.com/thread/1906901
http://scn.sap.com/message/9046176
Regards
HCL ZENITH
Hello Zenith,
thank you very much for your post. This seems to be very helpful.
However, I reviewed my idea and now I would like to try it with an customer view instead of a popup.
So I would like to create a customer view, which I would like to implement.
In this view I only would like to display text (html-style would be great).
Do you have any idea, how I can achieve this?
Maybe you also have some tutorials for this case.
Thank you very much
Hi
You can refer the CRM 2007 WEB UI cookbook to check how to create views in a component or the SAP PRESS WEB UI Customizing and Development guide.
The CRM 2007 CRM WebClient Cookbook is available on the SAP Service Marketplace at http://service.sap.com/crm-inst .
SAP CRM 2007 -> Technology
Step 1 - Learn what you need -> SAP CRM UI -> SAP CRM UI Cookbook
Or you can try this web address https://websmp101.sap-ag.de/crm-inst
Steps to create a view in a component:
Regards
HCL Zenith
Hello HCL,
thank you very much for you support.
I am an absolutly newbie in this zone.
I tried to find a guide on your suggested sites. However I didn't find anything.
I also found nothing directly for 7.1.
Only a few guide in CRM 2007.
I did your steps. However, I don't know how I can get the view ready, to be displayed on my component. I can't select it at view-configuration.
Could you please give me an other tip.
Thank you very much.
Dear Christian,
You can use templates for incident management the biggest advantage is half of the information is automatically filled in for the reporter.
Regards
Prakhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.