Johan van Zijl

Mostly SAP related…
  • rss
  • Home
  • About

Determine the current WebClient Profile

April 8, 2008

Sometimes you need to determine the WebClient Profile of the logged in user.  The code below you allows you to accomplish this.

In CRM 4.0:
data: lv_profile type crmc_ic_profile .
lv_profile = cl_crm_ic_services=>get_customizing_profiles( ).

In CRM 5.0 and beyond:
data: lr_prof type ref to if_ic_profile,
lv_prof type string.
lr_prof = cl_ic_profile_service=>get_instance( ).
lv_prof = lr_prof->get_profile( ).

Share and Enjoy:
  • email
  • TwitThis
  • Facebook
  • LinkedIn
  • Digg
  • del.icio.us
  • Technorati
Comments
No Comments »
Categories
ABAP Code, IC WebClient, SAP CRM
Tags
ABAP Code, IC WebClient
Comments rss Comments rss
Trackback Trackback

CRM Users aren’t Wimps

January 26, 2008

I found the clip below on YouTube a while ago.

There is a lot of truth and a lot to debate in this ad. Being slightly biased, all I will say for now is don’t go for the rotten fish.

One of the things that struck me was how different this “user” is to what we normally deal with on CRM Projects. We typically implement systems for the Account Execs, Marketers, Contact Centre Managers, etc. These are strong personalities that won’t just shrug if the system does not perform as expected.

Also, in order to be truly successful, a CRM System requires the user to think. Knowledge, Opinions, Estimates and Assessment are needed. ERP projects are simpler in this respect. As an example, if an employee issues stock without capturing the Goods Issue document in the system he will get fired. There are few objective, enforceable rules, accounting principles or laws applicable to CRM Systems. You can’t force people to Think.

In my opinion, a successful CRM System is one that provides a positive experience that is to the mutual benefit of the organization implementing the solution and the end user that has to deal with it on a daily basis.

Share and Enjoy:
  • email
  • TwitThis
  • Facebook
  • LinkedIn
  • Digg
  • del.icio.us
  • Technorati
Comments
1 Comment »
Categories
CRM
Tags
CRM
Comments rss Comments rss
Trackback Trackback

Messages in the WebClient

I liked the idea of Nigel James to post handy tips for his own future reference. I decided to shamelessly copy him and post some of my own tips here. I will try to post them as I come across them.

So, you can use the code below in a controller class to display messages to the user.

data: lr_msg_service type ref to cl_bsp_wd_message_service,
      lv_msg type symsgv.
lr_msg_service = view_manager->get_message_service( ).
lv_msg = '<YOUR_MESSAGE_VARIABLE>'.
 CALL METHOD lr_msg_service->add_message
   EXPORTING
    iv_msg_type         = if_genil_message_container=>mt_error
    iv_msg_id             = '<YOUR_MESSAGE_CLASS>'
    iv_msg_v1            = lv_msg
    iv_msg_number      = '<YOUR_MESSAGE_NO>'
    iv_important_info    = abap_true.
Share and Enjoy:
  • email
  • TwitThis
  • Facebook
  • LinkedIn
  • Digg
  • del.icio.us
  • Technorati
Comments
No Comments »
Categories
ABAP Code, IC WebClient, SAP
Tags
ABAP Code, IC WebClient, SAP CRM
Comments rss Comments rss
Trackback Trackback

My Table Mover(Part 1)

November 27, 2007

I am currently doing more development work than I want to or supposed to do. So, I will start this blog on a rather technical note by taking you through a small development I did the other day. Hopefully someone finds this useful.

I needed to move a table from one SAP system to another system in a different landscape. It was the ideal opportunity to do a bit of interesting coding for a change (you can normally do this using a transport, once you get past the bureaucracy).

Now, I am not going to discuss the merits of the program I did develop or if it should even be used in an SAP system. All I am going to say is that changing SAP tables directly is extremely risky and should never be done in Productive Systems. It just turns out that this program was ideal for showing some not so common ABAP techniques.

My requirements definition for the Table Mover were as follows:

  1. Download multiple tables at once
  2. Upload multiple tables at once
  3. Be able to open/edit the downloaded file in Excel

Ok, so in order to meet requirement 1 and 2 I needed to include the table name in download structure. Requirement 3 meant I needed to use tab-delimited text or CSV. So I ended up with the following definition for a line type:

Line Type Definition

So this program will upload and download files in Ascii format. The first 16 characters will contain the table name and the rest of the row will be table contents in tab delimited format.

The old GUI_UPLOAD, GUI_DOWNLOAD, etc. Function Modules have been flagged as Obsolete in NetWeaver 7.0(AKA 2004s or whatever SAP decides to rename it to in future). Therefore I used the following methods to do my file processing:

  • cl_gui_frontend_services=&gt;file_open_dialog
  • cl_gui_frontend_services=&gt;gui_upload
  • cl_gui_frontend_services=&gt;gui_download

I had to upload and download the files without taking the tab-separator into account because I don’t know the structure of the table until I have uploaded the record.

In the next post I will discuss the details of the uploading and downloading mechanism.

In the meantime, here is the source code of the program. I wrote the program very quickly, so apologies for lack of error checking, testing, structure, etc. Source Code – Table Mover

Share and Enjoy:
  • email
  • TwitThis
  • Facebook
  • LinkedIn
  • Digg
  • del.icio.us
  • Technorati
Comments
3 Comments »
Categories
ABAP Code, Conversion, SAP
Tags
ABAP Code, SAP
Comments rss Comments rss
Trackback Trackback

Next Entries »

Navigation

  • ABAP Code
    • Business Partner
    • Conversion
    • CRM Service
    • IC WebClient
    • Middleware
  • Basis
  • Browsers
  • BSP
  • CRM
    • Interaction Centre
  • General
  • HTML
  • SAP
  • SAP CRM
    • Sales Documents

Search

Recent Posts

  • 15 Years of SMS and SAP CRM still does not support it
  • Vendors in the Sales Document
  • The Stapler Interface
  • SAP IT Service Management 7.0
  • Useful notes for Variant Configuration

RSS CONSNET

  • Forrester: Smaller SAP implementation partners sometimes the best option
  • Explore New Possibilities with our Experts at Saphila
  • Business Managers Enterprise Mobility Breakfast
  • New Positions Available!
  • First Global CRM 7.0 Solution live in South Africa
  • Shared Service Contact Centre
  • Consnet wins SAP Partner Excellence Award

Popular Posts

  • Sending mail from SAP
  • SAP CRM 7.0 Due
  • Browser Support and SAP CRM
  • SAP Salary Survey SA
  • Browser Support and SAP CRM - Part 2

Links

  • LinkedIn Profile
  • My Company – consnet.co.za

SAP

  • Getting Technical
  • martinceronio.net
  • SAP CRM Nightmare

Tech Related

  • WordPress Plugins

Categories

  • ABAP Code (12)
    • Business Partner (2)
    • Conversion (2)
    • CRM Service (1)
    • IC WebClient (5)
    • Middleware (1)
  • Basis (3)
  • Browsers (2)
  • BSP (2)
  • CRM (2)
    • Interaction Centre (1)
  • General (6)
  • HTML (3)
  • SAP (9)
  • SAP CRM (11)
    • Sales Documents (1)

Tags

Abap ABAP Code Authorizations BP Broadcast Browsers BSP Business Transaction Search Consulting CRM Customer digiata E-mail Firefox HTML Tidy IC WebClient IE6 IE7 IE8 Inbox ITS JAVA Mapping Opera Postfix Profile Parameters Salary Sales Area Sales Organization SAP SAP CRM SAP CRM 7.0 scot SMTP South Africa spam SSO2 Standards support package Tickets Web Client Web Dynpro website design Web Standards Wordpress

Archives

  • October 2009 (1)
  • August 2009 (1)
  • June 2009 (1)
  • May 2009 (2)
  • March 2009 (2)
  • November 2008 (1)
  • October 2008 (2)
  • September 2008 (7)
  • June 2008 (4)
  • May 2008 (4)
  • April 2008 (1)
  • January 2008 (2)
  • November 2007 (1)
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox