Hi, everyone, how to print two smartforms one after one?

first, merry christmas to you all.
the question is that I want to call two smartforms sf1 and sf2, how to use one print program(I use print program to call them) or some other ways to call sf1 and after call sf1 I need to call sf2, finally they are printed one after one! thank you in advance!

HI,
     You have to call the smartforms one after the other and you have to avoid the pop up that comes while printing the smartforms

Similar Messages

  • How to print two alv lists in one spool request

    Hello,
    I have made a report which has one alv list based on CL_SALV_TABLE and a message box displayed in a splitter container based on SBAL. In dialog mode everything is fine.
    If I run the report in batch mode, I have put the alv table to
    list_display = abap_true.
    For printing the messages I am using FM BAL_DSP_LOG_PRINT. It has this nice parameter
    i_s_list_append = abap_true.
    Unfortunatly the messages are not appended to the alv list, nor are they in the same spool request.
    I think the system will put it only into the first spool request, when the name, the printer, the number of prints and the format are the same and of couse, if the spool request is still open for appenfing (which it is).
    The name and the format are not the same in my case. So I tried to set the name to TEST using the print options of the FM
    ls_print_options-print_ctrl-pri_params-plist = 'TEST'.
    But unfortunately it is not working. No changes to the name, when I run the report in batch mode.
    Who has experiance with that? Why are both lists not in the same spool request? Are my findings right? Why isn't the name changed?
    Thank you for your help,
    Peter

    do 2 times
    perform write_form.
    end do.
    for header u can give condtion in form.
    use if condition in the editor...
    this will help u...
    Reward IF....... <= IF what? Points removed... read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]!
    Regards
    Anbu
    Edited by: Julius Bussche on Jul 17, 2008 7:01 PM

  • How to print two delivery challans in one single page

    Hi Experts,
    Here we have a requirement that,
    The user wants the two Delivery challan outputs in one page.
    and also for some documents he requires header and for some documents he doesn't require,
    for this what condition should require.
    Any idea regarding this...
    Thanks in adv
    Thushara

    do 2 times
    perform write_form.
    end do.
    for header u can give condtion in form.
    use if condition in the editor...
    this will help u...
    Reward IF....... <= IF what? Points removed... read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]!
    Regards
    Anbu
    Edited by: Julius Bussche on Jul 17, 2008 7:01 PM

  • How to sync two iphone 4s to one itunes account on one PC?

    Hi
    Could you please tell me how to sync two iphone 4s to one itunes account on one PC? I successfully synced my husband's phone to my account ( he got his phone first) but my phone isn't showing up in devices. Very frustrating as he know can listen to all my music and I can't!!
    Thanks in advance

    Try this, How to use multiple iPods, iPads, or iPhones with one computer, http://support.apple.com/kb/HT1495

  • HP Laserjet CP1025nw Color Printer - printer prints two copies when only one is requested.

    pcwizard (HP) requested that I try Foxit Reader 5.1 to see if the printer will print properly.  I used the same previous document and printed it with Foxit Reader 5.1.  The printer printed two copies when only one was requested as it had done in the past.  We still have a problem.
    I am using Windows 7 (64 bit) for OS.  I have experience the issue on two different computers.
    dslledyrt
    This question was solved.
    View Solution.

    Hi dslledyrt,
    Can you install the Basic Driver for the printer on one of the computers, and let me know if you still have this issue?
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=lj-90357-1&cc=us&dlc=en&lc=en&...=
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • How to merge two WD components in one WD application?

    Hi SDN,
    Can any one tell me How to merge two WD components in one WD application?
    suppose i have two WD componets z_comp1 & z_comp2 now i want to use both these components in one WD application.
    Regards,
    Rahul.

    hi rahul...........
              you can use any number of wd components into one component.
    eg:
            consider you are having 2 components 'A' and component 'B' and you want to embed both into component 'C'.
           You can just click the 'Create' icon which will be present in the properties tab of the component controller.
           you mention the name of bothe components 'A' and 'B'.
            So now the interface controller of both the components are created in component 'C'.
           Now you can use the views present in both the components in component'C'.
    --regards,
      alex b justin

  • I try to insert some images on a website but the images are not in the right color mode. I do not know what to do? and also I have 1200 images to insert so I can not change one after one. So I need to set up an action, but I donot know how to do it... Tha

    I try to insert some images on a website but the images are not in the right color mode. I do not know what to do? and also I have 1200 images to insert so I can not change one after one. So I need to set up an action, but I donot know how to do it... Thanks

    What is the problem specifiaclly?
    If the images are intended for web use I would recommend converting them to sRGB which could be done with Edit > Convert to Profile or with File > Save for Web, but as including a Save step in Actions and applying them as Batch can sometimes cause problems I would go with regular converting.
    You could also try Image Processor Pro.
    Scripts Page

  • How much my Mac is worth after one year

    I am interested how to calculate how much is my Mac worth after one year. If someone can help I would appreciate.

    If you sell it yourself, figure about 2/3's of the original purchase price, if in excellent condition, with box, DVD's & all accessories...perhaps a little more with the right buyer...less if you're missing all that stuff.

  • How to Print two pages in smartforms

    Hi All,
    How to create two different pages in smartforms.In my requirement the first page contains Table data in main window and in second page only the hard coded desription should be printed containg instructions,but the second page is mandatory after first
    page is completed,the first page may have n number of pages after printing those pages my second page should trigger.Help me if any one knows.
    Thanks in advance............
    Regards,
    Satya.

    hi ,
    once a main window size is declared , then that space will be placed in each page created.
    eg. if a table with header and footer is created, first of all the space for header and footer are allocated and body page is allocated.
    so we cannot dynamically change the size of the main window , even it is a copied main window.
    Otherwise another option is to continue the main window into the second page.
    for that first page main window -> create table -> add page break command to page 2 -> hard code description in template.
    page attribute for first page --> GOTO assign same page ( for continuing the same page)
    Page attribute for second page --> no need default is enough

  • How to print two voucher in one page?

    HI,
    we want to print two voucher in one paper. what are the steps to be taken in sapscript? is it purely relted to SPAD?
    Regards,
    lijo Joseph

    hi joseph,
    i'm not sure how related this would be to your concern, but in my place, we've implemented that by sizing a voucher as half a page, so that when we print vouchers, the printer would know that one page is half of a regular page. SPAD is one place to fix, but the actual printing program and SAPScript was also customized so that it would send two vouchers for printing consecutively, and would fit in one page.
    ryan.

  • How to print multiple smartforms ( 2 or 3 SM )  in one page serially .

    My requirement is -  I want bank-branch wise smartforms that too serially one after another . Depending on  space of  page it should print no. of smartforms on pages upto the last smartform.
    for example
    smartform1 takes only 10 lines .
    smartform2 takes only 15 lines.
    and 1st page has 30 lines.
    then  smartform1 &  smartform2 should  get printed on the same 1st page serially one after another.
    And if  smartform3 has 25 LInes then it should printed on next page alone and  smartform4 on next page and so on,.
    Right now I am getting  smartform1 on page1 ,
                                         smartform2 on page2,
                                         smartform3 on page3
                                         correctly branch-wise.
    So how to obtain the above requirement , can ANYBODY tell me ?
    With Regards,
                             Ashish G.

    Hi,
    I am sorry, I use wrong word. Similarly like Protect.. end protect there is a same concept like PAGE PROTECTION in smartforms.
    So you can use that.  PAGE PROTECTION work exactly as Protect.. end protect in script.
    You can achieve this functionality through style also ( Just check checkbox of PAGE PROTECTION and add that style in ur loop).
    So it will work..
    No need of triggering smartforms multiple times. Put ur logic, as if 1 loop will act as 1 smartform and use PAGE PROTECTION and when 2nd time loop will be triggered, will print as 2nd smartform, So you might be able to achive your functionality...
    Thanks & regards,
    Mihir.
    Edited by: mihir6666 on Jul 11, 2011 11:19 AM
    Edited by: mihir6666 on Jul 11, 2011 11:23 AM

  • How to print two sides with one page?

    I have a PDF that is one page long and I'd like to print the same thing twice (front and back) on one page. Can I do that?
    I've tried printing two copies with the printer set to double-sided, but it just printed two sheets with one side on each sheet.

    Well sure; Go back to the authoring application that created the documents and do a 2-UP page. Make the existingg page large enough to accomodate the extra content. Is that what you're asking or do you really mean print to a printer with a back up ? In that case just flip the page over and print page 2 on the other side.
    Or are we missing something ?

  • How to Print two layouts into one page

    Hi,
    I have developed a report by blocked ALV.In this report i have created two blocks.
    But when i give print out the two blocks are not printing continuously.It is displaying one block in one page and another block in anther page.
    And i need page number at end of each page.
    Please provide me solution for this.
    Thanks & Regards
    Venkatrami Reddy B

    OOPS – OO ABAP
    http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    Reports
    http://www.sapgenie.com/abap/reports.htm
    http://www.allsaplinks.com/material.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    Rewards if useful.........
    Minal

  • How to call two smartforms with using a single print program

    Hi,
       I have a requirement wherein I need to call two smartforms using a single print program.
       The interface parameters are different in two smartforms.
       I presently solved the issue using the smartform names as the reference.
       Can anyone let me know if there is any other way to solve it.
       I heard something about global params. But not sure.
       Please let me know the best possible way to solve this issue.
    Thanks and Regards,
       Debabrata

    Hi Debabrata,
    Based on the condition in your print program you can call the below code
    fname1 TYPE rs38l_fnam.
    IF -
    call function 'SSF_FUNCTION_MODULE_NAME'
      exporting
        formname                 = 'ZSMARTFORMS'
    importing
       fm_name                  = fname1
    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 FNAME
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB      =
      ARCHIVE_PARAMETERS =
      CONTROL_PARAMETERS=
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT              =
      MAIL_SENDER                 =
      OUTPUT_OPTIONS           =
      USER_SETTINGS             = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO =
      JOB_OUTPUT_INFO             =
      JOB_OUTPUT_OPTIONS      =
    EXCEPTIONS
      FORMATTING_ERROR         = 1
      INTERNAL_ERROR              = 2
      SEND_ERROR                    = 3
      USER_CANCELED              = 4
      OTHERS                             = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ELSE.
    fname2 TYPE rs38l_fnam.
    call function 'SSF_FUNCTION_MODULE_NAME'
      exporting
        formname                 = 'ZSMARTFORMS'
    importing
       fm_name                  = fname2
    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 FNAME
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB      =
      ARCHIVE_PARAMETERS =
      CONTROL_PARAMETERS=
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT              =
      MAIL_SENDER                 =
      OUTPUT_OPTIONS           =
      USER_SETTINGS             = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO =
      JOB_OUTPUT_INFO             =
      JOB_OUTPUT_OPTIONS      =
    EXCEPTIONS
      FORMATTING_ERROR         = 1
      INTERNAL_ERROR              = 2
      SEND_ERROR                    = 3
      USER_CANCELED              = 4
      OTHERS                             = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDIF.

  • How to print two different multiple pages in smart forms

    Hi All,
    In my form iam printing 12 different pages.In that 11th & 12 th pages are having two different formats and if more records are there for each page i have to print more similar pages.For 12th page iam using main window in that by using command and table nodes iam printing similar pages for 12th one.
    But come to 11th page i don't have more than one main window in my form.So iam unable to use the command node.
    Can anybody help regards to this problem.
    Regards,
    Srinivas Reddy.Ch

    hi Srinivas..
    u don't have multiple main windows in smartform but we can us the same window for multiple number  of pages...
    wht u need to do is use the CONDITIONS Tab of every node..
    in the check <b>only on page</b> PAGE11.. for the node u want to trigger in page11 and for other node <b>only on page</b> PAGE12 for the node u want to trigger in page12.
    i hope it is clear now.. let me know if u want more clarification.
    Please Close this thread.. when u r problem is solved. Reward if Helpful
    Regards
    Naresh Reddy K

Maybe you are looking for

  • How to change the header and footer in the Section Breaks Next Page using OpenXML?

    I have a word document file in which I added a Section Break of Next Page, now I want to change the header and footer of that page. Scenario of example, I have a doc file which has four pages with headers and footers and added fifth page in the secti

  • Unable to switch  screen mode from standard: PS CS5

    Full screen with or without menus is grayed out in the view menu and the view dropdown selector from the menu bar. I have quit and re-entered PS and have reset all workspaces to default. I have checked that I'm working in 64 bit. I still cannot switc

  • Upgrading from 10.28 to 10.4

    I have a G4 Dual 1.25Ghz running classic and OS 10.28 If I upgrade to 10.4 can I still use classic? (Its classic 9.2) Will all my apps be ok? (I do not have any Adobe CS) What problems can I run into? please help

  • Adobe Connecting Recordings, audio out of sync or missing

    Over 30% of our recordings have issues.  Either the audio/video/power points are out of sync and/or the audio will be missing and the video is frozen.  With the upgrade to Ver8 our live events are 95% successful, we don't see audio/video issues durin

  • Saving changes to PDFs in Preview

    So I make annotations to and highlight PDFs using Preview, and it works to my liking. The only issue that I've been encountering is that when I save, it always asks that I save as, instead of just save. Is there a way that I can circumvent this?