Main window iteration problem in smart forms

Hai,
I am struggling from a problem from past 1 weak, can anybody help me.
Problem:
user- inputs: 2 different items say item1 and item2.
The output should be the combinations of four pages(pg1,pg2,pg3,pg4)  based on conditions.
pg1 should be displayed when:
     1. item1 and item2 are less than 5.
     2. either pg1 or pg2 are less than 5.
note: pg1 can only display 5 items of each type.
pg2 should be displayed when:
    1.item1/item2 is greater than 5 and less than 15.
    2. either item1/item2 >5 and <=15 .
note: pg1 can only display 15 items of each type.
pg3 should be displayed when:
    item1 is greater than 15.
pg4 should be displayed when
   item2 is greater than 15.
My problem is when there are items greater than 15 say 90 items then main window page is not iterated i.e only first 40 is displayed remaining are not displayed.
Please help me as soon as possible.
Helpful answers will be rewarded.
Thanks and Regards,
Swetha Singh.

Hi,
Instead of calculating the line items, you can use the command in the footer of the main table to go to next page. It will dynamicaly push to the next page, once first page data display was over.
Is this the answer you are looking for. Thanks.

Similar Messages

  • Box in main window (sapscript) problem.

    Hi, all.
    I meet a weird problem....
    I have 2 pages form which have 2 same MAIN window and of course their source code is same one. But when I run the output form, I found that one of the page which main window's box is disappear, while the other page no problem.
    How come like this? Should be the box appear in both MAIN window, right? Hope someone can guide me.
    Thanks in advance.

    Boxes in the main window only get printed in the first page, unless you include them in an element and explicitly call the, But of course that's not the way to go.
    Every other window in the same page which has content that's not inside one element gets printed every page. So to solve your problem, declare another window (perhaps called BOXES) with the appropiate dimmensions and define in it the boxes you need. Replicate this BOXES in the other pages (if you use different page formats inside the sapscript) or leave it in the First page (if it's the only one in the sapscript). The boxes will now print in every page.

  • A strange problem in smart form?

    Hi,
       I met a strange problem in my smart form. When I click "Check" button in each window of each page, system said "Window (my window name) does not fit onto page(height)". Even I create a new page and a new window in it, it still said this error when I click "Check" button in the new window.
       I have tried to enlarge or reduce the window's size, but this error still occured. But I can activate the form correctly. And there is a syntax error in the generated program:
       FORM %EV2.
        LOOP AT INTO .
        CALL FUNCTION 'SSFCOMP_TABLE_ROW_BEGIN'
        EXPORTING I_LINE_TYPE = 'LINE2'
      You can see there's an error in loop statement.
      Could you tell me the reason and how to solve it?
      Thanks a lot!

    hi
    good
    as you have maneioned in your error  you have said that you have created your own window,but the check box as you mentioned which check box that it it is output options tab check box or in the condition tab check box.
    in the general attribute select the secondary window from the dropdown box and output options tab select the page size as you need .
    i hope you will get some output .
    thanks
    mrutyun

  • Main window header problem

    Hi All,
    My header in the main window is getting printed at the end of the page even if it contains no data in the main area.
    I have given a porgram code in the header, becos based on that my header data should be printed and a page break in the main (sort end event).
    What should i do to avoid the extra header.

    hi
    good
    go through these links which ll give you complete idea about the printing of the header in the main window,hope this would help you to solve your problem
    http://www.supinfo-projects.com/fr/2005/forms_sapscript_en/7/
    http://help.sap.com/saphelp_nw04/helpdata/en/d6/0dba4e494511d182b70000e829fbfe/content.htm
    thanks
    mrutyun^

  • Sorting problem in smart form

    Hi,
    Good day guys
    Ive dev the smart form for workshop invoice..  everything fine but they need sort the stracture one which is LBBIL_IT_GEN.
    so ive created the custome stracture ZLBBIL_IT_GEN and added the numaric field at end of the strc.
    move-corresponding gs_it_gen to ZLBBIL_IT_GEN1.
    lv_num = lv_num + 001.
    ZLBBIL_IT_GEN1-MTART = GV_MTART.
    ZLBBIL_IT_GEN1-num = lv_num.
    sort ZLBBIL_IT_GEN1 by num.
    Move-corresponding ZLBBIL_IT_GEN1 to gs_it_gen.
    I think, it wont be work out. bcoz stracture doent hold the data..... how to over come the problem.. sorting is very imp for fun guys..
    regards
    chandu

    Hi,
    Actually ive a condtion.. if the material type [mtart] is "yser" .. in the material column should be blank.. the the material type is zrsa. then it needs to print materail and description.
    Material              Description
                                 xyz
                                  abc
                                  laptop
    123                        abc
                                  compu
    456                         pen
    678                        book
    if see the  the  5 th item get the blank ..so there is prob.. first needs to gets the all blanks then print  one who having the mateiral and description.
    but its prints right way.. bcoz its comes based on material type.. but need to sort this....
    how to do it..plz let me know
    thanks
    chandu.P

  • Problem with Smart Form ('RLE_DELNOTE')--Please Help

    Hello,
    I am facing a problem in the smart form.
    So far I am printing certificates (QM module) for the finished goods.  i.e. first level batches.  Now I should incorporate down level batches info also. i.e. semi finished goods info (second, third... level batches).  I am not aware of how to find out the semi finished goods info of a finished good.  Each finished good may have one or two levels of semi finished goods....The print program i am using is 'RLE_DELNOTE'.
    Can any body suggest me what i have to do?
    I have tried with FM 'CHVW_BATCH_WHERE_USED_LIST'.  But is of no use.....please tell me...
    Best Regards,
    Shekhar

    To check to see if you have an OpenGL problem:
    In Photoshop choose Edit - Preferences - Performance.
    Is [ ] Use OpenGL Drawing checked?
    If so, uncheck it.
    Close and restart Photoshop.
    Does the problem persist?
    If so, you probably can correct it with a video driver update.
    Don't forget to go back and re-enable Use OpenGL Drawing.
    To update your video driver:
    Right-click on your desktop and choose Screen Resolution.
    In the dialog that comes up, choose Advanced settings.
    Click the Adapter tab, if it isn't already current.
    What Adapter Type is listed?  Note the brand and model.
    If it is an ATI model, visit this web site:
    http://support.amd.com/us/Pages/AMDSupportHub.aspx
    If it is a nVidia model, visit this web site:
    http://www.nvidia.com/Download/index.aspx?lang=en-us
    Follow the instructions to choose the proper card and operating system.
    Download and install the latest drivers for your hardware.
    -Noel

  • Problem with smart forms.......

    Hi friends, I m facing a strange problem while using smart form. I am using values from standard smartform for invoice n just modifying the layout. The problem is tht,the value i m getting is like '14.223,56' bt the actual value that i want should be  '14,223.56'. That is the '.' and ',' are interchanged. Please tell me some way by which i can make it right.
    Good points will surely be awarded for answers.
    Thanks..........

    Have you checked your user defaults in transaction SU01
    under the defaults tab there is a section for decimal notation.

  • HOW can I get my iTunes Libray MAIN WINDOW to show in LIST form (like before). NOW only shows an IMAGE GRID. HATE it. HELP please! THANKS!!

    For the last 2 (maybe 3) updates iTunes has been showing my MUSIC LIBARY in a GRID of IMAGES with small caption below each image (usually an empty grey box, but occasionally tje front cover of album). It is a BIG waste of time to look at, go through and find any of my many hundreds of items.
    I want / NEED "LIST VIEW" (or whatever it is called) back.
    I have looked in SUPPORT / iTunes HELP / Preferences / ALL my menus - for ANY info on getting my LIST VIEW back.
    Somebody PLEASE share with me HOW to get a LIST VIEW in the iTunes MAIN WINDOW (NOT the sidebar ...which is in a nice LIST foerm still thank God).
    Going out of my mind on this one - and wasting LOTS of time, going through it.
    Sure it's ALPHABETICAL (in an arbitrary fashion), but do they REALLY expect me to "REMEMBER" - or already know my choice - of what I am" looking for"?? Come on! I open iTunes, SEARCH through my (where'd it GO?) list and choose something that feels right for the moment. Most people do.
    This IMAGE GRID just throws unnecessary obstruction into the experience and takes massive amounts of time to arrive at a selection (especially if it is not one of my first 40 albums (less than 10% of my libary). I want it gone - and a simple LIST VIEW back. ANY help VASTLY appreciated.

  • How to Move the Window in Dynamicall in Smart Form

    hi friends,
    i am having Main Window and below a Secondary Window.
    in Main Window, one table is there and iam passing Item details that is item no,item descriptionand net value into the table.
    in the secondary Window iam need the total amount of the Items.
    the main window and secondary window is not attached
    i will send billing document number to my smartform,and smartform will show the respective billing item details and total value.
    when ever i pass document number it should show the item details(main window) and the total value(secondary window)of the document number.
    we cant say how many items are there for the billing document number.
    now my recuriment is,
    the secondary window should be printed below the main window with 1CM gap

    double click on secondary window.....
    goto tab CONDITION there we have option ...
      only after the end of main window check(MARK) it.
    for 1CM gap
      provide space  in text node ....
    :/  space
    ;/ space
    :/ total.

  • Problem in smart forms &Driver program..urgent....

    Hi friends ,
              I am having 4 windows  in a page ,
              I am having 4 wa as wa1, wa2, wa3, wa4 in my driver program of SF.
    for ex my itab is hving 10 lines , i am passing first line of my itab to wa1 and print in First window of  page 1, second line to wa2 and second  window /page1....
    4 line of itab to wa4 dispaly in 4 th wind/pag1.
    5,6,7,8, lines of itab in again wa1,wa2, wa3 ,wa4 into window 1,2,3,4 of page 2 and
    9,10 lines of itab in wa1,wa2 into win1 , win 2 of page 3. For ex my itab can hve 'n' lines....this is the scenerio...
    my question is .........
    1. how can i always take 4 line pass in wa1 , wa2 3 & 4 , then go for next four , then rest ........in my driver program....
    2. In Sf after complition of 1st four in page 1 , how it will move next four to page 2, rest in page 3.....
    can any one help me ...it is very urgent....advance thanks,
    Reagrds
    LAkshmi..)....

    Hi ,
    Goto Global Settings -> Form Attributes
    In the Form Attributes,click the General attributes tab you will find the package name of the smartform.
    Regards
    DV

  • Problem in Smart form while printing it in POLISH language

    Hi All,
    I am facing a problem in SMARTFORM and SAP SCRIPT.
    I have developed a form in EN language and converted that in POLISH language using SE63 . When the form is printed in the POLISH language "#" is coming for some special characters of POLISH Language . ( e.g. 'Length' should get printed as 'D&#321;UGO&#346;&#262;' ' but it is coming as 'D#UGO##'')
    Please tell me how to handle these special characters in POLISH Language.
    Thanks

    Hi,
    To solve this Basis need to create a new output device type which supports Latin-2 character set (Device type to I2HP4) or change the existing one to support Latin-2 character set.
    Thanks
    Edited by: dipesh kothari on May 6, 2008 5:33 PM
    Edited by: dipesh kothari on May 6, 2008 5:34 PM

  • Problem in Smart Forms Print Preview.

    Hi ABAP experts,
             I am facing the flg problem:
    when i run ME23N transaction and click on print preview
    -> the logo is not displayed, and
    -> the values are displayed randomly.
    but when i take the printout,the output is displayed in a perfect way.
    I am not able understand what the exact problem is!!!!
    can anybody please help me out and this is repeated in many cases. when contacted  BASIS people they are saying thet its a problem from abap-side only!!!!

    Hi,
    Have you tried both (Print preview & Printout) using the same printer ?
    If yes, please try to create a spool & chk whether it is comming properly.
    Reason, may be some server memory issue, it can respond like this for the print preview.
    Regards,
    Selva K.

  • Problem in smart form

    hi experts
    i have one problem in smartform.my requirement is invoice but to display terms and conditions in back side.actualy i am doing like this terms and conditions i maintained in second page.in first page second page as next page and in second page first page as next page.but it is going to short dump.so what can i do.ple give me any idea.

    >i maintained in second page.in first page second page as next >page and in second page first page as next page.but it is >going to short dump.
    Do you think the Dump is because of what you stated above.
    For that show the Dump message. Don't post whole short dump. post a part of it(what is the error ,analysis, how to etc..)

  • Date problem in Smart form

    hi  ,   i have to change the date Example  27.10.2010  to  27-oct-2010 , so what is the solution .
    Moderator Message: FAQ. Please search before posting.
    Edited by: kishan P on Oct 27, 2010 11:02 AM

    Hi Rahman,
    See this link.
    <<removed by moderator>>
    Thanks
    Nitesh
    Edited by: kishan P on Oct 27, 2010 11:03 AM

  • Problem in Smart forms

    How to print first page in <b>Landscape format</b> and 2nd page in <b>pastorate format</b> if i have multiple pages ?

    hi
    good
    To define a new page format, choose Tools->CCMS-> Spool -> Spool administration. Then choose Full administration and then Page formats on the DeviceTypes tab page. On the next screen choose Change and Create or Create with reference. Fill in the fields on the next screen.
    1-Choose Tools->CCMS->Spool->Spool administration,
    Full administration and then Format types on the DeviceTypes tab page.
    2-To create your new format, on the next screen choose Change and then Create or Create with reference.
    3-Give the format a name starting with Y or Z (the reserved namespace for customers). This avoids conflicts with R/3 standard formats. The format and page format names should be identical. Example: If, for example, the page format name is ZDINA3, the corresponding format must also be called ZDINA3.
    4-In the field Type, enter S (Format for SAPscript).
    5-Select a page format.
    6-Select the Portrait and Landscape fields. These fields are purely documentary and have no effect on processing.
    7-Save your entries.
    go through this link
    http://help.sap.com/saphelp_nw04/helpdata/en/99/71b039f9fa11d18e3e0000e83dd9fc/content.htm
    thanks
    mrutyun^

Maybe you are looking for

  • How long does Photoshop CC take to install?

    It's at 14% and taken an hour and a half to get that far. This is BS for just one app. Help?

  • Dictionary doesn't work

    Dashboard dicitonary in Mountain Lion does not work.  I have tried trashing the Dashboard prefs and restarting but it still doesn't work. GH

  • T61 will not shut down

    my t61  will not shut down.i've tried all the different software options..can someone help me. Moderator note; model added to subject line

  • Making Tooltips appear on pictures that aren't links...

    I own a doggie daycare and am designing my own website on IWeb 09. I have lots of pictures of my client's dogs playing throughout my site and thought it would be neat if when my clients put their mouse over a particular picture I could have something

  • Org unit Creation

    Hi Friends, When I am trying to create Org Unit or position, System is taking default date as current date. even I am trying to create any new position with previous dates it is delimiting up to last date and again new record is creating from current