cancel
Showing results for 
Search instead for 
Did you mean: 

The KTOKD 0001 of Business Partner 0000003300 is not supported for replication

Former Member
0 Kudos

Hi Expert,

I am getting the below error in Datahub, I am unable to transfer the SAP Customer to hybris hmc. Please check the below xml log.

2016-01-28 13:26:27,780 [DEBUG][http-bio-8080-exec-6][com.hybris.datahub.sapidocintegration.spring.HttpInboundService] Idocintegration - Received IDOC: EDI_DC4080000000000032207527403012DEBMAS07DEBMASSAPCGILSCGICLNT800HYB_DH_01LSHYB_DH_0120160128132627201601281326260050000003300000000000000HITE0000101USBooktree Inc.SAN DIEGOSAN DIEGO92121CABOOKTREEE6756-92-87687-90230 0 9862 Scr Road(619)517-4456(619)517-44260000000004000000000000000050733020100XEN0000000000000000000000000000000005300010001101US0025100FOBChicago9X0202USDZB023323030XX0.00.0 0005AG0000003300000005RE0000003300000005RG0000003300000005VE00010165000005WE0000003300000005CACTX11005CACTX22005CACTX33005USUTXJ100530000020000140000ZB010000000000E200000000000000000000X300000000000000500010000000000000000000520000001000000USD1994010100530001000000000000330000100000000001000000000000000000110019940101000000000 2016-01-28 13:26:27,782 [DEBUG][http-bio-8080-exec-6][org.springframework.integration.channel.DirectChannel] preSend on channel 'idocXmlInboundChannel', message: GenericMessage [payload=EDI_DC4080000000000032207527403012DEBMAS07DEBMASSAPCGILSCGICLNT800HYB_DH_01LSHYB_DH_0120160128132627201601281326260050000003300000000000000HITE0000101USBooktree Inc.SAN DIEGOSAN DIEGO92121CABOOKTREEE6756-92-87687-90230 0 9862 Scr Road(619)517-4456(619)517-44260000000004000000000000000050733020100XEN0000000000000000000000000000000005300010001101US0025100FOBChicago9X0202USDZB023323030XX0.00.0 0005AG0000003300000005RE0000003300000005RG0000003300000005VE00010165000005WE0000003300000005CACTX11005CACTX22005CACTX33005USUTXJ100530000020000140000ZB010000000000E200000000000000000000X300000000000000500010000000000000000000520000001000000USD1994010100530001000000000000330000100000000001000000000000000000110019940101000000000, headers={IDOCTYP=DEBMAS07, id=190643cb-0a7d-d967-8a3a-64ff008d9bbf, timestamp=1453967787780}] 2016-01-28 13:26:27,783 [DEBUG][http-bio-8080-exec-6][org.springframework.integration.handler.LoggingHandler] org.springframework.integration.handler.LoggingHandler#1 received message: GenericMessage [payload=EDI_DC4080000000000032207527403012DEBMAS07DEBMASSAPCGILSCGICLNT800HYB_DH_01LSHYB_DH_0120160128132627201601281326260050000003300000000000000HITE0000101USBooktree Inc.SAN DIEGOSAN DIEGO92121CABOOKTREEE6756-92-87687-90230 0 9862 Scr Road(619)517-4456(619)517-44260000000004000000000000000050733020100XEN0000000000000000000000000000000005300010001101US0025100FOBChicago9X0202USDZB023323030XX0.00.0 0005AG0000003300000005RE0000003300000005RG0000003300000005VE00010165000005WE0000003300000005CACTX11005CACTX22005CACTX33005USUTXJ100530000020000140000ZB010000000000E200000000000000000000X300000000000000500010000000000000000000520000001000000USD1994010100530001000000000000330000100000000001000000000000000000110019940101000000000, headers={IDOCTYP=DEBMAS07, id=190643cb-0a7d-d967-8a3a-64ff008d9bbf, timestamp=1453967787780}] 2016-01-28 13:26:27,785 [DEBUG][http-bio-8080-exec-6][org.springframework.integration.handler.LoggingHandler] GenericMessage [payload=EDI_DC4080000000000032207527403012DEBMAS07DEBMASSAPCGILSCGICLNT800HYB_DH_01LSHYB_DH_0120160128132627201601281326260050000003300000000000000HITE0000101USBooktree Inc.SAN DIEGOSAN DIEGO92121CABOOKTREEE6756-92-87687-90230 0 9862 Scr Road(619)517-4456(619)517-44260000000004000000000000000050733020100XEN0000000000000000000000000000000005300010001101US0025100FOBChicago9X0202USDZB023323030XX0.00.0 0005AG0000003300000005RE0000003300000005RG0000003300000005VE00010165000005WE0000003300000005CACTX11005CACTX22005CACTX33005USUTXJ100530000020000140000ZB010000000000E200000000000000000000X300000000000000500010000000000000000000520000001000000USD1994010100530001000000000000330000100000000001000000000000000000110019940101000000000, headers={IDOCTYP=DEBMAS07, id=190643cb-0a7d-d967-8a3a-64ff008d9bbf, timestamp=1453967787780}] 2016-01-28 13:26:27,785 [DEBUG][http-bio-8080-exec-6][org.springframework.integration.channel.DirectChannel] postSend (sent=true) on channel 'logger', message: GenericMessage [payload=EDI_DC4080000000000032207527403012DEBMAS07DEBMASSAPCGILSCGICLNT800HYB_DH_01LSHYB_DH_0120160128132627201601281326260050000003300000000000000HITE0000101USBooktree Inc.SAN DIEGOSAN DIEGO92121CABOOKTREEE6756-92-87687-90230 0 9862 Scr Road(619)517-4456(619)517-44260000000004000000000000000050733020100XEN0000000000000000000000000000000005300010001101US0025100FOBChicago9X0202USDZB023323030XX0.00.0 0005AG0000003300000005RE0000003300000005RG0000003300000005VE00010165000005WE0000003300000005CACTX11005CACTX22005CACTX33005USUTXJ100530000020000140000ZB010000000000E200000000000000000000X300000000000000500010000000000000000000520000001000000USD1994010100530001000000000000330000100000000001000000000000000000110019940101000000000, headers={IDOCTYP=DEBMAS07, id=190643cb-0a7d-d967-8a3a-64ff008d9bbf, timestamp=1453967787780}] 2016-01-28 13:26:27,786 [DEBUG][http-bio-8080-exec-6][org.springframework.integration.router.HeaderValueRouter] (inner bean)#77859c58 received message: GenericMessage [payload=EDI_DC4080000000000032207527403012DEBMAS07DEBMASSAPCGILSCGICLNT800HYB_DH_01LSHYB_DH_0120160128132627201601281326260050000003300000000000000HITE0000101USBooktree Inc.SAN DIEGOSAN DIEGO92121CABOOKTREEE6756-92-87687-90230 0 9862 Scr Road(619)517-4456(619)517-44260000000004000000000000000050733020100XEN0000000000000000000000000000000005300010001101US0025100FOBChicago9X0202USDZB023323030XX0.00.0 0005AG0000003300000005RE0000003300000005RG0000003300000005VE00010165000005WE0000003300000005CACTX11005CACTX22005CACTX33005USUTXJ100530000020000140000ZB010000000000E200000000000000000000X300000000000000500010000000000000000000520000001000000USD1994010100530001000000000000330000100000000001000000000000000000110019940101000000000, headers={IDOCTYP=DEBMAS07, id=190643cb-0a7d-d967-8a3a-64ff008d9bbf, timestamp=1453967787780}] 2016-01-28 13:26:27,792 [DEBUG][http-bio-8080-exec-6][org.springframework.integration.xml.router.XPathRouter] (inner bean)#72f13f5 received message: GenericMessage [payload=EDI_DC4080000000000032207527403012DEBMAS07DEBMASSAPCGILSCGICLNT800HYB_DH_01LSHYB_DH_0120160128132627201601281326260050000003300000000000000HITE0000101USBooktree Inc.SAN DIEGOSAN DIEGO92121CABOOKTREEE6756-92-87687-90230 0 9862 Scr Road(619)517-4456(619)517-44260000000004000000000000000050733020100XEN0000000000000000000000000000000005300010001101US0025100FOBChicago9X0202USDZB023323030XX0.00.0 0005AG0000003300000005RE0000003300000005RG0000003300000005VE00010165000005WE0000003300000005CACTX11005CACTX22005CACTX33005USUTXJ100530000020000140000ZB010000000000E200000000000000000000X300000000000000500010000000000000000000520000001000000USD1994010100530001000000000000330000100000000001000000000000000000110019940101000000000, headers={IDOCTYP=DEBMAS07, id=190643cb-0a7d-d967-8a3a-64ff008d9bbf, timestamp=1453967787780}] 2016-01-28 13:26:27,868 [DEBUG][http-bio-8080-exec-6][org.springframework.integration.transformer.MessageTransformingHandler] org.springframework.integration.transformer.MessageTransformingHandler#1 received message: GenericMessage [payload=EDI_DC4080000000000032207527403012DEBMAS07DEBMASSAPCGILSCGICLNT800HYB_DH_01LSHYB_DH_0120160128132627201601281326260050000003300000000000000HITE0000101USBooktree Inc.SAN DIEGOSAN DIEGO92121CABOOKTREEE6756-92-87687-90230 0 9862 Scr Road(619)517-4456(619)517-44260000000004000000000000000050733020100XEN0000000000000000000000000000000005300010001101US0025100FOBChicago9X0202USDZB023323030XX0.00.0 0005AG0000003300000005RE0000003300000005RG0000003300000005VE00010165000005WE0000003300000005CACTX11005CACTX22005CACTX33005USUTXJ100530000020000140000ZB010000000000E200000000000000000000X300000000000000500010000000000000000000520000001000000USD1994010100530001000000000000330000100000000001000000000000000000110019940101000000000, headers={IDOCTYP=DEBMAS07, id=190643cb-0a7d-d967-8a3a-64ff008d9bbf, timestamp=1453967787780}] 2016-01-28 13:26:27,901 [DEBUG][http-bio-8080-exec-6][org.springframework.integration.filter.MessageFilter] org.springframework.integration.filter.MessageFilter@4590b70e received message: GenericMessage [payload=EDI_DC4080000000000032207527403012DEBMAS07DEBMASSAPCGILSCGICLNT800HYB_DH_01LSHYB_DH_0120160128132627201601281326260050000003300000000000000HITE0000101USBooktree Inc.SAN DIEGOSAN DIEGO92121CABOOKTREEE6756-92-87687-90230 0 9862 Scr Road(619)517-4456(619)517-44260000000004000000000000000050733020100XEN0000000000000000000000000000000005300010001101US0025100FOBChicago9X0202USDZB023323030XX0.00.0 0005AG0000003300000005RE0000003300000005RG0000003300000005VE00010165000005WE0000003300000005CACTX11005CACTX22005CACTX33005USUTXJ100530000020000140000ZB010000000000E200000000000000000000X300000000000000500010000000000000000000520000001000000USD1994010100530001000000000000330000100000000001000000000000000000110019940101000000000, headers={customerId=0000003300, accountGroup=0001, id=eb252da0-308d-f981-1c68-d4f6a912723f, IDOCTYP=DEBMAS07, timestamp=1453967787901}] 2016-01-28 13:26:27,904 [DEBUG][http-bio-8080-exec-6][org.springframework.jdbc.datasource.DataSourceTransactionManager] Creating new transaction with name [com.hybris.datahub.sapidocintegration.spring.DebmasNotsupportedFilter.accept]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT; '' 2016-01-28 13:26:27,907 [DEBUG][http-bio-8080-exec-6][org.springframework.jdbc.datasource.DataSourceTransactionManager] Acquired Connection [ConnectionJavassistProxy(1753812437) wrapping com.mysql.jdbc.JDBC4Connection@6cb6941c] for JDBC transaction 2016-01-28 13:26:27,908 [DEBUG][http-bio-8080-exec-6][org.springframework.jdbc.datasource.DataSourceTransactionManager] Switching JDBC Connection [ConnectionJavassistProxy(1753812437) wrapping com.mysql.jdbc.JDBC4Connection@6cb6941c] to manual commit 2016-01-28 13:26:27,910 [DEBUG][http-bio-8080-exec-6][com.hybris.datahub.sapidocintegration.spring.DebmasNotsupportedFilter] The KTOKD 0001 of Business Partner 0000003300 is not supported for replication. 2016-01-28 13:26:27,910 [DEBUG][http-bio-8080-exec-6][org.springframework.jdbc.datasource.DataSourceTransactionManager] Initiating transaction commit 2016-01-28 13:26:27,911 [DEBUG][http-bio-8080-exec-6][org.springframework.jdbc.datasource.DataSourceTransactionManager] Committing JDBC transaction on Connection [ConnectionJavassistProxy(1753812437) wrapping com.mysql.jdbc.JDBC4Connection@6cb6941c] 2016-01-28 13:26:27,911 [DEBUG][http-bio-8080-exec-6][org.springframework.jdbc.datasource.DataSourceTransactionManager] Releasing JDBC Connection [ConnectionJavassistProxy(1753812437) wrapping com.mysql.jdbc.JDBC4Connection@6cb6941c] after transaction 2016-01-28 13:26:27,911 [DEBUG][http-bio-8080-exec-6][org.springframework.jdbc.datasource.DataSourceUtils] Returning JDBC Connection to DataSource 2016-01-28 13:26:27,911 [DEBUG][http-bio-8080-exec-6][org.springframework.integration.filter.MessageFilter] handler 'org.springframework.integration.filter.MessageFilter@4590b70e' produced no reply for request Message: GenericMessage [payload=EDI_DC4080000000000032207527403012DEBMAS07DEBMASSAPCGILSCGICLNT800HYB_DH_01LSHYB_DH_0120160128132627201601281326260050000003300000000000000HITE0000101USBooktree Inc.SAN DIEGOSAN DIEGO92121CABOOKTREEE6756-92-87687-90230 0 9862 Scr Road(619)517-4456(619)517-44260000000004000000000000000050733020100XEN0000000000000000000000000000000005300010001101US0025100FOBChicago9X0202USDZB023323030XX0.00.0 0005AG0000003300000005RE0000003300000005RG0000003300000005VE00010165000005WE0000003300000005CACTX11005CACTX22005CACTX33005USUTXJ100530000020000140000ZB010000000000E200000000000000000000X300000000000000500010000000000000000000520000001000000USD1994010100530001000000000000330000100000000001000000000000000000110019940101000000000, headers={customerId=0000003300, accountGroup=0001, id=eb252da0-308d-f981-1c68-d4f6a912723f, IDOCTYP=DEBMAS07, timestamp=1453967787901}] 2016-01-28 13:26:27,911 [DEBUG][http-bio-8080-exec-6][org.springframework.integration.channel.DirectChannel] postSend (sent=true) on channel 'DEBMAS07-NOTSUPPORTED-KTOKD-H', message: GenericMessage [payload=EDI_DC4080000000000032207527403012DEBMAS07DEBMASSAPCGILSCGICLNT800HYB_DH_01LSHYB_DH_0120160128132627201601281326260050000003300000000000000HITE0000101USBooktree Inc.SAN DIEGOSAN DIEGO92121CABOOKTREEE6756-92-87687-90230 0 9862 Scr Road(619)517-4456(619)517-44260000000004000000000000000050733020100XEN0000000000000000000000000000000005300010001101US0025100FOBChicago9X0202USDZB023323030XX0.00.0 0005AG0000003300000005RE0000003300000005RG0000003300000005VE00010165000005WE0000003300000005CACTX11005CACTX22005CACTX33005USUTXJ100530000020000140000ZB010000000000E200000000000000000000X300000000000000500010000000000000000000520000001000000USD1994010100530001000000000000330000100000000001000000000000000000110019940101000000000, headers={customerId=0000003300, accountGroup=0001, id=eb252da0-308d-f981-1c68-d4f6a912723f, IDOCTYP=DEBMAS07, timestamp=1453967787901}] 2016-01-28 13:26:27,911 [DEBUG][http-bio-8080-exec-6][org.springframework.integration.channel.DirectChannel] postSend (sent=true) on channel 'DEBMAS07-NOTSUPPORTED-KTOKD', message: GenericMessage [payload=EDI_DC4080000000000032207527403012DEBMAS07DEBMASSAPCGILSCGICLNT800HYB_DH_01LSHYB_DH_0120160128132627201601281326260050000003300000000000000HITE0000101USBooktree Inc.SAN DIEGOSAN DIEGO92121CABOOKTREEE6756-92-87687-90230 0 9862 Scr Road(619)517-4456(619)517-44260000000004000000000000000050733020100XEN0000000000000000000000000000000005300010001101US0025100FOBChicago9X0202USDZB023323030XX0.00.0 0005AG0000003300000005RE0000003300000005RG0000003300000005VE00010165000005WE0000003300000005CACTX11005CACTX22005CACTX33005USUTXJ100530000020000140000ZB010000000000E200000000000000000000X300000000000000500010000000000000000000520000001000000USD1994010100530001000000000000330000100000000001000000000000000000110019940101000000000, headers={IDOCTYP=DEBMAS07, id=190643cb-0a7d-d967-8a3a-64ff008d9bbf, timestamp=1453967787780}] 2016-01-28 13:26:27,912 [DEBUG][http-bio-8080-exec-6][org.springframework.integration.channel.DirectChannel] postSend (sent=true) on channel 'DEBMAS07', message: GenericMessage [payload=EDI_DC4080000000000032207527403012DEBMAS07DEBMASSAPCGILSCGICLNT800HYB_DH_01LSHYB_DH_0120160128132627201601281326260050000003300000000000000HITE0000101USBooktree Inc.SAN DIEGOSAN DIEGO92121CABOOKTREEE6756-92-87687-90230 0 9862 Scr Road(619)517-4456(619)517-44260000000004000000000000000050733020100XEN0000000000000000000000000000000005300010001101US0025100FOBChicago9X0202USDZB023323030XX0.00.0 0005AG0000003300000005RE0000003300000005RG0000003300000005VE00010165000005WE0000003300000005CACTX11005CACTX22005CACTX33005USUTXJ100530000020000140000ZB010000000000E200000000000000000000X300000000000000500010000000000000000000520000001000000USD1994010100530001000000000000330000100000000001000000000000000000110019940101000000000, headers={IDOCTYP=DEBMAS07, id=190643cb-0a7d-d967-8a3a-64ff008d9bbf, timestamp=1453967787780}] 2016-01-28 13:26:27,912 [DEBUG][http-bio-8080-exec-6][org.springframework.integration.channel.DirectChannel] postSend (sent=true) on channel 'idocXmlInboundChannel', message: GenericMessage [payload=EDI_DC4080000000000032207527403012DEBMAS07DEBMASSAPCGILSCGICLNT800HYB_DH_01LSHYB_DH_0120160128132627201601281326260050000003300000000000000HITE0000101USBooktree Inc.SAN DIEGOSAN DIEGO92121CABOOKTREEE6756-92-87687-90230 0 9862 Scr Road(619)517-4456(619)517-44260000000004000000000000000050733020100XEN0000000000000000000000000000000005300010001101US0025100FOBChicago9X0202USDZB023323030XX0.00.0 0005AG0000003300000005RE0000003300000005RG0000003300000005VE00010165000005WE0000003300000005CACTX11005CACTX22005CACTX33005USUTXJ100530000020000140000ZB010000000000E200000000000000000000X300000000000000500010000000000000000000520000001000000USD1994010100530001000000000000330000100000000001000000000000000000110019940101000000000, headers={IDOCTYP=DEBMAS07, id=190643cb-0a7d-d967-8a3a-64ff008d9bbf, timestamp=1453967787780}] 2016-01-28 13:26:27,912 [INFO ][http-bio-8080-exec-6][com.hybris.datahub.sapidocintegration.spring.HttpInboundService] The processing of the IDOC took 132 milliseconds.

Former Member
0 Kudos

Hi Ramakrishna,

You can override below bean in your custom extension .

 <int-xml:xpath-router id="xxxSplitKTOKD" input-channel="DEBMAS" evaluate-as-string="true" resolution-required="false"
     default-output-channel="DEBMAS-NOTSUPPORTED-KTOKD">
     <int-xml:xpath-expression expression="//KTOKD" />
     <int-xml:mapping value="DEBI" channel="DEBMAS-DEBI" />
             **<int-xml:mapping value="0001" channel="DEBMAS-DEBI" />**
     <int-xml:mapping value="0170" channel="DEBMAS-0170" />


This bean is inside sapidocintegration so you have to give dependency of sapidocintegration .

Thanks Navneet

former_member664713
Active Participant
0 Kudos

Hi , I am also facing the same issue. How can I create custom extension for idocintegration.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ramakrishna,

You can override below bean in your custom extension .

Former Member
0 Kudos

Hi Navneet,

For the Data Hub custom extensions, we get a multi module project but for the idocintegration jar we do not have it in the multi module format like raw, canonical & target. So can you please suggest if even for this we need to create a multi module extension or you generate it differently as a single module. I'm trying to generate single module but not sure if that works? And if generated multi module then how to name the spring file as that will have raw, canonical etc. but in standard idocintegration jar it is not in that format so will it be picked up?

Thanks, Gourav

Answers (1)

Answers (1)

erichklassen
Explorer
0 Kudos

The correct SAP-Node for this problem is the following: https://launchpad.support.sap.com/#/notes/0002203865