IC WebClient : WD_CREATE_CONTEXT - DO_INIT_CONTEXT
Hi,
The IC WC cookbook tells us to use do_init_context instead of redefining wd_create_context.
<u>Pre-requisit:</u>
Taking into account that you created subclasses of the standard implementation, context and context node classes !
<u>Problem:</u>
So, if you create your own context and typed_context in do_init_context, this adds them to the m_models attribute, instead of replacing them !
The adding to the m_models in done in the create_context_nodes method of the context. If your use your own context nodes, this will give problems in your own getters and setters, because in the m_models, your own context is always stored after the standard context !!
<u>Solution / workaround:</u>
The only solution is to clear the m_models yourself before creating your own context in do_init_context, because standard coding does not take care of this, at any point during the creation.
<u>Comments</u> are welcome.
Regards,
Jan
Jan
ICWC Cookbook is quite specific to one particular scenario and hence applicability varies with condiitons.
The DO_INIT_CONTEXT is actually called after WD_CREATE_CONTEXT hence the context is already created. If you need to use the modified context then you have to implement the WD_CREATE_CONTEXT.
In other scenarios where you would like re-initialize your context or like to perform any other fetch from some table use DO_INIT_CONTEXT.
Cheers
Ankur
Similar Messages
-
WebClient Error - Failed to log on to the comm. mgmt. software
Hi, following the CR410 i have created a webclient profile/ framework, and assigned the profile to an org unit.
now when try to open the webclient using crm_ic, i am getting the above error on the IDES system.
<b>"Failed to log on to the communication management software system"</b>
<b>Details of the above error</b>
Diagnosis
An error occurred while logging in to the communication management software system.
System Response
The multichannel services are not available. You will not be able to work with contacts such as phone calls, e-mails, or chat sessions.
Procedure
Contact your system administrator.
Procedure for System Administration
Review the ICI trace.
what could be error...
Thanks,Have you configured CTI with IC WebClient? If yes under IC WebCLient profile look for CONTACTCENTER function profile and enter correct profile.
If you do not have CTI in place make sure that CONTACTCENTER entry is blank under IC WebClient profile.
Thanks,
Thirumala. -
RFC connection error in Webclient
hi,
when i am checking the RFC connection for the webclient i am getting the error:
ERROR program 5480450@CRMSERVER not registered
LOCATION SAP-Gateway on host crmserver / sapgw00
DETAIL TP 5480450@CRMSERVER not registered
COMPONENT SAP-Gateway
COUNTER 44
MODULE gwr3cpic.c
LINE 1621
RETURN CODE 679
SUBRC 0
RELEASE 640
TIME Wed Dec 14 13:51:00 2005
VERSION 2
please guide me how to resolve this,
regards,
udayhi,
when i am checking the RFC connection for the webclient i am getting the error:
ERROR program 5480450@CRMSERVER not registered
LOCATION SAP-Gateway on host crmserver / sapgw00
DETAIL TP 5480450@CRMSERVER not registered
COMPONENT SAP-Gateway
COUNTER 44
MODULE gwr3cpic.c
LINE 1621
RETURN CODE 679
SUBRC 0
RELEASE 640
TIME Wed Dec 14 13:51:00 2005
VERSION 2
please guide me how to resolve this,
regards,
uday -
Service Desk with IC WebClient: Category Modeler not available
Hello,
We are currently implementing a Service Desk Application based on SAP Solution Manager. Therefore we are using the article "Implement an ITIL Employee Service Desk with IC WebClient" of "www.CRMExpertOnline".
One of the steps, which are described in the article describes how to Categorize incidents with the Category Modeler. It says that the Category Modeler is available trough BSP Application CRMM_ERM_CAT.
Unfortunately this SAP-Application is not available on our system.
Our System Data:
SOFTWARE COMPONENT RELEASE LEVEL HIGHEST SUPPORT PACKAGE DESCRIPTION
SAP_BASIS 700 0012 SAPKB70012 SAP Basis Component
SAP_ABA 700 0012 SAPKA70012 Cross-Application Component
PI_BASIS 2005_1_700 0012 SAPKIPYJ7C PI_BASIS 2005_1_700
ST-PI 2005_1_700 0005 SAPKITLQI5 SAP Solution Tools Plug-In
SAP_BW 700 0014 SAPKW70014 SAP NetWeaver BI 7.0
SAP_AP 700 0009 SAPKNA7009 SAP Application Platform
BBPCRM 500 0009 SAPKU50009 BBPCRM
CPRXRPM 400 0009 SAPK-40009INCPRXRPM SAP xRPM/cProjects/cFolders 4.00 (ABAP)
BI_CONT 703 0005 SAPKIBIIP5 Business Intelligence Content
ST 400 0012 SAPKITL422 SAP Solution Manager Tool
ST-A/PI 01I_CRM500 0000 - Application Servicetools for CRM 500
ST-ICO 150_700 0009 SAPK-15079INSTPL SAP Solution Manager Implementation Cont
ST-SER 700_2006_2 0003 SAPKITLOK3 SAP Solution Manager Service Tools
Does anybody know where I can find/download the category modeler-application?
Thanks in advance,
AndreasHello Andreas,
The question is that CRMM_ERM_CAT is an application, also a transaction but this is not the name of the associated BSP I think, this belongs to component CRM-PCF more than Solution Manager.
I have seent some messages speakin about to call:
http://server:port/sap/bc/bsp/sap/crm_bsp_frame/entrypoint.do?
appl=CRMM_ERM_CAT
Sorry! I can not tell you more about this, regards,
Dolores -
Business Partner Role Specific Field View in WebClient
Hello to everyone,
I have a question that really needs a answer. We are upgrading from SAP CRM v4 to SAP CRM v7.0 and as such we have a number of custom Business Partner Roles within the Person BP Type. Against these custom roles we have developed custom field and tabs in order to separate the content within the BP Role further.
After rolling off an implementation of SAP CRM v6.0 [2007], the following seems apparent:
- Assignment of Roles is done via an assignment block in the Customer Maintenance view.
- You can create Business Partners in different roles initially.
- You cannot maintain Business Partner details in specific roles
However, you cannot display the role specific fields as you can in the WinClient. As an example, a Citizen Role BP will have different fields to that of a Teacher, but these roles could be assigned to one Business Partner.
There does not seem to be any guidance as to how this is managed in the WebClient and as it seems a fundamental part fo the SAP CRM offering, you would have thought that this questions has been asked, but I have found no answers.
I really hope anyone can help and appreciate any time and effort put into solving my question.
Many Thanks,
MatFlat.Hi MatFlat,
Yes, your observation is right - in the Web UI, fiel grouping is not implemented for roles. This is because the role concept is quite different between SAP Gui and Web UI.
In SAP gui, (CRM 4.0) roles had a functional meaning as well as a UI control. However, the concept was changed with Web UI. Now, roles have only a functional meaning, and no effect on the UI at all.
If you want to implement role based field grouping in Web UI, you need to define your own methods in the implementation class.
E.g : you can write code to influence the field properties based on the roles. I guess you can redefine the DO_PREPARE_OUTPUT methods of the impl class.
In order to get info about which roles the BP is maintained , you can use FM BUPA_ROLES_GET_2.
Hope this helps you.
Cheers,
Rishu. -
Error message 'Enter unit of measure' in Webclient
Hello Experts,
We are working on CRM 5.0 SP 7, IC WebClient and have implemented the BAdi "<b>CRM_SERVICEPROD_BADI</b>" to assign a service product ''<b>INVESTIGATION'</b> whenever user selects service ticket in WebClient.
However, when confirming a Business Partner and accessing the service ticket, an error is getting displayed stating "<b>Enter the unit of measure</b>".
We have already mentioned the unit of measure in Product but it seems it is not picking from there.
Please help me to remove this error.
Reward points assured for useful answers.
Regards,
Amithi
I had a similar Problem
You will have to assign the base unit of measure in service tab as hours and then in the sales and distribution tab assign the same unit in the sales unit and give minimum order quantity(for e.g-1) & delivery unit ,this you will have to do for all the sales areas you might have mapped in the S&D tab
I'm sure the issue will be resolved
Cheers!!
Regards
Shankar Raj -
Dear All,
I am using CRM 5.0 and NW 2004s. I have configured Single Sign-On for this also. but when i am accessig the IC WebClient it ask me for login window. Other than IC WebClient other applications of CRM are working fine. So is some special settings needs to be configure for SSO to IC WebClient?
Kindly help. Its *URGENT*.
Full reward points for helpful answers also.
Regards,
VinayakHi there,
I would suggest this:
- Building block for IC (C78) at http://help.sap.com/bp_crmv12007/CRM_DE/BBLibrary/html/BBlibrary.htm
- Documents available at this thread Documentation for Interaction Center (IC) WebClient
- UI guidelines for CRM2007, available at User Interface Guidelines for CRM 2007 are now available
Kind regards.
Edited by: Bruno Garcia on Dec 3, 2008 9:57 AM -
Solman 7.1 - CRM WebClient UI - custom field mandatory on status change
Hi
I've got a question and I'm not sure if it's possible.
Basically i have created a custom field in CRM WebClient UI and I have added this field to my Z configuration. This works fine.
Now, I'm wanting to make an error to appear if this field is blank (hasn't been filled in) when the status of the transaction type changes to a specific status.
i.e. if "custom field" is BLANK when SMTM changes to Closed, then error appears
I know the field can be made mandatory, but this particular custom field won't be filled out straight away. Therefore I want the check to occur when the document is closed. Can this be done via PPF Conditions? Or is ABAP/enhancement the only way?
Thanks
ShaunHi,
For customizing crm web ui, you must need AET or EEWB tools. Best Practices for SAP CRM Web UI Customization - CRM - SCN Wiki
but try by using the standard sap note 1772650 - ST710:You can save a message even though mandatory fields are not filled in. which can set certain warning message for custom fields or not and the other relevant 1931783 - Incident can be saved without filling mandatory fields
Please check.
Thanks
Jansi -
Z Transaction Types not showing up at creation in CRM 5.2 WebClient
Hi Experts,
I am using CRM 5.2 with webclient.
I have just created 3 transaction types (BUS2000126 & BUS2000125) copied from standard ones.
I passed all other transactions as Inactive in SPRO.
In GUI everything is OK, I can create each of these transactions properly.
But in WebClient, when I click on "New", the pop-up appears but there is no value in it.
Is there anything I would have forget in my customizing, anything I should do in the BOL???
I 'd appreciate any help and reward with maximum points for any helpful answer,
Thanks,
AldoAldo,
I know for activities (BUS2000126) they must have the correct category assigned in order to show up in the creation list. This is set under Assignment of Business Transactions Categories, and the customizing header data for the category Activity for the transaction you created.
The class CL_CRM_UIU_BT_ACT_CUST_GET controls this logic. There are calls to CRM_BSP_SALES_GET_PROC_TYPE which will retrieve the list of possible transaction types. You can look at the method GET_PROC_TYPES_FOR_SCREEN_KIND in class CL_CRM_UI_BT_ACT_CUST_GET to see this logic.
The class of the category of the activity must correspond to the allow values.
Take care,
Stephen -
Follow-up transactions in IC Webclient
We have a requirement to create follow-up transactions for sales document types (ex. standard order from an inquiry or quotation) in IC Webclient.
We looked at the IC Webclient and found that there is a possibility to create follow-up transactions only from the interaction record.
The copy controls are done and we can create follow-up transactions in SAP GUI.
Does anyone know how to create a follow-up transactions for any sales transaction type and how to provide such a facility in IC Webclient?
thanks a lot.
SamWe have the scenario where we make follow-up transactions in the IC Webclient from a standard order to a return order for example. This is no standard functionality in the IC webclient and has been custom programmed by ECENTA a german SAP partner. It uses the standard copy control. The main issue was to get the document flow correct.
Regards,
Jacco -
CRM 5.0 - IC WebClient - Warning on Follow Up Transaction
Hi Gurus
I would have thought I could fex this by myself but hitting a dead end.
We're using Business Activity & Task transactions for follow ups. I keep getting this warning when I try yo create a Follow up:
"Codes for subject profile category "G" are not permitted in this trans."
There are no furhter details available on this warning, and I cannot locate a hit on SDN for it.
I would have thought it would be something to do with my Catalog selection but I'm not finding anything wrong in my setup.
Max points for the right guidance.
Many Thanks
PandurangaHi Rekha
I think you are pointing me in the right direction, just a point before I continue
When I view the available Catalogs, all except Catalog G1 "Cancellation Reasons" have a Keyword, as the Keyword for G1 is blank could this be causing an issue. This was how it was supplied from SAP.
We are using 3 Transactions
Z000 Business Activity - Transaction Category = Business Activity
With Subject Profile Category -
Activity Reason
Z003 Service Ticket - Transaction Category = Service Process
With Subject Profile Category -
Service
& Transaction Category = Business Activity
With Subject Profile Category -
Activity Reason
Z004 Task - Transaction Category = Task
With Subject Profile Category -
Activity Reason
Do you see an issue with this config.
Generally we Open Up Webclient
Confirm Account
Create Service Ticket
Goto Interaction Record - Followup
Select either Business Activity or Task as Follow Up
Then select Follow Up Details to complete the Follow Up
This is when the error occurs
Regards
Panduranga -
In form1 constructor:
fileDownloadRadar();backgroundWorker2.RunWorkerAsync();
First i'm downloading one image from another source using WebClient in form1:
private void fileDownloadRadar()
if (Client.IsBusy == true)
Client.CancelAsync();
else
Client.DownloadFileAsync(myUri, combinedTemp);
Then in the DoWork event:
private void backgroundWorker2_DoWork(object sender, DoWorkEventArgs e)
SatelliteImages.ExtractCountires();
this.BeginInvoke(new MethodInvoker(delegate
for (int i = 0; i < SatelliteImages.countriescodes.Count; i++)
comboBox1.Items.Add(SatelliteImages.countriescodes[i]);
for (int i = 0; i < SatelliteImages.countriesnames.Count; i++)
comboBox2.Items.Add(SatelliteImages.countriesnames[i]);
comboBox1.Text = "is";
comboBox2.Text = "Europe";
SatelliteImages.ExtractDateTime(comboBox1.Text, true, combinedsatelliteimagesdir);
This is the SatelliteImages class:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Web;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text.RegularExpressions;
namespace mws
public partial class SatelliteImages : Form
static WebClient client;
List<string> imagesUrls = new List<string>();
static string htmltoextract;
static string link;
static string text;
public static List<string> countriescodes = new List<string>();
public static List<string> countriesnames = new List<string>();
public SatelliteImages()
InitializeComponent();
public static void ExtractCountires()
htmltoextract = "http://sat24.com/en/?ir=true";//"http://sat24.com/en/";// + regions;
client = new WebClient();
client.DownloadFile(htmltoextract, @"c:\temp\sat24.html");
client.Dispose();
string tag1 = "<li><a href=\"/en/";
string tag2 = "</a></li>";
string s = System.IO.File.ReadAllText(@"c:\temp\sat24.html");
s = s.Substring(s.IndexOf(tag1));
s = s.Substring(0, s.LastIndexOf(tag2) + tag2.ToCharArray().Length);
s = s.Replace("\r", "").Replace("\n", "").Replace(" ", "");
string[] parts = s.Split(new string[] { tag1, tag2 }, StringSplitOptions.RemoveEmptyEntries);
string tag3 = "<li><ahref=\"/en/";
for (int i = 0; i < parts.Length; i++)
if (i == 17)
break;
string l = "";
if (parts[i].Contains(tag3))
l = parts[i].Replace(tag3, "");
string z1 = l.Substring(0, l.IndexOf('"'));
countriescodes.Add(z1);
string z2 = parts[i].Substring(parts[i].LastIndexOf('>') + 1);
countriesnames.Add(z2);
public static void ExtractDateTime(string selectedregion,bool infraredorvisual, string satimagesdir)
WebClient client1 = new WebClient();
string[] Urls = new string[9];
string input = File.ReadAllText(@"c:\temp\sat24.html");
string pattern1 = @"imageUrls = \[[^\]]*\]";
Regex ex1 = new Regex(pattern1, RegexOptions.Singleline);
string pattern2 = @"region=(?'region'[^&]*)&time=(?'time'\d{12})";
Match match1 = ex1.Match(input);
Regex ex2 = new Regex(pattern2, RegexOptions.Singleline);
MatchCollection matches2 = ex2.Matches(match1.Value);
IFormatProvider provider = CultureInfo.InvariantCulture;
List<DateTime> dateTime = new List<DateTime>();
foreach (Match match2 in matches2)
string region = match2.Groups["region"].Value;
DateTime dt = DateTime.ParseExact(match2.Groups["time"].Value, "yyyyMMddHHmm", provider);
switch (region)
case "eu":
dt.AddHours(1);
break;
case "is":
dt.AddHours(-1);
break;
dateTime.Add(dt);
for (int i = 0; i < dateTime.Count; i++)
string result = dateTime[i].ToString("yyyyMMddHHmm");
link = "http://www.sat24.com/image2.ashx?region=" + selectedregion + "&time=" + result + "&ir=" +
infraredorvisual ;
// why downloading so slow ? to check maybe to ask
// in forums.
string filePath = Path.Combine(satimagesdir, "SatImage" + i + ".GIF");
try
client1.DownloadFile(link, filePath);
catch (Exception e)
DannyGeneral.Logger.Write(e.ToString());
client1.Dispose();
private void SatelliteImages_Load(object sender, EventArgs e)
I guess the problem is in the SatelliteImages class where i'm downloading there first time the html file and then downloading 9 images.
I tried to start the backgroundworker2 inside the completed event in form1 of the WebClient.
But again it's all freezing untill it's completing downloading the images in the class SatelliteImages.
I thought put it in the backgroundworker2 dowork will not make it freeze.
Why the downloadings in the class SatelliteImages make it all freeze untill it finish the downloadings even if it's inside the backgroundworker2 dowork event ?Unless I have missed something, the only thing that is running on the background thread is:
SatelliteImages.ExtractCountires();
It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link. -
Can we have multiple IE in the same machine to access IC Webclient ?
Dear expert,
I have a question here. Can we access IC Webclient if our computer have multiple IE ( E.g IE 6 & IE 7 ). Currently the client computer have multiple IEs in the computer by using Tredosoft product. The environment of the system is as below :
Server environment :
1. Windows 2003 server Enterprise Edition
2. SAP Netweaver 2004s SPS9
3. SAP CRM 5.0 (ABAP & Java stack)
4. SAP Enterprise Portal 7.0
Client PC :
1. Windows XP Profesional SP2
2. Java Runtime Environment 1.4.X
Your help is much appreciatedHi Ku Izrul Hadi Ku Hilmy ,
For the Webclient to run you just need a browser. It will work on IE06/07 . Just the thin client should be properly configured. As far as the requirements put down by you is concerned I dont think so there should be any problem for the webclient to run from the client side.
Reward useful answers,
Regards,
Shrita Sharma. -
How to change default page in webclient
Hi,
For business role Ic_agent, the default page is identify account when you login. I wanna change the default page to interaction record.How to configure? Thanks!
BR,
ROBERTHi Robert
1. check which is the Navigation bar assigned to the profile assigned to Agent.
2.. follow path : Customer Relationship Management Interaction Center WebClient Basic Functions Define Navigation Bar Profiles, look for the navigation assigned to your profile.
3. selecting your Navigation bar profile from Define Profiles and goto Assign Entries to Profiles, here you have Navigation Bar ID and Tittle. Against each of the navigation bar id a position has been assigned.
4. The lowest position assigned to Navigation bar Id will be set as default.
In your profile lowest position has been assigned to Identify Account, you assign even lower position to whichever ID you want to assign as default.
Hope this will help.
Rgds
Mallikarjun -
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.
Maybe you are looking for
-
I want to buy two books on LiveCycle. I need feedback from people that know a lot more than I do as to good books to buy. I want them to be for the latest version, available from Amazon (to reduce shipping costs) and worthwhile.
-
AE CC: Material options showing only curvature and segments.
Hi, I'm having some trouble with AE CC's ray traced comp options. I've selected "ray traced', crreated a new 3D solid. However when I view "Geometry Options" I am presented with only "Curvature" and "Segments" - there's no option to extrude etc. Is i
-
How to Display Column which is not in Subject area.
Hello Everyone, I have one report requirement where i have to show one column which is not in subject area. e.g. report requirement is like where i need columns from 2 different subject areas. 1 from PO & 2nd from Invoice. now i have PO related detai
-
Hi Experts, I'm looking for a better options for building a huge set of dashboards which user will can navigated from one dashboard to another. We need to build around 80 dashboards and user will navigate from one to another by using buttons . And al
-
Hi Experts, When modifying the contract by using transaction code ME32K during saving there is an error ENTER REASON FOR CHANGE FOR VERSION but unable to get any place for giving reason for change or version? Best Regards, Varun Bisaria