File type used in bdc

if i have data in excel format which i save it into tab delimited format  then in gui_upload which file type i have to used?
or if i have data in word format which i save in it into tab delimited format  then in gui_upload which file type i have to used?
Can any one help me?
Thanks,
Vishal Bhagwat.

hi
the file type is ASC
Use FM ALSM_EXCEL_TO_INTERNAL_TABLE
TYPES:
BEGIN OF ty_upload,
field1 TYPE c length 12,
field2 TYPE c length 12,
field3 TYPE c length 12,
END OF ty_upload.
DATA it_upload TYPE STANDARD TABLE OF ty_upload WITH DEFAULT KEY.
DATA wa_upload TYPE ty_upload.
DATA itab TYPE STANDARD TABLE OF alsmex_tabline WITH DEFAULT KEY.
FIELD-SYMBOLS: <wa> type alsmex_tabline.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename = filename
i_begin_col = 1
i_begin_row = 1
i_end_col = 3
i_end_row = 65535
TABLES
intern = itab.
LOOP AT itab ASSIGNING <wa>.
CASE <wa>-col.
WHEN '0001'.
wa_upload-field1 = <wa>-value.
WHEN '0002'.
wa_upload-field2 = <wa>-value.
WHEN '0003'.
wa_upload-field3 = <wa>-value.
ENDCASE.
APPEND wa_upload TO it_upload.
CLEAR wa_upload.
ENDLOOP.
Reward if usefull

Similar Messages

  • BPEL Process with multiple file types using one FTP adapter is not working

    i created a bpel process which will fetch the files from remote location using FTP adapter.
    Now the process works for only one format or file type like *.xls.
    How can i use more than one file format in one FTP adapter.
    OR
    is there any other way to do it.
    file type assignation is 5th step in FTP adapter configuration.
    i have tried *.xls,*.csv and *.xls;*.csv and *.xls:*.csv by seperating with comman, colon, space... still not working.
    i read the documentation *.* will not work.. for one file format it's working fine.
    looking forward for reply as soon as possible.

    Are you positive that it is not working? I'm not sure how you can use one FTP adapter for multiple file types unless the underlying data is exactly the same format or you are processing it as opaque data. Sometimes when a FTP adapter chokes on a file with a bad structure it doesn't create a BPEL instance, it simply moves the bad file to a separate folder.
    So I assume you are using opaque as the data type instead of using an XSD element?
    That said, I don't think you can put two separate file types in the filter. Is it possible for you to do something like: CommonFileName*.* or do you have similar files with other extensions?
    I know the above probably isn't of much help, but I had so many problems with the FTP adapter and its lack of features that I am writing my own. Unfortunately that is a large undertaking and there isn't any good documentation of JCA resource adapter / BPEL PM integration.

  • Applescript to change file type using folder action

    Just found out my Adobe Acrobat is saving PDFs with the filetype "FDP" and creator "ORAC" which is obviously the reverse of what they should be.
    There doesn't appear to be a fix for this, and for me it's a problem because when I copy these PDFs onto our Xinet WebNative asset management server the files aren't recognised as PDFs, so don't display a preview in the web page.
    So, I wanted to use a folder action that will set the Creator and Type to the PDFs whenever they are put into a folder on the server.
    Unfurtunately, although I can get this to work when using a script in the form of an application (so I drop PDFs onto it, I cannot get it to work as a folder action. It doesn't set the creator and type even though the same commands in a application script do work.
    *This is the code to my script which works fine as an application:*
    ====================
    property FileType : ""
    property CreatorType : ""
    on open theFiles
    tell application "Finder"
    activate
    set FileType to "PDF "
    set CreatorType to "CARO"
    repeat with eachFile in theFiles
    set the file type of eachFile to FileType
    set the creator type of eachFile to CreatorType
    end repeat
    end tell
    end open
    ===================
    *and this is what I'm trying to use for a folder action:*
    ===================
    on adding folder items to my_folder after receiving the_files
    set pdfs to {"pdf"}
    repeat with i from 1 to number of items in the_files
    tell application "Finder"
    set this_file to (item i of the_files)
    set the file_path to the quoted form of the POSIX path of this_file
    --set the file_path2 to the quoted form of file_path --can combine if file_path isn't needed
    set this_fileType to name extension of (info for this_file)
    end tell
    if this_fileType is in pdfs then
    tell application "Finder"
    activate
    set FileType to "PDF "
    set CreatorType to "CARO"
    end tell
    end if
    end repeat
    end adding folder items to
    ==================
    I know it processes the file but it doesn't actually change the creator type.
    *If only Apple would fix this bug in the first place!*

    Your folder action script isn't using the same commands, and doesn't do anything about setting file types or creator codes at all. Something like this should do the trick:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on adding folder items to my_folder after receiving the_files
    set pdfs to {"pdf"}
    repeat with each_file in the_files
    set this_fileType to name extension of (info for each_file)
    if this_fileType is in pdfs then
    tell application "Finder"
    set file type of each_file to "PDF "
    set creator type of each_file to "CARO"
    end tell
    end if
    end repeat
    end adding folder items to
    </pre>
    ... and by the way, Apple doesn't have anything to do with the file types, creator codes, or other application specific settings that an Adobe application sets for itself.

  • What is the full name of the audio file type used in iTunes 10.3.1.  Are they MP3 files?

    Is this a file type that came into being BEFORE OR AFTER MP3?   Are these MPEG audio file layer 1 or layer 2?  Just curious.....

    http://en.wikipedia.org/wiki/Advanced_Audio_Coding

  • Page Snapshot on Mac using Shift+Command+4, can I change the file type?

    Is there a way to have this feature save the screen shot as a .jpg or something other than .png?
    Thanks for The help!

    Actually you can change the file type, using a defaults write command in Terminal. Whatever you select changes the file type for all screenshots until/unless you globally change it again. All OnyX does is run this command in the program's interface--if you don't know how to use Terminal you may prefer this. If you want to use Terminal, you would launch it, then copy this command:
    defaults write com.apple.screencapture type jpg
    Paste it into the Terminal window and then press the Return key. I believe you need to restart for the change to take effect.
    Francine
    Francine
    Schwieder

  • Limit File Type and file size in attachment table.

    Dear All,
    I want to limit file type like .jpg,.mpgv files while ataching files in attachment table in oracle apps. Also want to limit file size.
    Please help.
    Thanks

    Refer below link regd implementing file upload:
    File Upload
    We can get file type using
    DataObject fileUploadData =
    (DataObject)pageContext.getNamedDataObject("fileInput2");
    //here OAFileUploadBean is "fileInput2"
    String contentType = fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");
    Based on this file type write your login in processFormRequest.
    Will let you know if I find anything about size also.
    -Anand

  • Data Recover From Formatted Drive? What is the best program to use to get back Logic Projects and any other file type?

    I was in the process of reorganising my hard drives so I could RAID them however I managed to corrupt one drive and had to format it which meant I lost all my Logic Files and some other files. I managed to save a lot of files (mainly video files) before I had to format the drive but I need a Data Recovery service that will not alter anything on the hard drive and will put all the formatted files (regardless of the type) back for me so I can get the rest of the ones I need.
    Thanks in advance.

    What about folders and such?
    No. FS doesn't reconstruct folders. However, Data Rescue does, depending on how you use it. About the only thing in Data Rescue a Quick Scan ever seems to show you are files that are already live.
    So that leaves you with a Deep Scan, or a Deleted Files scan. The first pass of a Deep Scan will attempt to retrieve folders and files, along with their original names. The second pass only looks for file patterns. Like recognizing a Photoshop .psd file. It will recover it, but give it a nonsense name. A Deleted Files scan only results in nonsense names of recognized file types; no folders.
    What were you using File Salvage on? A hard drive?
    Yes, though you can use it on a flash drive, or any other mounted drive.
    At the moment it is estimating 289 hours remaining on a 1TB drive. Can it not go faster?
    No, both of the software mentioned are slower than molasses in January. When you delete anything in Windows, its file table entry simply tagged as deleted. So to unerase them, the tag is removed. That's why it works to quickly and easily (assuming you haven't already overwritten the data to be recovered).
    In OS X though, the whole idea of the underlying UNIX structure is all about security. It's not supposed to be easy to retrieve deleted items. When you delete items, their file table entries are erased. So the only way to find deleted items is to scour the entire drive for BOF (Beginning Of File) markers that don't have a matching starting block to anything that is in the file table.
    Another question, half the drive was empty. Will it fly over that empty space or will it sieve through it incase there was some files stored on it?
    If you use the Expert mode is FS, you can choose to do that:

  • How can I open a cfm file in Dreamweaver CC using a Mac? Added to the Extensions.txt. Getting error adding to preferences-- file types.

    I am trying to open Cold Fusion files using Dreamweaver CC. We've never had a problem with the versions before the Cloud. My co-worker can open using a PC, but I'm using a Mac. I can connect to the server and see the files, but when I open, it opens the file in text editor. I have tried adding the extensions to the Extensions.txt file (they weren't there previously), editing the MMDocumentTypes.xml file (the file type WAS in that file), adding to the Preferences-->File Types/Editors (I can add the extension, but when I try to choose Dreamweaver CC as the editor, I get an error "You cannot use Adobe Dreamweaver CC as an external editor. Please choose a different application."). When I right-click the file, I do not see an "Open With" option, only "Open".  Does anyone know of another trick that could make Dreamweaver CC more than an HTML editor for Mac?  I cannot us CF Builder - no approval for loading the extra files server-side to use that IDE.

    Have you tried these suggestions...
    Open ColdFusion documents in Dreamweaver CC

  • "uses a file type that is blocked from opening in this version" error message when opening a *.doc file with Word already running

    Several customers running different versions of Office 2011 (14.4.1-14.4.5) on OSX varying from 10.7.5 to 10.9.5, running on various kinds of hardware (iMac/MacBook Pro/MacBook Air) of various ages are having issues opening *.doc files if the Word is already open. The error message that gets displayed is, "XXXX.doc uses a file type that is blocked from opening in this version"
    When the customer tries to open the same file via File-Open, she gets "The file is locked for editing. you can open the file as read-only".
    When trying to do so, she gets "Word cannot open this document. The document might be in use, the document might not be a valid Word document, or the file name might contain invalid characters".
    If Word gets Force-quit, the same document opens without any problems.
    1. Repairing Disk permissions was ran several times. and the volume was found to be OK.
    2. I have noticed that in this scenario either deleting the normal.dotm or com.microsoft.word.plist (~/Library/Preferences) sometimes resolves the issue, sometimes it doesn’t. There is no pattern to follow. All versions of Office are affected, the fully updated and the non-updated ones.
    3. I have tried completely removing the suite using Office 2011 Uninstall.app and/or Remove Office 2011 Uninstaller.pkg, then going through customer's library and manually removing all the Office references.
    4. None of these systems had Office 2008 in the past.
    Any help will be greatly appreciated.

    Reboot both the Mac and the server. Word opens .DOC files and Excel opens .XLS files. As you have found out by copying the files to the computer. It is the connection between the 2 computer that is causing the error.

  • I am using Adobe Acrobat 9 Standard version in Windows 8.1 and when I try to create a .pdf file, I receive the following error message "Acrobat could not open "file name.log" because it is either not a supported file type or because the file has been dama

    I am using Adobe Acrobat 9 Standard version in Windows 8.1 and when I try to create a .pdf file, I receive the following error message "Acrobat could not open "file name.log" because it is either not a supported file type or because the file has been damaged.  To create a PDF document, go to the source application then print the document to .pdf"  I am going to the source application and printing the document to .pdf yet it's saving the file as a .log file.  After reinstalling the software, I initially didn't encounter this problem but on my second and third attempts to convert files to .pdf format, this error message reappeared.  How do I resolve this problem?

    I have a similar problem which i did not have before...and it exists only in some powerpoint files which i want to print as a pdf file...and i get the same message as above.
    the log says the bellow details...what's the problem and how can i resolve it? thanks.
    %%[ ProductName: Distiller ]%%
    %%[Page: 1]%%
    %%[Page: 2]%%
    Cambria not found, using Courier.
    %%[ Error: invalidfont; OffendingCommand: show ]%%
    Stack:
      %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%

  • FIREFOX 4 CRASHES WHEN I USE THE "BROUSE" MODE TO SELECT A PROGRAM TO OPEN A PARTICULAR FILE TYPE

    USING TOOLS-OPTIONS- APPLICATION BRINGS UP THE PANEL TO SELECT PROGRAMS FOR EACH FILE TYPE. SELECTING "USE OTHER" BRINGS ANOTHER PANEL WITH VARIOUS OPTIONS. NONE OF THESE ARE APPROPRIATE FOR MY SITUATION. AS SOON AS I CLICK "BROWSE" FIREFOX CRASHES. THE SAME THING HAPPENS IF I SELECT AN ATTACHMENT FROM AN EMAIL AND TRY TO CHANGE THE ASSOCIATED PROGRAM BY USING "BROWSE" TO FIND AN APPROPRIATE PROGRAM.

    You can uninstall (remove) the Java Console extensions and disable the Java Quick Starter extension, you do not need them to run Java applets.
    See http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
    See also http://www.java.com/en/download/help/quickstarter.xml - What is Java Quick Starter (JQS)? What is the benefit of running JQS? - 6.0
    Disable the Java Quick Starter extension: Tools -> Addons -> Extensions<br />
    Control Panel -> Java -> Advanced tab -> Miscellaneous -> Java Quick Starter (disable)
    See:
    * http://kb.mozillazine.org/Firefox_crashes
    * [[Firefox crashes]]
    Create a new profile as a test to check if your current profile is causing the problems.
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • While using a drop-down menu i.e. File, edit, image, or even when saving as and choosing the file type; the list appears and I am able to highlight what i want but cannot click on anything.

    While using a drop-down menu i.e. File, edit, image, or even when saving as and choosing the file type; the list appears and I am able to highlight what i want but cannot click on anything. This is becoming incredibly frustrating. It happens at random time and a restart of the computer is all that helps, then with out any notice it starts to do this again.  Mac Book Pro i7 2.2 16 GB 1333 Ram, (2) 450GB SSD both internal to machine. At this point I am losing file because I am unable to save in the file type I need. Does anyone out there know how to solve this issue?
    Thanks
    phil

    I haven't been unify photoshop much in the past month, but I did try your suggestion and it seemed to work for a while. Today when i went to save a document the same thing happened: click on file>save at this point I can not click on save even though it is highlighted. Tryed to use command s that brings up the save dialogue box, but when I try to change file type I again cannot select it from the drop down menu.

  • Using the value "Image/*" for the accept attribute of the HTML input Element, how can I add .pdf to the array of preconfigured file types (.jpe, .jpg, .jpeg, .?

    On a form, using the value "image/*" for the accept attribute of the HTML input Element, how can I add .pdf to the array of pre-configured file types (.jpe, .jpg, .jpeg, .gif, .png, .bmp, .ico, .svg, .svgz, .tif, .tiff, .ai, .drw, .pct, .psp, .xcf, .psd, .raw)?
    Say I wanted to add .gif, .jfif or .ico. I find this array limited, how can I add types to image?
    <input type="file" name="file" accept="image/*" id="file" />
    mimeTypes.rdf does not seem to allow this.

    ''mimeTypes.rdf'' has nothing to do with web development. It's a file that stores your file handling preferences (e.g. if you want ZIP files automatically saved or opened).
    You can't change the file types of the pre-defined content specifiers (audio/*, video/*, image/*), but you can specify additional MIME types. To add PDF to your above example,
    <pre><nowiki><input type="file" name="file" accept="image/*,application/pdf" id="file" /></nowiki></pre>
    For details, see
    * [https://developer.mozilla.org/En/HTML/Element/Input developer.mozilla.org/En/HTML/Element/Input]

  • Help.  How do I fix this?  Have been using adobe reader opening this template for months and now all of the sudden its not working.Adobe Reader could not open 'NSCAAInteractiveSessionPlan.pdf' because it is either not a supported file type or because the

    I coach youth soccer and use a PDF template to save my sessions in.  Today I got this message when trying to open one of my sessions.
    Adobe Reader could not open 'NSCAAInteractiveSessionPlan.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
    How can I fix this?  I have not done anything I don't normally do.

    What is your operating system?  Reader version?

  • Using an F2100 printer & can't scan to pdf there is no option in the file type menu there used be ?

    Using an F2100 printer &  can't scan to pdf there is no option in the file type menu there used be ? I'm using xp but had an hp update and have the problem tried unistalling and reinstalling the HP software and even using system restore to be the update .I hope it is just a setting or something simple. Is there another software I can use ? Many thanks

    Follow steps 1 and 2 of this tutorial and you will be able to get a jpg file for each of your book's pages inported into iPhoto: 06 - Creating an iDVD Slideshow From an iPhoto Book.  If you don't have the Automator workflow Save PDF to iPhoto (which should be in the HD/Library/PDF Services folder) you can download it from Toad's Cellar.
    Happy Holidays

Maybe you are looking for

  • Running an exe from within Oracle WebLogic 10g R3 does not find dll

    Hi, I am facing a strange issue with Oracle WebLogic 10g R3. I use the code as shown in Listing 1 below to run a windows based application exe (batch job) from within my web application hosted on Oracle WebLogic 10g Release 3. Note that this code wok

  • Import Server detects file in Ready folder but does not process

    I have a problem where MDIS detects a file in the ready folder, but it does not launch the import: 2772 2008/10/22 23:37:52.240   1.xml Source file retrieval: Delta: 0.001451 seconds.   2772 2008/10/22 23:38:23.428   1.xml Source file retrieval: Delt

  • Oracle BPM / SOA Suite and Big and Complex Scenarios

    Hi people, I have worked for a company that in the past chose Oracle BPM (ALBPM at the time) and one of the big problems that the company had was in relation about big processes and complex scenarios. This company is for the e-commerce area and our p

  • 10.5.7 Macbook so slower, unusable... can't open Finder nor see HD...

    I installed 10.5.7 from Software Updates (I now know I should not have done it from there). After installing, my Macbook is basically unusable. At first I wasn't able to see the application icons on the bottom of my desktop, the power display and wir

  • How validate the password in screen painter?

    Hi friends, i have got a requirement such that i have to create a screen with Empd_id and password, its like login screen. After giving the password and then by pressing enter it has to pass to next screen i have no idea for this can any please help