Hi,
I am using ISA and wanted to pass additional data in Basket to backend CRM system. I added the additional data by extending customer exit of MaintainBasketRefreshAction class. In log files it shows that additional attribte ( ItemUsage which was earlier passed blank) with a value is now being passed to the RFC CRM_ISA_BASKET_CHANGEITEMS. However it was not getting stored. I then read in ISA extension document that inorder to pass additional attributes we have to make connection of BasketCRM as stateless, else it will always read from database before updating. After making the connection to stateless I am getting following error upon requesting go to shopping basket-
Backend Error: Administration header could not be found 314841D127226B45B920D298FC85C705#
isacore.backend.error] Backend Error: Document not found#
Error occcurred in EAI layer "com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: REPLACE causes an endless loop. was terminated at this point."
com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: REPLACE causes an endless loop. was terminated at this point.
at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:417)
at com.sap.mw.jco.MiddlewareJRfc$Client.execute(MiddlewareJRfc.java:1256)
at com.sap.mw.jco.JCO$Client.execute(JCO.java:3721)
at com.sap.mw.jco.JCO$Client.execute(JCO.java:3165)
at com.sapmarkets.isa.core.eai.sp.jco.JCoManagedConnectionFactory.executeJCoFunction(JCoManagedConnectionFactory.java:1135)
at com.sapmarkets.isa.core.eai.sp.jco.JCoConnectionStateless.execute(JCoConnectionStateless.java:404)
at com.sapmarkets.isa.backend.crm.WrapperCrmIsa.crmIsaBasketChangeItems(WrapperCrmIsa.java:2972)
at com.sapmarkets.isa.backend.crm.SalesDocumentCRM.updateInBackend(SalesDocumentCRM.java:659)
at com.sapmarkets.isa.businessobject.SalesDocument.update(SalesDocument.java:1168)
at com.sapmarkets.isa.isacore.action.order.MaintainBasketBaseAction.updateSalesDocument(MaintainBasketBaseAction.java:928)
at com.sapmarkets.isa.isacore.action.order.MaintainBasketRefreshAction.basketPerform(MaintainBasketRefreshAction.java:81)
at com.sapmarkets.isa.isacore.action.order.MaintainBasketBaseAction.isaPerform(MaintainBasketBaseAction.java:1312)
at com.sapmarkets.isa.isacore.action.IsaCoreBaseAction.doPerform(IsaCoreBaseAction.java:488)
at com.sapmarkets.isa.core.BaseAction.perform(BaseAction.java:197)
Can anyone help on this.
Regards
Amit