Employee Photo (Archive Linik)

hi people,
i want to use the employee photos in sap hr (oaoh -> pa20/pa30) in an external application. for that the application needs the "link" to where the photos are stored. it needs the protokoll (ftp or http) and an adress. what is the protokoll archive linke uses? and does anybody know the adress of the stored photos?
thanks and regards ricky

Hi Richard,
Have a look at this link:
http://www.sd-solutions.com/documents/SDS_Employee_Photos_v4.7.html
hope it helps,
Naveen

Similar Messages

  • Upload Massive Employee Photo into SAP - Archive link - SAP ECC 6.0

    Dear all,
    I try to insert the employees photo in Archive Link (release 46).
    I write a massive report to do a batch input, but I cannot insert the path and the name of the picture.
    Because the BTC don't memory the "call method cl_gui_frontend_services=>file_open_dialog"
    I wrote the folowing report
    *& Report  ZHR_BDC_UPLOADPIC
    REPORT zhr_bdc_uploadpic
         NO STANDARD PAGE HEADING LINE-SIZE 255.
    * include
    INCLUDE bdcrecx1.
    * i n t e r n a l t a b l e s
    DATA : BEGIN OF it_data OCCURS 0,
         rp50g-pernr(8), " LIKE RP50G-PERNR,
         rlgrap-filename(128),
      END OF it_data.
    * s t a r t - o f - s e l e c t i o n
    START-OF-SELECTION.
      PERFORM open_group.
      CALL FUNCTION 'UPLOAD'
        EXPORTING
          filename                = 'C:\PICTURE.TXT'
          filetype                = 'DAT'
        TABLES
          data_tab                = it_data
        EXCEPTIONS
          conversion_error        = 1
          invalid_table_width     = 2
          invalid_type            = 3
          no_batch                = 4
          unknown_error           = 5
          gui_refuse_filetransfer = 6
          OTHERS                  = 7.
      IF sy-subrc NE 0.
        WRITE : / 'Unable to upload data'.
        STOP.
      ENDIF.
      LOOP AT it_data.
        PERFORM bdc_dynpro      USING 'OANEWCON' '0100'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=NEW'.
        PERFORM bdc_field       USING 'TOAOM-SAP_OBJECT'
                                      'PREL'.
        PERFORM bdc_field       USING 'TOAOM-AR_OBJECT'
                                      'HRICOLFOTO'.
        PERFORM bdc_dynpro      USING 'SAPLOA12' '0200'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=OK'.
        PERFORM bdc_field       USING 'OBJID-VALUE(01)'
                                      it_data-rp50g-pernr.
        PERFORM bdc_field       USING 'OBJID-VALUE(02)'
                                      '0002'.
    *---- not exist - begin
    *    PERFORM bdc_dynpro      USING 'SAPLOPTM' '0105'.
    *    PERFORM bdc_field       USING 'BDC_CURSOR'
    *                                  'SAPB-SAPPOOLINF'.
    *    PERFORM bdc_field       USING 'BDC_OKCODE'
    *                                  '=OKAY'.
    *    PERFORM bdc_field       USING 'SAPB-SAPPOOLINF'
    *                                  it_data-rlgrap-filename.      "JPG'.
    *---- not exist - end
        PERFORM bdc_dynpro      USING 'OANEWCON' '0100'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/EBACK'.
        PERFORM bdc_transaction USING 'OAOH'.
        CLEAR it_data-rlgrap-filename.
      ENDLOOP.
      PERFORM close_group.
    Could you help me to understand a different method to upload the pictures?
    Thank you in advance.
    Best regards
    Luca Moschioni

    Hi,
    for uploading the photograph you need to do some customization.
    1. Initial customization
    Execute transaction code OAQ1 and put X in all the boxes.
    Execute t code OAB4 and schedule the job
    Execute t code SPAD and configure an output device
    Execute T code OANR and configure the number range
    Execute T code OAGI and deactivate Print list management system
    EXecute T code SA38 and execute program RAPARAM and check for rspo/archive_format and make sure it should have 2 assigned on it.
    2. Execute t code OAC0 and configure content repository
        Execute t code OAC2 and make your document type
        Assign JPG doc class to your doc type made in OAC2 in t code OAC3.
    3. Now go to transaction code OAD5 and configure your settings
       Come to t code OAWD and upload all your scanned photo to SAP
    I know the procedure is tedious and lenghthy but there is no way out.
    If it helps you then reward it.
    Enjoy
    For further help contact at [email protected]

  • Displaying Employee Photo using WDA  in ESS

    Hello Experts,
    We have a requirement to dispaly employee photo in ESS.We are implementing ESS with Webdynpro ABAP.
    we have created one archive link in R3(Content repository)
    Please help me..
    1) how to call this archive link from WDA...is there any standard WDA application in ESS
    2) what is the correct process to display employee photo in ESS.
    3)can we use Colloboration Demo role?
    4) can we user Who's Who role? how we need to enable this role?
    Please help..many of you have worked on this type of requirements..please share your thoughts and solutions..
    thanks in advance for your help..
    Regards
    EP user1

    Dear Vinodh
    Normally there might be many reasons for pics not getting displayed, as u have said that the photo is already visible in R/3 then u need to check the following things
    1) check S_WFAR_OBJ authorization object has been maintained or not.
    2) Access T-code PZUSWHO & check whether the following settings are maintained or not.
    Check these links as it entails how to upload the Photos
    How to upload photos in SAP
    Employee Photographs Mass Uploading to Backend System (ECC)
    Kindly come up with screen shots,
    Hope this solves ur problem.
    Cheers
    Pradyp

  • Employee Photo Options?

    All,
    We are currently using a simple web repository to surface employee photos in SAP and non-sap content. We've configured ArchiveLink based employee photos in our sandbox environment and have an idea how that works. On one hand we'd like to pursue a standard SAP based solution for photos but are concerned that performance could suffer as the biggest consumer of our employee photos is SharePoint and SharePoint Search, sometimes serving up 25-100 photos per page. Does anyone have any experience with performance issues with employee photos in ArchiveLink? The archive.dll will prevent browser caching being a benefit. Any experiences in this area?
    Also, what other options have been explored? Is anyone aware of any non-ArchiveLink based architectures that would be SAP supported, (work with sap content out of the box, but be performance friendly for O-SAP apps)? Anyone have experiences with employee photo architectures with Active Directory based photos or web repository, again that would be SAP supported and work with SAP content out of the box?
    Any insights, links would be greatly appreciated.
    Thanks,
    Doug

    Two SAP "ways" that are supported with standard services (like Who's Who from ESS)...
    1. ArchiveLink (as you are well aware)
    2. Make use of KM from the portal (since KM is basically a content server plus much more)...(*there is a portal equivalent to Who's Who that you can find info on)
    #2 makes it much better from a performance standpoint. Also, SharePoint should be able to utilize the same repository.

  • Employee photo upload in portal and to be saved in infotype 0002

    Hi Everyone,
           I got an requirement where in ESS Portal, through "Change Own Data" link, employee is uploading his photo and it has to be saved in infotype 0002. Below are the doubts i have,
    1. There is no field for photo in infotype 0002, so how it will be saved in 0002.
    2. After uploading and clicking preview button, error was raising saying 'Error when archiving the photo'.
    3. I seen in many forums that the employee photo is visible from PA30. how it will be visible in that tcode ?

    Hi  Chris McNarney,
          Sorry for long delay for replying.. According to you,
    1. I checked the service under /default_host/sap/bc/conentserver/ it was activated and moreover below is the logon data,
            Client           500
         User             XXXXXX
         Language
         Password Status  Set
    and what is the use of this logon data..
    2. According to your link [https://wiki.sdn.sap.com/wiki/display/ERPHCM/Add%20Employee%20Photo%20on%20Infotype%200002?showChildren=false|https://wiki.sdn.sap.com/wiki/display/ERPHCM/Add%20Employee%20Photo%20on%20Infotype%200002?showChildren=false],
    there it has  4.7 version in that they told to create A2 repository with Tcode: OAC0 with details,,
         While creating the repository, keep the Document Area blank, Storage type as R/3 database, Rep. Sub-type will appear as Normal by default, Version No. as 0046 and in Contents table put 'SDOKCONT1' as the table name.
        With that screen im am not able to find table name field to put 'SDOKCONT1' as input and moreover SAP system database is there instead of getting R/3 database for storage type. Screen detilas below,
    Content Rep.    A2                               Active
    Description
    Document Area
    Storage type
    Version no.     0046   Content Server version 4.6 as the table name.

  • How to get (OAAD tcode) employee photo into sapscript / smartforms??

    Hi!
    I need to insert the employee photo jpeg (from oaad) into an sapscript or smartforms.
    It's possible to do dynamically? (without file conversion)
    Thanks

    Hi,
    I m providing u with this link, u may get some idea .
    How to display the employee photo in a smartform
    or
    These are all the steps to upload the Photo.
    1. Create a number range for SAP Archive Link :
    IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain number ranges.
    Tcode: OANR
    Create range 01 from 0000000001 to 9999999999 without the external number flag.
    2. Document type HRICOLFOTO must exist with document class JPG.
    IMG>Basis Components>Basis Services>SAP Archive Link>System Settings>Maintain document types.
    Table: TOAVE
    Tcode: OAC2
    3. Document type HRICOLFOTO must be linked to object type PREL and IT0002.
    IMG>Personnel Management>Personnel Administration>Tools>Optical Archiving>Set up Optical Archiving in HR.
    View: V_T585O,
    In all three columns there are minuses, don't put a flag in the check box.
    4. Check which content repository (Archive) is linked to document type HRICOLFOTO and object type PREL.
    IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain Links.
    Table: TOAOM_C,
    Tcode: OAC3
    5. Create this content repository with storage type FILE archive.
    IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain content repositories.
    Tcode: OAC0
    Storage type FILE archive can be attained by clicking on the field Storage type and clicking somewhere else in the screen with the right mouse button. Choose Possible entries and only then you get a list of all values. FILE Archive is entry number 08. Choose Version no. 0031 and Archive path something (e.g. C .
    6. Link photo to personnel number.
    Menu>Tools>Business Documents>Miscellaneous>Stored Documents.
    Tcode: OAAD
    Thanks,
    Mamta Kumari

  • BSP error when trying to  upload employee photo

    ,<h1>.Dear Experts,<</h1>
    <h2>I am trying to upload employee photo on my SAP system DB.
         I am following note 595563 and performing below mentioned activities.</h2>
           <h3> * Make sure that the HTTP plugin is active.</h3>
        <h4>  Transaction SMICM, "Display Services" function key (shift F1). The list of services must contain a port other than 0 for HTTP. If not, you must adjust the relevant profile parameter.
         Typical entry:
          icm/server_port_0         PROT=HTTP, PORT=1080, TIMEOUT=900
    Make sure that the /sap/bc/contentserver service is active.
          Transaction SICF, select: default_host - sap - bc - contentserver. Select the function to display/change the service. Check that a user is defined.
          If a user is not defined, use Transaction SU01 to create a new user. Use the "System" user type. Assign the profiles SAP_ALL and SAP_NEW to the user.
          Using the relevant data from the user that has just been created, maintain the anonymous logon data for the service /default_host/sap/bc/ and then save the changes.
    Check the system PSE.
          Start Transaction STRUST. Expand the system PSE. The system PSE must be green for each application server.
    Determine a suitable exchange directory.
          The archive system must be accessible from every application server. If all application servers are running on the same platform (for example, Windows), one network directory that is accessible on all application servers (for example,
    server\share) is sufficient. You can generally use the global directory (profile parameter DIR_GLOBAL). You can use report RSPARAM to determine the profile parameters.
    Setting up the storage
    Create a table for storing the data.
          Use Transaction SE11 to create a copy of table SDOKCONT1. If you want to create the repository database, you can call the table ZCONT_DB, for example.  Save the table as a local object. Activate the table.
    Create the repository.
          Use Transaction OAC0 to create a new repository.
          Use the following parameters:
            Repository                              Max. two characters, for example, DB
            Document area ArchiveLink
            Storage type    R/3 database
            Storage subtype normal
            Version no.      0046
            Contents table <table name>     for example: ZCONT_DB
            Exchange directory   <directory name>          for example:
    server\share\
          Note that the exchange directory ends with a \ (or a / on Unix). If you are using a variety of platforms, you must use Transaction FILE to define a suitable logical file name, and use this file name.
          Save the settings.                                                                               
    </h4>
      <h5>
    Everything goes well  but when i try to test the Repository created by  RSCMSTH0 in SE38 it throws the error </h5>
      HTTP error: 404 Business Server Page (BSP) Error
    Message no. CMS025
    Diagnosis
    Error in accessing via HTTP
    404 Business Server Page (BSP) Error
    Please help. M i missing anything ..?
    <h6>Regards,
    Alok</h6>
    Edited by: Nikhil Manjrekar on Aug 14, 2009 9:45 AM
    Edited by: Nikhil Manjrekar on Aug 14, 2009 9:45 AM

    Hi,
    I am getting same problem what is the solution??
    Thanks
    Santhosh

  • How to display employee photo in pdf through WebDynpro OR ABAP print Progr?

    hi,
    I have uploaded employee photos using TCODE OAOH. Now all the employee photos are stored in Archive link.
    Now my requirement is i have get the employee photo and display it in PDF using PDF forms and  webdynpro OR using ABAP print program.
    I am able to get the employee photo from SAP archive link using ABAP code. After this i have to upload this to MIME reository. From MIME repository i have to display it in PDF forms from WEbDynpro.
    I tried with ABAP print program, directly calling the PDF form in program and display the employee data with Employee Photo. With my program i am able to see only employee data. But it's not displaying employee Photo.
    Plz any helps to display employee photo in PDF forms using either webdynpro OR ABAP printprogram.
    If ur reply is related to WebDynpro, pla tel me how to upload photo to MIME repository From Archive Link.
    Since all the employee photos are uploaded into Archive link using Tcode OAOH. From this i have to get the employee photo and upload it to MIME repository and i have to display it in PDF forms.
    Any help are appreciated.......
    Regards,
    Shankar.

    Hi Sankar,
    1)You can use the program BSP_UPDATE_MIMEREPOS to upload the photos in the mime repository.
    2)Use the following code to get the content from your mime and set the content to your interactive UI element as Xstring format.
        data:
        mime_repository type ref to if_mr_api,
        content type xstring,
        url type string value '/SAP/BC/BSP/SAP/myBSPapplication/rajkumar.jpg'  .
      mime_repository = cl_mime_repository_api=>get_api( ).
      call method mime_repository->get
        exporting
          i_url     = url
        importing
          e_content = content.
      wd_context->set_attribute( name = 'DATAS' value = content ).
    Thanks,
    Rajkumar.S

  • Mass upload of employee photos in OAOH

    Dear all,
    In OAOH transaction, if you type in the business object PREL, and doc type HRICOLFOTO, a small dialog box appear and you type in the employee no.  Afterwards, another window dialog box appear prompting the file name/path....
    I would like to know if there is any method to mass upload thousands of employee photos, since batch input does not work in the file/path selection screen (window's dialog box)
    Thanks a lot for your help !
    patrick

    Hi Patrick,
    Generally it is not suggested to Upload Photograph using Mass Upload.... normally it is one to one ... one perer at a time.
    But if its too urgent and critical then fallow this steps.
    1) Store the Photograph of the Employee as the PERNR.JPG (PERNR = EMPLPYEES PERSONNEL NUMBER) at a predifined location.
    2) Have a text file with all the pernr for whom you want to upload the photo and the JPGs you have in the folder.
    3) Use this Function module with the loop for all the PERNR
    * Function module to update Tran OAAD
    * Create file path (Directory)-(Employee No.).JPG
        CONCATENATE 'dir where the file is stored' wa_pernr-pernr '.' 'jpg' INTO lw_path.
    * Assign Values
        lw_ar_object  = text-002.         "HRICOLFOTO
        lw_object_id  = wa_pernr-pernr.
        lw_sap_object = text-003.         "PREL
        lw_doc_type   = text-004.         "JPG
        CALL FUNCTION 'ARCHIV_CREATE_FILE'
          EXPORTING
            ar_object                     = lw_ar_object
    *   DEL_DATE                      =
            object_id                     = lw_object_id
            sap_object                    = lw_sap_object
            doc_type                      = lw_doc_type
            path                          = lw_path
         EXCEPTIONS
           error_conectiontable          = 1
           error_parameter               = 2
           error_archiv                  = 3
           error_upload                  = 4
           error_kernel                  = 5
           no_entry_possible             = 6
           error_comunicationtable       = 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.
    This will help you to create the Archive link.
    Hope this helps you.
    ~Bhawanidutt

  • Employee photo upload issue

    Hello Experts,
    i am uploading a photo wih the help of abaper but problem is when i run t code OAC0 and create repository for that
    storage type should be type as R/3 database .but when I  am selecting it is not coming another option is comes HTTP CONTENT SERVER.
    Wiil u plz help me out?
    i used below step
    Now Create the A2 repository with Tcode: OAC0
    While creating the repository, keep the Document Area blank, Storage type as R/3 database, Rep. Sub-type will appear as Normal by default, Version No. as 0046 and in Contents table put 'SDOKCONT1' as the table name.
    Thanks and Regards
    Jaydeep Jadhav

    U can follow the following steps.
    Configuring Employee Photos
    Create Number Range
    A number range must be created for SAP Archive Link.
    Transaction code: OANR
    For this process, additional authorisation is required for S_NUMBER = 03 ARCHIVELNK.
    In u2018Intervalsu2019, create number range 01 from 0000000001 to 9999999999 without the external number flag.
    This is likely to already exist.
    Assign Documents Class
    Document type HRICOLFOTO must exist with document class JPG.
    Transaction code: OAC2
    Table TOAVE
    Document type settings
    Document type HRICOLFOTO must be linked to object type PREL and Infotype 0002.
    Transaction code: SM31
    Table V_T585O (View)
    Set all three columns here to minuses and don't put a flag in the check box.
    Content Repository
    Create a content repository with storage type FILE archive.
    Transaction code OAC0
    IMG: Basis Components --> Basis Services --> SAP Archive Link --> Basic Settings --> Maintain content repositories
    Swap from display to amend. Select a current entry and u2018copyu2019 or just hit u2018createu2019. Then select .
    Then fill in the details as below:
    Choose a two character name u2013 can use Zx (where x is a number) if you wish to use the customer namespace
    Choose the relevant description
    Set DocArea to be u2018Archive Linku2019
    Storage type u2013 set to R/3 Database
    Protocol u2013 leave blank
    Choose Version no. 0046 (or the latest one that is available)
    Contents table u2013 set this to SDOKCONT1
    Basic Path u2013 c:\ (this should be set to where the photos are all held)
    Archive Path u2013 c:\ (this is the area from where the photos are retrieved)
    Output Device u2013 can leave blank
    Enter the path name where the photos are to be loaded from. Note this is for loading only. When the photos are linked into the sap system (see later), actually, SAP takes a u2018copyu2019 and stores it elsewhere. The path may only need to be entered to u2018Arch.pathu2019, but entering to all three doesnu2019t seem to hurt.
    Maintain the required Basis Service
    Transaction code: SICF
    Here you activate the Content Server Interface.
    First you need to create a user profile u2013 with sufficient authorisations to carry out the processes which are done by the system in the background. Ideally this should be a background user for a notional/dummy user. You can use your own user ID after which SAP will warn you that this is a dialogue user account. If you do use your own user ID, change it as soon as you have tested the config. Once you have finished the project, the chances are that your user account will be deleted from the system which will subsequently stop this service from working.
    Double-click on u201Ccontent serveru201D in the left hand tree structure. You can find it under default_host --> sap --> bc --> content server
    Once you have done this click on the refresh icon and make sure that the service is activated. If it is activated, the writing should be in bold (as opposed to greyed out)
    Check which content repository (Archive) is linked to document type HRICOLFOTO in object type PREL
    Transaction code: OAC3
    Table TOAOM_C
    Set the u2018Content Repositoryu2019 field to the one you set up in the step above.
    Note the Ret.per. field is the retention period for the photo in MONTHS. (so the default is 833 years and 3 months!)
    Link photo to personnel number
    Transaction code OAAD
    Click on the Create u2013 Store and Assign button. Enter Business Object PREL and Document Type HRICOLFOTO. Click on create(F8).
    Enter the Personnel Number of the employee you want to link the photo to.

  • 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

  • Is it possible to upload employee photo into IT 0002 in ECC 6.0

    Hello Guru's,
    I have a requirement to upload employee photo's to Infotype 0002, so gone through all the steps in the threads posted here and felt that all were for R/3 4.6 n 4.7 only.
    I have a different set up in few tables like OAC0 in ECC 6.0.
    Request you all to let me know if uploading of employee photo is possible in ECC 6.0 ?? if so, let me know the configuration steps.
    with screen shots are more appreciated.
    Regards,
    Priya.

    You'll find the customizing settings in :-
    IMG - Personnel management - personnel administration - customizing user interfaces - change screen header.
    Regarding the archiving part you better ask your basis admin to set that up for document type HRICOLFOTO.
    2) Photo in the PA IT0002 In version 4.0B it worked
    1. Define physical archives using transaction OAC0 Arx. ZZ
    2. Assign objects types & document types to archive & documents tables for Obj PREL , doc.type HRIEMPFOTO,
    Arx. ZZ using transaction OAC3
    3. Define number range using transaction OANR
    4. Using transaction OAC2 define doc.typ & tech doc types for exmpl. HRIEMPFOTO - TIF
    5. Create protocol for Archive link using transactions OAA3 for exmpl. Comm.prot.,version. Generate it will define
    application type from list and so on.
    6. In the table 585O define relevant infotype for object and document type for exmpl. for it0002
    7. Using transaction OAAD create link for PERNR with relevant infotype & files on the server, which described on the
    first step.
    Link:Uploading Employee photos against IT0002 in ECC 6.0

  • Show Employee Photo in Sapscript

    Hello,
    I wish to know if it's possible displaying the employee photo, stored in the Archive Link, in a Sapscript.
    Thank You all beforehand.

    Hello Bharat,
    Sadly the employee photos are already loaded in ArchiveLink to make them available in transactions PA20 and PA30,  so  we are looking for a way to use it in some Sapscripts and Smartforms without reload all of them.
    Thank you very much.
    Regards
    Manuel

  • Use employee photo in SMARTFORMS

    Dear all,
    As we know, we can upload employee photo so that the employee photo can be seen when user browses through transaction code such as 'PA30/PA20'. Where as the employee photo is uploaded through the transaction code OAAD so the picture is stored as an Archive-Link document.
    Currently I have a requirement to create a custom form using SMARTFORMS which can show the employee photo in the form. I've been reading through this forum and find negative responses for this kind of requirement because:
    1.Smartform can only uses 'BMP' type picture
    2. Smartform can only uses graphic object stored through the transaction code: SE78.
    Is there anybody who has found a way around this problem and uses uploaded employee photo within the smartform. Kindly share the solutions.
    If we can't uses the uploaded photo, is it possible for a smartform to uses a picture which is put in a file server.
    Best Regards
    -Suwardi Nursalim-

    You can use the HTML control to display photos from your archive server.  You can do this with a couple of function calls which returns the URL of the photo on the server.  Then pass the URL to the HTML viewer.
            CALL FUNCTION 'HR_IMAGE_EXISTS'
              EXPORTING
                p_pernr                     = pernr
    *   P_TCLAS                     = 'A'
               p_begda                     = sy-datum
               p_endda                     = sy-datum
             IMPORTING
               p_exists                    = image_exists
               p_connect_info              = image_info
             EXCEPTIONS
               error_connectiontable       = 1
               OTHERS                      = 2
            IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
            CALL FUNCTION 'ARCHIVOBJECT_GET_URI'
              EXPORTING
                objecttype               = image_info-sap_object
                object_id                = image_info-object_id
              TABLES
                uri_table                = uri_tab
              EXCEPTIONS
                error_archiv             = 1
                error_communicationtable = 2
                error_kernel             = 3
                error_http               = 4
                error_dp                 = 5
                OTHERS                   = 6.

  • Calling infotype 0002 in ALV  report for showing employee photo

    Hi all,
    The requirment from business side is a report in which employees personal data shuold be shown with employee photo, I had tried for employee photo in ALV report but it didnt sucessed, then I went for other solution like calling transaction in ALV report.
    In this case I am calling Infotype 0002 but the issue is that the transaction PA20 is coming with PERNR but I am not able to go directlly to infotype which shows employee Photo,please suggest any solution.
    Thaks.
    JAY

    Hi Jay,
    It is possible. Please refer the syntax for the CALL TRANSACTION
    CALL TRANSACTION ta { [AND SKIP FIRST SCREEN]
                        | [USING bdc_tab [bdc_options]] }.
    You can do a recording till the required page comes & call the transaction accordingly. Hope, you are aware about the same.
    For example, I just had a solution to go to the roles tab in the user profile and I did as below:
        CLEAR wa_bdcdata.
        wa_bdcdata-program  = 'SAPLSUU5'.
        wa_bdcdata-dynpro   = '0050'.
        wa_bdcdata-dynbegin = k_ok.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam  = 'BDC_CURSOR'.
        wa_bdcdata-fval   = 'USR02-BNAME'.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam  = 'USR02-BNAME'.
        wa_bdcdata-fval   = g_value.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam  = 'BDC_OKCODE'.
        wa_bdcdata-fval   = 'SHOW'.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-program  = 'SAPLSUU5'.
        wa_bdcdata-dynpro   = '0100'.
        wa_bdcdata-dynbegin = k_ok.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam  = 'BDC_OKCODE'.
        wa_bdcdata-fval   = '=ACTG'.
        APPEND wa_bdcdata TO it_bdcdata.
        g_opt-dismode = 'E'.
        g_opt-defsize = k_ok.
    *** if user click on the User Name, call SU01
        CALL TRANSACTION 'SU01' USING it_bdcdata
                    OPTIONS FROM g_opt.
    Regards,
    Selva K.

Maybe you are looking for

  • How to put UC320 is "Day Mode" if in automatic scheduling?

    If the UC320 is using automated scheduling, how can a local user take the unit out of 'night mode' if they want to open before the normally scheduled time?  Example:  Schedule set for "day mode" from 9:00 to 5:00 M-F.  They have need to open at 8:00

  • Problems using TimeMachine from two Macs to IOMega Home Media Drive

    Hi, This has been driving me crazy for a couple of weeks now, so I'm hoping that someone here can point me in the right direction. I have a PPC G5 and my wife uses an iMac. I recently bought an IOMega Home Media Drive and wanted to use it with TimeMa

  • Files are read only to administrator

    I installed X-Plane on my iMac (I am new to Mac) and I found that the X-Plane folders are all Read Only, with no padlock or option to amend the Permissions. In order to be able to add new options to X-Plane I need to be able to create a new sub folde

  • How do i cancel a purchase on here?

    i ordered an album on here and now its giving me a thing where it says there was a problem with the purchaase and kept askin for the security code on my grandmas credit card, but she cancelled that card shortly after, so now i cant give them the secu

  • How to query ICP difference?

    From ICP report, I can see the difference between two entities. How to show it in data grid?