B2B Integration

Sterling B2B Integration

Come for answers, stay for best practices. All we're missing is you.

 View Only

SAPJCo3 in Sterling Map editor

  • 1.  SAPJCo3 in Sterling Map editor

    Posted Mon September 16, 2024 10:02 AM

    Hello everyone, I would like to utilize SAPJCo3 library functionalities inside Sterling Map editor like a user exit. so, I built a custom java class invoking methods of SAPJCo3 jar to connect to SAP destination and invoke RFC. I did install this java class as external jar file into Sterling Integrator.

    we then tried to invoke the method of this class from Sterling map but getting an error stating "com.sap.conn.jco.JCoException: (106) JCO_ERROR_RESOURCE: Destination XXX does not exist.  I see it is failing at below method in the java class.

    JCoDestination destination = JCoDestinationManager.getDestination("XXX"); 
    XXX here is the SAPDestinationName that was created using the credentials like username, password, hostname, system number etc. in the previous step.

    Could someone throw some insights on why this can happen.



    ------------------------------
    Revathi R
    ------------------------------