cancel
Showing results for 
Search instead for 
Did you mean: 

CRM: Create own PopUp (IT-Servicedesk)

Private_Member_19084
Active Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

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

Private_Member_19084
Active Contributor
0 Kudos

Dear Vivikta,

thank you for your help.
But is there no possibility without making an modification, which I've to register and I've to check with SPAU at an updaten?

Kind regards

0 Kudos

Hi Christian

I think you can enhance the viewset in the enhanced component and modify the htm.

Regards

Vivikta

Private_Member_19084
Active Contributor
0 Kudos

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

Private_Member_19084
Active Contributor
0 Kudos

@ Vivikta,

maybe I do it wrong.

Do you have found an option to enhance the .htm without making an modification?

Kind regards

0 Kudos

Hi Christian

You can enhance the view KASearchView in the enhanced component CRM_KNOWART_S and change .htm of the view.

Regards

Vivikta

Private_Member_19084
Active Contributor
0 Kudos

Oh my god, you are right Vivikta.

I made a mistake like a beginner, I always tried to redefine .htm page.

And forgot to redefine the View.

So I am sorry for stealing you a lot of time.

Many thx again, to you Vivikta, and a great thx to you HCL.

Kind regards

Answers (6)

Answers (6)

Private_Member_19084
Active Contributor
0 Kudos

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.

SAP Note
 
  • The following error text was processed in the system:
    BSP exception: An attribute with the name "BTDOCFLOWRFC" is not defined
Exception ClassCX_BSP_INV_ATTR_NAME
Error Name
ProgramCL_BSP_PAGE_BASE==============CP
IncludeCL_BSP_PAGE_BASE==============CM014
ABAP ClassCL_BSP_PAGE_BASE
MethodIF_BSP_PAGE~SET_ATTRIBUTE
Line16
Long text-

Do I've to make a kind of SPAU for my enhnacements, which I made with BSP_WD_CMPWB?

Thank you in advance.

Former Member
0 Kudos

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

Private_Member_19084
Active Contributor
0 Kudos

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

Private_Member_19084
Active Contributor
0 Kudos

@ HCL_ZENITZ, do you have any idea regarding the post above?

Private_Member_19084
Active Contributor
0 Kudos

Hello HCL Zenith,

I don't would like to be impolite, but do have any tipp for me?

This would be great, as have to implement the new service desk as soon as possible.

Thank you in advance

Christian

Former Member
0 Kudos

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.

Private_Member_19084
Active Contributor
0 Kudos

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

Private_Member_19084
Active Contributor
0 Kudos

@ HCL, could you find an error or tipp for my problem?

thx in advance

Former Member
0 Kudos

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

Private_Member_19084
Active Contributor
0 Kudos

Hello HCL,

thank you for your help.
But how can I change the number of rows/columns of my viewset?

Do I've to change the .htm?

Thank you very, very much for your help.

I've also not found it in the SCN-Link you refered.

Christian

Former Member
0 Kudos

Hi Christian

Check this link

https://scn.sap.com/thread/840854

Regards

HCL Zenith

Private_Member_19084
Active Contributor
0 Kudos

Dear HCL,

thx for this link and sorry for late answer again.

But how do I change/enhance the .htm of View-Layout?

Do I've to make a modification?

I've not found an other way, to modify the .htm site.

Kind regards

Former Member
0 Kudos

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

Private_Member_19084
Active Contributor
0 Kudos

Hello HCL,

I don't know what you mean

I already attached my view ZINFO to AIC_INCIDENT_H/IncidentOV.

The viewarea "OverviewPage" is in the MainWindow, so I didn't change anything in the window.

However, look at my screenshot, I can't add the view in configuration mode - as suggested from you.

Former Member
0 Kudos

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

Former Member
0 Kudos

Thanq

Anything else required??

Regards

HCL ZENITH

Private_Member_19084
Active Contributor
0 Kudos

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?

Former Member
0 Kudos

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..

http://scn.sap.com/community/crm/blog/2009/10/08/crm-70-how-to--5a-create-a-custom-component-with-a-...

Regards

HCL ZENITH

Private_Member_19084
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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.

Private_Member_19084
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

http://wiki.sdn.sap.com/wiki/display/CRM/Calling+Custom+component+as+popup+from+a+standard+component...

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

Private_Member_19084
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi

You can add <chtmlb:overviewFormConfig/> in the htm coding in your view to set the configuration and add the required fields based on your context node.

Regards

HCL ZENITH

Private_Member_19084
Active Contributor
0 Kudos

Hi HCL,

thank your post.

Do you also have a crash guide for me, how to create an simple text-view and implement it into an standard component?

Thx

Former Member
0 Kudos

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:

  • Start the component workbench by using transaction BSP_WD_CMPWB
  • Enter your UI component.
  • Right Click on View and select Create.
  • Define name for the view
  • Add Model Node Eg BTAdminH
  • Add Value Node ( Needed if you want to add fields which cannot be retrieved from BOL).
  • Add model attributes if required.
  • Select the view type as empty, table or form.
  • Select Complete.

Regards

HCL Zenith

Private_Member_19084
Active Contributor
0 Kudos

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.

prakhar_saxena
Active Contributor
0 Kudos

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