How to supress a window in smartform

how do we supress a window in a smartform when i reach a particular page.my sf has 2 pages defined.first and next.and my output has 12 pages of matter.when i reach a specified page number i dont want a window in my form to b displayed.one thing is that the page number from which i dont want a window is not fixed. it may b 3rd or 4th or any other.
hope to c the reply soon.

Hi Yathish
If you want to supress a window put a condition in the condition tab of that particular window ,and the condition to supress for a particluar page no which is not static, write one program lines this way.
take a variable v_page.
depending upon your condition assing the value for this variable and put a condition on the supressing window as when this variable value is say 1 then dont print this window.
then this window will  not be printed for that condition.
Hope this helps you solve your problem.
Kindly reward points if helpful.
Regards
Zarina

Similar Messages

  • How to create Dynamic Window in Smartforms

    Hi all,
    Could you please help me out on how to create Dynamic Window in smartforms excluding Main Window.
    Thanks in Advance.
    Vinay.

    hi,
    Hi,
    1.If you are creating the Different windows for the Countries,then In conditions tab of window specify the Condition i.e.
    company -code = '2201'.
    2.Then that window can trigger ofr that condition.
    3.Other wise, if you are using the different layouts ,then write the condition in Print program and call that form .
    reward me if helpful.

  • How to hide a window in smartforms

    Hi experts,
              How to hide a window in smartforms depends on the conditions. The condition is the window how a hard coded values + fields. if the condition satisfies i want to display in form if its fails no need to display in the form... plz, its urgent.
    Regards.
    Gowrisankar

    hi,
    inside the window, you can create a condition.
    right click on the window, CREATE>FLOWLOGIC>ALTERNATIVE.
    you can give your condition there
    thx
    pavan

  • How to cross a window in smartforms

    How to cross a window in smartforms.

    I guess it is not possible to draw crossed lines inside window, but you can upload an image with cross line and display it inside the window basing on condition... it will give a look and feel of what you want.
    Close the thread if your question is answered.
    Regards,
    SaiRam

  • How to create dynamic window in smartform

    <i>HI Floks</i>
    my requirement is invoice smartform having few line items .i can print this line items with different categories with dynamically placed in smartfom. there how many items with in particular category print its self . how is it possible to printing .is it possible to print dynamic fields and window without changing driver program and structure .How to create dynamic window.
    any body knows reply me fast
    thanks in advance ,
    suresh

    Hi suresh,
        You can create all the windows, but if you go to specific window you will see different tabs like general attributes, output options and conditions. In that conditions tab, you can give condition. so based on that condition, that window will be printed.
    Dont forget to reward points if helpful.
    regards,
    Chandra.

  • How to supress dialog window "missing fonts"

    Hi, i place a RTF file using scripting. When the RTF uses fonts, which are not available a dialog windows appears "missing font: ... substitute fonts..." and the script stops.
    How can i supress/disable this dialog window?
    Is there are general mechanism to supress dialog windows, when scripts are running?
    Thanks!
    Gerd

    Hi Gerd,
    suppress the message with
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
    But dont't forget to reset the interaction level before finishing the script:
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
    Otherwise you will miss some dialogs in future.
    Martin

  • How to rotate a window in Smartform

    Hi Everybody,
       Anyone can please tell me how to print in Smartform and SAPscript in window where the window is rotated. I heard about to use different Print Control for Vertical Writing in SAPscript though not clear. It you can suggest any solution, please let me know.
    Thanks & Regards,
    Ajoy

    Hi are u wondering about changing the page format from POTRAIT->LANDSCAPE in runtime environment.
    Well use the following command: SLAND->Page orientation: Landscape
    and SPORT->Page orientation: Portrait.
    in Smartforms u can use the commands using the output control in Command Control , and in Sapscript u can do it by using the Function Module: CONTROL_FORM and use the command as the import statement.
    Hope That Helps
    Anirban M.

  • How to create dynamic windows in smartforms

    Hi All,
    i am creating a smartform wherein i have to print different layout for different company codes,
    like if the company code belongs to an Indian company then i need to display cost center window. so can you please guide me through the procedure to create windows dynamically.
    thanks in advance
    pooja.

    U can create different layouts for different company codes.
    Declare a variable p_bukrs i.e. company code form interface.
    Made u r window as condition like in the condition tab.
    p_bukrs = '1000'.
    Then it will call corresponding to the company code.
    or
    u can create different forms for different company code and u can differentiate in the driver program.
    if p_bukrs = '1000'.
    call function ssf .
    if p_bukrs = '1500'.
    call
    endif.
    with regards,
    Kiran.G

  • How to supress blank lines in smartforms...

    Hello Experts,
    I am showing the address of the customer in my form but I noticed that when a variable doesn't have a
    value, it still shows as a blank line. For example:
    Customer 123
                        <--- I want to remove this line
    San Francisco, California.
    How can we do this guys?
    Thank you and take care!

    Hi Viraylab,
    There are two ways by which you might clear this issue.
    1. If you have created a template for the same and under that, if you have created separate rows for each field/group of fields, then you need to remove those rows, as the blank row will be displayed as it is.
    2. You can directly write the code for the condense using the statement CONDENSE wa_field.
    Regards,
    -Syed.
    Edited by: wahid hussain syed on Dec 16, 2008 11:17 AM

  • How to supress the dialog box in smartforms

    Hi Experts,
    Can any body tell how to supress the dailog box while executing the smarform.
    valid answers will be rewarded.
    Thanks,
    Satish.

    data p_out like ssfcompop.
    Look at smartform function module,there could be option like
    p_out-tdnoprev = 'X'.
    pass p_out to smartform function module

  • How to cpoy a window from one smartform to another smartform

    Hi experts,
    can u please help me .
    how to copy one window from one smartform to another smartform..
    Thanks
    Sai

    Hi,
    we can copy the window from one smartform to other.
    first select the window what you want to copy then go to utilities-> download subtree.
    and save the xml file as local file.
    Go to another smartform  and select the page and upload the window by goto utilities->upload it will ask the file you have to give the name of the file what ever you saved earlier.
    Then you got the success message as window <win> copied to clipboard.
    then right click on the page choose paste. You will get the the window of another smartform.
    Regards,
    Jagadeesh.

  • How print address in Single line in Address window in Smartform

    Hi All,
    How print address in Single line in Address window in Smartform?
    Thanks in advance.
    Message was edited by: Vipin Nagpal

    Hi Vipin,
    if u r defining the variables for the address manually,
    then u can define all the fileds in a single line in the edit mode of address window u will get the address in the single line only
    if u r using the standard format
    modify the address format by using the user exit:
    "EXIT_SAPLSADR_001"
    Check OSS Note : 454987
    or in the least case u can use the address window setting to change the format and lines
    May be this will help you.
    Regards,
    Naveen

  • How to show a window at end of main window in smartforms

    Hi guys,
    I want my window in smartform to show only after end of showing the main window,,,
    When i tick only after main window in condition tab of window, it shows on the uppermost portion of the output and not below the main window... Do I need to input the upper margin for this?
    How am i going to do it?
    Thanks a lot!

    Thanks guys,,,
    But still not working...
    Do I need to fill the upper margin of the final window?
    Since the height of my main window is dynamic, Im not sure what to fill up on the upper margin...

  • How to supress a blank page in smart forms

    Hi,
    I am using a command in Smartforms to trigger a new page whenever a new BELNR(Accounting document). My problem is in the output i am getting a first page is blank and remaining pages are ok.
    What i did Is In conditions tab i written as temp NE belnr. So first time temp is nothing so blank page is coming. and in the following text elements i am passing a belnr value to the temp.
    Temp = belnr and in general attributes go to new page check box has been activated. Then how to supress a blnk page.
    Regards
    Ramakrishna .P

    Hi,
    I am not using loop.
    In main window i have the contents as
    Header---- Headers for table
    Main Area---- text elements ( i have fileds slno, belnr,glaccount,cost center,gtext,description,dmbtr,wrbtr)
    In belnr field i have created the command there i am comparing the condition temp ne Belnr and go to new page on conditions tab
    wrbtr text element i am passing the g_temp =belnr
    My requirement is whenever new belnr comes new page has to trigger and corresponding gl accounts need to be displayed and end of the belnr i want to display the footer.
    For your information passing the belnr values from the print program (select options) to smart form
    Footer---footer

  • How to print Check Box in smartform

    HI,
      How to print check box in smartforms. I am using Include Sap Symbol but in the print it is coming as #. Do we need to do any setting like we do for barcode?
    Thanks
    Raghavendra

    hi,
    u can print a check box in different ways.. by inserting symbols and making window as check box..
    once go through the thread u will get to k now differnt ways
    putting checkboxes in smartform?
    Please Close this thread.. when u r problem is solved. Reward all Helpful answers
    Regards
    Naresh Reddy K

Maybe you are looking for

  • XFCE and KDE Menus on same machine

    I'm planning on installing both XFCE and KDE on a laptop and was wondering if there was any way to separate the KDE and XFCE programs in the menu.  For example on KDE when I go to Multimedia under the K Menu I would see K3B and under a subfolder call

  • Calling several WebServices in Integration Process

    Hallo, i have the problem that by calling two webservices in order there will be a com.sap.aii.af.ra.ms.api.DeliveryException. Is this a bug in xi? Thanks in advance, Frank

  • Help with FM

    Hi all; When i create an account, i want that the moment all assigment blocks are bounded, in the assigment block of the address types appears the main direction and a Z type direction. I'm trying in the method DO_INIT_CONTEXT for the component BP_AD

  • HT1515 My modem is flashing orange, what does this mean?

    My modem is flashing orange, what does this mean?

  • Power supply, how many Watts?

    Hello! I had som trouble when doing music on Steinberg Cubase SX2. When the CPU load reached 30% it started to jump, up to 30% extra and then back. Once it occured it continued pumping up and down. I increased the performance mode in Bios from Slow t