cancel
Showing results for 
Search instead for 
Did you mean: 

CPQ initial data load fails

Former Member
0 Kudos

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.

VinayKumarS
Active Contributor
0 Kudos

Loading the products are not a prerequisite...

Did you added the TCP_IP details in backoffice.?

Former Member
0 Kudos

Yes the TCP_IP is maintained as follows:

VinayKumarS
Active Contributor
0 Kudos

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
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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?

former_member623616
Contributor
0 Kudos

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

Former Member
0 Kudos

According to my SAP administrator the program was never registered using rfcexec.

In the thread you mentioned they say that it is a mistake to register the programm using rfcexec, so we never did it.

former_member623616
Contributor
0 Kudos

You need to first register that program using rfxexec service and stop that service. then run Data Loader again.Give it a try, it should work fine.

Thanks, Yaten