on 12-01-2004 1:57 PM
Hi,
We want to create/open a folder from a drive (hard- or network). This has to be done from a CRM BSP-page (Portal). We achieved this in online but we use function modules and classes that checks if you are using the gui.
Does anyone have an idee how to achieve this??
Regards,
Ralph
There are similar functions modules available (can't think of the names right now) that allow you to run commands on the file system.
But with those FM's you can create a folder or load the contents into your BSP.
Or you can use ActiveX it's a high security risk. Check out this thread for an example of reading folders with ActiveX (client side)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Craig,
Thanks for your answer...
I know that there are some function modules that can create folders. But the problem is that they do a GUI check. Since we are in the portal there is no SAP GUI available and the FM (e.g. DSVAS_DOC_WS_EXECUTE_50) generates a dump.
Also we can't use your solution given with the ActiveX control because BSP's in CRM different then ordinary BSP's. These BSP's work with blueprint tables and therefor I can't build in some JavaScript code.
Now my problem still exist. I can open a directory on my hard disk or on a networddrive. But I can not create a folder. Do you have any other suggestions??
Regards,
Ralph
Hi Craig,
We are also trying to get your javascript to function. The one you described in the other link. But when we call up the function selectfolder(), we get an error message at
"objFolder = objShell.BrowseForFolder(0, myText, 0, ssfWINDOWS);".
We recieve the error "Permission denied".
Any ideas how to solve this??
Thanks
User | Count |
---|---|
61 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.