MIME-UPLOAD on ITS 6.10

Hello,
we are running an ITS 6.10 patch level 37. The ITS is connected to a Netweaver 2004 system (ECC 5.0) with the latest patches.
We use the mime-upload makro in HR to update employee photos in the SAP system. Before our release change to ERP 2004 in 4.6c we had no problems but now we cannot upload the pics. The systems tells us that the file is corrupt whenn we look at it in the archiv link.
We use the following code:
* get MIME Info from ITS to check which object is the photo
*  (if more than one is available -> may not used at the first time
*   but later if more object are on)
  mime-info mime_info.
* read right object in respect of mime_info
  READ TABLE mime_info WITH KEY contname = 'newpic'.
  IF sy-subrc EQ 0.
    IF sy-tabix NE 0.
      IF mime_info-conttype NE 'image/pjpeg'.
        uplerr_wrongtype = 'X'.
        REFRESH archivobject. CLEAR archivobject.
      ELSE.
        h_index = sy-tabix.
        mime-upload h_index archivobject mime_info-contlength.
      ENDIF.
    ENDIF.
  ENDIF.
We have no problems with return codes etc., it seems that the stream of data is not correct.
We have also prepared the systen according to note 608489 which was the only one I found concerning this topic.
Does anyone know the reason or can help us with information or a solution?
Thanks in advance and regards
Michael

Dear Thibault,
unfortunalty we cannot upgrade the ITS within the near future but nevertheless we need the function.
I hoped that someone here in the forum had perhaps similar problems or has a solution.
If the problem is that the communication between ITS 6.10 and ERP 2004 (NetWeaver 04) is not longer working I would need to arrange the upgrade somehow.
Thanks
Michael

Similar Messages

  • Regarding upload to ITS server

    Hi Expert.
    This is basically related to CAB files.
    The Cab files are VB executable code that are uploaded to the ITS via the Internet Services option of transaction SE80.
    If there is anything more that you can add to my understanding I do appreciate it.
    In particular can anybody explain to me physically what does it mean that the CAB files are uploaded to the ITS?
    Would you have a copy on your PC and then this transaction would take the file and place it on the servers?
    Please help me on this.
    Thanks in advance.

    Hi,
    The CAB file would be uploaded to the MIME repository. And yes as you mentioned the local file should be existing on your desktop. In the SE80 tcode, there is an option to 'upload' objects - which then prompt you to give the local path of the CAB file.
    Regards,
    Srikishan

  • Recognizing mime uploaded file type

    Hi
    I'm trying to restrict the mime type of an uploaded file to .PDF only. I can have some validation by using FileItem.getContentType() method from Apache commons' fileupload framework or by using FileDataSource.getContentType() method from COS framework, but both of these methods simply match the extension of uploaded file with MIME mappings of the server. If a user takes a .doc file and saves it as .pdf, i still get content type application/pdf for that file. Is it possible to check for these scenarios somehow?

    You could give DROID (Digital Record Object Identification) a go:
    http://droid.sourceforge.net/wiki/index.php/Introduction

  • MIME Upload and Repair Task

    Hi,
    when I upload mime objects using transaction <b>BSP_UPDATE_MIMEREPOS</b> it creates repair tasks. Am I doing something wrong or is it supposed to be like that?
    Thanks.
    /Elvez

    Hi,
    According to this, there shouldn't be a repair
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/d8e0a488ef05f6e10000000a11466f/frameset.htm
    Unless you're uploading in SAP name spaces, I guess.
    I always use the bulk upload via Web DAV, also mentioned in that thread. That works fine.
    Eddy

  • ITunes Match, doesn't recognise the songs which i've already uploaded and its trying to upload them once again

    I recently formatted my iMac, i have all of my music in an external hard drive. Once i formatted my iMac, i load all of my music from the hard drive right into iTunes, but if I turn on iTunes Match, it tries to upload all of the music again, the only way that i could handle this, is to delete all of my music, about 25,000 songs, and then download them all again. Is there any way that iTunes recognizes the music that i already have in my cloud and just leave it there?

    Hey sorry for the late response but I've been out of town.  I can copy and paste the email responses if necessary or desired, and if it's fixed already this is a moot point anyway, but basically they kept asking me for the order numbers for the two songs I already bought from the specific album I was trying to complete, which I eventually gave them - along with telling them multiple times that the Complete My Album feature wasn't working for ANY album.  They gave me two free song codes to compensate me for the two songs I bought, and then told me to go and buy the album at full price, but the ENTIRE TIME they COMPLETELY ignored that I was telling them that this wasn't an issue with one album but was a larger, seemingly systematic issue that other people were experiencing.  Even after I got the song codes I emailed them back and said AGAIN that this wasn't an isolated feature, and they just sent me the link to the apple Feedback page (http://www.apple.com/feedback/itunesapp.html) and told me to submit my complaint there.  So, technically, my issue was never really "resolved," in that they never fixed the Complete My Album feature that I am aware of - or even acknowledged that anything needed fixing, but I haven't tested it since Sunday.
    If it's working for you, then hopefully they fixed it!  I've noticed they've updated to 10.4.1, but the notes don't indicate they're fixing anything about the Complete My Album feature, so I don't know.

  • MIME Upload: Operation is not allowed (M_APP_P) take #2

    Hello folks,
    with respect to the following thread: Operation is not allowed (M_APP_P)
    System Info:
    NW AS 7.03 ABAP Stack 731 Level 9, ECC 606 (EHP 6) with SAP_HR 604 Level 73 and EA_HR 607 (HR-Renewal 1) Level 24
    Background:
    One of our external colleagues is currently developing some Themes for certain WDA Applications. He recently applied and deployed them with means of the report WDG_MAINTAIN_UR_MIMES. A few weeks later I had to apply several Unified Rendering Notes because the upgrade to 731 Basis Stack 9 wrecked quite some functionalities concerning keyboard-accessibility. Whilst doing that, I ran into the Problem, that the archive ur_mimes_nw7.zip had been locked by the said colleague (apparently the lock was set implicitly by using the Download Option of the Report WDG_MAINTAIN_UR_MIMES which was used to save away the unmodified archive before uploading the modified one) and this also provoked the error message mentioned in the thread over here: Operation is not allowed (M_APP_P). After removing the lock from the archive I used the workaround approach Jean Clappier described in the said thread and I was able to implement the respective UR-Notes.
    Problem/Question:
    Today our external colleague wanted to recommence the implementation of the themes and now receives the same error message "Operation is not allowed (M_APP_P)" when trying to upload an archive via WDG_MAINTAIN_UR_MIMES.
    Now, we could be using the workaround in the linked thread again, but none of us knows for 100% sure if there isn't something "extra special" the Report does which we would miss. So, this is one part of the actual question of this thread:
    Is there any difference between uploading/overwriting ur_mimes_nw7.zip hard via SE80 and uploading it via WDG_MAINTAIN_UR_MIMES?
    The other part is the understanding what's actually happening here. I attached a screenshot for the part of the coding where the error message ultimately originates from. My problem is understanding the very cryptic functional reason why the upload supposedly "isn't allowed", because what I see is, there's an attempt to save the archived File via Form routine phio_store_as_update in FM SDOK_PHIO_STORE_AS_UPDATE, so apparently an update of something that's already supposed to be there? However at some later point of the coding (screenshot) the PHIO appears to be initial and that's probably why the error occurs. Could be true, could be entire nonsense; either way I don't get it. Screen:
    What I tried so far / Analysis:
    Debugging into the delicious spaghetti-code
    Any help/input is highly appreciated!
    Cheers, Lukas

    Hello community,
    as a co-worker of Lukas Weigelt I also examine that problem and found it’s reason. In the Report “WDG_MAINTAIN_UR_MIMES“ the LOIO of the uploaded data will be used to determine the corresponding PHIO. Therefore the Function Module “SKWF_LOIO_ALL_PHIOS_GET” is used. In the deep of it’s code it selects the PHIO from the table “SMIMPHIO” through the LOIO. But instead of only one PHIO to the LOIO the table offers three records with three different PHIO’s. In the further runtime of the report “WDG_MAINTAIN_UR_MIMES“ only the first found entry will be considered – and that’s the wrong PHIO which causes the error. This PHIO even has (as you can see in the attachment) the state '0000' which may means 'invalid' and indicates the error. By altering the PHIO to the right one, which is the one with the state '0002', the report works well.
    Now the question is whether I can delete the two assumed 'invalid' PHIO-records in the table “SMIMPHIO” or not. Until then I’m able to use the report “WDG_MAINTAIN_UR_MIMES“ correctly by altering the PHIO to the right one in the debugger.
    Regards, Marvin

  • Why is our podcast not being uploaded in its entirety? (even though it is completely on site where feed is coming from)

    Hello,
    We are having issues with our podcast being cut short in the iTunes store.  On our site the full audio and video podcasts are accessible, but within iTunes the audio podcast is being cut at 30 minutes (the entire episode should be 1hr 15min).  The video podcast in iTunes is working fine.  This happens randomly and does not seem to correlate with the actual file on our servers, since the complete file is accessible there.
    This is a huge issue that needs immediate help.
    Thanks.

    Never mind, it somehow fixed itself. At least the itunes store did, but my ipod nano is still not able to sync.

  • Upload Files thru Internal ITS of SRM

    Hello Gurus,
    I need your help, please.
    I need to upload a file from a webpage to SAP and then process the information.
    I work with SRM 4.0 with ITS Internal.
    The page has to be done in SAP. I tried the FM GUI_UPLOAD, but i receive a error.
    Is any way to do this?
    Thanks in advanced, for your help.
    Best Regards.
    Paulo

    Hello Paulo,
    unfortuanatelly I do not know of any other examples, belonging to the SAP_BASIS component
    (which is contained in every R/3).
    There are two other examples in service bbpstart and bwsp, but I don't know, if you have these
    services in your R/3, because they are belonging to another component (bbpstart, I think to srm).
    In it00 click on "continue", then on "upload/download", it is template it00/99/sapmitst1_2500.html,
    the related abap coding is in the PAI of dynpro 2500 of program sapmitst1.
    This is all true, if you are not using the webgui service, but an own IAc service.
    If you use the webgui service, then it is better to use function module gui_upload.
    The description of the makro mime-upload you find in the sap help library under
    http://help.sap.com/saphelp_nw04/helpdata/en/54/4d9993c6592941a407313a6763575c/frameset.htm
    Best regards,
    Ralf

  • Upload unicode file and display content in a textarea

    Hi all,
    I am trying to do the following;
    1. upload a unicode file (file with some non-english characters)
    2. after uploading, read the uploaded file and show the content in a textarea in a jsp page.
    I use struts in my project. I use class org.apache.struts.upload.FormFile for uploading the file. The upload works fine. I do the upload with help of FormFile's getInputStream method. When i read and display the content in the textarea, the content is displayed junk. But i tried to open the uploaded file, its fine. I mean it is just as my source file. Please help me out for reading the uploaded unicode and displayed in a textarea.
    Below is the code that i use to upload the file;
    File tempFile = null;
    FileOutputStream fos = null;
    InputStream is = null;
    try {
         tempFile = "c:/ThaiText.txt";
         fos = new FileOutputStream(tempFile);
         is = theFile.getInputStream();
         // Transfer bytes from in to out
         byte[] buf = new byte[1024];
         int len;
         while ((len = is.read(buf)) > 0) {
              fos.write(buf, 0, len);
         logger.info("fileName$$=" + tempFile.getName());
    } catch (Exception e) {
            logger.error(e);
         throw e;
    } finally {
         closeOutputStream(fos);
    }Below is the code that i use for reading the uploaded file's content and store it to a string. I set this string to a form bean's string property.
    public static String readContentNonUTF8(String path) {
         FileInputStream fis = null;
         String value = "";
         try {
              fis = new FileInputStream(path);
              byte[] buf = new byte[1024];
              int len;
              while ((len = fis.read(buf)) > 0) {
                   String tmp = new String(buf, 0, len);
                   value = value.concat(new String(tmp.getBytes()));
         } catch (Exception e) {
              logger.error(e);
         } finally {
              try {
                   fis.close();
              } catch (Exception e) {
         return value;
    }

    Hi,
    Thanks for your reply. You meant that both method also can used to upload file and submit data? How about if i want to use the first method to upload file and submit data? How can i upload the file by using first method?

  • Error in uploading CSV (comma delimited) to database!!!!

    Hello,
    I'm karthik. We have a application with 10g database and we're using Ms-office 2007 in Windows XP system.
    While uploading csv files in Ms- office 2007 format it is good in uploading files to database.
    Most of our systems are upgraded to windows 7 and while we use Ms-office 2010 to do the same upload we found error in uploading.
    Its ora: ORA DATA NOT FOUND.
    So I uninstalled MS-office 2010 and installed Ms-Office 2007 and found some errors to do upload. The errors like some column is missing!!!
    Can you give me a way to fix these errors???????????

    You might be best to open a support incident about this so you can work directly with an engineer on this.  Infoview is using the Java SDK, its possible there is an issue with the .NET SDK that needs to be looked at.

  • Itunes match not uploading any songs just stuck on "uploading 1 of 1432" for teh last two days , any help ??

    I purchased Itune match it matched about 9432 songs and the remaining 1432 it did not got to step 3 of uploading and its been 3 days just keeps saying uploading 1 of 1432 . i have restarted itunes , tried on different ISPs etc no luck what gives , on top of that on my iphone since i turned on match my play lists dont show up . when i try to synch with match off still my play lists do not show up ?

    Don't know what fantasy planet bigAl_25 lives on.  It does not work consistently for anyone that has a substantial library period.  If your lucky, you get 6 songs before it freezes up.  Know countless people that have it.  Don't know a single person that it works for consistently (on an Iphone) who has a substantial library.  I have to run with my Nano because it doesn't work.  I have had Apple products since 1984, I know how to trouble shoot issues. There is no current solution.  Like other posters, I have tried every single possible fix, including all of those recommended here.  It's just not ready for prime time.  Until it is, it will continue to be be hit and miss, with the only temporary fixes being to go back to menu, select different mix, or playlist.  If that doesn't work, quit app.  If that doesn't work, restart the phone.  One of these will probably solve your problem, but again only temporarily for about 6 songs, and the cycle repeats itself.  You do get a little bit better results over WiFi and if you download all the songs to the iphone before you roll the playlist, but again inconsistent at best.  Best idea, worst implementation.  I'm sure Apple will eventually fix it.  Until then it is hit and miss.  I don't care about the $25 (but won't renew if not working when my year is up), just want it to work. GET WITH IT APPLE.  Match is a home run, devote more resources to getting the bugs out.

  • Upload AR Invoices

    Hi,
    I am working on the Manual AR Invoices upload. I am using the interface table "ra_interface_lines_all". I have populated the following fields in this table and run the Autoinvoice Master Program Concurrent to upload.
    Its is not working and in this table "ra_interface_lines_all" the REQUEST_ID is still blank.
    What could I do?
    Regards,
    Waqas Hassan

    Version?
    What error are you getting - is there any information in the output or log files? "Not working" does not give us any way to help you.
    In my version (11i) with our company's configuration, we also have to populate the ra_interface_salescredits_all table.
    Give us some way to help you and we'll try.

  • Unable to upload/download large html files(71 MB) into  rooms

    Hi,
        I am unable to upload download HTML file(71 MB)into folders of collabration rooms.if it is uploaded also its getting Scripted/corrupted.
    other files are working properly.
    Is it because of large size or any other configuration settings.there is no error msg buts its getting scripted.
    Waiting for your response
    Thanks
    Amit kumar Koyal

    Hi Kerstin,
    the note also says: "This restriction is no longer valid".
    With SP19 I do run tests continously that test content up to 2GB.
    Amit: What portal version are you running? What repository implementation is the file stored in? If the file is stored in a file system, what is it's file size limitation?
    Regards,
    Michael

  • Access MIME from ABAP Mapping for Attachment

    Hi,
    I am adding an attachment in ABAP Mapping and sending that message to Ariba System through HTTP Adapter channel.
    I am able to send the message successfully and also I can see the attachment in the PI RWB But I am not able to see any
    attachment in the Receiver's end along with the message.Ariba is able to receive the message successfully though.
    It looks like I need to change MIME Header a bit before sending the message.
    I check this link.
    XI Attachment and main document MIME sequence
    But Its about SOAP Adapter with PayloadSwap Bean. Since HTTP adapter is on ABAP we can not use the Module
    Tab of the channel.
    I need to know how can I use ABAP Mapping to access the MIME HEADER to change/ check Content Disposition and
    other properties.
    Thanks,
    Vijay
    Edited by: tech.info012 on Oct 12, 2010 6:33 PM

    When I tried the 2nd option It is giving me this error in response message. Do you have any idea what problem can cause this.
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
    SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: Could not queue receive
    for message 4cb474bf-00c1-02af-e100-80000aa00d4b(INBOUND). Reason: java.lang.NullPointerException:
    </SAP:AdditionalText>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Thanks,
    Vijay

  • Getting extra things in the uploaded file by flex file upload

    Hi,
    I am working on a application where I am using adobe flex. I
    have a requirement wher I have to upload file to the server. System
    allows user to browse file from local machine and flex uploads it
    to the server.
    Now there is a upload url, its a jsp page which gets
    mutipart/form-data content from the request, opens an outputstream
    and writes the content of the inputstrem to the file.
    fileUpload.mxml
    quote:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="vertical" creationComplete="initApp()">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.utils.ObjectUtil;
    import flash.events.*;
    import flash.net.FileReference;
    import flash.net.URLRequest;
    private var fileRef:FileReference;
    private function initApp():void {
    fileRef = new FileReference();
    fileRef.addEventListener(Event.CANCEL, traceEvent);
    fileRef.addEventListener(Event.COMPLETE, completeEvent);
    fileRef.addEventListener(Event.SELECT, selectEvent);
    fileRef.addEventListener(IOErrorEvent.IO_ERROR, traceEvent);
    fileRef.addEventListener(Event.OPEN, traceEvent);
    fileRef.addEventListener(ProgressEvent.PROGRESS,
    progressEvent);
    fileRef.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
    traceEvent);
    private function traceEvent(event:Event):void {
    var tmp:String = "================================\n";
    //ta.text += tmp + event.type + " event:" +
    mx.utils.ObjectUtil.toString(event) + "\n" ;
    //ta.verticalScrollPosition += 20;
    private function ioErrorEvent(event:IOErrorEvent):void{
    Alert.show("IOError:" + event.text);
    traceEvent(event);
    private function selectEvent(event:Event):void{
    btn_upload.enabled = true;
    traceEvent(event);
    filename.text = fileRef.name;
    progressBar.setProgress(0, 100);
    progressBar.label = "Loading 0%";
    private function progressEvent(event:ProgressEvent):void {
    progressBar.setProgress(event.bytesLoaded,
    event.bytesTotal);
    traceEvent(event);
    private function completeEvent(event:Event):void {
    progressBar.label = "Complete.";
    filename.text += " uploaded";
    traceEvent(event);
    btn_upload.enabled = false;
    btn_cancel.enabled = false;
    private function uploadFile(endpoint:String):void {
    var param:String = "author=" + ti_author.text;
    var req:URLRequest = new URLRequest(endpoint);
    req.method = URLRequestMethod.POST;
    fileRef.upload(req, param, false);
    progressBar.label = "Uploading...";
    btn_cancel.enabled = true;
    ]]>
    </mx:Script>
    <mx:Panel title="Flex 2 File Uploading Demo" width="100%"
    height="100%" >
    <mx:Form>
    <mx:FormItem label="Upload URL:">
    <mx:TextInput editable="false" id="uploadURL"
    width="100%" text="
    http://localhost/flexApp/jsps/upload.jsp"
    enabled="true" />
    </mx:FormItem>
    <mx:FormItem label="Selected File:">
    <mx:Label id="filename"/>
    </mx:FormItem>
    <mx:FormItem label="Upload By:">
    <mx:TextInput id="ti_author" text="Author" />
    </mx:FormItem>
    <mx:FormItem direction="horizontal" width="100%">
    <mx:Button width="80" label="Browse"
    click="fileRef.browse()" />
    <mx:Button width="80" label="Upload" id="btn_upload"
    enabled="false" click="uploadFile(uploadURL.text)" />
    <mx:Button width="80" label="Cancel" id="btn_cancel"
    enabled="false" click="fileRef.cancel()" />
    </mx:FormItem>
    <mx:HRule width="100%" tabEnabled="false"/>
    <mx:FormItem label="Progress:">
    <mx:ProgressBar id="progressBar" mode="manual" />
    </mx:FormItem>
    </mx:Form>
    </mx:Panel>
    </mx:Application>
    test.jsp page
    quote:
    InputStream is = null;
    BufferedInputStream bis = null;
    BufferedOutputStream bos = null;
    try {
    System.out.println("request.getContentType()...." +
    request.getContentType());
    is = request.getInputStream();
    bis = new BufferedInputStream(is);
    bos = new BufferedOutputStream(new FileOutputStream(new
    File("d:/naseem.txt")));
    int i=0;
    while ((i = bis.read())!=-1) {
    bos.write(i);
    bos.flush();
    catch(Exception e){
    e.printStackTrace();
    finally{
    try{
    if(bos!=null && is!=null && bis!=null){
    bos.close();is.close();bis.close();
    }catch(Exception e){e.printStackTrace();}
    Above jsp writes the content of browsed file to d:/naseem.txt
    Problem which I am facing is besides the actual content, it
    also write something else.
    Actual file:
    quote:
    My Text
    upload txt file which I got: naseem.txt
    quote:
    ------------cH2ei4GI3ae0KM7cH2GI3ei4ae0cH2
    Content-Disposition: form-data; name="Filename"
    test.txt
    ------------cH2ei4GI3ae0KM7cH2GI3ei4ae0cH2
    Content-Disposition: form-data; name="author=Author";
    filename="test.txt"
    Content-Type: application/octet-stream
    My Text
    ------------cH2ei4GI3ae0KM7cH2GI3ei4ae0cH2
    Content-Disposition: form-data; name="Upload"
    Submit Query
    ------------cH2ei4GI3ae0KM7cH2GI3ei4ae0cH2--
    My question is how do I remove these content-disposition,
    content type i.e., extra things from my file. I need only content
    to be written in the file.
    Regards,
    Naseem

    Hi Naseem,
    You need a multipart request parsing utility. Check commons-fileupload for example.

Maybe you are looking for

  • Issue trying to connect oracle to mysql database

    Hi there, I need some help with the configuration, i'm trying to connect a windows oracle 11g r2 to a linux mysql 5.5, but i'm having a lot of issue, here i will put the configuration. Thanks for everyone how will try to help me! here is my tnsname.o

  • How do you choose different audio streams?

    If you have an "audio options" menu, and you have the choice between Ac3 and DTS, how would you link the different audio tracks to the buttons in the sub menu. also, how do you link the tracks to the audio button on you dvd players controller? thanks

  • MI 7.1: Obtain SYNC_KEY from DB

    Hi experts, I have a problem, i want obtain the SYNC_KEY from DB, but if i do the SELECT SYNC_KEY FROM table  the SYNC_KEY appear: "001E4F1D754C1DDD8CC9420C1C8E587E", it has char, and should be only number. How can convert it? Thanks in advance,

  • Popups, focus, and J2SDK 1.4.2

    Hi, I have a program that draws a cartoon of a physical device in a JPanel and monitors mouse position, movement and left-clicks on the cartoon. When the user clicks a particular region of the cartoon, a popup containing a JTextField is displayed and

  • Authorization Relevent Scenarios

    Hi All, I need a help of your suggestins to get a proper way to write my thesis over New Bi Authorization topic. I want to ask you what are the possible authorization scenarios you can think according to your experience. for example I have few of the