Archive for the 'ICWC' Category

Handy ICWeb tip

Disclaimer: technical and writing it down here so I can find it next time I need to do this.

Sometimes you need to get a custom controller in the CRM Web Client when you aren’t in the context of a class that has the get_custom_controller method available.

In such circumstances use the following static class and attribute to get to the class.

CL_CRM_IC_SERVICES=>CONTEXTAREA_CONTR->get_custom_controller( ‘nameOfContoller’ ).

Advertisements

Beating back BSP bugs

This is not a story about how I killed a microwave by cooking a burrito for 60 minutes rather than 60 seconds. This is just a story about how one man in his daily quest solved a nagging problem that was bothering him just a little too much.

The other day when I was chatting to Craig, I mentioned that I liked to blog about problems that I had solved so that others did not have to endure the pain.

This was such a day.

Continue reading on SDN …

Technorati Tags:  , ,

CRM and Le Tour

Two very unrelated subjects, I would have thought.

Yet here in the depths of SAP CRM there is the following line of code:

if cl_crm_ic_services=>greglemondmemorial = space.

Not quite sure why this is here. There is no else statement and nothing changes the value of the static attribute greglemondmemorial. They may as well have written ‘if 1 = 1’ or removed the if statement completely.

But it is finding this like this in SAP that makes your day interesting. So three cheers to Greg Lemond, three time winner of the tour.

For the curious this line of code is in the file abap_contextAreaPage.htm, which is in the crm_ic BSP application. The system at hand is a 4.0 system and I am not sure if this has been removed in later versions.

Technorati Tags: , , , , ,

CRM Helper parameters

When I first started work with SAP CRM 5.0 last year, my colleagues quickly pointed me to a parameter to set that makes life easier.

The other day I found some documentation of this very same parameter in a comment. (Yes don’t fall off your seat)

So for your pleasure, as lovingly taken from the root_content.htm page fragment in the IC_BASE BSP application, is that comment. It will save bruises on your head.

The position 1 is the most useful because the tooltip it gives you is the technical viewname of a IC Web Client view. This is very valuable to work out which view to change in an IC Web Client project.

<%-- Testparameter for new features. Begin
     Set one or more X instead of number in set/get Param CRM_ICWC_TEST to:
     0123456789 = no new feature
     ^            position 0: use java console for (scripting) test output
     ^           position 1: show filenames in tooltip
     ^          position 2: switch off java applet
     ^         position 3: use BDC->CurrentCentralOneOrder
     ^ = position 9: enable BOL display-only mode
     Update message 000 in message class CRM_IC_APPL for any change! --%>

Technorati Tags: , , , ,

Multiple App servers and BSP debugging

My current client was having shocking performance on its SAP development system. This is not a good thing. There were many consultants getting quite frustrated and annoyed.

So after the time it takes to get these type of things organised they deployed a new app server for us. Hooray. Improved performance and happy consultants.

Here are some reminders for when you are trying to debug SAP Business Server Pages (BSP) applications you need to:

  1. Make sure you are connected to the right client. If your breakpoint is in client 200 it won’t stop at the breakpoint if you are logging onto client 300 with the browser. The best way to do this to absolutley make sure is to append sap-client=nnn to the url where nnn is your client number.
  2. Make sure are you pointing your browser at the right application server. You can either save a bookmark / favorite to the right app server or you can use the test from within transaction SE80 (the development workbench) or transaction BSP_WD_WORKBENCH (the web client workbench). Using ‘test’ does not guarrentee that the right client will be chosen as there may well be a default client set up in the Internet Connection Framework (transaction SICF).

So if you have a set a breakpoint in your BSP and you are not hitting it, check these two points. If you have set it all up correctly then your logic may well be at fault! That is probably why you are debugging.

Technorati Tags: , , , ,

Documenting the IC Web Client

My latest assignment is a (fairly sizable) piece of work to customise the SAP Customer Relationship Management (CRM) Interaction Centre Web Client (ICWC or IC Web Client).

It seems that we are boldly going where no person has gone before and I am finding the documentation of the ICWC a little on the thin side.

So, from today I am going to start documenting all the little ICWC secrets I find. I trust this will be useful for someone. I am expecting it will serve as a helper for me but if you are one of the 3.14 people reading this blog and happen to be working with the ICWC AND you find this helpful, then lashings of ginger beer all around!

Update: This is the most popular post on this site (surpisingly). I think this may point to a lack of documentation that SAP has on CRM given that Google is pointing a lot of traffic here. A note to the commenters: Thomas has no documentation that you can’t get though official channels. Nor do I. Please do not ask for documentation to be emailed: SCN is your best place to start.

 

Technorati tags: , , ,


Hungry? Have a feed!

Subscribe to my Feed
September 2018
M T W T F S S
« Apr    
 12
3456789
10111213141516
17181920212223
24252627282930

Friends of FreeAgent

FreeAgent sign-up
View Nigel James's profile on LinkedIn

Recent Readers of Getting Technical

Where in the world are my readers?

Advertisements