Put employee picture in Smartform

Hi,
I have a problem... I have to put in a smartform The employee picture ( like PA20 or PA30 )
I checked the following functions :
HR_ESS_WHO_PROG_GET_PICT_URI
HR_ESS_WHO_PROG_GET_PICTURE
But Those aren`t the solution ...
Somebody has an idea to solve my problem

Hi,
For putting the Picture in the smartform you must have employee's picture in the system.
Then fetch that picture from the table based on the employee number and call this picture in the smartform dynimcally as per the employee records.
First to findout in which table the pictures are getting saved and whats the logic for retreiveing those pictures.
With Regards,
Sumodh.P

Similar Messages

  • How to get Employee Picture in Smartforms

    Hi Experts
    Please help me out in getting employee picture in Smartforms
    I have used the following FMs
    1. HR_IMAGE_EXISTS
    2. SCMS_DOC_URL_READ
    By using these two FM i got the URL and i am able to get the picture in my Report Program,by using FM 'ISM_URL_SHOW'.
    But Please tell how to get this picture in Smartform .
    As i am generating Employee Biodata and in that i need employee Picture.
    Please HELP me ....
    Thanks & Regards
    Shaveta Prabhakar

    Hi,
         U need pictures in smartforms for that just try this one I think so it will help full to u.
          First Upload that picture in the se78 that photo must be in the bitmapformat(picture.bmp).
    steps are:
             goto se78>graphics->import--->it asks the file path here,fill those details
    Then goto Smartform--->In which page u want to put the picture,
              there click that page  and goto Background picture,
             here give the name of that picture and select the resolution and positin of the picture there. 
               Then u will get the picture in the output.
    Regards,
    Surya

  • How to fetch Employee Picture in Smartforms

    Hi Experts
    Please help me out in getting employee picture in Smartforms
    I have used the following FMs
    1. HR_IMAGE_EXISTS
    2. SCMS_DOC_URL_READ
    By using these two FM i got the URL and i am able to get the picture in my Report Program,by using FM 'ISM_URL_SHOW'.
    But Please tell how to get this picture in Smartform .
    As i am generating Employee Biodata and in that i need employee Picture.
    Please HELP me ....
    Thanks & Regards
    Shaveta Prabhakar

    Hi Shaveta,
    The question has been raised earlier as well on SDN.
    Please search for 'Smartforms dynamic picture' on sdn and you will get a good number of solutions.
    The one answer which i found to be promising one is the one which mentioned somethig like:
    <b>Create a graphic node in the Smartform and under the tab 'General Attributes' fill the Name, Object and Id with variables (e.g. &NAME&, &OBJECT& and &ID&) and fill these parameters to get the picture you want at runtime.</b>
    See if this helps.
    check this link too
    smartforms dynamic logo
    and revert for more clarifications if any.
    <b>Always reward points to useful suggestions.</b>
    regards,
    Vikas

  • Displaying Employee Photo in smartform in SAP-HR

    hi all,
    how can i display employee photo in smartform which is not uploaded in the sytem with tcode se78 but throgh diff tcode (OAAD) by HR functional. There are mainly two parts: 1. Procedure to retrieve that photo from the system
                              2. Display it in the smartform.
    This photo is stored as graphics and so in  smartform i am unable to put the name in graphic option which we normally follow.Please suggest what can i do.
    Regards
    Raj

    THe below links should help you
    Smart forms
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
    http://www.sap-img.com/smartforms/smart-001.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sap-img.com/smartforms/smart-002.htm
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    Try to upload the pictures via SE73 as it's described in the Online help.. As far as I remember it works all the mentioned formats
    Please check this FM perhaps they may help.
    HR_IMAGE_*
    HRWPC_RFC_EP_READ_PHOTO_URI
    HR_ESS_EMPLOYEE_PHOTO_CHECK
    HR_ESS_EMPLOYEE_PHOTO_INIT
    HR_ESS_EMPLOYEE_PHOTO_RESET
    HR_ESS_EMPLOYEE_PHOTO_SAVE
    HR_ESS_EMPLOYEE_PHOTO_SHOW
    HR_ESS_EMPLOYEE_PHOTO_TAKE
    Reward points if found helpful….
    Cheers,
    Chandra Sekhar.

  • Employee Photo In Smartform or Adobe Interactive Form

    Hi Everybody,
    We need to diaplay employee Photo in smartforms or adobe interactive form for Employee ID Card.
    We are not uploading employee photo tru SE78. We need to get Photo from archieve Link, image being displayed in PA20/PA30 transaction.
    I had been tru Many threads, but couldn't find any proper solution.
    Please suggest.
    Thanks in advance.
    Regards
    Ravi

    In forums, there are answers, but not the exact code. The most achieved is that one: Dynamically include a picture in smartform
    Tell us if you need more information.

  • How to put page break in SMARTFORMS

    Hi Guys,
              Can anyone please let me know How to put page break in SMARTFORMS
    Regards
    Avi

    Hi,
    Look at the below thread, you will get the answer
    https://www.sdn.sap.com/irj/sdn/profile?userid=2522810
    Regards
    Sudheer

  • I-photo:  I used 2 cameras to take pictures on a trip --- i have put the pictures from both cameras into an album --- when i click on view and then sort by date, the pictures do not sort by date --- any ideas on how to get the pics sorted by date?

    I-photo:  I used 2 cameras to take pictures on a trip --- i have put the pictures from both cameras into an album --- when i click on view and then sort by date, the pictures do not sort by date --- any ideas on how to get the pics sorted by date?

    Select all the photos that you need to change, then click the "Photos" menu and choose "Adjust Date and Time".
    If you add a year, it will adjust all the photos that you selected by adding a year (so if you accidentally select one of the photos that already has "2012", that will change to "2013"). 

  • How do I put a picture in my gui?

    Can anyone tell me how to put a picture in my gui?
    Thank you

    Someone used my code before I added this new stuff. They took it word for word.
    I apologize if you are getting frustrated with me. Please know I am working very hard on this. Learning Java in just a few weeks to me is impossible so I wil take all the help i can get. I know it must seem very easy to you because you know it very well but I am just learning, maybe you can remember back to when you were learning?
    Anyways i tried this code but it did not work. I didn't get any errors when compiling but nothing showed.:
    JLabel label = new JLabel ( new ImageIcon("test.gif"));
        f.getContentPane().add(label, BorderLayout.NORTH);Here is my code but please keep in mind that alot of it has comments because I have not actually worked on the code for it yet. Just getting the buttons set up is where I am at.
    I really wish that i could look at the examples and just have it be easy to code from it. I tried and I tried and sometimes I can get it but sometimes I just can't.
    Thank you,
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.JFrame.*;
    import java.io.*;
    class Testing
      java.util.List<DVD> dvds = new java.util.ArrayList<DVD>();
      JTextField tfTitle = new JTextField(15);
      JTextField tfGenre = new JTextField(15);
      JTextField tfProductNumber = new JTextField();
      JTextField tfPrice = new JTextField();
      JTextField tfQuantity = new JTextField();
      JTextField tfInventoryValue = new JTextField();
      DefaultListModel dlm = new DefaultListModel();
      JList list = new JList(dlm);
      public void buildGUI()
        JButton btnLoadfile = new JButton("Load File");
        JButton btnAdd = new JButton("Add");
        JButton btnModify = new JButton("Modify");
        JButton btnDelete = new JButton("Delete");
        JButton btnSearch = new JButton("Search");
        JButton btnSave = new JButton("Save");
        JButton btnFirst = new JButton ("First");
        JButton btnPrevious = new JButton ("Previous");
        JButton btnNext = new JButton ("Next");
        JButton btnLast = new JButton ("Last");
        JPanel p1 = new JPanel(new BorderLayout());
        JPanel p = new JPanel(new GridLayout(6,2));
        p.add(new JLabel("DVD Title: "));
        p.add(tfTitle);
        p.add(new JLabel("Genre: "));
        p.add(tfGenre);
        p.add(new JLabel("Product Number: "));
        p.add(tfProductNumber);
        p.add(new JLabel("Price per Unit: "));
        p.add(tfPrice);
        p.add(new JLabel("Quantity on Hand: "));
        p.add(tfQuantity);
        p.add(new JLabel("Inventory Value: "));
        p.add(tfInventoryValue);
        p1.add(p,BorderLayout.NORTH);
        JPanel p2 = new JPanel();
        p2.add(btnLoadfile);
        p2.add(btnAdd);
        p2.add(btnModify);
        p2.add(btnDelete);
        p2.add(btnSearch);
        p2.add(btnSearch);
        p2.add(btnSave);
        p2.add(btnFirst);
        p2.add(btnPrevious);
        p2.add(btnNext);
        p2.add(btnLast);
        p1.add(p2,BorderLayout.CENTER);
        JFrame f = new JFrame();
        //f.setIconImage(new ImageIcon("test.gif").getImage());
        JLabel label = new JLabel ( new ImageIcon("test.gif"));
        f.getContentPane().add(label, BorderLayout.NORTH);
        f.getContentPane().add(p1,BorderLayout.NORTH);
        JScrollPane sp = new JScrollPane(list);
        f.getContentPane().add(sp,BorderLayout.CENTER);
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.pack();
        f.setLocationRelativeTo(null);
        dvds.add(new DVD("StarWars","Action","1245",10.00,5,55.00));
        dvds.add(new DVD("OfficeSpace","Comedy","9821",20.00,5,105.00));
        dvds.add(new DVD("Lost","Drama","9382",25.00,2,52.50));
        dvds.add(new DVD("Friends","Comedy","9824",18.00,5,94.50));
        dvds.add(new DVD("Superman","Action","3652",20.00,10,210.00));
        dvds.add(new DVD("Batman","Action","9583",17.00,7,124.95));
        dvds.add(new DVD("Cinderella","Family","2734",19.00,8,159.60));
        setList();
        f.setVisible(true);
        f.setIconImage(new ImageIcon("Images/test.gif").getImage());
        btnAdd.addActionListener(new ActionListener(){
          public void actionPerformed(ActionEvent ae){
            dvds.add(new DVD(tfTitle.getText(),tfGenre.getText(),tfProductNumber.getText(),
                                    Double.parseDouble(tfPrice.getText()),
                                   Integer.parseInt(tfQuantity.getText()),
                                   Double.parseDouble(tfInventoryValue.getText())));
            setList();
            clearTextFields();
        btnDelete.addActionListener(new ActionListener(){
          public void actionPerformed(ActionEvent ae){
            int index = list.getSelectedIndex();
            dvds.remove(index);
            setList();
            clearTextFields();
            btnModify.addActionListener(new ActionListener(){
               public void actionPerformed(ActionEvent ae){
             int index = list.getSelectedIndex();
            dvds.remove(index);
                 dvds.add(new DVD(tfTitle.getText(),tfGenre.getText(),tfProductNumber.getText(),
                                         Double.parseDouble(tfPrice.getText()),
                                        Integer.parseInt(tfQuantity.getText()),
                                        Double.parseDouble(tfInventoryValue.getText())));
                 setList();
                 clearTextFields();
    // btnSave.addActionListener(new ActionListener(){
    //          public void actionPerformed(ActionEvent ae){
    //                try
    //                  File file = new File("TestSave.txt");
    //                  PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(file)));
    //                  out.println("a line");
    //                  out.println("another line");
    //                  out.close();//<---------very important
    //                catch(IOException ioe){ioe.printStackTrace();}
                  //dvds.add(new DVD(tfTitle.getText(),tfGenre.getText(),tfProductNumber.getText(),
                  //                            Double.parseDouble(tfPrice.getText()),
                  //                           Integer.parseInt(tfQuantity.getText()),
                  //                           Double.parseDouble(tfInventoryValue.getText())));
    //                  setList();
    //                  clearTextFields();
    //    btnSearch.addActionListener(new ActionListener(){
    //          public void actionPerformed(ActionEvent ae){
    //               String Search =
    //               JOptionPane.showInputDialog("Enter name of Movie");
    //               int x =0;
    //               for(x = 0; x < dvds.size(); x++)
    //            DVD dvd = (DVD)dvds.get(x);
    //  if(dvd.title.equals(searchTitle))// or
    //            if(dvd.title.equalsIgnoreCase(searchTitle))
    //        list.setSelectedIndex(x);
    //        break;
    //          if(x == dvds.size()) System.out "not found";
        btnPrevious.addActionListener(new ActionListener(){
               public void actionPerformed(ActionEvent ae){
                 DVD dvd = (DVD)dvds.get(list.getSelectedIndex());
                                int index = list.getSelectedIndex()-1;
                                 if (index <0) index = dvds.size()-1;
                                list.setSelectedIndex(index);
         btnNext.addActionListener(new ActionListener(){
                    public void actionPerformed(ActionEvent ae){
                                  DVD dvd = (DVD)dvds.get(list.getSelectedIndex());
                                   //int index = list.getSelectedIndex()+1;
                                   int index = (list.getSelectedIndex()+1) % dvds.size();
                                list.setSelectedIndex(index);
        list.addListSelectionListener(new ListSelectionListener(){
          public void valueChanged(ListSelectionEvent lse){
            if(lse.getValueIsAdjusting() == false)
              int index = list.getSelectedIndex();//<---
              if(index > -1)//<---
                DVD dvd = (DVD)dvds.get(index);//<---
                tfTitle.setText(dvd.title);
                tfGenre.setText(dvd.genre);
                tfProductNumber.setText(dvd.productNumber);
                tfPrice.setText(""+dvd.price);
                tfQuantity.setText(""+dvd.quantity);
                tfInventoryValue.setText(""+dvd.inventoryValue);
      public void setList()
        dlm.clear();
        for(int x = 0, y = dvds.size(); x < y; x++)
          dlm.addElement((DVD)dvds.get(x));
      public void clearTextFields()
        tfTitle.setText("");
        tfGenre.setText("");
        tfProductNumber.setText("");
        tfPrice.setText("");
        tfQuantity.setText("");
        tfInventoryValue.setText("");
        tfTitle.requestFocusInWindow();
      public static void main(String[] args)
        EventQueue.invokeLater(new Runnable(){
          public void run(){
            new Testing().buildGUI();
    class DVD
      String title;
      String genre;
      String productNumber;
      double price;
      int quantity;
      double inventoryValue;
      public DVD(String t,String g, String pn, double p, int q, double i)
        title = t; genre = g; productNumber = pn; price = p; quantity = q; inventoryValue = i;
      public String toString(){return title;}
    }

  • Why can I not put a picture from camera roll into an album?

    Why can I not put a picture from my camera roll into an album now? When I try these are greyed out. I created these albums on my ipad too but ever since I updated to IOS 7 this can't be done, it was so easy before.

    I can now answer my own question as I've worked it out. For those who are interested click on Shared Streams then on album you require photo to be in then click on the empty box with a cross in the centre and choose photo you wish to add.

  • How to Print Employee Photo using Smartform

    Dear All,
    I have requirement to print Employee photo using Smartform.
    Here I want to give breif backgorund to uploading employee image procedure,we are uploading employee Image using transaction code OAOH by providing Business Object PREL and Document Type HRICOLFOTO. Click on create button on second screen by providing employee Code XXXXXXX and infotype 0002  after click on enter button system ask path for uploading image file.After storing image we can see the employee image by using transaction code PA30 after passing employee code.
    These employee image  I want to print in Smartform layout.If any body have done this type of the requirement.Pl.explain me .
    Thanks ,
    Regards

    Hi ABAP Programmer,
    Refer this link
    i  want to retrieve a photo image of an Employee to display in smartforms
    Regards,
    Sravanthi

  • How do I put a picture in an email

    I want to put a pdf in an email, but not as an attachment, I want the email to open and the picture to all ready be there..just dont know how, thanks for your help

    Thank you Dan! I understand all that. What I don't get is that when I send an email to someone, the only way I can figure to put a picture in the email is by either dragging it onto the body of the email where I want to place it (which makes it an attachment) or I can use the Attach File from the File menu or the Attach button at the top of my composing window.
    I get emails all the time the look like a regular html web page with formatting and inline photos and graphics and they never show up in my email as having attachments. This is what I want to do. So, how does one place, insert, paste as html, or other wise put an image into an email so that it has formatting and does not show up as having an attachment when someone else receives my email.
    I am a photographer and the biggest reason I am asking the question is that I want to send out an email that includes an image inline in the body of the email so that the recipient will not trash the email before opening it because it has an attachment or their spam filter intercepts it and trashes it because it has an attachment.
    Thanks again for any assistance!
    If anyone likes, I can send you an example of both how my emails look (with attachments) and ones that I get that have the formatted text and photos.
    Am I just thick here and not getting something?????
    Cheers!
    Gar
    Message was edited by: Gar Benedick

  • Putting a picture in Live Action

    Okay, I want to put a picture, let's say a painting, in a clip so that it appears on the screen, in a certain position, while the film is going
    any help?
    thanks
    -Danl

    1) Import your picture into your browser using File>Import>Files
    2) Drag picture into the Viewer Slug from Browser.
    3) Choose "Image+Wire Frame" option in the Viewer Slug.
    4) Adjust the picture size by using the corners of the wire frame.
    5)Adjust the location by dragging it over the checkered matt.
    6) Drag the picture from the Viewer Slug into the Timeline.
    7) If you place the picture in your timeline and "double click" on it, it will turn the clip brown and it will appear on your "Canvas" as well. (Note: ensure the playhead, of the timeline, is over the picture and video clip being modified. Any changes made to the picture will be shown in the "Canvas" as you make them. Saves from making a change then playing to check if the was what you wanted.

  • How to put a picture/screen shot  on a post in this forum?

    How do you put a picture here on a forum page? Others have done it and there are times, like now, when it would be great if I could post and include a screen shot of the problem area.
    Lorna in Southern California

    great question, this would help if we had problems
    and could possibly use a picture of the problem to
    help solve it. I have seen this done before and now
    my curiosity is back again on how to do this.
    I hope that someone who knows how to do it will write the answer here. It would go along way to help us describe problems. Lorna in Southern California

  • How do i put a Picture in LiveType?

    How can i put a picture as a background?

    Do you want to reference the background or have it appear in your final project? You will want to open the manual to the section on BACKGROUND MOVIE to make sure you know how to enable or disable the b/g function when you render your output or move your project to FCP.
    If you are thinking you are going to use the b/g movie for the entire project and jsut place your LT elements on top of it: don't.
    bogiesan

  • How do I put a picture in Final Cut Pro X's Stats title?

    Hey! How do I put a pictures on these two little gray boxes, on the Stats generator?

    In the Title tab of the Inspector, under Published Parameters,  there are two drop zone wells. Click in one and then select your source clip from the browser or Time line…then the other.
    Russ

Maybe you are looking for

  • Mac book Pro Warranty

    hi i was wondering if you have warrenty on your mac book pro and if you want to add more hard drive memory and ram. would you be able to insert your self and the apple warrenty to still cover it. if it goes wrong

  • How to use iSight for webstreaming video

    hello, recently my wife and I purchased a dog(mini bulldog). she is obsessed with the dog. the dog stays home durring the day. she would like for me to place our laptop in the dog room to provide a live video feed. is there any possible way to do thi

  • What is Global Employee ID ?.

    we are planning to implement in SAP ERP 6.0.  Where can i get the concepts & details ?. Currently, we have different personnel nos, if any employee goes to our sunsidiary company. We do repatriation action ... But in the syste, there has to be some i

  • Address field

    The address field in Safari has disappeared. How can I get it back?

  • Connecting my iMac and my Power Book

    I am about to acquire a PB and have an iMac G5. They will usually be in adjacent rooms on a wireless network. I would like to be able to receive my mail simultaneously on both machines, and if possible, have any replies or changes appear on both comp