Online Tutorials & Training Materials |
Register Login

SAP JCo error while executing BDS_BUSINESSDOCUMENT_CRE_O_URL: (126) ERROR_DP: ERROR_DP Message 027 of class SBDS type W, Par[1]: 1

Mario Fliegner || 09 Nov 2016 10:07 am || 0


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" (126) ERROR_DP: ERROR_DP Message 027 of class SBDS type W, Par[1]: 1

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!