Passing the file name and file type for mime_download

HI All,
Can You Please let me know how to pass the parameters file name and file type for mime_download.
Thanks in Advance.
Regards,
Haritha.

Hello Haritha,
Please see the SAP help:
http://help.sap.com/saphelp_nw70/helpdata/en/46/9bd97240b81e5be10000000a1553f6/frameset.htm
Edgar

Similar Messages

  • FileSaveService ignored the file name and file extensions

    I am using the JNLP API to build a JWS application. When using the FileSaveService, I found it automaticlly ignored the file name and file extensions I passed to the 'FileSaveService.saveFileDialog()'.
    My code is like the following:
    String[] xtns = {"csv"};
    FileContents fileContents = fileSaveService.saveFileDialog(
    ".", xtns, stream, "testFile"); Im running this application in JRE version 1.6.0_20-b02 in Windows XP.
    Although in the JNLP API, it said the file name and file extension 'might be ignored by the JNLP client', I still wonder if anyone has a better solution for this?
    Thanks very much :)

    Sean.Wang wrote:
    ..I still wonder if anyone has a better solution for this?Visit [http://pscode.org/jws/api.html#fs]. Click the link to the 'Launch File Service (sandboxed) demo'. Type some characters into the text area then activate the 'Save File' button. Do you get a file chooser that defaults to (.zzz) extension?
    Then if yes, and that is a 'better solution' for you, then yes, I have one. The code of the demo. can be downloaded at a link just to the right of the launch link.

  • File Name and File Content  not gettinng passed from Proxy to Business Serv

    Hi All ,
    I have a requirement in OSB , where i need to pick the file from remote Source and FTP the files to Remote Target .Below are the steps which i did to achieve this.
    1.Created a FTP Adapter in JDeveloper to Get the files from Source and a FTP Adpater to Put the files to Target.Inboth the adapters i have choose 'Shema is Opaque'
    2.Imported the wsdl and jca file to OSB
    3.Generated Proxy Service (PS ) and Business service (BS) out of Step 2
    4.I edited the Message flow such a way that , the PS is routed to invoke the BS
    Aslo i assigned $inbound/ctx:transport/ctx:request/tp:headers/jca:jca.file.FileName to a variable 'FileName' in PS
    and in BS service i passed $outbound/ctx:transport/ctx:request/tp:headers/jca:jca.ftp.FileName = 'FileName'
    When i tried to activate my session , the file that is getting written to the target has 0 byte.Also , the file name is also not getting passed from PS to BS
    Can some one help me with the steps on how to use the Xpath , so as to pass the file name and file body from proxy servive to business service.
    Thanks
    John

     I search multiple shares to find a common file name then create a single output file. I will be doing this search and file creation
    for 5-10 different file names. If there is a better way .. certainly open for suggestions. It's working but having issue with
    the cmd file for every file and folder I check. It puts this error out for each run of the process.
      Error message in LOG file:
    Get-ChildItem : Cannot find path 'F:\powershell\-SearchFor' because it does not exist.
     Thanks.
    I tried your code with little changes and saved in Temp folder.
    My CMD file has the below code
    PowerShell C:\Temp\Untitled1.ps1
    It worked.
    Regards Chen V [MCTS SharePoint 2010]

  • Make "File name" and "Files of type" fields read-only in JFileChooser

    I try to make the "File name" and "Files of type" fields read-only in JFileChooser dialog. Anybody
    knows how to do? Thanks.

    You mean so the user can't choose the name of the file to open or save? Not much point in even using a JFileChooser, then, is there? Or did I misunderstand the question?

  • Pass the structure name and return the description fields.

    Hi experts!!,
    I would like to know a class and the method that I pass the structure name and return all the description fields.
    Thanks a lot

    Hello Ana
    Have a look at class CL_ABAP_STRUCTDESCR.
    DATA: ls_knb1   TYPE knb1.
    DATA: lo_typedescr    TYPE REF TO cl_abap_typedescr.
    DATA: lo_strucdescr   TYPE REF TO cl_abap_structdescr.
    DATA: lt_dfies            TYPE ddfields.
    lo_typedescr = cl_abap_structdescr=>describe_by_data( ls_knb1 ).
    lo_structdescr ?= lo_typedescr.
    lt_dfies = lo_structdescr->get_ddic_field_list( ).
    " Or check public attribute: lo_structdescr->components   for non-DDIC structures
    Other useful RTTI classes are:
    CL_ABAP_DATADESCR
    CL_ABAP_TYPEDESCR
    CL_ABAP_TABLEDESCR
    CL_ABAP_CLASSDESCR
    Regards
      Uwe

  • If i pass the SEGMENT NAME and its SDATA can i get the all IDOCs?

    Hello
    If i pass the SEGMENT NAME and its SDATA can i get the all IDOCs of these values(sdata) holding? is tehre any standard SAP function module?
    Moderator message: please search for information and try yourself before asking.
    Edited by: Thomas Zloch on Aug 23, 2011 2:44 PM

    Hi Uwe,
    Thanks very much for your reply, now I have another problem .
    Only the authrotiy field in the authority object is not '*' shall I check for the authority, how can I realize this?
    thanks very much for your help.
    Lament

  • How to list column names and data types for a given table using SQL

    I remember that it is possible to use a select statement to list the column names and data types of databaase tables but forgot how its done. Please help.

    You can select what you need from DBA_TAB_COLUMNS (or ALL_TAB_COLUMNS or USER_TAB_COLUMNS).

  • Dynamic File Name and File size

    Hi All
    I need some help in calling Dynamic File Name and Dynamic File size of a file in my adapter Module.
    Could you please provided some help on the same?
    I have tried the same through UDF it is working. Could anyone provide me the steps for the same
    Regards
    Abhishek Mahajan

    Hi,
    You can use the already available adapter module "DynamicConfigurationBean". Have this adapter module at the top of the module list in CC.
    Have the parameter value as insert http://sap.com/xi/XI/System/File FileName and http://sap.com/xi/XI/System/File SourceFileSize (corresponding to the key names)
    For more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/45/da2239feb22e98e10000000a155369/frameset.htm
    There is also a SAP note available for the same....dont remember the note number:(.....
    Regards,
    Abhishek.

  • Adding file name and file full path to a page

    Hi all I'm new to scripting
    What I want to do and don't know how to go about it is to run a script that collects the saved file name
    and the full path where the file is saved on the network and displays it on my document
    If any one has done something similar or if some one can help me create it it would be appreciated
    Thanks Gabriel

    var idoc = app.activeDocument;
    var itext = idoc.textFrames.add();
    var file = idoc.fullName;
    itext.contents = file.fsName;

  • Files always download as "attachment.ashx" instead of the file name and file type that they actually are.

    Since I have installed the new version of Firefox (version 8.0), every single file I download is downloaded as "attachment.ashx" and won't open. I have to change the name as well as the file type in order to open the document.
    This happens regardless of if I'm downloading from email, from a website, etc.. All of the files I have downloaded also have already been named and had file types appended, but Firefox is changing them every single time. I have never had this problem before using the same sites and downloads.

    Please hurry up with a solution! This is causing havoc, as I cannot open any attachments at all! It defaults to Adobe Photoshop, and then I get an error message that it is the wrong type of file. These are all Word docs! I can't get my work done! Is there some kind of work around that I can use in the meantime to open these things?

  • Changing file name and directory structure for use outside of iPhoto

    Hi,
    I was wondering if its possible to get iPhoto to name the files from my library to reflect the names that I've given the files in iPhoto. I'm thinking along the lines of iTunes, where its possible to chose in the preferences how the files are named, and there is some logical directory structure, such as "Artist/Album/01 - Track 1.mp3". These file names are updated to reflect any changes made in iTunes.
    I've heard the argument that I shouldn't ever want to do anything with the files themselves because iPhoto can do everything I would ever want to do, but I want to organize the files so that not all of my organizational work is lost if I decide to stop using iPhoto and transition to a different system. Any suggestions would be appreciated.
    Thanks,
    Adrian

    Adrian
    No it's not possible.
    You can rename the files before bringing them into iPhoto, you can rename them with the titles on Export (Use the File -> Export command, it gives you the option to use the title and filename) but when it's inside iPhoto you cannot rename the files.
    However, all is not entirely lost. Using Film Rolls (View -> Film Rolls) you can move pics between rolls, name rolls, create rolls and so on, as long as you do this in the iPhoto Window, and these changes will be reflected in the iPhoto Library Folder.
    If at some point you decide to chuck iPhoto then (if the new app won't read iPhoto database files) you can simply export each album you've created to a Folder (using the File -> Export command as I suggest above), this, along with exporting slideshows will preserve your organisational efforts.
    The iTunes database has a rather simple job to do: track a file and it's assorted metadata. iPhoto, on the other hand, tracks a file and it's assorted metadata, plus a Modified version, plus a thumbnail. If you consider what happens when you edit a pic, for instance - Copy Original, perform edit, save modified version, remove Original Thumbnail and then create new one - you can see it's a rather more complex job.
    Finally, the standard warning: It is strongly advised that you do not move, change or in anyway alter things in the iPhoto Library Folder as this can cause the application to fail and even lead to data loss. Any changes you make must be made in the iPhoto Window.
    Need more info? by all means post again.
    Regards
    TD

  • Loading File name and file contents into two separate tables using Sqlloadr

    Hi All,
    I have situtation like to load File contents into One table and File name into one table . File comes with .txt extension
    Example :
    File name : product_09_abc.txt
    File contents :
    Productcode
    ABC
    CDE
    EFT
    Can you please help me out this how can we acheive this using SQLLOADER.

    SQL*Loader will not pass through the filename for you to be able to insert into a table.
    You will need to have a controlling o/s script that picks up the file name, calls sql*loader and then also call's an SQL script (using sql*plus?) to insert the filename into a.n.other table.

  • How can I inventory the file name, date, size, type for all my CDs into a readable file on my iMac running Maverick?

    I have many old CDs with files.  In order to organize and search them, I would like to make a searchable file listing all the documents on the CDs.  I once did this in DOS (it was a "list files" command).  Is there anyway to do it in OS X-- Maverick?  I thought Terminal would work, but what I've tried doesn't work.  Any ideas would be appreciated.  I am happy to purchase software that would do the work.

    Oh yeah! Very similar to that one is Print Window. I use it all the time.
    http://www.printwindowapp.com
    It costs $20 if you want all the extra features the free version doesn't have. But I've always used the free version. Nothing in the paid version I need.

  • How to pass the low value and high  values for select options.

    Hi,
           In selection screen I want to display the first date, last date of this month as a default value in low and high fields.  Please exaplain me how.
    Thanks and Regards,
    Surya

    hI,
         Very thanks ,
            I  did it what u said now. but those contents does not displaying on the screen.
    In this order I write the code. Please explain me
    SELECT-OPTIONS s_date FOR likp-wadat_ist.
    DATA  BEGIN TYPE wadat_ist.
    DATA LAST TYPE wadat_ist.
    initialization.
    s_date-low = BEGIN.
    s_date-high = LAST.
    at selection-screen output.
    CALL FUNCTION 'HRWPC_BL_DATES_MONTH_INTERVAL'
      EXPORTING
        datum                =  SY-DATUM
        month_pst            =  '0'
        month_ftr            =   '0'
    IMPORTING
       BEGDA                =  BEGIN
       ENDDA                =   LAST
    EXCEPTIONS
      INVALID_VALUES       = 1
      OTHERS               = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • Problem with getting the file name and type from OAMessageFileUploadBean

    Hi Tapash,
    I am trying the code below to get the file name and mime type from OAMessageFileUploadBean,
    DataObject fileUploadData = (DataObject)pageContext.getNamedDataObject("Documents");
    String uFileName = (String)fileUploadData.selectValue(null, "UPLOAD_FILE_NAME");
    String contentType = fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");
    But this piece of code gives errors saying that selectValue selectValue(null, java.lang.String) not found in class oracle.svc.DataObject
    Any ideas? why this code is giving error?
    Can i handle the event of browse button for OAMessageFileUploadBean?
    Regards,
    Nagesh Manda.

    Try using class oracle.cabo.ui.data.DataObject
    --Shiv                                                                                                                                                                                                       

Maybe you are looking for

  • Emplyee advances

    Hi everyone, In our comp they have created Employee salary advance, site advance and travel advance. where employee is treated as vendor. and a special gl is created for each of this. my question here is how wil i do the user manual for this??.. and

  • Use of Oracle Triggers as Deltamechanism for Custom Tables

    Hi Colleagues, we have a 50 million records Y-Table in SAP ECC 6.0 with Oracle 10.2.0.2.0. The Y-Table have no update, timestamp or numeric pointer fields for using the SAP generic delta feature. So we will use the Oracle trigger feature: CREATE TRIG

  • GR processing time not taken into account for exception message in MD04

    Hello Gurus! In MD04 when we toggle between displaying at GR date and AV date sometimes there is a shortage in AV date view but none in GR date view due to GR processing time. How can we include the GR processing time to be taken into account so that

  • Array stop work when i use reinit to default

    Hi guys, i'm using a array to save data from my DAQ.. and it saves when some seconds elapsed.. the problem is.. when a i use the invoke node "reinit default" of array after it the array gets empty (ok) but dont get more data (problem).. please help m

  • Bitwise XOR Operator

    I am going through a certification book, that I have found to have errors. I am not real familiar with bitwise operations, but I have come across one that I think is in error. Can someone confirm or deny whether the following is correct? 00001010 ^ 0