Quantcast
Channel: SCN : Blog List - Customer Relationship Management (SAP CRM)

See What's New in the CRM WebClient UI: Live Demo July 13!

0
0

In case you haven't heard the latest SAP rumor, it's completely true... SAP is making some major enhancements to the CRM WebClient UI. In addition to the exciting stuff that SAP is doing with the Fiori UX and Cloud for Customer, SAP recognized that the CRM WebClient could also use a makeover. So we listened to our customers and implemented some of the top-rated customer suggestions from the CRM2016 Customer Connection program for improving the CRM WebClient framework.

 

Join us July 13 at 10:30 am (EST) / 7:30 am (PST) as Jean-Yves Guyomarc’h and Wolfgang Oelschlaeger from SAP walk us through some of the cool new features and enhancements that SAP is rolling out to the CRM WebClient UI. This 90 minute presentation will include several live demos.

 

 

IR Code

Title

Demo

https://influence.sap.com/D9005

Ajax type ahead search in every table view

Live demo

https://influence.sap.com/D9173

Add UI Field Properties

Live demo

https://influence.sap.com/D9170

Support Multi-Select Drop-Down Fields

Mockups

https://influence.sap.com/D9171

Improve Visibility of Warning and Error Messages

No

https://influence.sap.com/D9011

Recent items: New widget for home site / flyout with data like SAP cloud for sales

Live demo

https://influence.sap.com/D9092

number of entities in result list after filtering

Live demo

https://influence.sap.com/D9298

Configuration: translate button

Live demo

https://influence.sap.com/D9512

Dynamic Dropdown Fields

Live demo

https://influence.sap.com/D9458

Web UI - Table Excel Export - Format of columns based on data type

Live demo

https://influence.sap.com/D9481

Improve the 1592001 - Navbar opens/closes on hover like the MS Windows Task Bar auto-hide

Live demo

https://influence.sap.com/D9269

Desktop Virtualization systems conflict with Keyboard shortcuts in the SAP CRM WebUI

Mockups

https://influence.sap.com/D9480

Default Icons for L-Shape Navigation BAR

Live demo

https://influence.sap.com/D9265

Sorting for multiple Columns

No

https://influence.sap.com/D9013

Drag and drop functionality if attaching a local file

No

https://influence.sap.com/D9297

Configuration: enable multiselect & drag&drop

Live demo

https://influence.sap.com/D9012

Enable to display system name and mandant on titlebar of WebUI for all users

No

https://influence.sap.com/D9267

The timer still works even after dump

No

https://influence.sap.com/D9296

genil_model_browser

Live demo

https://influence.sap.com/D9034

Enable configuration to allow different Web UI context area view colors based on transaction type

Mockups

 

To join us, please use the following dial-in information:

 

https://sap.na.pgiconnect.com/webcuif/

US and Canada: 1-866-312-7353 tel:18663127353x9945707229#

Germany: 0800 588 9331 tel:08005889331x9945707229#


Product Model in CRM part1 - basic introduction

0
0

For project reason I need to play around with product model functionality in CRM. I searched for SCN but found not so many useful document. So I tried it in my system and share my limited learning with you.

 

The prerequisite to use this function could be found from SAP help.

And you should first switch on configurable flag for the product type via customizing below:

clipboard1.png

clipboard2.png

1. Create a new product and make sure "Configurable" flag is clicked:


clipboard3.png

Save the product. Now you should see "Product Model" assignment block. Click "Edit List" to create a new model:

clipboard4.png

clipboard5.png

2. Create a new Characteristic based on "UNGROUPED":

clipboard6.png

Choose String as data type:

clipboard7.png

Based on this size characteristic, create three local values:

clipboard8.png

clipboard9.png

Create another COLOR characteristic:

clipboard10.png

And the third characteristic for Accessory number:

clipboard11.png

3. Set the model status to Released:

clipboard12.png

And click "Apply Changes":

clipboard13.png

Now the model is ready for simulation:

clipboard14.png

Once you click Simulation button, you can configure the model according to available characteristic value maintained in previous step:

clipboard15.png

Once you have done value selection, click preview hyperlink:

clipboard16.png

You will get an overview of configured product model:

clipboard17.png

More advanced features to be learned soon.


Further reading

You might be also interested with this blog Modelling Utilties Products using PMU and BRF+ Rules from Christian Drumm .


Product Model in CRM part2 - invovlement in Quotation scenario

0
0

In this blog let's try some more advanced feature.

 

Connect multiple characteristics with dependency

Edit the product Model created in previous blog, create a new dependency with type "Formula":

clipboard1.png

We can maintain formula for example below. In this case, it means "if the characteristic MACHINE_SIZE is selected as H(Home), another characteristic ACCESSORY_NUMBER would automatically be determined as 2".

clipboard2.png

You can click button "Suggest" to get some editing proposal. The complete syntax documentation could be found from this linkin SAP help.

Once edit is done, click "Check Syntax" to ensure the formula does not have any syntax error.

clipboard3.png

Since the product configuration engine is implemented in Java, there is a corresponding remote function module which delegates the check job to Java application running in virtual machine container.

clipboard4.png

You can find more information by tcode SM53:

clipboard5.png

Now simulate the product model, once Home is selected from drop down list and press entry key, the value 2 is automatically determined to 2 as expected.

clipboard6.png

Use product model in Quotation scenario

 

Create a new quotation, add the product which owns the created product model as item. Save the quotation.

clipboard7.png


Enter the item detail page, you can see a new "Configuration" assignment block.

clipboard8.png

The product model simulation page is now opened as a embedded view in Quotation item detail page.

clipboard9.png

Select value for characteristic according to your business. Now the configured product is persisted in quotation item level.

clipboard10.png

How to resolve error message "Specify at least one number for the business partner" in product edit page

0
0

Issue description

When I try to edit Distribution Chain for a given product by clicking edit icon:

clipboard1.png


This is the data I input in Distribution Chain edit page:

clipboard2.png

When I click Back button to try to save the change, I meet with error message "Specify at least one number for the business partner".

I am a little bit confused since in Distribution Chain edit page, there seems not to have any field which can allow me to specify a business partner.

clipboard3.png

How to find the root cause of this error message

 

Hover the mouse on message area to get technical information. Message type: E, message id: R11, message number: 123.

 

Now I have to set a break point on a given method which is executed before this error message is raised. I choose to set break point on method CL_BSP_WD_VIEW_MANAGER~PROCESS_NAV_QUEUE. After this break point is triggered,  set a dynamic break point via context menu below:

clipboard4.png

clipboard5.png


After that click F8, then debugger automatically stops at the very line where the specified error message is raised. From the callstack I know that this error occurs when WebUI framework tries to retrieve the data of set type CRMM_PR_SALESA:

clipboard6.png

clipboard7.png

The root cause of this issue is: Inside settype FM call, the loc_bupa is initial.

clipboard8.png

clipboard9.png

After I maintain a partner in Delivering Location field, the error is gone.

clipboard10.png

How to Determine the right Application Component

0
0

The Issue

Given Function Module or affected Class or the Transaction ID we can determine the right component

 

Reason & Prerequisite

This will facilitate quicker problem resolution as the incident will reach the relevant component area faster.

 

Class

Tx . Se24, enter the affected Class, Click Display as shown below:

KBA1.JPG

Then Click Properties tab as per below screen shot:

KBA2.JPG

Click on Package:

KBA3.JPG

There you are, see the Application Component, as shown below:

KBA4.JPG

 

Function Module

Tx. Se37, enter Function Module and Click Display

KBA 1 function module.JPG

Click on Attributes

KBA 2 function module.JPG

Then Package as shown below:

KBA 3 function module.JPG

Finally, the Component is displayed

 

KBA 4 function module.JPG

Transaction ID

Tx. Se38, run RSSTATUS, enter the Transaction ID and the Workload Monitoring Tool will display the Application Component

KBA 1 Transaction ID.JPG

Note:

1887985 - Checking Application Software and Application Component of an Object

Implementing a Geocoder for Google Maps in SAP CRM

0
0

One important aspect and target of a good Customer Relationship Management system is to manage acurate customer address and contact information. SAP integrates a framework in SAP CRM to gather and store geolocation information about a customer's location, i. e. the latitude and longitude of an address. This is especially critical in scenarios where the exact customer location is required (i. e. for weather information services).

You as a customer can enhance the framework and hook your own geocoding service into it. By standard the geocoding service in SAP CRM determines the geocoordinates based on country and region when an address is saved. Of course for most of the use cases, this is much too unprecise.

 

In this blog I describe how to use Google Maps as geocoding service in SAP CRM.

 

The Geocoding API in Google Maps is an HTTP based API where you can pass in an address and get geographical coordinates in return:

 

https://maps.googleapis.com/maps/api/geocode/xml?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&key=YOUR_API_KEY

 

Check out the API documentation for more details.

 

To integrate the Google Maps API in SAP CRM, start by creating a Geocoder class. That is a generic ABAP class implementing interface IF_GEOCODING_TOOL. Activate the class only now, it will be implemented later.

Image_01.png

 

This class must be registered in customizing (SPRO: SAP NetWeaver -> General settings -> Set Geocoding) as geocoder source.

Image_02.png

 

Next step is to assign the relevant address field to the new geocoder source.

Image_03.png

 

As the quality of geocoding solutions might vary between countries, you can define a geocoder per country. Here I defined the Google API for German addresses only.

Image_04.png

 

Now let's implement the geocoder class and method GEOCODE of interface IF_GEOCODING_TOOL. It is called everytime an address is updated in CRM.

The methods gets a table with addresses and some other information. It should geocode each of the addresses and put the results (latitude and longitude) in the CONTAINERS parameter.

Image_05.png

 

The custom submethod GEOCODE_ADDRESS invokes another custom class that calls the Google Maps Geocoding API.

Image_06.png

 

The Geocoding API is an HTTP-based web service API where this class sends GET requests to and consums the result.

Image_07.png

 

The request URL is created by simply concatenating the base URL and the current address. Please note that a response in XML is requested.

Image_08.png

 

SAP offers an XML library called iXML to read and parse XML content (see SAP help here). I haven't found a similar version for JSON with the same capabilities.

Image_09.png

 

Now if you're create an account and maintain a German address, our Google Maps geocoder is called and the Geocoding API is asked for the coordinates.

Image_11.png

 

The geograhical coordinates are stored in table GEOLOC.

Image_12.png

 

Please share your comments and thoughts. I would really appreciate your feedback.

Dump UC_OBJECTS_NOT_CONVERTIBLE

0
0

Hi all,

 

I encountered the following dump after upgrade. Have you encountered the same dump after upgrade?

The detailed information of this dump is like the following

Category                  ABAP Programming Error

Runtime Errors         UC_OBJECTS_NOT_CONVERTIBLE

ABAP Program         CL_CRM_GENIL_CONT_SIMPLE_OBJ==CP

Application Component  CA-WUI-GOL-GIL

Date and Time          08/21/2016 22:05:14

Source Code Extract Line  SourceCde  

1 method IF_GENIL_CONT_SIMPLE_OBJECT~GET_ATTRIBUTES .  

2   field-symbols:type any.  

3  

4   assign ME->DATA_REF->ATTRIBUTE_REF->* to <ATTR>.   

5   if SY-SUBRC = 0.

>>>>>     ES_ATTRIBUTES = <ATTR>.

 

call stack

79  METHOD IF_GENIL_CONT_SIMPLE_OBJECT~GET_ATTRIBUTES CL_CRM_GENIL_CONT_SIMPLE_OBJ==CP

78  METHOD IF_BOL_BO_PROPERTY_ACCESS~GET_PROPERTIES CL_CRM_BOL_ENTITY=============CP

77  METHOD IF_CRM_BP_UIU_VIEWS~CHANGE_CONFIG_TYPES ZCL_CRM_BP_UIU_VIEW_CONFIG====CP

76  METHOD ADDRESS_CONFIG CL_CRM_UIU_BP_TOOLS===========CP

75  METHOD DO_CONFIG_DETERMINATION CL_BP_CONT_CONTACTNEWDETA_IMPLCP

74  METHOD DO_CONFIG_DETERMINATION CL_BP_CONT_CONTACTQUICKCR_IMPLCP

73  METHOD DO_REQUEST CL_BSP_WD_VIEW_CONTROLLER=====CP

72  METHOD DO_REQUEST CL_BSP_CTRL_ADAPTER===========CP

71  METHOD CALL_CONTROLLER CL_BSP_PAGE_BASE==============CP

 

In my case, in the affected system, Badi CRM_BP_UIU_VIEW_COFIG is used. After upgrade, the data structure is changed, which is being passed as ME-> Data_REF -> Attribute_REF -> * in class CL_CRM_GENIL_CONT_SIMPLE_OBJ, method IF_GENIL_CONT_SIMPLE_OBJECT~GET_ATTRIBUTES.

But in the badi implementation, the coding is still designed to handle the previous data structure. Hence this dump happens.

 

If you encounter the same error as me, you could

1. firstly check if this issue could be reproduced in the standard business role

2. if this issue can't be reproduced with standard business role, you may need check if there is any badi implementation using ME-> Data_REF -> Attribute_Ref -> *.

Service Monitor Status

0
0

Symptom: Service order created with sales item and this sales item has delivery and post goods issue completed in ECC. But in service monitor, the status is not shown as green traffic light.

 

 

The help document below explains under what circumstances will the traffic lights show green, red or no icon.

 

Service Monitor - Generic Functions in Service - SAP Library

 

There are 2 tables which will have effect on delivery icon and Goods Issue icon:

 

CRMC_SALES_ITEM is related to Delivery and CRMC_SERVICE_I for Goods Issue.


To make delivery status show traffic light, the item type must have  DLV_RELEVANT = ‘X’ in table CRMC_SALES_ITEM

To make goods issue status show traffic light, the item type must have DLV_RELEVANT = ‘X’ in table CRMC_SALES_ITEM and  ITM DISTRIBUTION = ‘X’ in table CRMC_SERVICE_I

Otherwise, there will be no traffic light displayed.



Debug hint:


METHOD DETERMINE_ITEM_STATUS CL_CRM_QSRVMON_RUN_BTIL=======CP  >>> line 70 for delivery and line 95 for goods issue

METHOD IF_CRM_QUERY_RUNTIME_BTIL~GET_DYNAMIC_QUERY_RESULT CL_CRM_QSRVMON_RUN_BTIL=======CP

METHOD EXECUTE_DYNAMIC_QUERY CL_CRM_INTLAY_BTIL============CP

METHOD IF_GENIL_APPL_INTLAY~GET_DYNAMIC_QUERY_RESULT CL_CRM_BTIL===================CP

METHOD GET_DYNAMIC_QUERY_RESULT CL_CRM_GENERIC_IL_NEW=========CP

METHOD DQUERY CL_CRM_BOL_CORE===============CP

METHOD GET_QUERY_RESULT CL_CRM_BOL_DQUERY_SERVICE=====CP

METHOD EH_ONSEARCH_BTN CL_BTSRVMON_SEARCH_PARAMS_IMPLCP

METHOD EH_ONSEARCH_BTN CL_BTSRVMON_SEARCHVIEWSET_IMPLCP

METHOD DO_HANDLE_EVENT CL_BTSRVMON_SEARCHVIEWSET=====CP

 

Reference:

 

259692 / 2016 / Service monitor not showing delivery ,PGI status

280163 / 2016 / 259692 / 2016 Service monitor not showing delivery ,PGI status


Getting Error when Maintaining BWA1 Message No. SMOX3106

0
0

When maintaining BWA1, sometimes you may get the pop-up below:

001.png

 

If you click "Check" (F9), you may see the line with the error message. Double click on the line, you can see the error details like below:

 

0CRM_COMPLAINTS_I: Fld WARRANTY: Dif. selection indicators in ROOSFIELD (A) and SMOXRELP ()

Message No. SMOX3106

Diagnosis

The information that that a field of the extract structure could be selected by or is hidden from BW is stored in both tables:  SMOXRELP and ROOSFIELD. And this error occurs if these two tables have different informations.

This could be due to a manually change in one of the tables. (Normally the maintainance of these tables is done by the transaction BWA1 automatically.)

Procedure

  • To correct this problem, you can either repair it manually by changing the value in the table that is wrong.
  • Or you let BWA1 do it for you: Edit the DataSource, change the shown value to the wright one (if necessary) and save it.

 

 

This is because the field maintained in BWA1 mapping is marked as 'A' in Extraction Structure.

Actually there is nothing to be done as this error will not cause any missing data during the extraction process. You could ignore this error and click "Yes" when the pop-up appears. But if you want to remove this error message, there are 2 ways:

1. Remove the field that causes this error in BWA1 mapping. But this means this field will not be filled with value when you perform an extraction.

2. The table containing related parameter is ROOSFIELD. This table is by default not changeable. So a report needs to be written to make change to this parameter. Once parameter  'A' is removed, the error will disappear.

 

 

 

2355800 - Fields in CRM Datasource cannot be seen in BW

Long text/notes replication between CRM and ECC

0
0
  • Long text replication between CRM BP and ECC customer:

Only if the mapping are done in tcode PITX of ECC system, the long text can be transferred between the systems. This can also be checked in table CRMTEXTID or view V_CRMTEXTID.

1.png

2.png

 

There are two notes which could resolve the known bug for the long text replication.

2306639 - Editing one long text in CRM deletes rest of the long texts in ECC

2289305 - Long text buffer is not refreshed during the outbound replication

 

 

  • Long text replication between CRM BP and ECC BP.

Currently long text replication is not supported by standard for BP to BP data exchange. This has been addressed in note 548003 - Data exchange of long texts.

 

If you want to replicate the long text for BP and BP, you could consider to activate the CVI in ECC system or implement a Z module or exit for the same .

 

 

  • Long text replication between CRM BP and ECC vendor.

Please implement the following note, including the manual steps and the coding correction.

2055878 - Vendor long text does not transfer to CRM.

This note can add the object 'LFA1' into the selection condition of PITX.

Then please also map the text ID between CRM and ECC in tcode PITX.

 

 

  • Sales area text replication between CRM BP and ECC customer.

The sales area based text is also not supported in standard. According to the CRM BP data model, maintenance of Sales Area-dependent text objects is not possible. In CRM BP we do not maintain long text at sales area level, therefore these texts are not exchanged between ECC customer and CRM BP. You can also check in transaction PITX. Only the object 'KNA1' is offered and not 'KNVV'. For KNVV there are no corresponding texts in CRM.

 

However, you can explicitly transfer the texts using the following exits:

In R/3 you can use the exits DE_BCS2S for manipulating the BAPIMTCS and use DE_EIOUT to manipulate the complex structures.

In CRM, you can use the middleware exits SMOUTIL3 for mapping into CRM. Also refer to the note 417906 for additional information.

 

 

 

More blogs about the data exchange between CRM and ECC, please refer to the following links. I hope they could help you more.

How to debug the transfer flow for the replication between CRM and ECC

How to deal with the E04 bdoc errors?

How to debug the customer delta load from ECC to CRM



Latest Images