Skipping Pages in a PWB Smartform

Hi All,
     I have created one application form and a related smart form. The name of the Application Form is IS_U_CA_INSTPLAN. This, when run in mass run,  is executed for a few number of times based on certain conditions. My associted smart form is printed all the time.
     What I need is to print the smart form only for a certain number of times. Is there any way , we can skip the printing of the smart form for some iterations of the loop? I have tried commands like LEAVE list-processing but this brings me out of the loop even if i am not done with all the entries in the loop. Please note that this loop is present in standard SAP and i can't use any loop related statements such as CONTINUE. What I need in short is to go from the top exit to the end exit without going to the smartform.
     Can somebody please suggest something?
Regards,
Kirti

hi Kirti,
Sorry for my ignorance; What is application form.
If you have the print program as a Z program then you can control for what iteration the smartForm is called/ not.
Just in the loop where the SmartForm FM is called; based on your condition; skip that call.
Regards
Vivek
**->Reward points if helps.

Similar Messages

  • Pages 5 skip page numbers

    In pages 5, can we skip page numbering for certain pages?
    For example if i have a document with 10 pages, can I remove the page number in the 4th page and continue numbering from 5th page?
    Normal numbering: 1,2,3,4,5,6,7,8,9,10
    I want to make it: 1,2,3,_,4,5,6,7,8,9
    What I want a solution for is, I have several chapters in a document and each chapter has an introduction page. I have added a section for each chapter. I don't want to count the introduction page in each chapter for page numbering.

    You will need to insert a Section Break after the Intro, delete the page number on the Intro page, set the following pages not to continue from previous and to start from whatever page number you want.
    May I say that what are doing on the face of it is bad design and will lead to more confusion than benefit, particularly if odd and even pages flip from left to right and back again.
    Speaking of which how are you getting around the lack of facing pages in Pages 5?
    Peter

  • Urgent:page wise total in smartforms

    hi,all
    How to do page wise total in smartforms   ?
    use table in smartforms for summary in pagebreak
    ex. page1
    10 (line 1)
    20 (line 2)
    30 (line 3)
    total 100
    page 2
    40 (line 1)
    50 (line 2)
    total 50
    Total in page 1 incorrect = line1(page1) + line2(page1) + line3(page1) + line1 (in page2)
    Total in page 2 inccorrect = line2 (in page2) .
    please help me guys to solve this problem..

    r u printing the internal table data using the TABLE node then--> in the Calculation tab u can do this.
    first create a variable in Global difinations-->global data tab.(ex v_tot)
    then in the TABLE>calculations TAB> 1select ->sum then 2nd colun>give the field name which u want to calculate (ex-wa_itab-netwr) in the Target Filedname tab> give the varialbe u have declared for the total(ex v_tot). in TIME colums select AFTER theLOOP...
    then in theTABLE>footer>inset a line display the variable(total u r using).here
    after the the printing the total..->create a program lines> cleat the v_tot... why u need to clear this is.... u want to display only the total value which are displaying in the current page... after printing this v_tot... clear this... so that in the next page it start totaling the freshly...
    lem me know if u have any clarifications.
    u can calculate as the above way for all the 6 fields.
    please Avoid postin duplicate threads

  • Multiple page format for single smartforms

    We have a requirement to get the output in different page formates for a smartform.
    How to achieve this???

    suppose you r using a program to print the smartform.
    Just check this program.
    REPORT z_sf_demo1 .
    PARAMETERS p_bukrs LIKE ekko-bukrs.
    DATA: fm_name TYPE tdsfname.
    DATA: ssfctrlop LIKE ssfctrlop.
    Function to get the function name to run SMART FORM.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'ZJAYRA_DETAIL'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    fm_name = fm_name
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    To pass parameters for CONTROL_PARAMETERS
    ssfctrlop-no_open = ' '.
    ssfctrlop-no_close = 'X'.
    CALL FUNCTION fm_name
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    control_parameters = ssfctrlop
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    bukrs = p_bukrs
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    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.
    To pass parameters for CONTROL_PARAMETERS
    ssfctrlop-no_open = 'X'.
    ssfctrlop-no_close = ''.
    ssfctrlop-startpage = 'PAGE2'.
    Function to run SMART FORM from third page to last page.
    CALL FUNCTION fm_name
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    control_parameters = ssfctrlop
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    bukrs = p_bukrs
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    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.
    ssfctrlop-no_open = 'X'.
    ssfctrlop-no_close = ''.
    ssfctrlop-startpage = 'PAGE3'.
    Function to run SMART FORM from third page to last page.
    CALL FUNCTION fm_name
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    control_parameters = ssfctrlop
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    bukrs = p_bukrs
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    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.
    I have also sent a mail to your gmail id regarding the details of my program.
    Hope your query will be solved.
    <b>Rewards pioint for helpful answers.</b>
    Regards,
    Abhay.

  • Different page formats in single Smartform

    Hello Experts,
    I have an requirement in my custom Smartforms. I want my first page as by default DINA4 page in where as from second onwards, I want DINA3 page format. Could it be possible? If yes, how I can achieve this? Thanks in advance.

    Hi Mayuresh,
    You can't give two page format in one smartform
    The page format are declared  in form attributes it will be same for all pages
    one thing you can do is change it to landscape or potrait.
    Regards
    Arun VS

  • Is there any "skip page count" command for last page?

    Hello,
    May I know if there is a command(such as even-skip-page-count) specifically for the document last page?
    I have a requirement where PO/Invoice T&C should be printed at the back of the last page only.
    The blog of Tim (http://blogs.oracle.com/xmlpublisher/2007/10/here_are_my_terms_conditions.html) covers
    only odd/even printing.
    Thanks in advance.
    Rownald

    nagornyi is correct.
    i will just expand a bit on the use but it can be found in the documentation.
    you will need to add a section break to the last page of your report
    and also remember to add the header information of you report.
    I may be wrong but when I left the header info out it was not printing.
    header information goes above the tags and footer(totals and stuff like that) below the tags
    Edited by: tarmenel on Feb 26, 2009 9:02 AM

  • C309a Fax and scan skips pages

    When I send faxes, or scan, it skips pages - at random...
    will fax/scan send pages 1,2,3, skip page 4, send page 5,6, skip 7 etc...  no pattern.  Have looked at page size settings - all seems fine.
    Also - any way to get scanned pages to combine into one file versus a separate file for each page?  
    Any help/advice would be appreciated.

    Are you feeding pages from the ADF?  I would suggest you try making a copy from the ADF - does it also skip pages?  If so then issue is likely the ADF is occasionally feeding multiple pages.  You can troubleshoot ADF issues as shown here.  
    For the scan issue it will depend on your operating system and what program you are using.  If you are using Solution Center go to the Scan page, Scan a document, then select change settings in the lower right corner.  In the Change Settings dialog box is a checkbox to make separate files.  If unchecked it should put them all in one file.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Cs4.. nook export for epub skipping pages.

    I have a book .indb file. Has 335 chapters in it. But each page is small. If I try to export a file for digital editions it skipps pages at after a certain page.  I checked out which page was the last processed. Then checked the other pages out all around it. There is nothing wrong with these pages.  So I made two smaller book files of the .indb type.
    Thinking I would narrow down the problem page.
    Part1: export created an .epub file... no pages skipped!
    Part2: export said it skipped the last three pages. Still gave me visible pages up to the last three pages. Just what I thought if the error stated ...it skipped 3 pages.
    So I thought it could be memory.  I only have 1gig of ram right now.
    I decided to see if I reduced the number of chapters or pages in Part2  and included the last three that were skipped maybe they would process.
    So somewhere way above the last 3 ... I deleted 5 chapters .. they were up toward the beginning of the file.  Nowhere near the last three.
    The entire part2 of the book file excluding the 5 I delete still including the last three pages processed.  There was nothing wrong with the skipped pages. So my question is. .. could it be because I only have 1gig of ram?
    When a book file exports to digital editions, all chapters are being held in memory right... so maybe it couldn't process the last three. Any thoughts?
    Thanks!

    I really hate to tell you this. InDesign CS4 was the first version to support export to EPUB. Virtually no one used it. It was very limited and very buggy.
    You really need to be using a later version of InDesign, especially with a very large book. If you're having problems, I'm not surprised.
    There were improvements in CS5, and major improvements in CS5.5, CS6 and CC.

  • Page border in a smartform

    Hi Experts,
    How can i have a page border in my smartform.
    If i am taking a window for page border, but if i place a main window with a table having data than after seeing print preview the border does not appers properly.
    Please help.
    Thanks,
    Vishal

    Hi,
    Try defining a template with a fixed size probably same size as main window size and provide borders all the sides for the template. Display all the data u need under the template, this way you can achieve the page border
    Regards
    Sarves S
    Edited by: Sarves Sombhatla on Jun 3, 2010 1:03 PM

  • Cp 1700 skipping pages when printing

    I do not know if the problem comes from MS Excel or a printer issue but, when I go to print a multiple page spread sheet the first page prints and the rest are blank.
    Sometimes, but not on every skipped page I will get a page number printed.
    Help.

    Hello Imajene,
    Welcome to the HP Forums.
    I see that you are having some issues with the printer skipping lines when attempting to print.
    Please click on the following link for Fixing Print Quality Problems for the HP ENVY 4500 and HP Deskjet Ink Advantage 3540 e-All-in-One Pr....
    Once you have completed the steps in the document, try doing a stand alone Copy and see if you have the same results.  If the issue is resolved when doing a Copy, then try printing from the computer.  If the issue reappears when printing from the computer, then this could be an issue with the software or a possible interruption from a Windows Firewall or Anti Virus program.
    If the troubleshooting does not help resolve your issue, I would then suggest calling HP's Technical Support to see about further options for you. If you are calling within North America, the number is 1-800-474-6836 and for all other regions, click here: click here.
    Thanks for your time.   
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • Skip page numbering?

    Hi,
    I am trying to skip page numbering in InDesign. I have been looking everywhere and cannot get an answer! How do I insert (or have) pages throughout the document that do not coincide with the page numbers? I know there is a way. Please help!
    Fin

    I think you might need to go into a bit more detail - I'm not sure what you're trying to achieve, so I don't know what to suggest. If I have to build a document where every other page is skipped, I:
    1) Make a raw text file with sequential numbers
    2) Make a story of tiny linked frames in the lower-right-hand corner
    3) Place the text file
    This creates pages with right-hand-only page numbering.
    If you need only occasional un-numbered pages, you could to pull it off with this technique, or I think you might be able to do it with sections, but I am uncertain, never having had to build anything of the sort.
    If neither of these cases applies to you, perhaps you could go into a bit more detail and someone will have a solution that is a better fit for your case.

  • Page printing issue with smartform PO

    Hi Super-Techies,
    I have created a z print program for my purchase order smartform. But the issue I am facing now is that when i try to view the purchase order from transaction me23n -> print preview ( with 15 items). I am getting output as a single page with 10 items on it. The rest 5 items are not being displayed. I mean the page is not getting printed from 2nd page onwards.
    What could be the issue??? Can anyone suggest me.
    Thanks & Regards,
    Vinit

    Hi,
    As said above, I have used table instead of template and the data is flowinf to next pages.
    BUt now the issue is that in the last page suppose if there are only 5 items, than the window border prints after 5 items. It is not good while print preview as there is a blank space created in form (for the rest 5 items which are not being used).
    I want to fix the main window border irrespective of the line items.
    Whats advice on this issue.
    Regards,
    Vinit

  • Officejet 4500 skips pages or parts of pages.

    My Officejet 4500 worked great for about 6 months, but in the last few days it has started to only print the first few lines or at random portions of pages. Fiddling with the default printer setting helps sometimes for a while, but then it acts up again. Fooling with spooler settings also works (or seems to work) temporarily. Wasting paper, ink and time! I wonder if it  might be a java update problem -- I work with finicky niche software that doesn't like Java updates, so I skip them.
    sellen

    The solution below was found on the sticky post at the top of this board "Fixes and Workarounds from HP"
    I think the patch below only applies if you have the original printer software installed, I assume this issue was fixed in later versions of the printer software, Read the patch information carefully.
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-69847-2&lc=en&dlc=en&cc=us&...
    This Print Driver Update contains improvements for issues related to the following applications and/or print functionality:
         Microsoft Office 2007
         Duplex printing via network
         Printing from Intuit applications
         Print margin accuracy
         Thai language font

  • Page Number Printing in Smartforms

    Dear All,
    The requirement is to print the total number of pages in the format of
    Page:- 1 of N.
    The below example explains in details.
    The smartforms prints for Vendor and purchase order wise details. The purchase orders is in range. If I give 10 purchase order number in select-options, it displays total 33 pages in smartform o/p.
    If one purchase order has 3 pages, It should display
    1 of 3
    2 of 3
    3 of 3
    for another purchase order, it display will
    1of 2
    2 of 2.
    Like this is the requirement to display in the smartforms.
    So, how I do in smartforms?
    Thanks and waiting for useful reply
    Regards
    Anu

    Hi Anu
    in smartforms write
    Page &PAGE & of &SFSY-JOBPAGES&
    where page is a variable with value SFSY-PAGE.
    you hold the value of document, and compare it with the new one, if is different you clear the variable that restart to 1.
    for SFSY-JOBPAGES so the total number of page you should do a similar logic, where you comparing the document number
    step by step adding 1 at the total value, when the document number change you have the total page value. 
    best regards
    Marco
    Edited by: Menegazzo Marco on May 17, 2010 2:14 PM

  • Preview and printer skipping pages

    I am trying to print some articles from online. The articles should come out as 4 pages long. Instead, it prints pages 1, 2 and then skips to pages 4 (which consists only of the links at the bottom of the website, which are outside of the "frame" that the article is in [hope i'm using the word frame here correctly]). When I try a print preview first, it shows up like that as well. pages 1, 2...then 4.
    Anybody know what's going on?
    Thank you very much.
    (see printer type below)
    MacBook Mac OS X (10.4.9) using Preview and HP Deskjet 3940

    wow. went travelling and forgot all about this.
    but for anyone else ever having the same problem, using a different browser did indeed work. easy fix after all. weird, but easy.
    thanks!

Maybe you are looking for

  • I am getting dump error while running one report in one select query

    Hi, While running a report program, I am getting a dump error in one select query. So could you please correct the select query so that I can't face the dump error. SELECT vbeln parvw kunnr INTO CORRESPONDING FIELDS OF TABLE l_t_vbpa   FROM vbpa   FO

  • How to set Mandatory Choice field while Creating Custom Task using Sharepoint Designer 2007

    Hi, I am new to Sharepoint development.I dont know whether i am posting  the question in Correct place.Kindly redirect me to the correct place if i am posting it in wrong place. I  created a custom task in Sharepoint Designer 2007 using Collect Data

  • IPhone 5s, every other line in the screen is black

    Hello. I have an iPhone 5s, and without any apparent reason, every other line of about the bottom 8 lines (near the home button) are black. One black and one kind of reflects what other lines are showing more to the middle of the screen. How can I fi

  • Macbook pro retina configuration questions

    Hello to the community. I am on the market for a macbook pro retina 15 .I am student at university. So my main uses are word, excel,powerpoint ,web surfing, presentations and some gaming . Also i am interresting in amature photo editing. I want to be

  • Hardware requirement for Mac OS X Tiger

    Hi, I'm going to upgrade our lab from Mac OS 9 to Mac OSX Tiger, some of the machines are iMac 350 with USB port only. Just want to know is the 'Built-in FireWire' a MUST to run Mac OSX( from Tech Specification)? Any help will be appreciated. Allan