cancel
Showing results for 
Search instead for 
Did you mean: 

Error Customer Replication from ECC to DataHub

Former Member
0 Kudos

Hi All ,

I am trying to replicate Customer from ECC to DataHub .But only customer having account type DEBI i.e(General Customer) are getting replicated. So please tell in which file we can set Account Type for customer in Data hub?

Regards, Rasika

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi,

There are only DEBI and 0170 (this one is additionally filtered) values of KTOKD supported in OOTB.

It is defined in sapidocintegration-datahub-extension-spring.xml file:

     <!-- Maps received IDOCs of type: "DEBMAS" by value of attribute "KTOKD" to corresponding mapping service -->
     <int-xml:xpath-router id="splitKTOKD" input-channel="DEBMAS" evaluate-as-string="true" resolution-required="false"
         default-output-channel="DEBMAS-NOTSUPPORTED-KTOKD">
         <int-xml:xpath-expression id="splitKTOKDExpression" expression="//KTOKD" />
         <int-xml:mapping value="DEBI" channel="DEBMAS-DEBI" />
         <int-xml:mapping value="0170" channel="DEBMAS-0170" />
     </int-xml:xpath-router>

And here are activators:

 <int:service-activator id="sapcustomerDEBMASCustomerServiceActivator" input-channel="DEBMAS-DEBI"          output-channel="rawFragmentDataInputChannel" ref="sapcustomerDEBMASCustomerMappingService" method="map" />
     <int:service-activator id="sapcustomerDEBMASConsumerServiceActivator" input-channel="DEBMAS-0170-CONSUMER" output-channel="rawFragmentDataInputChannel" ref="sapcustomerDEBMASConsumerMappingService" method="map" />

You may add support for other account types it in your custom extension.

Best Regards,

Former Member
0 Kudos

Thanks Maciej .

Can you tell me path for sapidocintegration-datahub-extension-spring.xml ? Because I am unable to find it.

Regards, Rasika

sandeepsoma2
Employee
Employee
0 Kudos

you can find it inside sapidocintegration.jar file

Answers (1)

Answers (1)

Former Member
0 Kudos

I am getting error , at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45] ←[32mINFO [TaskExecutor-master-472-Task [8796748448694]] (00000KU1) [Importer] Finished 2 pass in 0d 00h:00m:00s:094ms - processed: 8, dumped: 8 (last pass: 8) ←[m←[1;31mERROR [TaskExecutor-master-472-Task [8796748448694]] (00000KU1) [CronJobErrorHandler] line 12 at main script: de.hybris.platform.impex.jalo.ImpExException: Can not resolve any more lines ... Aborting further passes (at pass 2). Finally could not import 8 lines![HY-123] ←[m←[33mWARN [TaskExecutor-master-472-Task [8796748448694]] (00000KU1) [Importer] Import finished with errors within 0d 00h:00m:01s:233ms ←[m←[1;31mERROR [TaskExecutor-master-472-Task [8796748448694]] [DefaultImportService] Import has caused an error, see logs of cronjob with code=00000KU1 for further details ←[m←[32mINFO [TaskExecutor-master-472-Task [8796748448694]] [ImpexDataImportClient] Returning ERROR to http://10.0.20.37:8080/datahub-webapp/v1/core-publications/23 ←[m ←[32mINFO [TaskExecutor-master-472-Task [8796748448694]] [ImpexDataImportClient] Response status from http://10.0.20.37:8080/datahub-webapp/v1/core-publications/23: 200 Please help me to solve this error.

Regards, Rasika