SAP Knowledge Base Article - Preview

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


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.



After saving:



But, if we create customer by ImpEx as below:

INSERT_UPDATE User; uid[unique=true]; name

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





Before hybris Commerce Suite Version


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


KBA , interceptor , impex , service layer , CEC-COM-CPS-COR , SAP Commerce Core , 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.