Regarding repeated employee numbers in smartforms

hi experts,
i have developed a smartforms in which i am showing seperate employees
on seperate pages,everything is coming correct now what i want that
for individual employees 4 to 5 line items are there for this the number
of employees number are repeated  like this
employee no      claims details
1002              1000
1002              3500 
1002              4000
1002              2500
1002              1100
here i want like this
employee no       claims details
1002                     1000
    -                        3500 
   --                       4000
   -                         2500
   -                         1100
instead of repeated employee number i want only single time...
plz help me how to do this.
Edited by: RAJAT on Sep 15, 2008 5:22 AM

Hi,
In your loop node... give the employee number field name and select the check box under the event on sort begin...
You get the event node under the loop node...
there you create the text node to display only the employee number...
Create another text node after the event node to display the other details.
regards
padma

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

  • 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

  • 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.

  • Autogeneration of employee numbers after uploading old employee numbers.

    Hi All
    I have to migrate employees data including old employee numbers which are in numeric format. Once the employee data is uploaded, the new employee numbers are to be autogenerated.
    When the employee generation method is automatic, the P_employee_number parameter has to be NULL. If its NULL I cant upload the old employee numbers.
    How to upload the old employee numbers while keeping the number generation as automatic?
    Regards
    Rahman

    Set your Employee Number generation as Manual. After data migration, change it to automatic. This can be done using the concurrent program "Change Person Numbering to Automatic".
    Regards,
    Baloo

  • Dual employee numbers

    Hi Experts,
    Dual employee numbers reside in the system.please tell me how to rectify it.
    Thanks&Regards,
    narasimha

    if you say,
    By mistake multiple employee numbers are created.
    then u have two options
    delete individual employee number using the tcodePU00,
    enter the personnel number and execute. In the next screen, select all infotypes using F7.
    DO NOT select one by one infotype and try to delete. Once all infotypes are selected, use the trash can symbol to complete the delete process.
    or
    PA30, click to Utilities -> Delete Personnel Number.
    or
    mass employee deletion using report  RPUDELPN
    hope this helps,
    Nachy

  • Employee Numbers

    Dear Friends,
    I need help with regard to number range, we have internal number range preset with 6 digit no's. Now we want to upload few employee with four digit no. Pl let me know can we create the same.
    Regards,
    Patwari

    Hi Patwari,
    Goto SPRO: Personnel Management -> Personnel Administration -> Basic Settings -> Maintain number range intervals.
    There create a number range from 1 to 9999 with external flag.
    Then go to feature NUMKR Thru PE03 & make the new interval the default one.
    Hire the employees.
    Then take everything back to original settings.
    (In SAP Employee numbers are 8 digit numbers. When you think about 4 -digit then it refers to 0000####)
    Regards,
    Dilek

  • Best Way to Define Employee Numbering For Different Countries

    HI all
    I am working on for a project which will be for Multiple countries.But Each country has different Instances.Now the questions is What could be the Best way to Define Employee numbering for all the Regions ? As for as My knowledge goes It would be Number prefixed by Country.Then How we can have Alpha numeric in employee Coding ? We need to have Fast Formula to Ahieve this task.If any body has come across this scenario please share your thoughts .Any thoughts are greatly Appreciated.
    Cheers
    Kumar cs

    If you have each country on a different instance and you want employees to retain their employee number on transfer between countries, I believe you have two options:
    i) Use manual numbering. One recent change to the system is that you can update the numbering profile from Auto to Manual and back to Auto again. So you could potentially leverage this manual workaround when a cross BG transfer happens.
    ii) Bespoke module to export all emp numbers into a 'central repository', e.g., flat file, that can be accessed by all instances, imported regularly and then referenced by your Fast Formula. You would also need processing to determine when a person is a transfer from another BG or a new hire; probably have to be some control field on flex. Basically, this is a requirement made difficult by the decision to host each legislation on a different instance; I would never recommend clients to go down this route but I guess it's too late in your case.
    If cross BG transfers are not common, e.g., less than 5 a week, I would recommend option 1.

  • Using multiple employee numbers to generate a report

    How do I start with this. I want to allow the client to enter up to 8 employee numbers on a screen. The client will then hit a 'Find' button to bring up a report with those selected employee numbers along with the employee data from the table. From the report listing, I want to be able to go to a form to do any updates as needed on the selected employee. So, basically, I have a form on a table with a report, but I am being selective on which rows of the table that I want to see. Thanks.
    Edited by: ecywinski on Apr 18, 2011 3:08 PM

    Build a form to collect the 8 emp id's.
    Find button will take the emp id's, pass them into a new page with a report that has a select with a where clause where emp_id_pk is in the passed in list of emp ids.
    Select will also include a link url to a new page with the emp_id as a passed in key to entry form to allow you to enter/edit info on passed in emp_id..
    Thank you,
    Tony Miller
    Webster, TX
    There are two kinds of pedestrians -- the quick and the dead.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Employee Numbering in Multiple Business Groups

    Hi All,
    We are having 2 business groups. The employee numbering is automatic and global sequence. The employee transfers between business groups is quite common and the client wants the same employee number when the employee transfers from one BG to another.
    Example: Employee ABC is hired is BG1 with employee number as 10001 and when employee is transfered to BG2 the client wants the employee to retail his old employee number in the new BG.
    Any help is higlhly appreciated.
    Thanks,
    Ramprasad.

    Hi,
    I have done this before. You need to set the numbering to Manual (with profile option) and then edit the fast formula associated with Numbering.
    You need the following logic inside PLSQL procedure (gets called through FF) for this requirement:
    - Check if the employee is a transfer case. Use (first name , last name , date of birth) combination on per_all_people_f to check this. Note person_id and business_group_id will be different for a transfer case
    - If the person is transfer case then derive the previous employee number (from per_all_people_f)
    - else derive the last used employee number from per_all_people( select max(employee_number) from per_all_people_f) and return this number by adding 1.
    - he employee number field might have characters in it so you need to replace characters while deriving latest employee nnumber (select MAX(translate(employee_number, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',' ')) from per_all_people_f)
    Please note the fast forumula needs to be edited and verified from SETUP BG for this case.
    When you initially install Oracle HR (and it does not matter whether shared install or full install)
    you get two options, Automatic or Manual, as a choice for Employee Number Generation.
    If you choose Employee Number Generation = Manual, and then later decide to change to Automatic,
    you can do this.
    But, if you started as Manual, and then changed to Automatic, and then once again want to change
    back to Manual,
    Employee Number Generation = Manual will no longer show up in your LOV for Employee Number
    Generation.
    You only get to do this once and cannot go back to Manual Employee Number Generation if you have
    been there before.
    ~Amol

  • Simple Max date pull from several rows with the same employee numbers.

    Ok so I'm hoping this is flying over my head because it's almost 3am, but I haven't been able to figure this query out for the last 2hrs, but I like to figure stuff out on my own. I'm wondering why the following statement works fine:
    select emp_num, to_char(max(end_date)) as newestdate
    from bank_history
    where emp_num in ('22964', '21667', '20758', '12739', '12731', '20929', '22795', '20594', '23077', '12588', '21294', '20618', '21204', '22952', '19990', '20632', '03093', '19991', '22951', '07779', '20014', '11981', '06149', '20364', '21103')
    and bank_type = 'P' group by emp_num
    BUT! When I start to add more columns that I need to see it starts adding the multiple employee numbers again.
    select emp_num, bank_type, earn_hrs, used_paid_hrs, used_paid_hrs, to_char(max(end_date)) as newestdate
    from bank_history
    where emp_num in ('22964', '21667', '20758', '12739', '12731', '20929', '22795', '20594', '23077', '12588', '21294', '20618', '21204', '22952', '19990', '20632', '03093', '19991', '22951', '07779', '20014', '11981', '06149', '20364', '21103')
    and bank_type = 'P' group by emp_num, bank_type, earn_hrs, used_paid_hrs, used_unpaid_hrs
    The orginal table looks something like this:
    EMP_NUM BANK_TYPE EARN_HRS USED_PAID_HRS END_DATE
    60393 P 0.58 0 3-Aug-2004
    60394 P 7.48 1 28-Oct-2003
    60394 P 40 40 28-Oct-2004
    60394 P 40 12.4 28-Oct-2005
    60395 P 40 40 21-Oct-2004
    60395 P 0 0 21-Oct-2003
    60395 P 40 40 21-Oct-2005
    60397 P 40 39.85 21-Oct-2004
    60397 P 0.97 0.97 21-Oct-2003
    Much thanks for any direction you can give to help guide me on my way to a solution. If you can help it please don't give me the answer, but try to give me the reason it's not working. I'll never learn if you give it to me right up front lol. Thanks again.
    Luke
    Message was edited by: trying to fix the table formating sorry it's so unreadable
    Luke22

    I just give you a prompt:
    SQL> with t as (select 1 emp_num, 'A' bank, date '2007-08-01' dt from dual union all
      2             select 1 emp_num, 'B' bank, date '2007-08-02' dt from dual union all
      3             select 1 emp_num, 'C' bank, date '2007-08-03' dt from dual union all
      4             select 2 emp_num, 'A' bank, date '2007-08-05' dt from dual union all
      5             select 2 emp_num, 'B' bank, date '2007-08-04' dt from dual union all
      6             select 3 emp_num, 'A' bank, date '2007-08-07' dt from dual union all
      7             select 3 emp_num, 'C' bank, date '2007-08-08' dt from dual)
      8  --
      9             select emp_num, max(dt) from t
    10             group by emp_num
    11  /
       EMP_NUM MAX(DT)
             1 03.08.2007
             2 05.08.2007
             3 08.08.2007
    SQL>
    SQL> with t as (select 1 emp_num, 'A' bank, date '2007-08-01' dt from dual union all
      2             select 1 emp_num, 'B' bank, date '2007-08-02' dt from dual union all
      3             select 1 emp_num, 'C' bank, date '2007-08-03' dt from dual union all
      4             select 2 emp_num, 'A' bank, date '2007-08-05' dt from dual union all
      5             select 2 emp_num, 'B' bank, date '2007-08-04' dt from dual union all
      6             select 3 emp_num, 'A' bank, date '2007-08-07' dt from dual union all
      7             select 3 emp_num, 'C' bank, date '2007-08-08' dt from dual)
      8  --
      9             select emp_num, bank, max(dt) from t
    10             group by emp_num, bank
    11  /
       EMP_NUM BANK MAX(DT)
             1 A    01.08.2007
             1 B    02.08.2007
             1 C    03.08.2007
             3 A    07.08.2007
             2 A    05.08.2007
             2 B    04.08.2007
             3 C    08.08.2007
    7 rows selected
    SQL>
    SQL> with t as (select 1 emp_num, 'A' bank, date '2007-08-01' dt from dual union all
      2             select 1 emp_num, 'B' bank, date '2007-08-02' dt from dual union all
      3             select 1 emp_num, 'C' bank, date '2007-08-03' dt from dual union all
      4             select 2 emp_num, 'A' bank, date '2007-08-05' dt from dual union all
      5             select 2 emp_num, 'B' bank, date '2007-08-04' dt from dual union all
      6             select 3 emp_num, 'A' bank, date '2007-08-07' dt from dual union all
      7             select 3 emp_num, 'C' bank, date '2007-08-08' dt from dual)
      8  --
      9             select emp_num, max(bank) keep (dense_rank last order by dt) bank, max(dt) from t
    10             group by emp_num
    11  /
       EMP_NUM BANK MAX(DT)
             1 C    03.08.2007
             2 A    05.08.2007
             3 C    08.08.2007

  • Looping through several employee numbers

    My program calculates salary  for a given period for an employer and prints the result in a word doc using the function MS_WORD_OLE_FORMLETTER. This works fine when I have only one employer. When I enter several employee numbers the information is collected correctly in a table but only the first record is printed. I have an impression that the program executes as many times as there are employee numbers instead of executing once by looping through the employee numbers before printing the result. How can I print all the information for several employers?

    The shorter version of the code is as foolows:
    Loop at i_result into w_rt "loop through payroll results for given period
      case w_rt-lgart
      "do some calulations for this employee for
       FIELD-SYMBOLS: <fsd>, <fsl>   type any.
                 CONCATENATE 'MF' w_rt-lgart INTO keyA_Merge.
                 assign component keya_merge of structure T_MergeData to <fsd>.
                 if sy-subrc = 0.
                    <fsd> = <fsd> + w_rt-betrg.
                 endif.
    end case
    endloop
    append t_mergedata to Fdata
    "Now create mail merge for all employees using Fdata
    call function 'MS_WORD_OLE_FORMLETTER'
          exporting
            WORD_DOCUMENT             = FILEFORM
            HIDDEN                    = 0
            WORD_PASSWORD             =
            PASSWORD_OPTION           = 1
            FILE_NAME                 = FILEDATA
            NEW_DOCUMENT              =
            DOWNLOAD_PATH             = FILEPATH
           PRINT                     = PFPRINT
          tables
            DATA_TAB                  = FDATA
            FIELDNAMES                = pFIELDS
    My problem is that the loop executes for one Employee and then goes on to the end of the program to do the mail merge. the program then "restarts" for the necxt employee. However through each program run/cylce the table t_mergedata is appended with the correct information. I would like to first collect all this info before executing the FM for all the records in t_mergedata.

  • Need Employee Names and Employee Numbers that charge a WBS Element

    Hello,
    Does anyone know how I can get a list of employee names and employee numbers that are charging a series of WBS elements?
    Thanks

    Hi,
    You could use transaction CATS_DA with Receiver Account Assignment and enter the WBS element.
    Good luck!
    Tammy

Maybe you are looking for

  • Migrate from GUI to web based application

    what's the easy and the fast method to migrate java GUI application to a web based aplpication. thanks in advance for information

  • My iPhone 5 will not ring when my phone number is called.

    Despite the "Silent" button on the side of the iPhone 5 being set to off, and the ringer turned on full blast, my iPhone 5 will not ring when any number calls my phone. This is not an issue with the settings, which are all set for the phone to ring.

  • Server refused to allow connection on port 993..why?

    I've never used Mail before but tonight I've been trying to get it to work to no avail. I used a site from my university telling how to set it up so I can get my university email through Mac OSX Mail..it's a bit dated but I figure the info is mostly

  • Performance issue with two Infosets in one crystal report

    I am using two infosets that are not linked together by any primary key. The main infoset had transaction records and the seconds infoset has only one record (which is a foreign exchange rate). The performance is slow and I am presuming its because t

  • Different database connections at runtime

    How can I change different database connections at runtime on the same Application Module ? I use BC4J as business layer and uiXml as presentation layer.