DMS Document not getting created thru Webdynpro ABAP Strange Problem
My requirement is that I have a Webdynpro ABAP application sitting on SAP Server1 and I am having a FileUploadUI Element in there for uploading files and we have SAP Server2 with the DMS configured. So, what we have done is we have an RFC in SAP Server2 and we are calling it from our webdynpro ABAP application sitting on SAP Server1. And we are calling BAPI_Create2 with all the necessary parameters in this RFC to create the DMS document with the file from webdynpro ABAP application. But its not working. I am passing the Presentation Server File Path of the File to the BAPI_create2.Even if I write the file to the application server of SAP Server2 and then pass this file path to the BAPI_Create2 then also it doesn't work but when I execute this RFC locally in the SAP Server2 with the presentation server file path It executes successfully.
I don't know what I am missing.
Thanks and regards,