Why the control parameters changed when print smart form

Hi experts:
  I set the control parrameters in my source code to print the smart form, I use the loop table for printing, but I found the print device changed automatically, only the frist page is ok. that means, the control paramenters lost when loop. how to solve it?
this is my source:
LOOP AT it_outtab INTO wa_outtab WHERE flag = 'X' .
    ssf_open ls_control_param outopt ls_composer_param.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        formname           = lf_formname
      IMPORTING
        fm_name            = lf_fm_name
      EXCEPTIONS
        no_form            = 1
        no_function_module = 2
        OTHERS             = 3.
   IF sy-subrc <> 0.
     MESSAGE 'Call SSF_FUNCTION_MODULE_NAME Error' TYPE 'E'.
   ENDIF.
    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 lf_fm_name
      EXPORTING
        control_parameters = ls_control_param
        zgl_k_stru         = wa_outtab
      EXCEPTIONS
        formatting_error   = 1
        internal_error     = 2
        send_error         = 3
        user_canceled      = 4
        OTHERS             = 5.
   IF sy-subrc <> 0.
     MESSAGE 'Call LF_FM_NAME Error' TYPE 'E'.
   ENDIF.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ssf_close .
    MOVE-CORRESPONDING outopt TO ls_composer_param.
    ls_composer_param-tdimmed = ' '.
    ls_control_param-no_dialog = 'X'.
    IF outopt-tdpreview = 'X'.
      EXIT.
    ENDIF.
  ENDLOOP.

Hi Prabhat,
Please check following point in your smartform design.
1) In your smartform design, how many pages do you have? (Check the page format and margins, have a look at form painter
    as well)
2) Check out the navigation from one page to another page.
3) Debugg the form and check at what point the last page is been added.
Regards,
Amee.

Similar Messages

  • I can't figure out why my saturation/contrast changes when printing.  Any ideas?

    I am noticing, that when I open a RAW image into PS, and all I need to do is slightly edit or crop, and I do not change anything, all seems fine on the screen.  However, when I print, the photo is dull, unsaturated and less contrasted, even though I did not alter the image in those ways at all.  I need to know how to change this from happening!

    Yes. I have tried to repair it, but it still didn't work. I had to completely uninstall - reboot - then do a clean install. Works beautifully for a few weeks, then nothing.

  • When iPhone is connected to PC, it shows in itunes but Autoplay does not open for me to copy photos. I tried the Control Panel, changing Autoplay settings but no use. I use a Windows Vista. Please help! All my little ones' pictures are on my iPhone 3GS

    When iPhone is connected to PC, it shows in itunes but Autoplay does not open for me to copy photos. I tried the Control Panel, changing Autoplay settings but no use. I use a Windows Vista. Please help! All my little ones' pictures are on my iPhone 3GS.
    I tried hard reset on my iPhone. I tried restarting laptop and iPhone. I tried a different laptop. I tried removing driver and reinstalling from Device Manager but did not find a driver other than "Apple Mobile Device USB Driver" under "Universal Serial Bus controllers" which I heard shouldn't be uninstalled.
    Anything I haven't tried?
    HELP!

    A bit confused by your statement
    bcboarder wrote:
    . I do not understand why the music is clearly on the Ipod but wont reconize it anywhere.
    Are you seeing your music listed in the iPod screen, or in Win explorer as in your earlier post?
    I can see all the songs in my Edrive>al's Ipod> Ipod Control> Music folder.
    A corrupted iPod database, will report zero music used, and have your music size reported as others, so you wont see the music in the iPod screen. Sorry, I thought there was some hope for you with iPodAccess, in recovery of the corrupted iPod database with your ratings.
    You can try to borrow and  use the Mac Disk Utility ->First Aid ->Repair.
    Of course, if your iPod Hardisk is in a bad state, from the Disk Diagnostic report, then all my suggestion are futile.

  • HT3669 My Epson Perfection 1200 scanner functions as a flatbed scanner but when I try to scan transparencies the control panels change in  Image Capture but the scanner bar will not complete the overview scan  & cannot travel beyond the first 2/3 centimet

    Epson Perfection 1200 scanner continues to function as a flatbed scanner but when I try to scan transparencies/film negs the control panels change in  Image Capture but the scanner bar will not complete the overview scan  & cannot travel beyond the first 2/3 centimeters. All the communications seem to recognise the scanner and the mode for the intended scan but the necessary overview scan is not completed, nothing comes up on the Image Capture scan window. If I unplug the film adaptor I can get a document scan. When I plug in the adaptor again the Image Capture details change which allows me to select the type of scan required but when the scanner attempts an overview scan it is unable to complete it.
    I have had the scanner from new (12 Years) and have previously scanned slides and film with the adaptor but maybe this was before I upgraded my computer (imac 27").
    Do I have to buy a new scanner?  It seems so close to working correctly. 
    I have downloaded the Epson recommended driver (5.4) and have Epson Perfection 1200 6.6 Universal showing in the Applications List.
    Any thoughts or observations would be much appreciated before I go out and spend money an new hardware.
    Thanks

    I have same issue - have you solved this yet?

  • I want to remove the header and footer when printing from my mac, i can do this in the Page Setup on my PC but not on the Mac. I can do it each time I print but then it resets. How do I make a universal change?

    I want to remove the header and footer when printing from my mac, I can do this in the Page Setup on my PC but not on the Mac. I can do it each time I print but then it resets. How do I make a universal change?
    == This happened ==
    Every time Firefox opened

    Go to the "File" menu, then "Print." The window that appears will have three drop-down menus at the top.
    The first is labeled "Printer",
    The second is "Presets".
    The third is unlabeled but has "Copies & Pages" selected by default.
    Click on that third menu and select "Firefox" near the bottom of the list.

  • Why does planning indicators change when the safety stock change?

    Hai All,
              I created a BOM for a finished material (FM1)and entered another finished material(FM2) in item list.
    Now in MRP, I did single item  multi level planning for the FM1. I checked the planning file entry through MD21 and it has NECH and NECPL marked. I checked for FM2. None of the indicators are set. Then I have been to material master for FM2 and in MRP2 screen and changed the safety stock to 950. Then I checked the plannig file again and I see the indicators NECH and NETPL are checked. I then made the safety stock 0 and checked the planning file. There is no change.
    My question is why were the indicators NETCH and NETPL checked when I increased my safety stock for material FM2 from 0 to 950?
    I understand that NETCH is the planning for Net changes and NETPL is for planning for changes in a horizon.
    Are these indicators set because I made a change to the material? or is there any other reason?
    Thank you.

    Visu
    The planning indicators change when there is an amendment to the planning situation that requires MRP to replan a material. Essentially, by upping your safety stock from 0 to 950 you are requesting that the MRP system replans that material to ensure that there is sufficient safety stock available.
    Hope this helps
    Ian

  • Hello, I update my mac pro to 10.10. Why the photoshop cs6 change to slowly now. When I change the tools like brush to command+Z, It's will be freeze a while. why? and how can I improve?

    hello, I update my mac pro to 10.10. Why the photoshop cs6 change to slowly now. When I change the tools like brush to command+Z, It's will be freeze a while. why? and how can I improve?

    what a long post....Apple, btw, does not read this stuff, so ranting, raving, and complaining here might make you feel good, but it does no good at all. That being said, I, too have a Mac Pro Quad Core Xeon with 6 gigs of ram and an nVidia 8800 GT graphics card (not as good as yours, alas) and I've had no problems at all with it. Yes, it doesn't have Thunderbolt, but maybe we Mac pro owners will get lucky and someone will come out with an adapter (probably not). No, you probably don't have to throw away your Mac Pro, but if you do, I'll take it, for a small "recycling" fee >:-) That was a joke.  Yes, the Mac Pro's future isn't quite clear, YET. Hopefully that will improve very soon. As for not being able to upgrade to Mountain Lion. Don't worry about that too much, Nobody is forcing you to do that.  Your Mac Pro won't quit working if it isn't installed. From what  I've heard, you should give the new OS a chance, and wait to get it, in case there might be some bugs, or stuff not working with the new OS, which has been known to happen. Yes, we Mac Pro owners don't like being treated like mushrooms-kept in the dark, and being fed......... but Apple is Apple and it will do what it does, and there is nothing you or me can really do to change that. All I can say is....trust, have faith, be patient, go for a walk, do something else to take your mind off of this problem. IF apple decides to drop the Mac Pro for good, and that's a big "IF", I think they will anger a whole bunch of people
    which isn't good. However, that hasn't happened...YET. Let us hope that it doesn't
    John B

  • How can I change the fonts in "contacts" when printing mail labels

    How can I change the fonts in "contacts" when printing mail labels ? I used to be able to do this but in Mavericks this ability seems to have gone away. Am I missing something ?

    Actually in my case it doesn't work. I used to be able to pull up the font window with it but the button merely flickers when I click it. The image selection button and font color both are functional. WEIRD. I don't think this is a Mavericks issue as I recall having it come up with one of my user profiles before installing. Now I can't make it happen with either of my user profiles.
    I don't seem to have printing issues in other applications. And I recently reset the fonts in a futile attempt to correct this.
    I may post a new topic in Mail Contacts and Calendar if there is no response here after a bit.

  • Why do Certain fonts change when I convert to PDF from Microsoft word?  They start out 60s chic and end up as a standard font.

    Why do some fonts change when converted from Microsoft word to PDF?  It starts out as 60s chic and changes to standard font.

    Related to the question, I suspect you have licensed fonts that cannot be embedded. Thus, the PDF is using what it is finding to be an equivalent as well as it can guess. Did you check the font list in the PDF?

  • Why are my colors changing when copy and paste a graphic from docA to docB both in illustrator?

    Both documents in Illustrator CC are RGB and I'm trying to copy a logo onto a template, but the color of the logo completely changes when I copy and paste it into the template. The logo has three different pinks and they turn red when pasted. There is no graphic styling and the logo is all gradient.

    What is weird is that we get a lot of logos from the same company and we put it on shirt templates so they can see size wise on how it would look on shirts. It's happened with other logos, but very slightly. I asked my co-worker who sends me the logos what version she uses and she also uses CC but does not know what version the other company uses. To them, it doesn't matter if the logo colors get altered, they have the PMS colors to work off of for screen printing. I just want to make sure that if another company sends us logos with PMS colors, we will know how to fix it.

  • Why does my font change when i publish my site on mobileme?

    why does my font change when i publish my site on mobileme?
    Can anyone help me, i'm using a font that i got from the internet when i look at it in safari its fine but if i log in from another pc/mac the font is changed!!
    Please help.
    e-mail - [email protected]

    If that's the only place you used that unique font, yes.  Convert the textbox to an image file by applying a drop shadow to the font and setting the opacity of the drop shadow to 5%.
    Click to view full size
    OT

  • I want the title on the browser to change when one of the frames changes in the Frameset.

    I am using frames (please don't tell me off!) and PHP.
    I want the title on the browser to change when one of the
    frames changes in the Frameset.
    Normally the title of the browser comes from the Frameset,
    But I am sure I have seen websites where the title changes
    depending on one of the frames... how is this done?
    C

    Then don't use frames.
    > Normally the title of the browser comes from the
    Frameset, But I am sure I
    > have seen websites where the title changes depending on
    one of the
    > frames...
    > how is this done?
    Show us one and we'll tell you.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "colinwalton" <[email protected]> wrote in
    message
    news:epuu1t$kgv$[email protected]..
    >I am using frames (please don't tell me off!) and PHP.
    >
    > I want the title on the browser to change when one of
    the frames changes
    > in
    > the Frameset.
    >
    > Normally the title of the browser comes from the
    Frameset, But I am sure I
    > have seen websites where the title changes depending on
    one of the
    > frames...
    > how is this done?
    >
    > C
    >

  • How can I stop Firefox 4 from displaying "The document cannot change while Printing or in Print Preview" from appearing every time I click on File/Page Preview?

    Clicking on File/Page Preview in Firefox 4 brings up a warning dialog "The document cannot change while Printing or in Print Preview" every time. How can I stop this from happening? It is very annoying, and it is necessary to click "OK" on this dialog twice before it will go away. Thank you.

    Does it behave that way in [[Safe Mode]] ?
    If it doesn't, then one of your add-ons in the culprit.

  • Can the resolution be changed when taking a photo.  When I take a photo it is always 1MEG or more.  Like to reduce this so that the photos are easily e-mailed.  Any help?

    Can the resolution be changed when taking a photo.  When I take a photo it is always 1MEG or more.  Like to reduce this so that the photos are easily e-mailed.  Any help?

    When you email a picture from Photos, you can choose the size.
    http://i1224.photobucket.com/albums/ee374/Diavonex/3bec08e4423ac97de93d4560186b6 daf.jpg

  • How can i print the serial no: and total in smart form?

    how can i print the serial no: and total in smart form?
    i have two fields Quantity and Price; so i want to display the total for each item and
    atlast the grand total. also the serial no: for each line item.
    how it is possible?

    Hi
    You can do it by two ways
    By making table node or by making simple loop node
    ex
    loop node
          command line node
                  total = total  + itab-quantity.
    text node
    &total&
    Regards
    Aditya

Maybe you are looking for