Register Login

SAP JCo error while executing BDS_BUSINESSDOCUMENT_CRE_O_URL: com.sap.conn.jco.AbapException: (126) ERROR_DP: ERROR_DP Message 027 of class SBDS type W, Par[1]: 1

Updated May 19, 2018

Hi,

I'm trying to execute the function module BDS_BUSINESSDOCUMENT_CRE_O_URL via the SAP Java Connector. Unfortunately I'm getting the following error:

Exception in thread "main" com.sap.conn.jco.AbapException: (126) ERROR_DP: ERROR_DP Message 027 of class SBDS type W, Par[1]: 1
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.execute(MiddlewareJavaRfc.java:1875)
    at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:1120)
    at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:953)
    at com.sap.conn.jco.rt.RfcDestination.execute(RfcDestination.java:1465)
    at com.sap.conn.jco.rt.RfcDestination.execute(RfcDestination.java:1435)
    at com.sap.conn.jco.rt.AbapFunction.execute(AbapFunction.java:300)

I've no clue what went wrong. If I try to execute any other remote enabled function module, it works. But I even can't find anything related to the mentioned error except that's an "Data provider error. Exception & "
That are the parameter that I'm passing to create the destination. Maybe for this particular function module there is still one parameter missing?

        connectProperties.setProperty(DestinationDataProvider.JCO_ASHOST, "connectString");
        connectProperties.setProperty(DestinationDataProvider.JCO_SYSNR,  "20");
        connectProperties.setProperty(DestinationDataProvider.JCO_CLIENT, "800");
        connectProperties.setProperty(DestinationDataProvider.JCO_USER,   "myUser");
        connectProperties.setProperty(DestinationDataProvider.JCO_PASSWD, "myPassword");
        connectProperties.setProperty(DestinationDataProvider.JCO_LANG,   "en");
        connectProperties.setProperty(DestinationDataProvider.JCO_POOL_CAPACITY, "3");
        connectProperties.setProperty(DestinationDataProvider.JCO_PEAK_LIMIT,    "10");

 

Thanks for any hint on that!

 


×