Debmas(B2BUnit)通过Datahub 6.7从SAP ERP导入到Hybris 6.7.0.3

2020-08-15 16:10发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


Debmas(B2BUnit)通过Datahub 6.7从SAP ERP导入到Hybris 6.7.0.3

IDOCTYP> DEBMAS07 && MESTYP> ZHYBRIS_CUST

  1. 发布目标项目后,没有B2BUnit存储在Hybris中-6.7.0.3

  2. DH和Hybris都没有例外

  3. 专家,请帮助我解决此问题。

================================================ ===============

混合日志:

INFO [hybrisHTTP11] [ItemImportController]收到的请求PUT:/import/pools/SAPCUSTOMER_INBOUND_POOL/publications/2 INFO [hybrisHTTP11] [ItemImportController] resultCallbackUrl: http://localhost:8080/datahub-webapp/v1/core-publications/2

================================================ ===============

数据中心日志:

2019-07-29 13:17:21,288 [INFO] [chdsiPublicationActionHandler]发布到HybrisCore 2019-07-29 13:17:21,363 [INFO] [chdcaiCoreAdapterService]创建impex导出到: http://localhost:9001/datahubadapter 2019-07-29 13:17:21,363 [INFO] [chdsiAsynchronousEventPublicationService]触发数据中心 事件:TargetSystemPublicationStartedEvent {publicationId = 1,poolId = 9301} 2019-07-29 13:17:21,409 [DEBUG] [chdrjiDefaultTargetItemJpaRepository]已找到0个[SubTargetSystemPublicationEntity {id = 2,status = IN_PROGRESS,publicationType = INSERT,publicationAction]的SalesVariantAttributes项目 = PublicationActionEntity {id = 1,pool = DataHubPoolEntity {id = 9301,name = SAPCUSTOMER_INBOUND_POOL}},targetSystem = TargetSystemEntity {id = 1,targetSystemName ='HybrisCore',targetSystemType ='HybrisCore'}}]出版物和DefaultDataHubIdBasedPageRequest {lastProcessedId = 0 ,pageSize = 10000} 2019-07-29 13:17:21,449 [DEBUG] [ch .drjiDefaultTargetItemJpaRepository]找到0个[SubTargetSystemPublicationEntity {id = 2,status = IN_PROGRESS,publicationType = INSERT,publicationAction = PublicationActionEntity {id = 1,pool = DataHubPoolEntity {id = 9301,name = SAPCUSTOMER_INBOUND_POOL}} {Entity = System id = 1,targetSystemName ='HybrisCore',targetSystemType ='HybrisCore'}}]出版物和DefaultDataHubIdBasedPageRequest {lastProcessedId = 0,pageSize = 10000} 2019-07-29 13:17:21,487 [DEBUG] [chdrjiDefaultTargetItemJpaRepository]找到0个SalesProductAttributes [SubTargetSystemPublicationEntity {id = 2,status = IN_PROGRESS,publicationType = INSERT,publicationAction = PublicationActionEntity {id = 1,pool = DataHubPoolEntity {id = 9301,name = SAPCUSTOMER_INBOUND_POOL}},targetSystem = TargetSystemEntity {id = 1,targetSystemName =' HybrisCore',targetSystemType ='HybrisCore'}}]出版物和DefaultDataHubIdBasedPageRequest {lastProcessedId = 0,pageSize = 10000} 2019-07-29 13:17:21,534 [DEBUG] [ chdrjiDefaultTargetItemJpaRepository]为[SubTargetSystemPublicationEntity {id = 2,status = IN_PROGRESS,publicationType = INSERT,publicationAction = PublicationActionEntity {id = 1,pool = DataHubPoolEntity {id = 9301,name = SAPCUSTOMER_INBOUND_POOL}},{idSystem = System = 1,targetSystemName ='HybrisCore',targetSystemType ='HybrisCore'}}]出版物和DefaultDataHubIdBasedPageRequest {lastProcessedId = 0,pageSize = 10000} 2019-07-29 13:17:21,537 [WARN] [chdcaiCoreAdapterService] Impex存​​储不再 受支持的2019-07-29 13:17:21,539 [INFO] [chdcciDefaultExportClient]身份验证发布到HybrisCore 2019-07-29 13:17:21,800 [INFO] [chdcciDefaultExportClient]将2个出版物导出到HybrisCore 2019-07-29 13 :17:21,858 [INFO] [chdcciDefaultExportClient]从发布到目标系统的响应状态:HybrisCore,200

================================================ ===============

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


Debmas(B2BUnit)通过Datahub 6.7从SAP ERP导入到Hybris 6.7.0.3

IDOCTYP> DEBMAS07 && MESTYP> ZHYBRIS_CUST

  1. 发布目标项目后,没有B2BUnit存储在Hybris中-6.7.0.3

  2. DH和Hybris都没有例外

  3. 专家,请帮助我解决此问题。

================================================ ===============

混合日志:

INFO [hybrisHTTP11] [ItemImportController]收到的请求PUT:/import/pools/SAPCUSTOMER_INBOUND_POOL/publications/2 INFO [hybrisHTTP11] [ItemImportController] resultCallbackUrl: http://localhost:8080/datahub-webapp/v1/core-publications/2

================================================ ===============

数据中心日志:

2019-07-29 13:17:21,288 [INFO] [chdsiPublicationActionHandler]发布到HybrisCore 2019-07-29 13:17:21,363 [INFO] [chdcaiCoreAdapterService]创建impex导出到: http://localhost:9001/datahubadapter 2019-07-29 13:17:21,363 [INFO] [chdsiAsynchronousEventPublicationService]触发数据中心 事件:TargetSystemPublicationStartedEvent {publicationId = 1,poolId = 9301} 2019-07-29 13:17:21,409 [DEBUG] [chdrjiDefaultTargetItemJpaRepository]已找到0个[SubTargetSystemPublicationEntity {id = 2,status = IN_PROGRESS,publicationType = INSERT,publicationAction]的SalesVariantAttributes项目 = PublicationActionEntity {id = 1,pool = DataHubPoolEntity {id = 9301,name = SAPCUSTOMER_INBOUND_POOL}},targetSystem = TargetSystemEntity {id = 1,targetSystemName ='HybrisCore',targetSystemType ='HybrisCore'}}]出版物和DefaultDataHubIdBasedPageRequest {lastProcessedId = 0 ,pageSize = 10000} 2019-07-29 13:17:21,449 [DEBUG] [ch .drjiDefaultTargetItemJpaRepository]找到0个[SubTargetSystemPublicationEntity {id = 2,status = IN_PROGRESS,publicationType = INSERT,publicationAction = PublicationActionEntity {id = 1,pool = DataHubPoolEntity {id = 9301,name = SAPCUSTOMER_INBOUND_POOL}} {Entity = System id = 1,targetSystemName ='HybrisCore',targetSystemType ='HybrisCore'}}]出版物和DefaultDataHubIdBasedPageRequest {lastProcessedId = 0,pageSize = 10000} 2019-07-29 13:17:21,487 [DEBUG] [chdrjiDefaultTargetItemJpaRepository]找到0个SalesProductAttributes [SubTargetSystemPublicationEntity {id = 2,status = IN_PROGRESS,publicationType = INSERT,publicationAction = PublicationActionEntity {id = 1,pool = DataHubPoolEntity {id = 9301,name = SAPCUSTOMER_INBOUND_POOL}},targetSystem = TargetSystemEntity {id = 1,targetSystemName =' HybrisCore',targetSystemType ='HybrisCore'}}]出版物和DefaultDataHubIdBasedPageRequest {lastProcessedId = 0,pageSize = 10000} 2019-07-29 13:17:21,534 [DEBUG] [ chdrjiDefaultTargetItemJpaRepository]为[SubTargetSystemPublicationEntity {id = 2,status = IN_PROGRESS,publicationType = INSERT,publicationAction = PublicationActionEntity {id = 1,pool = DataHubPoolEntity {id = 9301,name = SAPCUSTOMER_INBOUND_POOL}},{idSystem = System = 1,targetSystemName ='HybrisCore',targetSystemType ='HybrisCore'}}]出版物和DefaultDataHubIdBasedPageRequest {lastProcessedId = 0,pageSize = 10000} 2019-07-29 13:17:21,537 [WARN] [chdcaiCoreAdapterService] Impex存​​储不再 受支持的2019-07-29 13:17:21,539 [INFO] [chdcciDefaultExportClient]身份验证发布到HybrisCore 2019-07-29 13:17:21,800 [INFO] [chdcciDefaultExportClient]将2个出版物导出到HybrisCore 2019-07-29 13 :17:21,858 [INFO] [chdcciDefaultExportClient]从发布到目标系统的响应状态:HybrisCore,200

================================================ ===============

付费偷看设置
发送
6条回答
95年老男孩
1楼-- · 2020-08-15 16:41

看起来像问题的解释就在datahub日志中:

  2019-07-29 13:17:21,534 [DEBUG] [chdrjiDefaultTargetItemJpaRepository]为[SubTargetSystemPublicationEntity {id = 2,status = IN_PROGRESS,publicationType = INSERT,publicationAction = PublicationActionEntity {id = 1]找到0个BaseProductAttributes项 ,pool = DataHubPoolEntity {id = 9301,name = SAPCUSTOMER_INBOUND_POOL}},targetSystem = TargetSystemEntity {id = 1,targetSystemName ='HybrisCore',targetSystemType ='HybrisCore'}}]出版物和DefaultDataHubIdBasedPageRequest {lastProcessedId = 0,pageSize = 10000}
  

显然没有要发布的数据。 您需要在datahub中跟踪数据:

  • 是否已将预期的项目加载到RawItems中

  • 检查RawItems以确保您在其中看到了预期的项目

  • RawItems是否组成?

  • 检查组成的结果。 是预期的CanonicalItems吗?

  • 我们知道项目已发布,但是是否创建了预期的TargetItem? 检查目标项目是否包含预期项目。

在此过程中无法正常工作,否则将发布项目。

nice_wp
2楼-- · 2020-08-15 16:52

发布卡在IN_PROGRESS中。 基于日志输出,我们可以说hybris接收到数据,但是随后发生了一些事情,并且它从未处理过它们,也从未将发布状态报告给DataHub。 所有后续发布都在DataHub中排队,直到第一个发布完成后才进行处理。 此答案具有有关此问题及其处理方式的更多参考: /img/questions/12772402/datahub-publication-stuck-in-in-progress.html?childToView=12806424#answer-12806424

我是小鹏鹏啊
3楼-- · 2020-08-15 16:39

你好,

感谢您对此问题的答复。

是的,根据您的回复

RawItems已正确加载,我的意思是它已成功处理。

原始项目被转换为相应的规范项目,没有任何问题,我的意思是组成过程是成功的。

然后,目标项目也已发布,publicationerror表上没有问题,但是publicationaction表仍然显示以下数据

2019-07-30 21:20:14 9301 1 2019-07-30 21:20:14 2019-07-30 21:20:14 IN_PROGRESS PublicationAction

但是,在hybris平台一侧,从ItemImportController显示的以下日志信息,例如

INFO [hybrisHTTP33] [ItemImportController]收到的请求PUT:/import/pools/SAPCUSTOMER_INBOUND_POOL/publications/2 INFO [hybrisHTTP33] [ItemImportController] resultCallbackUrl: http://localhost:8080/datahub-webapp/v1/core-publications/2

之后,控制台日志中没有日志/消息。

应该通过ImpexDataImportClient和DefaultImportService在Hybris端将TaskExecutor-master发布此数据,而后者应调用以启动cronjob将数据推入hybris db。

spaceman01
4楼-- · 2020-08-15 17:02

DataHub 6.7.0.0缺少以下属性-local.properties,但是在我添加了面临相同的问题之后。

datahub.core.export.service.clientid = eic

datahub.core.export.service.clientsecret =秘密

哎,真难
5楼-- · 2020-08-15 16:43

嗨,

尝试在DH local.properties上为SAPCUSTOMER_INBOUND_POOL设置自动发布:

  sapcoreconfiguration.autopublish.targetsystemsbypools = GLOBAL.HybrisCore,GLOBAL.SapErpSystem,SAPCUSTOMER_INBOUND_POOL.HybrisCore,SAPCONSUMER_INBOUND_POOL.HybrisCore
  sapcoreconfiguration.autopublish.sleeptime = 5000
  sapcoreconfiguration.autopublish.initialsleeptime = 5000

  

也许是语言:

  sapcustomer.language = XX

  

此致

Nan4612
6楼-- · 2020-08-15 16:41

你好,

您是否已找到解决该问题的解决方案??,因为我们正面临着一个同样的问题,

"从发布到目标系统的响应状态:HybrisCore,200"

在那之后什么都没完成

一周热门 更多>