SAP Knowledge Base Article - Preview

2237751 - How to trigger Interceptors while doing ImpEx operation before version 5.2

Symptom

The interceptors can't be triggered while executing the ImpEx script to INSERT, UPDATE or REMOVE items.

For example:

When creating a customer named 'Tom' in hMC with ID:'Tom' , however, after saving such customer, the ID became 'tom' which is lower case of 'Tom'.

That's because the interceptor: [de.hybris.platform.commerceservices.customer.impl.CustomerOriginalUidPrepareInterceptor] of Extension: [commerceservices] has been triggered which includes the CustomerID-lower-case logic.

Screenshot:Capture1.PNG

 

After saving:

Capture2.PNG

 

But, if we create customer by ImpEx as below:

INSERT_UPDATE User; uid[unique=true]; name
Customer;Tom;Tom

Then, the user id is showed as upper-case :'Tom' in hMC.

Capture3.PNG

 


Read more...

Environment

Before hybris Commerce Suite Version 5.2.0.0

Product

SAP hybris Commerce 5.0.3 ; SAP hybris Commerce 5.0.4 ; hybris Commerce Suite 4.4 ; hybris Commerce Suite 4.5 ; hybris Commerce Suite 4.6 ; hybris Commerce Suite 4.7 ; hybris Commerce Suite 4.8 ; hybris Commerce Suite 5.0 ; hybris Commerce Suite 5.1 ; hybris Commerce Suite 5.1.1

Keywords

KBA , impex , interceptor , service layer , CEC-COM-CPS-COR , CPS Core (SAP Commerce) , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.