Hi,
I am using BDS to download/upload documents into SAP using webdynpro abap. I am able to successfuly upload docs but I cannot download it .
To open the documents I am using method cl_bds_document=>display. This method is working fine if I run it directly but gives me and "unknown error" of termination type "ERROR_MESSAGE_STATE" ( see it using ST11) which I dont understand.
Same method has worked for me in other client environment in WebDynpro environment but i dont has access to that system to compare result.
The one thing i found it when I execute the method directly, the function module GUI_HAS_ACTIVEX returns X while when I run it from WD ABAP, it comes as blank. I even tried to create an iview of my application and test it from portal but no success.
If I use OAOR transaction, I can see my documents are getting uploaded successfully and I can open it also. I tried various file types but no success.
Please help.. I just cant understand how to fix it....
Regards
Vishal Kapoor