How to prevent printing last print page in smartforms

Hi everyone,
when i print preview my samrtform, there is an extra blank page printing at end. for example, if i want to print 5 records, 6 print pages are printing. how to prevent printing this last page.
answers will be rewarded
thanks
chintu

Hi
  Try out this
You need to Create --> Flow Logic --> Alternative process where you can
specify a condition that will either, Go to the last page or not
depending on the Conditions. You will need to set the General
Attributes --> Go to New Page check box and the name of the Page to go
to, as well as setting the Conditions as you have then to suppress the
data.
Regards
Pavan

Similar Messages

  • How can I get last visited pages on 08/06/12. I can't see it in my history. Is there any archives with please give that history. (only need amazon.co.uk)

    how can I get last visited pages on 08/06/12. I can't see it in my history. Is there any archives with please give that history. (only need amazon.co.uk)

    hello the history is the only place where firefox stores the visited pages. change your settings in firefox > options > privacy when you want to keep the visited sites in the future & make sure that no external programs (like security or "tune-up" software) is clearing the history either. when firefox is launched in private borwsing mode, it won't keep history information for this session.
    [[Settings for privacy, browsing history and do-not-track]]

  • How to prevent print head clog up and B200 Error ?

    I just went through a horrid time getting rid of a B200 error due to the printer head clog up.  I had to soak the head for at least one hour in a solution of warm water  and a bit of oxy clean to get the printer to work again. I almost gave up and was at the point of buying a new printer .
    My question is :  How to prevent this from happening again especially during 2 to 3 week vacations when the printer is turned off?
    Tks

    Hi sportflyer,
    There isn't a way to prevent a B200 error.  If you do encounter the error again, it is recommended that you contact live technical support . There is NO charge for this call.  Please dial 1-866-261-9362, Monday - Friday 10:00 a.m. - 10:00 p.m. ET (excluding holidays).
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • How to write print program for smartforms

    Hi all
    I need to develop new smartform and its print program.
    But Im not experience in writing print program for smartform.
    Ive gone through the simple print program sample that use only one table as input and one table for output.
    But my smartforms require few tables for input and output.
    How should I define the Data?
    Can anyone guide me on how to write it.
    Thanks & Regards
    az

    Transaction code SMARTFORMS
    Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
    First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
    Here, you can specify your title and page numbering
    &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
    Main windows -> TABLE -> DATA
    In the Loop section, tick Internal table and fill in
    ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name Type assignment Reference type
    ITAB1 TYPE Table Structure
    Global definitions
    Variable name Type assignment Reference type
    ITAB2 TYPE Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g. HD_GEN for printing header details,
    IT_GEN for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    5. Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
    http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
    INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
    MOVE-CORRESPONDING MKPF TO INT_MKPF.
    APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    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 =
    TABLES
    GS_MKPF = INT_MKPF
    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.
    Reward points...

  • How can i print data in smartforms from ABAP program.

    Dear gurus:
    in my abap program i process require data, and saved in a internal table.
    how can l print the data in smartforms.?
    who can give me a code sample is better:)
    reward all helpful advise.

    Try this....
    1) Tcode --> SmartForms
    2) Form name --> Z_SF_TEST Create
    3) Under Global settings
    a) Form Interface  
        Table Tab
       ITAB LIKE EKPO
    b) GLOBAL Definitions
    WA_NETPR LIKE EKPO-NETPR
    In smart forms if we want to display quantity and currency fields. We can't directly display currency field and quantity fields
    For that we have to create an extra variable in global definitions
    Ex: netpr FIELD of EKPO
    CREATE program lines and specify WA_NETWR = itab-netpr.
    4) RT CLick on main Window
       CREATE --> TABLE
      Click Table painter
    DEFAULT %LTYPE will be Created
    a) If you want more like Header footer etc add by rt click on %LTYPE1
    Table (Tab)
    %LTYPE  Radio(SELECT) 5 CM 5 CM 6 CM
    CLICK on DATA (Tab)
    INTERNAL TABLE ITAB LIKE ITAB
    5)RT click on table control and create --> program lines
    General attribute (Tab)
    INPUT PARAMETER               OUTPUT PARAMETER
    itab                               WA_NETPR
    Code Area
    WA_NETWR = ITAB-NETPR.
    6) RT CLcick on table ctl and create 3 text to display the fields
    a) % text1 +button(insert field)
       FIELD name &itab-ebeln&
    Output options (tab)
    Check New line   LINETYPE   %Ltype1
    check new cell
    b) % text2
       & itab-ebelp&
    output options
    check new cell
    c) % text2
       & wa_netpr&
    output options
    check new cell
    <b>Report ac
    Tables ekpo.
    Data: itab1 like ekpo occurs 0 with header line.
    select * into table itab1 from ekpo.
    Call function module --> smart form function module and pass your internal table</b>
    Regards,
    SaiRam

  • How can i see the next page in smartform?

    i hav created a Second Page (%page 2) in Smart form.
    and in that page i created one Main window and a table.
    in 1st page, i defined the Next page as Page2 and
    in the second page i defined the Next Page as Page2.
    but only the 1st page is displaying. how can i see the next page?
    what i want to do in smartform...

    Hi,
    The second page will be displayed only when the data does not fit in the main window of the first page and continues to the second page.
    So make sure that you have enough number of line to print that it overflows to second page.
    Ajith

  • How to prevent printing empty second page?

    Hi,
    When the report is printed from the web it is printing a second page which is empty.
    Report is a rdf report, when previewed in reports builder it is only one page.
    Is there any setting in the report properties to avoind printing second page?
    Please let me know.
    THanks

    I fixed it. I removed the value in "After Report Value" in the report properties and it worked.
    Thank you all...

  • How to prevent printing of an Image

    I have an image control and i want to make it 'not so easy'
    to copy it. I very well understand 100% copy-prevention is not
    possible,
    So my questions are two, one specific and other general
    1. Specific : How to disable the print option from appearing
    / functioning that pops out when i right click on my image control
    2. General : How within flex this problem of preventing
    copying of an image in image control is tackled. Though i know
    nothing can be done about ctrl-printscreen.
    Many a thanks.

    Look into flash.ui.ContextMenu class. You can edit the
    context menu when the user right-clicks on stage. Anyways the user
    cannot download images within a SWF by right-clicking; unless you
    programmed it to behave like that.
    As for your general question, the user would have to
    decompile the SWF to retrieve an image. If you have your source
    code viewable, the user can also retrieve it there.
    And yes, ctrl+prt sc is unavoidable.

  • How to adjust printer page margins on the officejet 6700

    How do you adjust the page margins on an Officejet 6700 premium All in One printer. I just bought and set up.
    Setup and install went well and every thing seems to be working. I have looked in the set up software and have yet
    to find any thing on setting page margins. The issue arose when I printed an email and the right edge of it did not
    print. 
    This question was solved.
    View Solution.

    As I understand it this has a lot to do with the originators message and format (an example here of users with similar issues). It appears html in the messages can cause this and things like scale to fit may not help. Are you able to export the email and open within word or similar program for printing? 
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • How to force print  page breaks (line feeds) in printed documents

    setup:
    Illustrator CS4
    Windows 7
    I've created a longish document of various pieces of text in 2 diffeent fonts.  No graphics.
    Can I insert linefeeds into the document where I want page breaks when it is printed? If so, what is the technique.
    I come from linux/unix background where one can insert a Ctrl+L (line feed) to cause the printer to start a new page
    at that point.
    I got many hits on a search of this forum on `line feed' but those I browsed didn't really get to the question I'm asking.
    Its a little confusing too because it appears from some of the hits that a line feed is different on windows and even does
    something different.
    Or if that isn't the right approach, how can I make the long document print out in some sensible way?
    I'm using a common inkjet printer (epson R800)

    Can I insert linefeeds into the documentwhere I want page breaks when it is printed? If so, what is the technique.
    This is why I mentioned art boards. A new line or line feed is created when you hit the enter or return key. (I mention both keys as i do not know whether you have a mac or PC though I am leaning to pc since you mention linux/unix.
    You should find the folowing link will tell you everything you need to know about artboards.
    http://help.adobe.com/en_US/Illustrator/14.0/WS0939CFEE-49EF-4c6f-B337-8897EC89DF89.html

  • How can i print pages from a mac

    I had typed an essay using pages but didnt have a printer so i tried opening it on a windows with microsoft word, is there a way i can print it?

    Not without a printer!

  • How to configure print settings in smartforms

    Hello friends,
        I was given a task to develop smart forms..everythign is working fine but i am left with following queires,
      so far i ddint maintain any print related parameters,
    i understand i need to work on three parameters now
    1)CONTROL_PARAMETERS   
    2)   OUTPUT_OPTIONS
    3) USER_SETTINGS   
    now i have seen other forms at our place and seen
    in control parameters they pass
      p_control-langu     = 'EN'.
      p_control-no_dialog = 'X'.
    in output
      p_output-tddest     = 'LP05'.
      p_output-tdnewid    = 'X'.
      and for user_settings
    user_settings =  ' '
    but
    the same changes are giving me error....
    can any one tell me why?
    next if i remove them and give them at runtime i get no sort of problem..
    so how i do give them with in program?
    next what si the role of user_settings...
    why is it ' '...
    shud it be 'X'..
    next when i give print parameters in DEVELOPMENT..
    when i move it to QUALITY...(settings will remain same as DEV) will it cause problmes?(like may be in QUA p_output-tddest     = 'LP05'. needs to be modified?)..
    any links,material to help me know more abt this issue wil be rewarded..
    thnaks

    Hi kumar,
         Please find the below thread.....
    convert smartform output into pdf
    Re: Euro symbol in PO Layout output preview
    data: C_FORMNAME TYPE TDSFNAME.
    DATA: G_FM_NAME TYPE RS38L_FNAM.
    c_formname = 'ZKAR_SF2PDF_EXMPL'.
    To get output device type
    CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
    EXPORTING
    I_LANGUAGE = V_LANGUAGE
    I_APPLICATION = 'SAPDEFAULT'
    IMPORTING
    E_DEVTYPE = V_E_DEVTYPE.
    ST_OUTPUT_OPTIONS-TDPRINTER = V_E_DEVTYPE.
    ST_CONTROL_PARAMETERS-NO_DIALOG = 'X'.
    ST_CONTROL_PARAMETERS-GETOTF = 'X'.
    Call Function to get the Function Module name for the smart form
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    FORMNAME = C_FORMNAME
    IMPORTING
    FM_NAME = G_FM_NAME.
    IF SY-SUBRC 0.
    Check for Errors
    ENDIF.
    Call Smartform function module without hard coding
    CALL FUNCTION G_FM_NAME
    EXPORTING
    CONTROL_PARAMETERS = ST_CONTROL_PARAMETERS
    OUTPUT_OPTIONS = ST_OUTPUT_OPTIONS
    USER_SETTINGS = 'X'
    ADD YOUR DATA STRUCTURES HERE
    IMPORTING
    DOCUMENT_OUTPUT_INFO = ST_DOCUMENT_OUTPUT_INFO
    JOB_OUTPUT_INFO = ST_JOB_OUTPUT_INFO
    JOB_OUTPUT_OPTIONS = ST_JOB_OUTPUT_OPTIONS
    TABLES
    ADD YOUR DATA TABLES
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5
    IF SY-SUBRC 0.
    On Failure display standard Message
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    Also see this related note:
    Note 1072424 - Error from SSF_GET_DEVICE_TYPE when lang is not installed.
    Reward points.....
    Regards,
    Sreenivasa Sarma K.
    Edited by: sharmashree kashi on Apr 7, 2008 4:03 PM

  • Smartforms : How to include Printer commands in smartforms

    I want to include printer command <esc>&l1T at the end of the smartform so that the printer can staple the form after printing.
    Can any one please let me know how to include this in smart form ..?
    Is there any way ..?

    You should use the following way:
    - Copy the device type into the Customer name space.
    - Go via transaction SPAD - Device types into the device type and
    here to tab strip 'Print controls'. Here add a print control
    with the following contents: \e&l1T
    (without flag 'Hexadecimal'; the \e is the escape character)
    - Now go to your Smartform and add a command node (right-click
    on the tree, Create - Flow logic - Command) and enter the print
    control name into the field 'Include Printer Control'.
    This adds the print control at this point. You only have to
    select the right position of the command node in the tree
    (and therefore the point of time, when the sequence shall be sent).
    - If you want to check the print data, which the SAP sends to the
    printer (and therefore whether the escape sequence was included
    correctly), you can use note 5799, method 2.

  • How to Get Print event in  Smartforms on preview model.

    Dear All,
            I have a issue for Get the Print button value in Smartforms.
            I can get the print button value on the popup window before show smartforms result.
            But I donu2019t know how to get if the report preview .Because on preview model,user also can click toolbar print button to print.
    Please give me some advice
    Thanks
    Sun

    done have okay
          IF SY-MSGV1 <> ''   OR SY-UCOMM = 'PRNT'.
        MESSAGE 'PRINTED' TYPE 'S'.
        ELSE.
          MESSAGE 'NOT PRINTED' TYPE 'S'.
        ENDIF.

  • How do I stop last web pages from auto loading in Safari?

    I find the feature of Lion that auto-loads previous web pages (and previous open applications) annoying. I want to stop this function. I see the checked box that asks if I want to re-open applications when logging out but I want the default to be to NOT re-open the apps. I equally dislike the auto-opening of previous web pages in Safari. I know that I can clear my history but what I want is for my homepage to open when I run Safari and not the last page viewed. Any solutions?
    Found this for Safari in the forums...
    Go to terminal and type in the following:
    defaults write com.apple.Safari ApplePersistenceIgnoreState YES
    If you decide that you rather have the new resume behavior, execute the above commands but change YES to NO.
    You can also do the same for Preview:
    defaults write com.apple.Preview ApplePersistenceIgnoreState YES

    iDrifter: The full command is:
    defaults write com.apple.Preview ApplePersistenceIgnoreState YES
    I was having the same problem and this is what I did:
    1) Closed Safari
    2) Changed the setting (mentioned) above in System Preferences
    3) Enter the "defaults write ..." command into Terminal.
    Now whever I launch Safari it does not load any pages.
    HTH,
    RJ

Maybe you are looking for

  • I can no longer see the mail icon on my iphone 4.

    I restored the software but it isn't there.

  • Exporting QT movie that works for any browser

    I started with a 922 MB slideshow with music exported from itunes saved from QT for web it is 4KB will play in QT only if you set connection speed to slow modem (28.8/33.6 Kbps) and not at all in some Explorer Browsers even with the QT plugin. I noti

  • SEM CPM - Link a Query in Web Mode

    Hi all, Im working with SEM-CPM ; i can't add a link to a query in web mode ; i have tried this : 1)Add URL ; works fine but i cannot add the URL dinamycally in order to take the local server ; for example when i transport to QAS then links points to

  • Color categories for calendar on my iphone

    I currently use Entourage 2008 and have a family Exchange account. I would like to be able to have my wife who uses Outlook and I to share a calendar and be able to view them from our respective iphones. My goal is to be able to see her calendar and

  • BI 7 User Guide

    Hi Experts, Can any one provide me with user guide for the full cycle i.e the detailed steps along with some screenshots starting from activation of datasource till the creation of cube and data loading in BI 7. My email is [email protected] Regards