Use webdynpro to upload pictures to the R3 system

Hi ,
We are having a requirement of use webdynpro to upload pictures to the R3 system.
I found a method like this:
    Create a model for BAPI, place file upload UI element on your WD view, in action handler execute RFC model.
   But when I upload the byte data of pictures to BAPI ,the byte data received in XString of BAPI was different from the upload data.XSting will add 3 all 0 byte data to the byte. So, in the end there was no pictures.
   What could cause this error?
Best wishes! Thanks!

Solved myself!

Similar Messages

  • Using Applescript for uploading pictures on the Internet

    Hello!
    I was wondering if there was a way to use Applescript with Firefox (or another browser)...?
    We have many many villas on our website, each one with lots of pictures. We are constantly adding new villas to our site and amending old ones.
    To add pictures we go to a page in our cms for each villa, located there is a drop down menu - image 1, image 2, 3 etc etc etc
    For each one we have to manually browse for and attach the photo. As you can guess this is a time consuming process, we have asked the web designer before for this but he is so busy and we have other more important stuff for him to be working on.
    As Applescript is so nifty I was wondering if anybody had an idea on how to use it for this process - i.e. have a folder full of pictures on the desktop and Applescript can add them?
    I have no idea if this is possible, any ideas?
    Many thanks and regards.
    Simon

    Yeah I completely understand, I just wanted to see if anybody knew if it could be done.
    Obviously for security reasons I can't let anybody into our CMS, so looks like it's a bit of an impossible task.
    Although it would be awesome to simply change the script slightly for each villa and let it do it all, this would be stupidly complicated as there are many menus to navigate to get to the uploading picture area.
    It would be great if I could do all that manually then once on that page (or given the page url to Applescript) set Applescript running to upload all the images for me.
    This is what that page looks like, if this helps?!:
    http://img535.imageshack.us/img535/241/screenshot20100415at141.png
    The drop down menu contains:
    Villa Plan
    Small Location Map
    Image Gallery 1
    Image Gallery 2
    etc
    etc
    I could arrange a folder with the pictures in order (i.e. Villa Plan first, then Small location Map, then the picture for 1 etc) so no worries about the Villa Plan and location map.
    I've got a feeling I'm just going to have to do it manually (I shall forever be uploading pictures), but I thought I would give it to some of you geniuses to mull over!
    For whoever creates a script I'll give you a discounted stay in Paradise... there's an incentive!!
    Many thanks and regards,
    Simon

  • How to upload pictures to the website

    I need to upload pictures to my websait, can some body help me whith that?

    The iCab browser can upload to some sites : http://itunes.apple.com/us/app/icab-mobile-web-browser/id308111628?mt=8 . Whether it will work on your site I don't know.

  • Can I have my iPhone upload pictures to the cloud but disable downloading from it?

    Like the question states:
    Is there any way of enabling uploading of pictures from my iphone to the cloud but disable downloading of pictures?
    I just transferred over 2500 pictures from my SLR and would really like to not have these download to my phone. I just disabled icloud on my phone as its been downloading these pictures for the last hour or so...
    Thanks,
    Raf.

    Welcome to the Apple community.
    If you are referring to photo stream, then no, you cannot just have it upload photos but not download them.
    In reference to your last point, photo stream cannot hold 2,500 photos, it is limited to 1,000 photos, and then only for 30 days.

  • Uploading picture to the material master data

    Hi friends,
    I searched the forum about this subject, however there are mostly answers related to retail sector.
    I'd like to learn if ECC 6.0 could only itself is able to this. I mean is ECC 6.0 enough to add pictures to material master data or is there any configuration or customization requirement for that?
    Thanks in advance.
    Best regards,
    Yusuf Gezer

    yes, it is possible to store images to the materials. here you have at least 2 options, DMS and GOS.
    DMS is document manament system, here it is even possible to classify the images for a better search. GOS is generic object services which is available in the maintenace transactions for material master and several other objects. Pretty easy to use, but....you cannot search for the images, you always have to go into the material and fom there you have to open the GOS to see whether an image exists or not.
    further you should think about the place where you store these images and other attachments, I mean in SAP table system or in an optical disc system linked to SAP, which is much cheaper diskspace than the SAP tablespace.
    A migration from DMS to DMS is relatively easy and can be accomplished with IDOCs via LSWM or ALE scenario.
    Migration of GOS attachements is challenging. Nothing ready for use exists in SAP to do it.

  • How do i upload pictures TO the digital camera?

    Does anyone know how to do this with iPhoto. I know you can go from digital camera to iphoto but I want to do the opposite. Any help would be greatly appreciated. Thanks.

    There is not a feature in iPhoto to send photos back to camera (like iMovie does), but if you have the type of camera that mounts on the desktop when it is plugged into your computer you can probably do this using iPhoto's export command. When you plug your camera into your computer do you see an icon for it on the desktop and in finder windows? If so, just use the export command from iPhoto and export the pictures to that device. Let me know if you need more clarification.

  • When using Camera to upload pictures to Facebook, unable to see on Timeline.

    Went to a picture in my Camera Roll on iPhone and uploaded to Facebook via the share button.  The picture was nowhere to be seen on my timeline or on my profile.  I tried multiple times with no luck. Upon closer look, the pictures I uploaded WERE in my "IOS Photos" album. So they made it to Facebook, however, they were nowhere to be seen on my profile or timeline.  I then tried uploading directly to my timeline by opening up the Facebook App and that worked as expected.  I've seen problems out there where users can't upload photos from iPhone to Facebook because their Privacy settings were turned OFF but that is not the case with mine.  Much appreciated if anyone can help me out.

    There is no way to do what has been described.  The best that can be done is to regularly copy pictures and videos taken with the device off of it, Camera Roll is really designed as temporary storage.
    If the user wishes to keep pictures/videos on the device, they should be synced via iTunes.  Pictures/Videos synced via iTunes are not accessible when connected to the computer as those in Camera Roll are.

  • TS3991 can i upload pictures to the cloud, create a file name and allow others to access it from non-apple devices?

    I have pix for co-workers not to be shared in public forum, would like to know where in knowledgebase to find the instructions. thank you

    You can do this by adding photos to a shared stream and enabling the public website option (see http://help.apple.com/icloud/#/mmc0cd7e99).  This will give you a private url that can be shared with non-iCloud users, enabling them to see the photos on the web from their computer browser.  You will need iPhoto '11 to do this, available in the Mac App Store.

  • Pictures in gallery won't open after using MediaShare to upload to a PC

    I have a Motorola Droid 2 Global, and recently uploaded pictures to the computer using Media Share, and a USB connection. After I did that, in my Gallery, I can see the thumbnails of my photos on my phone, but if I tap the picture to open it, it shows an empty movie reel picture, and I cannot access the picture. If I plug the USB back in, and copy/paste pictures just that way, I can get the pictures on my computer. BUT I just want to have the pictures on my phone, and be able to open them on my phone.
    HELP!

    LovebugKZ, thank you for sharing your concerns about your gallery. I would suggest trying a few basic troubleshooting steps first like power cycling the phone, if you haven't already. Next, clear the data/cache from your Gallery. This will not erase any pictures, as they are stored on your SD card.
    Please let us know if you need further assistance. 

  • How can I increase the thumbnail size when using Safari to upload an image to a website?

    I upload many images to multiple websites and when using Safari to upload these images, the thumbnails are so small I can barely make out what the image is. I can easily figure out how to increase the thumbnail size when viewing them in Finder and set the default to my liking, but I cannot seem to find a way to do this in Safari. The last topic I saw on this was form 2013 and have not seen any update. Is there a way to do this?

    Delete all unused, invisible layers.
    Sometimes zip compression is better than jpg compression (in the pdf output settings). Zip is lossless, and works better with non gradient colour or no images.
    Flattening the image before you save it to pdf can reduce the file size if you are using jpg compression.
    Post a preview of your pdf and we can comment further on how to reduce the file size.

  • Can you upload pictures taken with your camera to the IPod touch?

    I have a small cannon camera that has a connections so I can upload pictures to the computer. If I get the Apple connectors can I upload the pictures to the IPod touch (32g)?

    Sync them to the iPod by:
    iTunes: Syncing photos

  • Aperture 3.1: Adding watermark by uploading pictures to Mobile Me gallery.

    Hi,
    In the "Image Export" presets there is an option to ad a watermarkt on the picture.
    Is there any way to add a watermark when uploading pictures to the Mobile Me Gallery, using the Mobile me button??
    Thanks in advance.
    Regards,
    Jos

    Apple did seem to drop the ball on this one. There is no way from within Aperture to add a watermark to an image set to Facebook, Flickr or MobileMe. This is a highly requested feature so add add your voice to the crowd requesting this by going to [Apple Aperture Feedback|http://www.apple.com/feedback/aperture.html]

  • How do I upload pictures to my blog from time capsule?

    Hi,
    I just started using Time machine, or time capsule (not sure what the difference is). I had to back up my laptop because I only have 185 GB on my computer. I'm a photographer so I take tons of pictures. I started backing up my computer to the time capsule and then had to delete the original files off my computer to make enough space. Currently I have 1 GB of space left on my computer. I need to delete basically all of my photos on the computer so I have more room to even load new pictures onto the computer.
    My problem is I need to access these pictures in time capsule so I can load pictures to my blog or website. I know how to look at the pictures in time capsule by going to iphoto and clicking the file thing, but there must be an easy way to upload pictures to the web from time capsule.
    Basically if I can't use my pictures to upload them onto my blog/website my business is doomed... Please help me!

    Suggest that you consider a few things here:
    The Time Capsule (which is hardware) uses Time Machine (which is software) to make backups of the original files on your computer. The reason that you need backups is to have a copies of your important data in two different locations.
    The reason for this is that when....not if....a disk drive fails on either your computer or Time Capsule, you at least still have a good copy of important files on the other drive.
    If...you move the "original" files on your computer to the Time Capsule drive......all of your images are on the Time Capsule.....and you have no backups. When....not if....the Time Capsule drive fails, you lose everything.
    I suggest that you consider the following:
    Add an external hard drive that will attach directly to the USB or FireWire port your computer and move your the iPhoto library to that location.
    Then, Time Machine will backup both your computer and the external drive, so you have your "originals" on one drive and backups on another.
    The bottom line here is that the Time Capsule and Time Machine should be used for backups....not for everyday use. With an external hard drive attached directly to your computer, it will be a simple matter to navigate to the image file using iPhoto and "export" it to the desktop or another folder for uploading.
    The Time Capsule is not meant for this type of use.

  • Upload file in to file system using Apex

    Hi...
    I have tried UTL_FILE to upload file in Directory. But First i have to upload file in Table in BLOB datatype and then copy it to file system using BFILE.
    I have to store files in file system as per requirements.
    I want to upload file directly to File System. Suggest me the right way...
    Thank You in advance........
    Edited by: user639262 on Aug 28, 2008 2:11 PM

    Apex only supports upload into a table.
    If you want to upload directly to the file system you should look into the possibilities of your application server. Maybe you could find a piece of code in Java or PHP that performs an upload.
    good luck, DickDral

  • How to read "Customixed Information" in UME using WebDynpro Java APIs

    Dear All
    In our Portal UME we have defined 3 custom fields that appear in the "Customized Information"
    tab in the standard Portal "Identity Mangagement" application ie:
    krb5principalname :
    How can I retrieve the custom fields and values using WebDynpro APIs?
    I have the following basic code to retrieve the standard user session information, but
    do not know how to extend it to extract the values of the custom fields.
    Full points will be awarded to whoever answers question with suggestion that works.
    Many thanks in advance
    Mike

    Hi Mike,
    Following code is for just one custom attribute <custom attribute>
                                  String namespaces[] = umeUser.getAttributeNamespaces();
                                  String ns = null;
                                  for (int i = 0; i < namespaces.length; i++) {
                                       if (i > 0)
                                            ns = namespaces[ i ];
                                       String attrNames[] = umeUser.getAttributeNames(ns);
                                       if (ns != null){                                   
                                   if(ns.equals("<name-space>")){     
                                       for (int j = 0; j < attrNames.length; j++) {
                                            if(attrNames[j].equals("<custom attribute>")){                                        
                                                 Object attr[] = umeUser.getAttribute(ns, attrNames[j]);
                                                 for (int k = 0; k < attr.length; k++){
                                                      if(!(null == attr[k])|| !(attr[k].toString().length() == 0)){                                                  
                                                           //attr[k].toString() has the custom attribute value
                                                      break;
                                            }else
                                                 continue;               
                                   }else
                                       continue;
    Where <name-space> is the same value you set in config tool or on portal UME configuration.
    Config Tool: Global Service Configuration>services->com.sap.security.core.ume.service>ume.virtual_groups.user_attribute.namespace
    Portal
    System Administration>System Configuration>UME configuration> User Admin UI tab>
    Custom attributes of the user profile
    Administrator-Managed Custom Attributes: add ;<name-space>:<custom-attribute>
    Hope this helps

Maybe you are looking for