Skip to Content
author's profile photo
Former Member

CPQ initial data load fails

I'm running a fresh installation of hybris 6.4 and need to integrate the configurable products with SAP ERP.

I have followed the instructions in this guide: https://help.hybris.com/6.4.0/hcd/31df5d559c9c0d30e10000000a441470.html

  • Downloaded dataloader and configuration engine in version 2.5.3

  • Placed them in the sapproductconfigmodel and sapproductconfigruntimessc

  • Added required extensions (sapproductconfigb2b, sapproductconfigbackoffice, sapproductconfigruntimessc, sapproductconfigb2bservices, sapproductconfigrules, sapproductconfigrulesbackoffice, sapproductconfigfacades, sapproductconfigservices, sapproductconfigruntimeinterface)

  • Created a custom addon based on ysapproductconfigaddon

  • Created a database for CPQ (tried with mysql and hana)

  • Configured crm.* properties in local.properties

  • Customizing data have been imported in hybris

  • SAP Base Store Configuration item have been created

On SAP ERP side the following steps have been run: - SM59 to create a TPC connection - Gateway entries were configured to allow connections - User have been granted autorization SAP_ALL and SAP_HYBRIS_DATALOADER (if I remmember correctly the autorization name) - SAP note 2006212 Information published on SAP site (“Additional enhancement point in function group V45CU”) has been implemented

When I now submit "initial data load" has been in backoffice it fails with

 ERROR [data loader requester] [ExceptionLog] Exception : The current application has triggered a termination with a short dump.
 com.sap.conn.jco.JCoException: (104) JCO_ERROR_SYSTEM_FAILURE: The current application has triggered a termination with a short dump. (Remote shortdump: MESSAGE_TYPE_X in system [SMM|vhmetsmmci|00])
     at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:618)
     at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.execute(MiddlewareJavaRfc.java:2033)
     at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:1160)
     at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:989)
     at com.sap.conn.jco.rt.RfcDestination.execute(RfcDestination.java:1499)
     at com.sap.conn.jco.rt.RfcDestination.execute(RfcDestination.java:1469)
     at com.sap.conn.jco.rt.AbapFunction.execute(AbapFunction.java:340)
     at com.sap.sxe.loader.controller.Client.setCRSFIRSTDOWNLOADTRIGGER(Client.java:474)
     at com.sap.sxe.loader.controller.Client.executeSpleRequest(Client.java:360)
     at com.sap.sxe.loader.controller.Client.run(Client.java:181)
     at java.lang.Thread.run(Thread.java:745)
 Caused by: RfcException raised by system [SMM|vhmetsmmci|00]:
     message: The current application has triggered a termination with a short dump.
     return code: RFC_SYS_EXCEPTION (3)
     error group: 104
     key: RFC_ERROR_SYSTEM_FAILURE
     message class: 00
     message type: X
     message number: 341
     message parameter 0: MESSAGE_TYPE_X
     at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:2078)
     at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.execute(MiddlewareJavaRfc.java:1973)
     ... 9 more
 Caused by: com.sap.conn.rfc.exceptions.RfcGetException: The current application has triggered a termination with a short dump.
     at com.sap.conn.rfc.engine.RfcImp.ab_rfcerror(RfcImp.java:1176)
     at com.sap.conn.rfc.engine.RfcGet.ab_rfcget(RfcGet.java:120)
     at com.sap.conn.rfc.engine.RfcRcv.ab_rfcreceive(RfcRcv.java:36)
     at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:2020)
     ... 10 more

The SAP system is just ERP no CRM, I'm running this locally and don't have products loaded, is this a prerequisite? Have I missed something in the configuration?

Any help would be appreciated.

Add comment
10|10000 characters needed characters exceeded

  • Former Member Vinay Kumar Samudrala

    Yes the TCP_IP is maintained as follows:

    TCP Connection

  • Also apply the filters.. Otherwise all the data will be loaded from One to Hybris CRM database. It may not be required for first time.

    if you apply filters only some data will be loaded... once the things are fine we can load everything together. also check the yatendra provided link below.

  • Former Member Vinay Kumar Samudrala

    I'd happily apply the filters, I don't however myself have access to SAP GUI so I can't figure out what Knowledge Bases exist, not to mention materials or conditions.

    So far I will leave the filters empty. It does not harm if all data is loaded, we are mainly testing the setup at this stage.

  • Follow
  • Get RSS Feed

2 Answers

  • Jul 06, 2017 at 05:32 AM

    Please refer to below thread and SAP Note- 2286917, for the solution to this issue.

    https://answers.sap.com/questions/12759859/view.html

    So basically you need to register your program in Hybris system using rfcexec service and stop it. and try Initial Load again.

    Thanks, Yaten

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Jul 07, 2017 at 08:14 AM

    The issue have been resolved.

    We did not register the programm using rfcexec. But instead my SAP administrator erased all entries from the SM59 and created a new TCP connection with the same name. I know that SM59 was called a few times with wrong settings.

    Is anyone able to explain why clrearing, reexecuting and saving helped?

    Add comment
    10|10000 characters needed characters exceeded