Photo uploading using SWF

Hi All,
While testing a website which uses SWF for photo uploading, I
was able to upload the photos on test server. But on LIVE several
people were not able to upload photos, also many people could. it
was not an issue with flash plugins. But many user could not just
view the button "Upload" button. Mostly imac users. any idea why it
happened?
Th whole photo uploading functionality is in flash.
Please suggest/advice.

> Please suggest/advice.
Try asking your question on a Flash forum

Similar Messages

  • Reg : Employee photo Upload using OOAD

    try to upload employee photo using tcode OAAD and enter information as
    follows:
    menu Archived Link: Store and Assign
    Business object = PREL
    Document type = HRICOLFOTO
    Personnel number = xxxxxxxx
    infotype = 0002
    enter
    The system asks for file name, select file
    I got the error message "HTTP error: 401 Unauthorized"
    Message no CMS025
    Error in accessing via HTTP, 401 unauthorized, access denied
    I activated /default_host/sap/bc/contentserver also since im getting above error
    Any ideas what wrong?

    Hi,
    Double click the content server.
    Go to Logon details tab.
    There specify the user name and password of a fully-authorized user (with SAP_ALL profile) and save.
    Make sure that user type is C - communication (check it via SU01)
    Re-activate the service.
    Regards,
    Dilek

  • Mass Photo Upload using Who's Who

    Hi,
    I want to upload Mass Photos using Who's Who .Pls. suggest if any one having this information
    Thanks & Regards,
    Hemant V. Mahale

    Hi Hemant,
    Configure and upload all our photos in the backend ABAP System as per the below link. http://www.****************/Tutorials/HRABAP/Image/Index.htm
    Perform IMG setting 'Display employee photograph' under IMG->Personnel Mgmt->ESS-> Service-Specific Settings ->Address book->who's who->Maintain settings.
         Or
    IMG activity -> Employee Self-Service -> Employee Self-Service (ITS Version) -> ESS Settings for Specific Services ->Office-> Who's Who/User's Own Data (ESS): Determine Functions :
    There is an option called Display employee photograph, please check this check box.
    I hope to have helped you.
    Thanks,
    Padmaja.

  • Photos uploading using ios 7

    I can sent a status via iOS but when it cames to upload photo it appears via mobile not ios.. But im using an iphone 4s

    I was having the same issue also.
    I could not understand why I am getting Faces on my iPhone 5 when I have not checked any people in the Faces section of the Sync Dialogue Box.
    I found another discussion that has a reasonable explanation:
    https://discussions.apple.com/message/22808702#22808702
    It explains that any photo you have chosen to import to your phone that has a Face already identified will automatically be sorted by Faces ALSO, meaning in addition being put into the seclected Album you may have chosen and also identifies and sorts your chosen Photos by Faces.
    You will notice if you look at a particular Faces Album that not all of the Faces of that person are on the phone, only that Person's Face from your imported phone photos.
    I think you would find it is not duplicating the photo twice, but it is just being additionally identified in the Faces section
    I hope I have not confused you more.
    DavidH

  • HT4101 Format of photos uploaded using camera connector

    I have loaded lots of RAW photos onto my ipad using the camera connector. Unfortunately they have got lost from the card. Please can some one tell me whether they will be in the same RAW format on the ipad + how tranfer to my PC in same format. Thanks

    I'm wondering if this would work: use a modified USB cable which would connect the camera adapter to the camera, but would also provide power to the camera adapter side. What isn't clear to me is whether the camera adapter would pass the power through to the iPod (and thus charge it), whether it would just "ignore" the power so that there would be no difference between this and using a normal USB cable, or whether I would fry the camera adapter and/or the iPod.
    I'm guessing that the camera adapter would not be expecting to be powered "by the camera", and so this would not be a viable solution. On the other hand, I don't seem to be able to reliably download an entire flash before my battery dies, which sort of kills the utility of this feature.
    Anyone have any idea whether this might work, word work, or does work?
    Thanks.
    iPod   Windows XP  

  • My iphoto freezes when trying to use the standard eBay photo upload, the problem started after a recent iOS 7 update. The album photos don't appear until I try and close the upload and immediately freezes. Attempts to close iphoto fail.

    A week or so ago I reacted to an Apple update message. The update completed and this left me with a couple of problems. When the imac started up there was a Glims message on screen telling me that the computer had not closed entirely and asking if I wanted to allow glims to reopen previously open files. I ticked yes and Safari froze immediately. This would happen even after a restart, Safari would start up with the Glims message on my Yahoo mail account. Then whether I clicked on the Glims message or not one of various adverts would appear and Safari would immediately freeze. I managed to override this by quickly entering Safari extensions and subscribing to an advertisement blocking programme. Safari now worked without problems but the blocking programme created other problems mostly with iphoto. The eBay uploaded photos were minute. So I decided to remove the Safari blocking extension and all seemed fine for everything except iphoto which now freezes every time I try to upload eBay photo's using the eBay standard upload problem. Yesterday I changed to the other BASIC upload option and that did work. Thought it might be a one of glitch on the Standard but obviously not. Anyone's help would be appreciated. I note that at least one other member is experiencing the same or similar problem today.

    Sorry I am 70 and not very computer literate. Please explain in simpler terms. Perhaps I should have said Apple update for my iMac. It did however include an iphoto update. My imac is 3 years old, I also have an ipad 2 and iPhone and both received iOS 7 updates around the same time.

  • Safari crashes when trying to use facebook photo upload

    I have been using facebook photo upload from Iphoto with out any problems. Tonight I tried it and it shuts down safari happened a couple of times but it corrupted my whole photo library and now Iphoto shows the measage that it is totally corupted and unusable. Any one got any ideas to get it working and to recover photos

    Hello cap:
    Welcome to Apple discussions.
    Please post your iPhoto question in the iPhoto forum. There are ways to recover, I think, but I am not an iPhoto "expert." Photos are precious and I think you will get the best guidance for possible recovery in the iPhoto forum. There are some real experts there.
    Barry

  • Why aren't my photos uploading to my pc from the photo steam? I'm using Windows Vista

    Why aren't my photos uploading to my pc from the photo steam? I'm using Windows Vista

    I don't think Vista will work
    MINIMUM System requirements for Cloud Programs... scroll down and check each program
    -http://helpx.adobe.com/creative-cloud/system-requirements.html

  • Can I build a photo uploader with Flex?

    Hi,
    I am looking into Flex as a possible platform to build a new
    photo website. I know that many of my requirements fit great with
    the flex/flash platform. But one specific issue is to build an
    easy-to-use, easy-to-deploy photo uploader which feels like
    Flickr/Picasa and can manage picking 100s of files/folders. That
    means I need:
    1 - local read access to the filesystem to browse JPGs for
    upload
    2 - local write access to add EXIF keywords to selected JPGs
    (i.e. uploaded tag)
    3 - network access to upload to my website
    For the absolute simplest user experience, I think I need to
    run in a local-trusted sandbox, an SWF downloaded and configured by
    an installer. I think that will get me 1 and 3. But I think 2 is a
    problem - am I limited to only writing local shared objects to the
    filesystem?
    If this is so, is there a workaround for this? For example,
    can I call a local executable to write the EXIF data to JPG, or can
    I use the Flex/AJAX bridge to expose my SWF to javascript and
    somehow use that to write the EXIF data?
    Also, can someone point me in the right direction to
    understand how to write an installer that will configure a
    local-trusted SWF?
    Thanks,
    m.

    Sorry, no. That feature is not supported in iPhoto for iOS.
    You can send feedback to Apple here: http://www.apple.com/feedback/iphoto_ios.html

  • Hi,   My photo stream used to work fine.  But after removing all the photos to separate folders in my computer, my new photos are no longer streaming to my PC.  They appear in the photo stream on my other devices - iPhone5 and iPad Mini.  It's just my PC

    Hi,
    My photo stream used to work fine.  But after removing all the photos to separate folders in my computer, my new photos are no longer streaming to my PC.  They appear in the photo stream on my other devices - iPhone5 and iPad Mini.  It's just my PC that's missing the photos.
    When I open the iCloud control panel, I cannot turn on the photos.  That option is ghosted.  I'm running on Windows 7 with iCloud 3.0.  Any ideas on how I can fix this?  All help is appreciated!  Thanks!

    Hi Kevinmvb,
    Welcome to the Support Communities!
    The article below may be able to help you with this.  It sounds like you may have moved your photos out of the Uploads folder where they need to reside.
    iCloud: My Photo Stream troubleshooting
    http://support.apple.com/kb/TS3989
    Cheers,
    - Judy

  • When I Open Iphoto it tells me that it can not open current photo library using this version of iphoto.  Any help on what I can do to fix this without loosing all my previous photos?

    For some reason I tried to open Iphoto and it keeps giving me an error message that It can not open my current photo library. 
    It says "You can't open your current photo library using this version of Iphoto. 
    You have made changes to your photo library using a newer version of Iphoto. Do you want to quit and use the latest version of Iphoto, or do you want
    to create a new photo library?"
    I tried updating the software and didn't do nothing for me. 
    Anyone have a solution to this problem, I would greatly appreciate it.
    Thanks.

    Ok, here is what I would do for that situation. I would back up all your photos on a memory stick, then create a new photo library and re-upload all the photos to the new library. If iphoto wont let you even copy your photos, you should just schedule an appointment at the genius bar. This has never happened to me, but if it did this is what I would be attempting.

  • Facebook Photo uploader not working

    Hi
    a few weeks ago (nov 2012) i upgraded to the latest vresion of facebook, but if i now go into the app and click to upload a photo, nothing happens, not even an error message appears. everythign else is working fine though. Photo uploading works if i go to the gallery and select send to facebook.
    ive tried uninstalling, resetting my phone and upgrading my software but nothing has worked. any help would be good and i have a blackberry curve9300 3G

    do you confirm you are using Facebook 3.3.0.11 ?
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Employee Photo Upload through binary data

    Hi all,
    I know the Provision for Photo upload through OAAD Tcode, I know FM to upload the photos by giving path as input data. my requirement is I have picture in the form of binary data . i want to upload that into PA30. I have return the following code. No Error but image is not displayed in PA30.Can u Please correct me?
    tables: toav0, toaom, twfdb, toapa.
    data: key like ojint-key,
          object like ojint-name,
          object_id like toav0-object_id,
          archiv_id like toav0-archiv_id,
          arc_doc_id like toav0-arc_doc_id,
          ablagedatum like sapb-sapabldate,
          ar_date like toav0-ar_date,
          del_date like toav0-del_date,
          sap_object like toaom-sap_object,
          ar_object like toaom-ar_object,
          expiry_tim like toaom-expiry_tim,
          method like ojint-method,
          return like ojint-return,
          parameter like ojint-parameter.
    data:begin of i_toav0 occurs 1.
            include structure toav0.
    data: end of i_toav0.
    data: begin of i_toaom occurs 1.
            include structure toaom.
    data: end of i_toaom.
    data: begin of fields occurs 1.
            include structure ojfields.
    data: end of fields.
    DATA:     filename1  TYPE string.
    Data: i_name TYPE STXBITMAPS-TDNAME value 'TEST',
    *  archiv_id like toav0-archiv_id,
    i_id TYPE STXBITMAPS-TDID VALUE 'BMAP',
    i_btype TYPE STXBITMAPS-TDBTYPE VALUE 'BCOL',
    l_bds_bytecnt TYPE i,
    FLENGTH TYPE SAPB-LENGTH,
    l_bds_content TYPE TABLE OF bapiconten,
    OUTDOC     LIKE     TOADT ,
    wa_l_bds_content TYPE  bapiconten.
    *DATA : BINARY TYPE STANDARD TABLE OF TBL1024,
    data : BINARY TYPE STANDARD TABLE OF TBL1024 WITH HEADER LINE,
    ARCHIVOBJECT type standard table of docs,
    archiv_doc_id like toav0-arc_doc_id,
    wa_binary type TBL1024.
    data:  lw_ar_object like toaom-ar_object,
          lw_object_id like sapb-sapobjid,
          lw_sap_object like toaom-sap_object,
          lw_doc_type like toadd-doc_type,
          lw_path like sapb-sappfad,"toav0-arc_doc_id
    *      archiv_doc_id like toav0-arc_doc_id,
          doc_type like toadt-doc_class.
    constants:  c_sap_object type toaom-sap_object value 'PREL',
                c_ar_object type toaom-ar_object value 'HRICOLFOTO',
                c_doc_type type toaom-doc_type value 'JPG'.
    PARAMETERS: filename(150) TYPE c OBLIGATORY.                               "Name of the File where source as  txt format
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR filename.
      PERFORM getfile.
    start-of-selection.
      filename1 = filename.
    key = '010001380002'.
      lw_ar_object = c_ar_object.
    *  lw_object_id = w_pernr_pass.
      lw_sap_object = c_sap_object.
      lw_doc_type = c_doc_type.
    *  lw_path = it_data-file_nam.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename = filename1
          filetype = 'BIN'
        TABLES
          data_tab = archivobject.
    * Object to be archived
          select single * from toaom where ar_object = c_ar_object and sap_object = c_sap_object.
          if sy-subrc <> 0.
            raise UPLOAD_ERROR.
          else.
    * Authority check with Archive id
            archiv_id = toaom-archiv_id.
            perform authority_check_create(oaall)
            using archiv_id object space ar_object space
            changing sy-subrc.
            if sy-subrc ne 0.
              raise UPLOAD_ERROR.
            else.
              if sy-subrc <> 0.
                raise UPLOAD_ERROR.
                clear toav0.
              else." Transfer key for archiving
                toav0-object_id = key.
                if key eq space.
                  Raise FUNCTION_ERROR.
                  clear toav0.
                else.
                  perform create_archive_object_new  .
                endif.
              endif.
            endif.
          endif.
    form create_archive_object_new .
    CALL FUNCTION 'ARCHIV_CREATE_TABLE'
        EXPORTING
          AR_OBJECT                      = lw_ar_object
    *   DEL_DATE                       =
          OBJECT_ID                      = '010001380002'
          SAP_OBJECT                     =  lw_sap_object
    *   FLENGTH                        = '2328'
       DOC_TYPE                       = lw_doc_type
    *   DOCUMENT                       =
    *   MANDT                          = SY-MANDT
    * IMPORTING
    *   OUTDOC                         =
       TABLES
       ARCHIVOBJECT                   =  ARCHIVOBJECT
    *     BINARCHIVOBJECT                = binary
    * EXCEPTIONS
    *   ERROR_ARCHIV                   = 1
    *   ERROR_COMMUNICATIONTABLE       = 2
    *   ERROR_CONNECTIONTABLE          = 3
    *   ERROR_KERNEL                   = 4
    *   ERROR_PARAMETER                = 5
    *   ERROR_USER_EXIT                = 6
    *   ERROR_MANDANT                  = 7
    *   OTHERS                         = 8
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      call function 'ARCHIVOBJECT_CREATE_TABLE'
        EXPORTING
          archiv_id                = archiv_id
          document_type            = lw_doc_type
    *      length                   = '2328'
        IMPORTING
          archiv_doc_id            = i_toav0-arc_doc_id
        TABLES
          archivobject             = archivobject
    *      binarchivobject          = BINARY
        EXCEPTIONS
          error_kernel             = 1
          error_communicationtable = 2
          error_archiv             = 3.
           move i_toav0 to toav0.
        toav0-sap_object = lw_sap_object.
        toav0-object_id = key.
        move archiv_id to toav0-archiv_id.
        move i_toav0-arc_doc_id to toav0-arc_doc_id.
        toav0-ar_object = lw_ar_object.
        move lw_doc_type to toav0-reserve.
        move lw_doc_type to doc_type.
        commit work.
      call function 'ARCHIV_CONNECTION_INSERT'
          exporting
            archiv_id                   = toav0-archiv_id
            arc_doc_id                  = toav0-arc_doc_id
            ar_date                     = ar_date
            ar_object                   = toav0-ar_object
    *     DEL_DATE                    = ' '
    *     MANDANT                     = ' '
            object_id                   = '010001380002'
            sap_object                  = toav0-sap_object
            doc_type                    = doc_type
    *        barcode                     = barcode
          exceptions
            error_connectiontable       = 1
            others                      = 2
    endform.
    FORM getfile .
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_filename     = ' '
          def_path         = '*.*'
          mask             = ''
          mode             = 'O'
          title            = ' SELECTING FILE FOR SOURCE PROGRAM'
        IMPORTING
          filename         = filename
        EXCEPTIONS
          selection_cancel = 3
          selection_error  = 4.

    Hi all,
    I know the Provision for Photo upload through OAAD Tcode, I know FM to upload the photos by giving path as input data. my requirement is I have picture in the form of binary data . i want to upload that into PA30. I have return the following code. No Error but image is not displayed in PA30.Can u Please correct me?
    tables: toav0, toaom, twfdb, toapa.
    data: key like ojint-key,
          object like ojint-name,
          object_id like toav0-object_id,
          archiv_id like toav0-archiv_id,
          arc_doc_id like toav0-arc_doc_id,
          ablagedatum like sapb-sapabldate,
          ar_date like toav0-ar_date,
          del_date like toav0-del_date,
          sap_object like toaom-sap_object,
          ar_object like toaom-ar_object,
          expiry_tim like toaom-expiry_tim,
          method like ojint-method,
          return like ojint-return,
          parameter like ojint-parameter.
    data:begin of i_toav0 occurs 1.
            include structure toav0.
    data: end of i_toav0.
    data: begin of i_toaom occurs 1.
            include structure toaom.
    data: end of i_toaom.
    data: begin of fields occurs 1.
            include structure ojfields.
    data: end of fields.
    DATA:     filename1  TYPE string.
    Data: i_name TYPE STXBITMAPS-TDNAME value 'TEST',
    *  archiv_id like toav0-archiv_id,
    i_id TYPE STXBITMAPS-TDID VALUE 'BMAP',
    i_btype TYPE STXBITMAPS-TDBTYPE VALUE 'BCOL',
    l_bds_bytecnt TYPE i,
    FLENGTH TYPE SAPB-LENGTH,
    l_bds_content TYPE TABLE OF bapiconten,
    OUTDOC     LIKE     TOADT ,
    wa_l_bds_content TYPE  bapiconten.
    *DATA : BINARY TYPE STANDARD TABLE OF TBL1024,
    data : BINARY TYPE STANDARD TABLE OF TBL1024 WITH HEADER LINE,
    ARCHIVOBJECT type standard table of docs,
    archiv_doc_id like toav0-arc_doc_id,
    wa_binary type TBL1024.
    data:  lw_ar_object like toaom-ar_object,
          lw_object_id like sapb-sapobjid,
          lw_sap_object like toaom-sap_object,
          lw_doc_type like toadd-doc_type,
          lw_path like sapb-sappfad,"toav0-arc_doc_id
    *      archiv_doc_id like toav0-arc_doc_id,
          doc_type like toadt-doc_class.
    constants:  c_sap_object type toaom-sap_object value 'PREL',
                c_ar_object type toaom-ar_object value 'HRICOLFOTO',
                c_doc_type type toaom-doc_type value 'JPG'.
    PARAMETERS: filename(150) TYPE c OBLIGATORY.                               "Name of the File where source as  txt format
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR filename.
      PERFORM getfile.
    start-of-selection.
      filename1 = filename.
    key = '010001380002'.
      lw_ar_object = c_ar_object.
    *  lw_object_id = w_pernr_pass.
      lw_sap_object = c_sap_object.
      lw_doc_type = c_doc_type.
    *  lw_path = it_data-file_nam.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename = filename1
          filetype = 'BIN'
        TABLES
          data_tab = archivobject.
    * Object to be archived
          select single * from toaom where ar_object = c_ar_object and sap_object = c_sap_object.
          if sy-subrc <> 0.
            raise UPLOAD_ERROR.
          else.
    * Authority check with Archive id
            archiv_id = toaom-archiv_id.
            perform authority_check_create(oaall)
            using archiv_id object space ar_object space
            changing sy-subrc.
            if sy-subrc ne 0.
              raise UPLOAD_ERROR.
            else.
              if sy-subrc <> 0.
                raise UPLOAD_ERROR.
                clear toav0.
              else." Transfer key for archiving
                toav0-object_id = key.
                if key eq space.
                  Raise FUNCTION_ERROR.
                  clear toav0.
                else.
                  perform create_archive_object_new  .
                endif.
              endif.
            endif.
          endif.
    form create_archive_object_new .
    CALL FUNCTION 'ARCHIV_CREATE_TABLE'
        EXPORTING
          AR_OBJECT                      = lw_ar_object
    *   DEL_DATE                       =
          OBJECT_ID                      = '010001380002'
          SAP_OBJECT                     =  lw_sap_object
    *   FLENGTH                        = '2328'
       DOC_TYPE                       = lw_doc_type
    *   DOCUMENT                       =
    *   MANDT                          = SY-MANDT
    * IMPORTING
    *   OUTDOC                         =
       TABLES
       ARCHIVOBJECT                   =  ARCHIVOBJECT
    *     BINARCHIVOBJECT                = binary
    * EXCEPTIONS
    *   ERROR_ARCHIV                   = 1
    *   ERROR_COMMUNICATIONTABLE       = 2
    *   ERROR_CONNECTIONTABLE          = 3
    *   ERROR_KERNEL                   = 4
    *   ERROR_PARAMETER                = 5
    *   ERROR_USER_EXIT                = 6
    *   ERROR_MANDANT                  = 7
    *   OTHERS                         = 8
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      call function 'ARCHIVOBJECT_CREATE_TABLE'
        EXPORTING
          archiv_id                = archiv_id
          document_type            = lw_doc_type
    *      length                   = '2328'
        IMPORTING
          archiv_doc_id            = i_toav0-arc_doc_id
        TABLES
          archivobject             = archivobject
    *      binarchivobject          = BINARY
        EXCEPTIONS
          error_kernel             = 1
          error_communicationtable = 2
          error_archiv             = 3.
           move i_toav0 to toav0.
        toav0-sap_object = lw_sap_object.
        toav0-object_id = key.
        move archiv_id to toav0-archiv_id.
        move i_toav0-arc_doc_id to toav0-arc_doc_id.
        toav0-ar_object = lw_ar_object.
        move lw_doc_type to toav0-reserve.
        move lw_doc_type to doc_type.
        commit work.
      call function 'ARCHIV_CONNECTION_INSERT'
          exporting
            archiv_id                   = toav0-archiv_id
            arc_doc_id                  = toav0-arc_doc_id
            ar_date                     = ar_date
            ar_object                   = toav0-ar_object
    *     DEL_DATE                    = ' '
    *     MANDANT                     = ' '
            object_id                   = '010001380002'
            sap_object                  = toav0-sap_object
            doc_type                    = doc_type
    *        barcode                     = barcode
          exceptions
            error_connectiontable       = 1
            others                      = 2
    endform.
    FORM getfile .
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_filename     = ' '
          def_path         = '*.*'
          mask             = ''
          mode             = 'O'
          title            = ' SELECTING FILE FOR SOURCE PROGRAM'
        IMPORTING
          filename         = filename
        EXCEPTIONS
          selection_cancel = 3
          selection_error  = 4.

  • Employee Photo upload

    Hi Experts,
    I need to upload the photographs of employee to SAP.
    All the config required for photo upload is done
    These photograph path details and Emp Id will be available in a flat file.
    As BDC approach using OAAD is not able to workout (picking of text file is via a Operating system screen so we can’t record it in BDC) so we used below approach.
    Using GUI_UPLOAD and ARCHIV_CREATE_DIALOG_META .
    The above approach works FINE for foreground and presentation server upload.
    Now the requirement is:
    I have 2 questions.
    1. It is not working for background processing.
    2. The photo has to be called from app server (images available on App. Server (UNIX)). is it possible to get JPEG file from app server without using GUI_UPLOAD?
    If it is possible do guide me.
    Regards,
    Rahul

    I thought I'd share this with everyone.   We figured out how to load pictures in batch processing using pictures stored on a unix server.   The code below is what we are using.    For now, I'm using a driver file from the local drive to determine which picture goes with which associate, but we plan to automate this by storing the pictures with the associate number in the name.   We'll then read the directory each night and load any new pictures.    I thought I'd share what we discovered for now so you can build what you need for your side. 
    REPORT ZHR_EMPLOYEE_PICTURES_UPLOAD
    NO STANDARD PAGE HEADING LINE-SIZE 255.
    Program Title: Program to mass load employee pictures into HR module
    INCLUDE
    PARAMETERS:
      P_INFILE   LIKE RLGRAP-FILENAME
                 DEFAULT 'c:\PICTURE.TXT',
      P_UNXDIR   LIKE RLGRAP-FILENAME
                 DEFAULT '/usr/sap/data/WINDOWS_DFS/'.
    I N T E R N A L   T A B L E S
    DATA : BEGIN OF INFILE_DATA OCCURS 0,
           IN_LINE(80)   type c,
           END OF INFILE_DATA.
    DATA : begin of inrec,
           raw(1024) type x,
           end of inrec.
    DATA : begin of itab occurs 0,
           raw(1024) type x,
           end of itab.
    Data: WS_FILENAME   TYPE STRING,
          WS_OBJID      LIKE SAPB-SAPOBJID,
          WS_FILELENGTH TYPE I,
          WS_FLENGTH    LIKE SAPB-LENGTH.
    S T A R T - O F - S E L E C T I O N
    START-OF-SELECTION.
    Read input file that controls which picture goes with which associate.
      CALL FUNCTION 'WS_UPLOAD'
        EXPORTING
          FILENAME = P_INFILE
          FILETYPE = 'DAT'
        TABLES
          DATA_TAB = INFILE_DATA.
      IF SY-SUBRC NE 0.
        WRITE : / 'Unable to upload data'.
        STOP.
      ENDIF.
      LOOP AT INFILE_DATA.
      Determine file name and personnel ID from input file.
        concatenate P_UNXDIR INFILE_DATA-IN_lINE+9(71) into WS_FILENAME.
        WS_OBJID    = INFILE_DATA-IN_LINE+0(8).
      Clear table holding picture data.
        clear ITAB.
        refresh ITAB.
      Reset overall file length variable.
        ws_flength = 0.
      Open dataset to read in binary mode.
        open dataset WS_FILENAME for input in binary mode.
        do.
        Read file one record at a time in binary mode.
          clear inrec.
          read dataset WS_FILENAME into inrec
               maximum length 1024
               actual length ws_filelength.
        Determine accumulated file length as each record read in.
          ws_flength = ws_flength + ws_filelength.
        Last record of file will cause sy-subrc to not be 0 and will be
        less in length than record size.
          if ws_flength > 0.
            move inrec to itab.
            append itab.
          endif.
        end loop at end of file.
          if sy-subrc ne 0.
            exit.                    "end of file must have been reached
          endif.
        enddo.
        close dataset WS_FILENAME.
      Add picture file to content server for specific associate.
        CALL FUNCTION 'ARCHIV_CREATE_TABLE'
          EXPORTING
            ar_object       = 'HRICOLFOTO'
            object_id       = WS_OBJID
            sap_object      = 'PREL'
            flength         = WS_FLENGTH
          TABLES
            binarchivobject = ITAB.
        IF SY-SUBRC = 0.
          WRITE : / WS_OBJID+0(8), ' -- picture loaded: ', WS_FILENAME,
                                   ' -- length: ', WS_FLENGTH.
        else.
          WRITE : / WS_OBJID+0(8), ' -- Unable to load pic: ', WS_FILENAME,
                                   ' -- length: ', WS_FLENGTH.
        ENDIF.
        clear INFILE_DATA-IN_LINE.
      ENDLOOP.

  • I tried to implement photo albums using iweb and got a publishing error.

    I tried to implement photo albums using iweb and got a publishing error. All was fine with my site until I added the photo album page. The software doesnt say what the error is exactly, only that it is a publishing error to my ftp
    Exact message "There was an error communicating with the FTP server. Try again later, or check with your service provider."
    If I reduce the albums inside to 1 then it seems to work but that takes away from the usefullness of multiple albums.
    my iWeb version is 3.0.4 (601)

    Publish your site to a folder on your hard drive to see if the publication will proceed successfully and open the site locally with your browser to confirm all of the alums are there and work.  If they do try the following:
    delete the iWeb preference files, com.apple.iWeb.plist and com.apple.iWeb.plist.lockfile, that resides in your Home() /Library/Preferences folder.
    go to your Home()/Library/Caches/com.apple.iWeb folder and delete its contents.
    Click to view full size
    launch iWeb and try again.
    If you're still not able to publish from iWeb to your server download and use the free  Cyberduck to upload your website files to the server. Users have found that CD has been successful when iWeb had problems.
    OT

Maybe you are looking for

  • 10.8: Copying calendars over from an unbootable image

    My server's hard disk became corrupt and was no longer bootable, nor repairable to the point where it's bootable.  I have a complete disk image of the unbootable volume.  I also have a bootable image of that same server but it's a few months old and

  • Tab canvas error

    Dear All I am using forms 10g. I have a tabbed canvas and on that i have to create around 15 tabs. I have already created 10 tabs . Now if i try to add one more tab then when i run the form it is showing some error . Please check this error here :- h

  • Simple Question: new() from Generic

    I have a simple Class: public class Test<T>   public void test()     T obj = new T(); //error }I get the error: found : type parameter T required: class Suppose this isn't possible in java? Thanks!

  • BW-CRM extraction tcodes

    Hi, can anyone provide me list of CRM-BW extraction related transaction codes. Pls help. Regards, Ryan

  • Microsoft SCOM 2007 connector

    Hi, i would like to know if there is any way to connect Microsoft system center operations manager with Grid Control. Is there a connector that could help me? Thank you for your answer. regards Andrej