In this blog, I am going to talk about an interesting Business requirement and explain how the solution is built to cater the same. Considering the companies global business and sales teams working across different countries who are more familiar with their native language. It has become a very common requirement that the Sales team wants to use the C4C system in English, however they need to have an option to search the product using product description in their Native language.
SAP provides similar functionality as standard in SAP S4 system where users can log in English language and then search the product using other language description while creating the sales transaction however similar functionality is not available in SAP C4C.
SAP standard functionality in C4C for product search defaults to searching product in user’s logon language only. Which has its own business impacts, in general, for any organization
Scenario: I trust that all of you are now familiarized with the business requirement, where business team logged into C4C in English language and willing to search the product using the local language description (spanish, Norwegian, German etc) using the available product search options while adding the products in transaction (Quotation, opportunity, Tickets etc) and don’t want to login into their native language in different browser and copying the product details manually.
Prerequisite: SAP Consultant and possess technical knowledge of Custom Business object creation and usage in C4C.
Solution
Step 1: Create Custom Business Object “Product local”
Sample BO
Step 2: Create a Custom F4 help field “ local Product Description” in standard Material Business object by creating extension business object
Sample logic
Material Extension BO → Root → BeforeSave.ABSL event
if (this.Common.ZLocalLan.IsInitial())
{
this.Common.ZLocalLan = this.InternalID.content;
}
The Custom BO which will be displayed as OVS help will be updated on save of the material
Algorithm for the same is
foreach (prod in <custom BO>)
{
foreach (adm in <std material entries>)
{
if (entry matches)
{
// No Change
}
else
{
// Deletion required in custom BO. Use the Delete feature of ABSL.
}
}
}
// Updating entry in Custom BO
foreach (var i in <Custom BO>)
{
// Update the CBO using the reuse library or here directly.
}
Step 3: Add ‘‘Local Description field’ in the product lookup → Advanced search pop up using page layout in required transaction (e.g. Opportunity).
How it works
Lets create an opportunity and try to add the products in language different than english (logon language is English)
Note: You can utilize the same approach for any other transaction type (Ticket, lead etc)
Summary: