Upload from local PC instead of KM Content
Hi,
As you know, in order to attach any document to News or Quickpolls, we only can choose a doc within Portal KM hierarchy. How is it possible to attach/upload a document from the local pc ? I don't want to create any FSDB repository because it can be any directory on any pc
Regards
Ahmet
Hi Ahmet,
sorry, it's even better (depending on your version, I'm talking of EP6 SP2 P27, KMC P27):
Choosing the "KM Browser", with "enough" rights on the chosen folder, you can select the context menu on the folder - New - Upload... - and now just upload from your local disc into the folder chosen before.
Everything I have talked about is there
Sometimes SAP does a good job
Enjoy,
Detlev
Similar Messages
-
Flat file upload (from local system) to internal table
I am trying to use BAPI to create sales order. for that I have to upload flat file containing header and item data from the local system (not from application server). please suggest me if any functional module is available for this.
Thanks,
RajanHi rajan,
Try this,
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = lv_filename " File name
filetype = 'ASC'
has_field_separator = cl_abap_char_utilities=>horizontal_tab
HEADER_LENGTH = 0
READ_BY_LINE = G_MARKED
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
VIRUS_SCAN_PROFILE = VIRUS_SCAN_PROFILE
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH = FILELENGTH
HEADER = HEADERf
TABLES
data_tab = gt_table "internal table with fields from the flat file.
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17
Regards,
Shobana.K -
I upgraded to Mavericks about 6 weeks ago. Starting 2 weeks ago when I send an email and check in the "sent" folder that it has been sent I notice that the content has been substituted. Instead of what I just wrote the sent email contains content from an older unrelated email. Any idea what's going on and especially what I can do about it?
Thanks RexBack up all data. Rebuild the mailbox.
-
Function ECATT_EXECUTE - upload from local directory
Hi Gurus,
We are trying to create 1 global program to execute any SECATT using function 'ECATT_EXECUTE'.
We are having a problem specifying the path.
As you execute the function, with start pop up you see the path is gray... We want to execute the function without the start pop up, giving path and filename in the global program.
Apparently, it's not possible to manipulate the path via the function... Or am I missing something?
Below you see an extract of my code. As you see i tried to manipulate the path via a perform in a remote program (that specifies the user default path - but this doesn't seem to work always).
I also tried giving the path with variable gs_var_ext-var_ext_path, but it doesn't work as well... The structure only seems to work for a filename.
Is there a nice solution to this?
START-OF-SELECTION.
gs_var_ext-var_ext_file = p_file.
* gs_var_ext-var_ext_path = 'C:\test'.
gs_var_ext-var_ext_mode = 'X'.
gs_var_ext-obj_type = 'ECTC'.
gs_var_ext-obj_name = 'ZC002'.
APPEND gs_var_ext TO gt_var_ext.
gs_to_execute-obj_type = 'ECTC'.
gs_to_execute-obj_name = 'ZC002'.
APPEND gs_to_execute TO gt_to_execute.
SELECT SINGLE * FROM rseumod WHERE uname = sy-uname.
rseumod_new = rseumod.
rseumod_new-etpath_variants = p_path.
PERFORM save_settings IN PROGRAM saplwb_customizing
USING 'X'
CHANGING rseumod_new
rseumod.
CALL FUNCTION 'ECATT_EXECUTE'
EXPORTING
to_execute = gt_to_execute
display_log = 'X'
log_txt = ' '
* display_start_popup = 'X'
* START_PROFIL = gt_start_profile
* START_PROFIL_X = gt_start_profile
* WBMANAGER_ACTIVE = ' '
* EXIT_STATUS_UPDATE = ''
* HTTP_TRANSID = ' '
* I_SUPRESS_OUTPUT = ' '
* it_var_to_exec = gt_var_to_exec
* i_par_var_displayed = '(SAPLECATT_EXECUTE)ETVARUSE-VAR_EXT_PATH'
it_var_ext = gt_var_ext
* IT_CALLER =
* IS_TZEXECDATA =
* IMPORTING
* EXECUTED =
* LOGID =
* LOG_DISPLAYED =
* TRACE_PROT =
* E_RESULT_XML =
* ET_RESULT_XML_ERR_MESSAGES =
EXCEPTIONS
nothing_to_do = 1
too_many_scripts_called = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.Workaround has been found... Other solutions are still welcome as well..
I found the method behind the 'change path' button in the SECATT Test configuation execution variant.
cl_gui_test_operation_center=>uc_wb_options(
EXPORTING im_subscreen = 'EXTTOOL' ).
This way, i let the user change the user default path in the global program.
selection-screen: comment 2(70) text-004.
SELECTION-SCREEN BEGIN OF BLOCK 10 WITH FRAME TITLE text-003.
SELECTION-SCREEN: PUSHBUTTON 2(12) but1 USER-COMMAND usc.
SELECTION-SCREEN END OF BLOCK 10.
PARAMETERS: p_file TYPE etvar_ext_file.
AT SELECTION-SCREEN.
CASE sy-ucomm.
WHEN 'USC'.
cl_gui_test_operation_center=>uc_wb_options(
EXPORTING im_subscreen = 'EXTTOOL' ).
ENDCASE.
INITIALIZATION.
but1 = 'Specify Path'.
CONCATENATE cl_gui_frontend_services=>filetype_text
cl_gui_frontend_services=>filetype_all
INTO l_filefilter.
l_window_title = text-f02. -
Documents to be upload from z development, instead of cv01n
Dear friends,
We have a requirement to attach DMS documents with z development. Documents should get stored in content server along with meta data defined.
Also in CV01N, how to add new tab in object link, any badi or enhancement to be used?
Thanks & Regards,hi, punam,
Prerequisites
In Customizing for the Document Management , you must maintain the key fields for the SAP objects that you want to link to document info records, by choosing Control Data ->Maintain key fields.
Process
1.Program two screens for the following module pools for the SAP object that is to be linked additionally:
u2013 SAPLCV00
u2013 SAPLCVIN
The process logic must be according to that of screen 0204 in program SAPLCV00 and must not be changed.
2.Create the function module OBJECT_CHECK_XXXX (XXXX = name of the SAP object).
If this object can be classified, this function module already exists in the standard system. Otherwise, copy the existing function module OBJECT_CHECK_EQUI (linking of equipment) and change it to suit the new object.
Result
After you have completed the above, documents can be linked with the SAP object that you have added. You define the settings for this in Customizing for the Document Management System (see: Object Links).
once u create your z object, go to DC10--define object linking, select Z object.
this will comes in your CV01N basic data screen of object linking.
Benakaraj -
Jabber 9.2, uploading the contact photo from local machine or PC.
is it posssible to upload contact Photo from local machine to jabber from 'edit profile'? I did that but nothing happened! still no contact photo.
Thanks,Hi Shane,
in previous version of Jabber it was not possible, am I right? But I heard in 9.2.0 onwards we can do it.
I will send you the problem on Monday once I get back to Customer Site.
Thanks, -
Unable to upload files from local computer to remote server (Was: Dreamweaver)
I have lost the connection between the remote location and the local location for files on my computer. Where to I correct this issues, since I cannot upload files from local to remote. Host server from server to my computer works fine, Running Dell computerr XP operating system with CS3 Dreamweaver. Need all the help I can get.
I am now having a "ftp error - cannot make connection to host. Dreamweaver
encoutered a netwoerk or file system error. I did as you suggested and I
get to basic site definition, ( which looks o.k.), next screen ( no,I do
not want to use a server technology) Next screen ( edit local copies on my
machine ( file location looks o.k.), next screen (connect to remote
server=ftp) address of web server is correct, ( no folder on server, or ftp
login or ftp password) do not enable check in or check out
summary: local
Site name:midhba
local root folder:midhba
remote info:
access; ftp
FTP host: midhba.com
check in.check out diabled
testing server (set up later) -
Upload file from local PC and send to RFC function
Hi to all,
I have a web dynpro that do a procedure which creates a file pdf in a temp folder on my local PC. I need to upload this file and send it to an RFC function module (R/3 4.6c) which saves it to DMS on r/3 system. Which java code I have to implement to handle this file? Which kind of data type I have to create on my Func module to storage the file? and how can I save it to DMS (I have to create a new document)?
I hope I was clear.
Thank you very much
Enricohi,
regarding Functional Module storage
how to upload a pdf file and download/open it
PDF Upload
from web dynpro side you can use upload UI element
How to Upload PDF file in to Web Dynpro
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/288e9c7d-0c01-0010-5382-dbec82af50b2
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
regards,
Pradeep -
Uploading File to server from local machine
how to Upload the File to server from local machine.
Using java applet, how to upload the file to secure server.
I dont know how to proceed the steps for uploading
Reply me ASAP.......Hi Ozkantr,
The osql utility is installed by SQL Server. You need to make sure the utility is installed on your colleague machine.
To run SSIS package outside the BIDS, only the DTExec utility which is a client tool is not enough, the server components for Integration Services Service (SSIS runtime) is also required. To install SSIS runtime and DTExec utility, we must install the Integration
Services shared feature from the SQL Server install media. So, you need to install SSIS service on the machine where the SSIS packages jobs run.
References:
http://www.bigator.com/2012/03/11/ways-to-execute-ssis-package/
http://www.codeproject.com/Articles/219494/SSIS-Overview-Part-I
Regards,
+1
You need to install Integration Services, which installs the necessary bytes on your computer and the SSIS service as well. The service can be disabled though, you don't need it to run packages.
I wrote a blog post about it some time ago:
When is DTEXEC installed?
ps: osql is deprecated. Better start using sqlcmd.
MCSE SQL Server 2012 - Please mark posts as answered where appropriate. -
Does Discoverer 10g Plus allow uploading of reports from local drives?
Hi ,
Does Discoverer 10g Plus allow uploading of reports from local drives? Or like 4i is this only possible from Desktop Client?
Regards
RamNo, you can't bring in Disco workbooks from a local drive with 10g Plus.
Only from the database and/or scheduled workbooks.
Russ -
While uploading data from local file
Hi,
While uploading data from local file having the header text into interal table using the GUI_UPLOAD function module,there is problem in upload because of header text in file, do we have any option in this FM itself to skip this header text and upload from sdecond line because as per our requirement we can't delete this header text from the file.Hi Manish,
Do you have the problem while uploading? Is it giving any error?
If not, if your uploading is successful into the internal table, then delete the first row, which is header, from the internal table using index eq 1.
Regards,
Chandra Sekhar -
firefox 7.0 - Can not upload the file from local machine to server...gives "error 404 : file not found"
you have not understood my point
how does this code will run on servlet when I want to upload a file from client's
machine to server machine
what I am doing is I am giving an option to the user that he/she can browse the file and then select any file and finally it's action is post in the jsp form for which I have sent the code
All the computers are connected in LAN
So how to upload a file from client's machine to server's machine
Plz give me a solution -
Hi ... How does the clients (iOS devices) to configure/use the caching server to download apps from local caching server instead of App store?
Hi,
If you want to restore a reomoved app,you need to use
Add-AppxPackage to add a signed app package (.appx) to a user account.
But we cannot extract them from the ISO.
The behavior is by design.And this is a software protection regime.
Thanks for your understanding.
Regards,
Kelvin Xu
TechNet Community Support -
I was trying to get Thunderbird to access my Hotmail account through IMAP instead of POP, so I moved all my messages from the account to "Local Folders", then I removed the POP account and created the new IMAP one. After that I started to move messages into the IMAP account, but I ran into some trouble when the server wouldn't want to accept all the messages I was uploading and it would stop.
So, I decided to move everything from "Local Folders" into the IMAP account while Thunderbird was offline, once it finished, I went online and instead of uploading the newly found messages in my IMAP account to the server, it decided to delete the messages. I guess because the actual online account contained no files so it wanted to synchronise and make my offline folder to also contain no files.
In short, never try this. It's a disaster. And, I know I should've made a back up prior to trying this, it's just that Thunderbird is usually very reliable, it never occurred to me.
I still have the MBOX and MSF files, but even though they contain information, no extension can extract it.
Could anyone, please, help me out?Hi,
I had tried using that very same extension right after messing things up, but it hadn't worked because I deleted the original folders as well.
Then I tried doing a System Restore (luckily, Windows had decided to do an automatic one the night before), but still the missing emails weren't showing.
A while after that I saw your suggestion and it hit me that I had not tried it after doing the System Restore, so I tried it and all messages were flooding back just like magic.
Thank you very much for your help! I'm very happy right now. -
Hi,
I have a jpg image which is stored in the local system(not on the server).I have written an application from which I am not able to download the image from the local system.
I am using the following code but this code works only if the image is present on the server.
String file = "C:\Folder_Name\image.jpg";
final byte[] content = this.getByteArrayFromResourcePath(file);
final IWDCachedWebResource resource = WDWebResource.getWebResource(content, WDWebResourceType.UNKNOWN);
try
final IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(resource.getURL(), "WD_Filedownload", true);
window.open();
catch(Exception e) {
wdComponentAPI.getMessageManager().reportException(new WDNonFatalException(e), false);
private byte[] getByteArrayFromResourcePath(String resourcePath)throws FileNotFoundException, IOException
FileInputStream in = new FileInputStream(new File(resourcePath));
ByteArrayOutputStream out = new ByteArrayOutputStream();
int length;
byte[] part = new byte[10 * 1024];
while ((length = in.read(part)) != -1) {
out.write(part, 0, length);
in.close();
return out.toByteArray();
And for downloading the file or image from local system I need to put the file in \src\mimes\Components folder; Where as I want the file to be downloadable anywhere from the local file system. Is that possible?
Thanks
PravinPravin,
If you want to display an image existing elsewhere on the local machine, you need to upload it first (use FileUpload UI component), store it in a byte array and then continue with your code below of creating a cached web resource.
And you place resources in src/mimes/component so that they will be available to the application (meaning for all users). This doesnt mean you are displaying the image from the local file system. When you deploy, these images go and live in the server and accessed from there.
In any case, the hardcoded image location in your code is valid only for YOU but not necessarily other user running the same application.
As such, you cannot access the client's file system explicitly (i.e local machine) due to security reasons. I know of no other way to do it with WebDynpro. Any resources must be present on the server side at some point of time. Either at application start or ask the user to provide it (like FileUpload).
No web technology allows that other than signed applets or trusted activex controls, as far as i know.
Hope that clears the confusion.
Thanks,
Rajit
Message was edited by:
Rajit Srinivas
Maybe you are looking for
-
Stupid Newbie Question-Sending STP back to FCP
So, I send my FCP 6 project to a STP multitrack project. I do some mixing, add sound effects, etc. Now what? How do I get it back into FCP? Do I even bother? Should I export the audio as AC3 in STP and the video as MPEG-2 and join the two streams in
-
Please help
-
Locked out of Macbook Pro w/ Retina
I just bought my Macbook Pro with the Retina screen and I was moving my stuff from my imac to my macbook using Migration Assistant and I clicked continue before the estimate was reached for how much memory everything would take so It went on to move
-
Textedit and preview crashing in osx lion when changing network location
I did upgrade to lion on launch and noticed that textedit and preview work quite well except when changing network location: after a few seconds of spinning ball, both crash. Tried repairing permissions, deleting "containers" folders in my library a
-
In LiveCycle Designer ES2, how do I post data to a url to verfiy it? For example, if I wanted to vaildate a username but not submit the whole form?