Printing same Smartfom using single click on PRINT for many employee no.

Hi All,
This is my first question that i'm posting in the forum, hope u dont disappont me.
We made a smart form for HR-pay slip. It is working fine for one employee, but when a range of employees are selected it asks a print preview screen each time for every single employee. We managed to get rid of the pop up print preview screen but still on clicking PRINT, it prints first emp. smart form, then back (F3), and again print for second emp. HR people need to run this for hundreds of employee and cannot click print for each one of them.
So, all I wanted was that somehow on clicking PRINT the very first time it shall print for all the range of employees given.
Step.1.Get pernr.
Call SSFfunction module name for smartform ZHR_PAYSLIP
go back to (Step.1) picking the next pernr given while execution

Hi Vivek,
Thanks for your response, now i feel a member of the forum.
I am just a beginner in Smartforms.
Ur reply made me realise that i had not used SSF Open N SSF Close FM.
the fraction of the code is:
========================================
GET pernr.
CALL FUNCTION 'HR_READ_INFOTYPE'.
PERFORM process_pernr                                     "VKIK032705
    USING pernr-pernr pn-paper pn-permo payty payid bondt mc_incl
      pnpabkrs[] subrc.
IF exp_frm EQ false.
     CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
         EXPORTING
           formname             = 'ZHR_PAYSLIP'IMPORTING
          fm_name                  = formname
     control-no_dialog = 'X'.
       control-PREVIEW = 'X'.
         output_options-tdnoprint = 'X'.
         output_options-tdnoprev = 'X'.
         output_options-tdimmed = 'X'.
         output_options-tdiexit = 'X'.
     CALL FUNCTION formname
         EXPORTING
  ARCHIVE_INDEX              =
  ARCHIVE_INDEX_TAB          =
  ARCHIVE_PARAMETERS         =
        CONTROL_PARAMETERS         = control
   NO_DIALOG                 =
  MAIL_APPL_OBJ              =
  MAIL_RECIPIENT             =
  MAIL_SENDER                =
        OUTPUT_OPTIONS             = output_options
  'output_options added by himanshu 6.12.2006
        USER_SETTINGS              = ' '
           v_amount                   = v_amount
IMPORTING
  DOCUMENT_OUTPUT_INFO       =
  JOB_OUTPUT_INFO            =
  JOB_OUTPUT_OPTIONS         =
ENDIF.
===========================================
so u see as i have embedded the Call SSF FM stmnt. it executes the smartform for one pernr (personnel no.) and when it fetches the next pernr in the stmnt. GET PERNR, it executes the smartform again.
Is there a way when the smartform can call itself so that the output is successive and i dont have to press back button each time to see the payslip of the next personnel no.
Also plz advise where shall I use the SSF_Open and SSF_Close FMs.

Similar Messages

  • I have to print two labels using single XML file.Error:Only one top level e

    Hi,
    I have to print two labels using single XML file. But its giving error:
    [Error] Error -1072896683 - Line: 38 Pos: 2 Error: Only one top level element is allowed in an XML document.
    Below is my XMl file:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE labels SYSTEM "label.dtd">
    <labels FORMAT="lib://FRD/PurchasedDoor.btw"  PRINTERNAME="IBM 6700-R80 (300 dpi)" _QUANTITY="1">
    <label>
    <variable name= "Color">AUTUMN</variable>
    <variable name= "Special_Message_Attribute">MSG*</variable>
    <variable name= "Special_Message">This is special Message Label</variable>
    <variable name= "Model"></variable>
    <variable name= "Build_Date">09-APR-12</variable>
    <variable name= "Assy_Cart"></variable>
    <variable name= "Assy_Slot"></variable>
    <variable name= "Finish_Cart"></variable>
    <variable name= "Finish_Slot"></variable>
    <variable name= "Serial_Number">1945.1.1.2-1</variable>
    <variable name= "Serial_Number_Barcode">1945.1.1.2-1</variable>
    <variable name= "Specie">BIRCH</variable>
    <variable name= "Truck_Group"></variable>
    <variable name= "Label_Sequence_No">1</variable>
    <variable name= "WIP_Cart"></variable>
    <variable name= "WIP_Slot"></variable>
    <variable name= "Cabinet_Sequence_No">110</variable>
    <variable name= "JC"></variable>
    <variable name= "Thickness"> </variable>
    <variable name= "Width"> </variable>
    <variable name= "Length"> </variable>
    <variable name= "Overlay"></variable>
    <variable name= "Options">B30</variable>
    <variable name= "Profile_No"></variable>
    <variable name= "Door_Style">NEWBERRY</variable>
    <variable name= "Glaze"></variable>
    <variable name= "Shape"></variable>
    <variable name= "Glass"></variable>
    <variable name= "Hinge_Side"></variable>
    <variable name= "Hinge_Type"></variable>
    <variable name= "EGE"></variable>
    </label>
    <labels FORMAT="lib://FRD/SpecialMessage.btw"  PRINTERNAME="IBM 6700-R80 (300 dpi)" _QUANTITY="1">
    <label>
    <variable name= "Serial_Number">1945.1.1.2-1</variable>
    <variable name= "Special_Message">This is special Message Label</variable>
    <variable name= "Cabinet_Sequence_No">110</variable>
    </label>
    </labels>
    Please suggest.

    >
    XML can only have one root element per file.
    >
    from XML Document: The Root Element

  • Can I connect my Mac (Mac OS X) with other machine (Windows OS) on same LAN using telnet in terminal? For example, telnet ip address of other machine

    Can I connect my Mac (Mac OS X) with other machine (Windows OS) on same LAN using telnet in terminal?
    For example, telnet <ip address of other machine>
    I m a networking student and I have learned to connect 2 machines on Red hat Linux OS on same Ethernet LAN which has same subnet mask. As Mac OS X is also a linux based OS I m trying to connect my Mac with my friends windows based machine using telnet <ip address of his machine>. However, I get a message "unable to connect to remote host".
    Can anyone please tell me is this the problem because of different OS or it is something different!
    Please reply...it will of great help..

    The machine you're trying to connect to needs a Telnet server running on it - telnetd listening on port 23 (usually).
    Incidentally, Mac OS X is not a Linux based OS, it is based on BSD Unix.

  • The same travel request for many employee

    Dear colleagues!
    Our  HR specialist want to enter the travel request for many employee/workers  in one screen.
    Or quickly copy the one trip request for many employees.
    for example -  50 people trips with same attributes - at one time,at one destination etc.
    What the variants may be use ?
    Thanks in advance

    Hi,
    PR02 and FITE_EXPRESS_EXPENSES will allow for several TRIPS created at once for ONE Pernr, this is what Sally mentioned.
    http://help.sap.com/erp2005_ehp_04/helpdata/en/85/2a39eeef494c64aa8e8fa14816206e/content.htm
    However, Siegfried is right in my opinion, as per your original requirement to create several trips at once for DIFFERENT Pernr is not provided by SAP.
    Cheers, Lukas

  • Hi! I've been using Goldmine contact management software for many years and syncing with Companion Link successfully, then ITunes to the IPhone. Suddenly, my IPhone is not recognized and won't sync. I see a message telling me to dock the phone? Any ideas?

    Hi! I've been using Goldmine contact management software for many years and syncing with Companion Link successfully, then ITunes to the IPhone. Suddenly, my IPhone is not recognized and won't sync. I see a message telling me to dock the phone? Any ideas? Thanks for any assist!

    Hi Ken,
    Dennis here from westport. I too am a goldmine user for many years and would love to know how you sync.
    I am looking at a product called wmobile, but may be problematic on my current system.
    thanks for any help...

  • I have been using my .mac email address for many years without a problem.  Suddenly over the last few days the emails have been coming in sporadically.  I know this becasue all the emails are coming in on my phone and on the laptop, not on iMac.

    I have been using my .mac email address for many years without any problem.  Suddenly the emails are coming in sporadically or not at all.  I know this because they are all coming in on my phone and laptop.  My gmail account seems unaffected with emails coming in fine.   Any ideas?  Thanks
    Marian

    Back up all data. Rebuild the mailbox.

  • Print all slides in single click event

    I have 10 quiz slides in captivate 5.5. Now my client wnats to print all the slides at the single click event. I have already used the Captivate inbuild Print widget, but its print the current slide only. Please help me on this.....
    Thanks
    Karthik

    There is no current way to do this with standard Captivate functionality.
    If this is really important to your client, you'll need to create a PDF document with screenshots of the 10 quiz slides, and link this document to a button within the course module.  Participants can then click the button to open and print the document.
    If anyone has a better idea, I'm open to it.

  • Version 4 Bug - Multiple Object Editors of Same Object on Single Click

    Hi Jeff,
    thanks for your reply. You have missed that rule because you don't use SQL Developer for development. But never mind, lets go through it...
    1) Of course I have both options activated (all preferences were imported from previous version). The difference between previous version is that when you click on the SAME table multiple times - in the old version, it opened the table just once and in case you had another tab active, it swithed to the tab where the table was opened. So to have it clear, in the old version when you have table A and table B, both opened in separate tab and the focus was on table B, when you clicked on table A (in the tree) it activated tab with table A. It didn't create new tab with table A. Of course - why would I want to have multiple tabs opened with the same table??? In current version clicking on the same table multiple times, opens multiple tabs with the same table.
    This is also the reason why it sometimes openes a table multiple times even when you click it just once. This you cannot simulate because you are probably connecting to some local DB when you have perfect connection. Activate the autopin function and connect to different DBs all over the world and you will see what I mean. Right now, I have opened a connection and got 3 tabs opened, just after a single click on a table.
    2) Fetch size is again taken from previous version of SQL Developer and is set to 50. PgUp and PgDown are not working at all. I am talking about scrolling with a mouse wheel. In the old version it is working normally as expected. In this version if you scroll using a mouse wheel, the scroll speed is about 1 or even 0.5 lines per wheel round - so you can even not use a mouse wheel for scrolling! On all other places in this new release (connection tree, packages, ...) the scrolling is working normally, in the table it is unusable.
    3) I don't say it is on every table and every click. I cannot tell you how often is it because I am not using the new version. I am quite sure this is dependent on the connection speed maybe connectin quality. The difference between previous version is that in the previous version, refresh always worked. This particular issue cannot be solved by testing and searching for some rule when it happens. You must check the code and see when you display it!
    4) My screen resolution is 1920x1200, but that is only because I have an external monitor connected to my laptop. My laptop resolution is only 1366x768. Switch to this resolution and open the View menu.
    New worksheet - yes, this is exactly what I mean. I have planty of connections, for sure over 100 - but this is irelevant. Whenever you do a menu which can grow, you need to do it scrollable!!!
    I am not sure what you mean by Flyout menus, but I am scared only to hear about it

    Screen resolution, no scrolling on menus - that's a bug. Severity 2, a bad one, as you have noticed, and we'll try to make sure it's addressed for version 4.0.
    The other issue isn't as straightforward as you insinuate. I know you don't care about the particulars or why you might see this issue, so I won't bore you. But, we are aware that this is still coming up more frequently that it should, and we're on a big bug hunt to eradicate the behavior completely. It's not a simple thing, so it will more likely be incremental improvements. That being said, we are seeing it MUCH less than in previous versions of the tool.

  • I can not print an PDF using the Adobe PDF-Printer with Acrobat DC

    Hi all,
    i installed the Trial of Acrobat DC but it dont let me use the Adobe PDF-Printer well, because i cannot print from any third-party-application using Adobe PDF.
    I tryed to print from within Word, Editor and Browser and selected the Adobe PDF-Printer as target, but at 75% both, the Application from which i print and the PDF-Creating-Wizzard are freezing (for hours) and i need to kill the procesed. No PDF-File is created. Same Problem with trying to print a Testfile from within the Windows-Printer-Dialogs.
    Only Adobe DC cause this issue, if i use freeware like Bullzip PDF the files get created successfully, so i assume its not a generally problem with PDF on my system.
    What could be the problem? (pls dont say its because of the trial, a trail should allow to test all features and Why should i buy a programm if it cannot do what a freeware can do?)

    Hey Daniel,
    Have you tried repair Adobe Acrobat DC?
    If no, then please repair the installation under Help menu.
    This could also happen due to an Adobe Acrobat DC installation file corruption. To resolve this issue :-
    Uninstall Adobe Acrobat DC using the Acrobat cleaner utility.
    Restart your computer.
    Re-install Acrobat Acrobat DC  Download Adobe Acrobat free trial | Acrobat Pro DC.
    Let me know if the issue persist.
    Regards,
    Aadesh

  • Printing issue when using Intel Macs to print wirelessly via Airport

    We seem to have a problem. It has come to light since using Intel based Macs running 10.4.7 and Airport to connect wirelessly to the internet and to print to a Acculaser C1900N with intel printer driver installed. When setting up by Bonjour and then printing to the printer it fails and an exclamation mark appears on the printer icon in the Dock. Appletalk is enabled for the port, just in case you ask.
    Browsing the internet works fine, but the printing side fails every time.
    When we insert a Ethernet cable everything works fine.
    As far as I can see its not a System Software problem related to old macs running 10.4.7, but to new Intel macs running 10.4.7. I have tried this on a Intel Mac Mini and also an Intel MacBook the results are the same.
    Please has anyone got a solution as we start a new term with these new macs in about two days and printing is a integral part of school life.

    I have just configured a new Airport Extreme and I have just printed sucessfully to our printer. Weird its just a Graphite Airport base Station Issue. I am not sure if the problem occours with the Snow Airport Base Station....Ill have to try that one out. I am so happy that it works you wouldnt believe it.

  • How much ink does a print head alignment use on a MX860 printer?

    Just wanted to know how much ink is being used when I run a print head alignment job on a MX860 printer?
    Thanks.

    This is a printer issue and it's only covered under the Epson Warranty Program, which is 1 year.  AppleCare has nothing to do with that.
    You'll probably have to replace the printer if the print heads cannot be replaced.  That's the issue when you buy an inkjet that has print heads that aren't part of the ink cartriges... when they go bad, they go bad and you're hosed.  If the issue persists after a print cartridge change, then it's definitely the heads.

  • L10: Using single click for extended desktop

    Hi
    I use a Sattelite L10 for presentations. Is there a way to set up the extended desktop with a single click (one! via .exe, .reg , .. file etc)? (A hot key would be nice too)
    The problem is, if I start the computer without the external monitor / projector etc connected it reverts back to single display (normal desktop) and I have to Click right, browse to the correct option etc) I want a single button on my desktop / taskbar. (or hotkey)
    Thanks
    JP

    Thanks for the replies.
    But it obnly works until you shut down and restart without the external monitor attatched!
    Thene you have to right click, properties, choose extended desktop etc again.

  • SharePoint JS grid paging, capturing values using single click event

    Hi 
    I need some help with getting the following work using the SharePoint JS grid, the reference articles available are not sufficient to continue work. 
    1) Setting up Paging
    2) Capturing individual field values on single click or any other relevant event.
    Sample code or references would be of great help.
    References
    http://msdn.microsoft.com/en-us/library/office/ee535898(v=office.14).aspx
    http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010programming.aspx?ID=d6e32632-d0e4-4337-95c3-c2d06fc3ef86
    http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010programming.aspx?ID=5c952c6d-b2be-4563-b805-b00e7c8136ff
    http://msdn.microsoft.com/en-us/library/ff681039.aspx
    http://social.msdn.microsoft.com/Forums/en-US/a439fcc2-42de-45ca-9f74-935498e0d246/js-grid-oncelleditcompleted-event-infinitely-fired?forum=project2010custprog  
    Thanks,
    Sharat
    Sharat Menon (Sharepoint Developer)

    Hi,
    Please try to use PagingFilter class to achieve paging in JS Grid.
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.jsgrid.pagingfilter.aspx
    Here is a similar thread for you to take a look at:
    https://go4answers.webhost4life.com/Example/sharepoint-jsgrid-2692.aspx
    If you want to implement more complex functionalities for a list, I suggest you use SPGridView to achieve it.
    Best regards
    Dennis Guo
    TechNet Community Support

  • Printing from iMac using bonjour to a printer connected to netgear wifi router USB port

    Wondering if someone could help provide advice. I have just purchased my first iMac and a new NetGear W600 wifi router. I have connected my Canon multifunction MX310 printer directly to my iMac and it prints and scans perfectly. However when I connect it to the USB port of my new NetGear W600 wifi modem the only thing I can print is the test page on the iMac, ... nothing else prints. I receive the message that my iMac has connected to the printer but nothing prints out, except the basic test page.
    In stark contrast, when I install bonjour on my Dell notebook PC, running Vista, it prints perfectly to the same MX310 printer connected to the NetGear wifi router!

    Hi, Thanks for your help. I am trying to get documents printing to the canon printer in wifi mode, via bonjour, when the printer is connected to the USB port of my NetGear wifi router. I have a wifi internet connection via the same NetGear wifi router so it doesn't seem to be a network connectivity issue. ... any other ideas?
    Many Thanks
    John

  • How to print double sided using an HP photosmart printer

    How to print double sided using an HP photosmart printer

    Follow the instructions for your Printer?
    We don't even know which one, there must be hundreds of Photosmart models.
    Peter

Maybe you are looking for

  • How do I transfer the catalog in LR4 (macbook pro) to LR 5 on a iMac?

    How do I transfer the catalog in LR4 (macbook pro) to LR 5 on a iMac?

  • Restrictions distributing Acrobat Reader in China

    Does anyone know if there are restrictions to distributing Acrobat Reader in China? Thank you.

  • Expected resolution date in user notification

    Hi, I'm new to but am currently implementing SCSM 2012 and like many others find the lack of basic email functionality a major hole in the product. Anyhoo, enough ranting....my problem is: When creating the template to notify the end user of an expec

  • Moving pictures in iMovie slideshow

    I have started a slideshow project in iMovie, but now that I have the pictures in iMovie, I am finding them much harder to put in order than in iPhoto. Would it be better to start over by putting them in order in iPhoto? And if I do that, will they b

  • MySQL can't find mysql.sock

    Hi guys, I have a very frustrating problem. I have tried everything to fix it and I have ran out of ideas as to what the problem might be. I have had mysql running for 1 week without a problem. Yesterday I had to reboot my server. After I rebooted, m