Secondary Window looping and lineitems restricting

Hi All,
I have some requirement wherein i have to loop the secondary window in smartforms . This is Z smartforms and has standard driver program.
The main requirement is suppose there are 10 line items , 8 line items should be displayed on Page 1 and the remaining 2line items should be displayed on next page.
In my current scenario , i am getting same line items on the next page too.
i tried out using the condition tab but it didnot worked out. If its a main window it goes directly to next page but donot know
how it works out with secondary window .
Has anyone come across similar requirement ? Any help would be appreciated ...
Thanks
SAM F.

Hi Sam,
    Since you are using the Secondary window follow the below given method.
1). In the first page add a LOOP logic to your window and start printing your data.
2). Keep adding the counter for each and every record you process.
2). once you have reached the number of data you need to print say 8 records add a command line to move the control to next page ( this can be done by using a condition inside the loop).
3). In the next page you will have a similar window and in the that window also create a LOOP logic and the Row (belowinternal table field ) give the start row as the next row of the table. i.e., the row after the last row you have displayed in the first page. here you can give the To as (from + no. of rows you need to print in there) .
Like wise you can keep printing the data you require in the secondary window of a smartform.
Hope this helps.
Regards,
Praveenkumar T.

Similar Messages

  • How do I create a secondary window?

    Does anyone know how to create secondary windows in 6.0? I
    was able to do this by tweaking the code in v9.2, but when I
    installed the eval. version, the text is missing that contains the
    secondary window link, and I'm not sure how to fix this.
    Furthermore, when I try to create a secondary window by tweaking
    the code as I did in v9.2, the text containing the link, as well
    hyperlinks below the text and my screenshot disappears after
    compilation. What gives? This is so strange; I've never seen this
    kind of behavior.
    TIA!
    Danni

    Maybe I don't understand what a loading window is.
    Any embedded images and any other bytes in your SWF must be fully downloaded before the application can startup.  Any image you request via mx:Image gets streamed in asynchronously and while it won't show up until fully downloaded, since that stream is asynchronous the app can start while those images are getting downloaded, and since you no longer embed that image the swf is smaller as well so it can start up sooner.  Of course, that means you'll have holes where your images should be until they arrive, just like many HTML pages.
    Note that, if you are testing your app in FlexBuilder (or using file://) image data is not streamed, it is sucked in at the end of the frame so you won't see the true effects of streaming until you deploy your app to a server and fetch it over http://, so don't trust the startup experience you see in FlexBuilder.  It can be vastly different once deployed.
    In one Flash app I did many moons ago where I knew many of my "customers" had dial up, I embedded very low-res versions of the images and replaced them with streamed in high-res versions once they finished downloading, if the user stayed on the page long enough.
    And note that you really should match your image res to your screen res.  Flash will certainly do a good job of scaling down high-res images to fit your screen res, but that's a waste of downloading.  That's why Adobe bought Scene7 since their service helps tune that so you don't pay server costs for image data that just gets scaled away, and your user doesn't have to wait for those bytes.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Unable to print main window and associated secondary windows in next page

    Hi All,
    iam print line items values in first page by using main window (table) and associated  terms &condition in second window(template).
    But i want terms & condition to printed in other page.I tried to create COMMAND to manually trigger second page but it doest work.
    Kindly suggest.
    Attached is snap shot of current output(Shaded region are space of dat window).Also attached is overlapping of main and secondary windows.
    Since i need to increase the above template sizes i shifted main window and other 2 secondary window downwards so i wanted them to print in next page.

    Hi abhijeet,
    Add Programming lines before Command before loop statement,
    In that Count the itab using describe table.
    Add condition if count EQ Sy-tabix.
    pass to command line.
    Try this,
    Regards,
    Venkat.

  • Problem in printing data in main and secondary windows.

    Hi,
          I have embedded tables in main window and secondary window, which are supposed to print the same data.
    The table in the main window is printing correctly even if the data over flows, but there is a problem with the secondary window in printing the table.
    when the data over flows , it starts printing the same from the first line and so the data in both the windows do not match, so kindly help me fix this issue.

    Hi,
    I have a possible approach. Just try and update accordingly.
    While the data in main window prints, append a temporary table of same type inside the Main area. Now let the secondary window be of exact size as that of main window and copy-paste the same table node inside this window, but changing the table name (Loop at ITAB into WA) to the new table name, appended in main area, leaving everything else unchanged.
    Now inside the temporary table loop in secondary window, create program lines and just refresh that table when number of entries in table equals sy-tabix or just set a flag for same and refresh table in footer.
    Thus if main window prints 10 entries, then these will be appended in another table. The same 10 entries will be printed again in secondary window and while at last entry, table will be refreshed, thus ready for appending new entries from next page's main window.
    Hope this helps.
    Karthik

  • Loop secondary windows on smartforms

    Hi experts,
    I want to ask you about smartforms. I want to write data on smartforms using secondary windows which each of the secondary window contain of just one data per page. In one page, I have three secondary windows on one page.
    Can anyone help me...???
    I am newbie on ABAP.
    Thx for your reply and suggestions...

    Hi ,
    you can also do it by using template in main window, please create a main window, and within it create a text page, or else you can create a template with proper height and width, create its cells according to your use, and hide its borders with the following 4 tabs , then you are able to show your data freely
    in the main window too, because main window can be used to loop over a large amount of data.
    Please revert if still if you are not getting, you can use these 4 options to hide your template border, so that it will not visible as a closed one.

  • How to restrict users working on Windows 7 clients from accessing Windows Explorer and other systems in the network through Group Policy with a domain controller running on Windows Server 2008 r2

    Dear All,
    We are having an infrastructure setup of around 500 client computers managed through group policy.
    Recently the domain controllers have been migrated from Windows Server 2003 to Server 2008 R2.
    Since this account requires extremely strict environment, we need to figure the solution for restricting the users from access anything locally.
    It would be great if you can assist me with the following query.
    How to restrict users logged on Windows 7 clients from accessing Windows Explorer and browsing other systems in the network through Group Policy with a domain controller running on Windows Server 2008 r2 ?
    Can we disable Network Tab on the left hand pane ?
    explorer.exe is blocked already, but users are able to enter the Windows Explorer by clicking on the name which is visible on the Start Menu.

    >   * explorer.exe is blocked already, but users are able to enter the
    >     Windows Explorer by clicking on the name which is visible on the
    >     Start Menu.
    You cannot block explorer.exe when you do not replace the shell - the
    desktop you see effectively IS explorer.exe...
    Your requirement sounds like you need a custom shell:
    http://gpsearch.azurewebsites.net/#2812
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Issue in seperating lines of ITAB and placing into SF secondary  windows

    Great abapers,
    My itab is having 6 lines item (for ex ) it may 'n' no of line items.
    In smartforms for 1 page max allowed secondary window is 2.so first 2 lines are paced in first page , next 2 lines are place in
    second page ,last 2 will be in 3 page...if it is having hundred means it will be splited into 100 into 50 pages.
    The problem is i dont know the line item which will come, how can i seperate and put into windows...i could not create 'n'no of
    work areas..what is the solution i am in conftion ...any one pls guide me...urgent
    points will be rewarded .........
    Thanks,
    regards,
    lakshmi

    Hi ,
         i hv found PO No and Po line No , based on this we have to print.
    for ex PO1 = 1 st window ,next in second etc...how to place in SF window  ...
    iam hving 'N' no of PO's in my  itab .....
    this is problem...
    thanks & regards,
    Lakshmi

  • Windows 7 and classpnp.sys safe mode loop.

    Hello,
    First of all this is an outline to the system I am running.
    Acer Aspire X1800
    Brought as a Windows Vista Home Premium 32bit, has now been upgraded to the equivalent in Windows 7.
    Intel® Core™2 Quad processor
    NVIDIA® GeForce® 7100 and nForce® 630i
    4 GB of DDR2 667/800 MHz SDRAM (single-channel support on two DIMMs)
    Serial ATA hard disk 1 TB
    AMI PnP BIOS compatible with SMBIOS 2.4
    PCI Express® 2.0 x16 slot
    PCI Express® 2.0 x1 slot
    Integrated NVIDIA® GeForce® 7100 graphics solution
    PCI Express® 2.0 x16 graphics card support (low-profile)
    I have been running Windows 7 now for some time a month or two and have no problems until now. I wanted to put my computer into safe mode so I can install the second disc of Fallout 3 Game of the year Edition. Frist of all I restarted the computer and used the F8 trick which did not work. The computer just booted into regular old Windows 7. So then I went through the msconfig way of things.
    Now it is important to note that I had this problem when installing Fallout 3 on the same machine but running Vista. However the computer managed to "fix" it self back then.
    The computer loads through all the drivers until it gets to C:\windows\system32\drivers\classpnp.sys
    It stops loading here and tries to go into safe mode. The computer then comes up with a message saying entering Windows safe mode (or words to that effect) and lists some of the system details. The screen then changes to a blank screen with a mouse cursor in the middle of it. The computer then shuts down and begins to restart itself. It has gone into a infinite loop of restarts.
    Ideas I have tried.
    Pressing F8 brings up the boot menu, i have tried all options available in that. Nothing worked.
    Interrupting the start up with a fake power cut. This resulted in the computer showing two options. Start Windows normally and start Windows recovery. Neither worked.
    I have tried renaming the problem file C:\windows\system32\drivers\classpnp.sys to C:\windows\system32\drivers\classpnp.old
    This resulted in the computer loading until the next value C:\windows\system32\drivers\disk.sys The computer then did all the usual loading. However before restarting the it showed the dreaded blue screen of death. It was over before i could see the error message that it contained.
    I have tried resetting to a prior system date. this does not work either.
    Other than that I have not been able to get into windows or anything else. The reason I am able to post this is a have access to another computer for the mean time.
    Any ideas on this would very appreciated
    Cheers
    *EDIT*
    Because the computer is Acer it should have a working E Recovery on it. However i can't remember if i deleted this or not. Will try using the hidden partition in the near future. This will most likely send me back to Vista but its a risk I am willing to take at this stage.

    Hello Limbix
    Thank you for your initial problem and the follow-up discussion on such a conundrum of a problem. As evidenced by the number of hits under Google for "Windows 7 boot sequence classpnp.sys" and 0 fixes, this problem is systematic of this OS. As
    such, this is a ticking time bomb waiting for the most inopportune time to strike.
    Furthmore, this problem has been known since RC1 of Windows 7. The problem still persists and there is no known remediation method.
    KB 925810 is a unique solution when the OS is healthy. When this phenomena occurs, KB 925810 is a hoax for Laptop users and systems purchased from a vendor without a hardcopy of the OS media. For Home builts with a purchased hardcopy of the OS, KB 925810
    is the option. But the option is to reinstall as opposed to a repair.
    Using Ubuntu, to effect change by replacing CLASSPNP.SYS with a 6.1.7600.16385 version has produced mixed results. In addition, the method of downloading any file is fraught with problems of possible infection or worse yet a trojan. This essentially
    leaves Option 2 and 4 as the SOP for this OS failure mode on laptops.
    Problem:
    New Toshiba A500 i7 with 8 Gig - Windows 7 Professional (Business)
    A series of three critical patches were deployed to this machine at 9:30 pm on 5/26/2010 from Windows Update.  At 6:30 am 5/27/2010, the machine was discovered to have restarted and was stuck at the Starting Windows logo. Here were
    the initial steps taken to remediate the problem.
    Step 1. CTRL-ALT-DEL was used multiple times to restart the machine.
    Results: The machine did not restart.
    Step 2. Power recycled the machine.  Windows 7 offered to Launch Windows Repair on the OS. The repair was selected and completed with a request to restart.
    Results: The machine stops at the Starting Windows logo. Still stuck.
    Step 3. Restarted the machine through a power recycle. Pressed F8, selected last known good and restarted.
    Results:  The machine stops at the Starting Windows logo. Still stuck.
    Step 4. Restarted the machine through a power recycle. Pressed F8, selected Advanced options.
    Results: No options were available.
    Step 5. Restarted the machine through a power recycle. Pressed F8, selected Boot loggin and restarted.
    Results: The machine stops at the Starting Windows logo. Still stuck.
    Step 6. Restarted the machine through a power recycle. Pressed F8, selected Safe Mode with Networking.
    Results: The machine's last entry for the loading list was on
    CLASSPNP.SYS and hung up.
    Step 7. Began researching for the Windows 7 boot loading list for the before and after sequences to see if CLASSPNP.SYS was the culprit.
    Results: Found this discussion and many more. Spent too much time researching for a solution. Most ended in silence.
    Step 8. Considered taking the STATA drive and putting into an external enclosure.
    Results: Did not take this step as the machine is under warranty. It was purchased in April, 2010.
    Step 9. Going back over the Google research, discussion
    http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/64a52415-f9aa-448e-b79c-f4d9d27836c3 has Moderator Tim Quan MSFT stating that
    "To obtain the phone numbers for specific technology request, please refer to the website listed below:
    http://support.microsoft.com/default.aspx?scid=fh;EN-US;PHONENUMBERS"
    This support site will take a user to a list of vendors. The Toshiba link was selected. The link is the Toshiba home page. The Support link was
    selected and a direct call was made to Toshiba at 7:30 am on 5/27/2010. A Toshiba case was opened. All 9 steps were presented to the support person and as directed the machine was put into a Factory reset mode.
    Results: The machine has completed rebuilding as of 11:11 am 5/27/2010. Windows update patching is continuing the assult to be "secure".
    Comments: One thing is certain, to be secure in one sense is have a machine in an inoperable state. However business cannot operate in an inoperable state. Neither
    can a business operate in an insecure state. So, to receive an OS patch which causes the machine to be inoperable, has the quest to be secure been reduced to inoperability?
    Suggestion: This problem needs more eyes and a better tracking method.
    1. Is this a vendor issue, e.g. Motherboard, Memory, Hardware?
         1a. Is this lot specific?
         2a. Is there a driver mismatch?
    2. Is this a process/sequence issue?
    3. Is there a recovery process other than "Scorched earth"?
    Sincerely,
    John
    risc of KY 

  • Evertime i open a secondary window in an application it opens on my laptop and I working on the application on my thunderbolt. what setting do i use to open the secondary window on the thunderbolt?

    evertime i open a secondary window in an application it opens on my laptop and I working on the application on my thunderbolt. what setting do i use to open the secondary window on the thunderbolt?

    ''Problem:'' For whatever reason, NoScript is stopping Runescape Community Toolbar from working properly which freezes your first Firefox window.
    ''Fix:'' Uninstall the toolbar. Disable NoScript. Install the toolbar. Add your RS account to it and make sure it works, then Enable NoScript again.
    EDIT: Posted a fix earlier that was wrong. Corrected to the right one, sorry ^_^ Answer was on Runescape Forums.

  • I have Windows XP and microsoft outlook with FIrefox as my browser; when I try to open a link in an email I get the following message "This operation has been canceled due to restrictions in effect on this computer. Please contact your system administrato

    I have Windows XP and microsoft outlook with Firefox as my browser; when I try to open a link in an email I get the following message "This operation has been canceled due to restrictions in effect on this computer. Please contact your system administrator"

    Tried that. Unfortunately it did not work.

  • Main and Secondary windows

    Hi,
    I'm using AutoVue 20.2.0 Desktop Deployment to display AutoCAD drawings, both vector and composite.
    Where do I find out more details about the use of this AutoVue Secondary window. I'm seeing that the ini file settings are not being used when the drawing is the second or subsequent file to be opened.
    Also the ability to open multiple drawings (or files) on first request seems to halt the opening of secondary windows. But when you have a Main Autovue window open, the Secondary windows open with multiple drawings (or files).
    Your thoughts and questions are very welcomed.
    Cheers.

    Thanks 754009.
    The VECTORFIT=1 is not working.
    Deployment: AutoVue Desktop Deployment 20.2.0 We are integrating with an AutoCAD drawings repository system and the deployment of java is the one that came standard with 20.2 at the time so that is 1.6.0_26.
    How is it used? The application calling for the opening of one or multiple drawings (.DWG) using a direct path call to the standard autovue.exe path (C:\ORACLE\AutoVue Desktop Deployment\bin) each call is made individually. I dont have control over how the calls are made .
    The same functionality works in a command shell, so its not the calling method. Steps to replicate? Pick 4 drawings and script it up in a text viewer with each drawing being called by autovue.exe on a separate line. Ensure there is a CR after the last line. Then Copy the text and Paste into a cmd shell.
    I like the concept of the Secondary window because you can close all Secondary windows by closing the Main window.
    The other thing is that when I make a multiple call without any AutoVue running, only the Main window opens with the last requested drawing. If you perform the same multiple call again, all the drawings open in Secondary windows. So do I need another process (e.g. the document server) running in the background to make it work?
    So my Questions are:
    1) what INI file controls the Secondary window
    2) where is any documentation that relates to the Secondary window and how it works

  • Seagate FreeAgent Desk 1TB causes windows crash and to go in a reboot loop

    I bought this Seagate external USB HDD 1000Gb capacity and have been using this for a while. I was able to backup about 500gb of data. This external hdd was permanently hooked on to my computer which has win XP pro (4gb ram, 2.66Ghz CPU Pentium). I have used this only for backing up personal data ,photos and videos.
    One day I got the dreaded  blue screen and rebooted my machine. The machine went on a reboot cycle. It used to show BIOS screen then windows logo and back to BIOS screen.
    After that I unhooked my external HDD and the machine booted up clean. Now when I try to hook the external HDD and power it on, my windows crashes with the blue screen and shows the ntfs error.
    How do i make it work. I have lots of data which I can't afford to lose.

    Sounds like the drive has gone bad, not a common problem by any means. If the data is important, there are several data recovery options including Geek Squad. These options are not cheap though.
    Adam
    Best Buy Community - Retail, Americas
    Forum Guidelines | Terms & Conditions | Community Guidelines | Blogging Guidelines
    *Remember to mark your questions solved and click the star under the user's name to show your thanks!

  • I am new to Apple and just got an iPad Air.  Any suggestions on migrating my Windows Vista Contacts and IE Favorites to the iPad?  The suggested method of using iCloud is restricted to Windows 7 and 8.  Thanks.

    I am new to Apple and just got my iPad Air.  Does anyone have a suggestion on how I can migrate Contacts from Windows Mail and Favorites from IE that are on a Windows Vista desktop ?   The recommendation that I have seen are via using iCloud but that does not appear to work for Windows Vista, just Windows 7 and 8.  Thanks.

    You could try putting your contacts in through Gmail and then signing in with that Gmail on your iPad. You could also try searching for some kind of app that will transfer data easily (I'll look into it and update it if I find anything). I don't have any Microsoft products so I'm not sure if I'm much help but I'll definitely try. You'll definitely love coming to Apple it's much simpler and easier!

  • Problem with Secondary window in smartforms

    Hi Experts,
    I have an issue with smartforms while looping internal table.
    Here is the scenario:
    I have two records in my internal table. For each record, I need to print two pages
    For example: In internal table records like..
    TEST1
    TEST2
    First for TEST1, it supposed to print two pages and then for TEST2, it supposed to print two pages from third page onwards.
    I have designed my smartform with two pages named as.. FIRST and SECOND
    In the FIRST page, I created one window type is MAIN window.
    In the MAIN window...Template1 has designed.
    At the end of Template, I used command option to go to SECOND page.
    In the SECOND page, I created one window type is Seconary window.
    In the Seconadry window...Template2 has designed.
    ==========
    With this design, smartform is working is displaying two pages irrespective of the internal table records.
    Option1:
    When I used LOOP in between MAIN Window and Template1. No output displayed.
    Option2:
    When I tried to change the Secondary window as MAIN window, only second record TEST2 is displaying.
    Option3:
    So, I removed LOOP and written some program lines based on iteration.
    For that, it supposed to go to FIRST page,as soon as SECOND page printing for the record TEST1.
    and then second record TEST2 starts from third page and should print two pages for second record TEST2 and so on.
    When I am trying to use command to go to FIRST page in the sceondary window of SECOND page, it's not allowing.
    I am getting error message like.."No new page allowed in secondary window".
    ====
    Could you please suggest solution for this..
    basically... If the internal table has two records, For each record, it should print two pages.
    Thanks in Advance
    Raghu

    I getting internal table from interface. It has two records.
    Basically.., If the internal table has more than one record, For each record, it should print two pages.

  • Loops and system timestamp not synchronized

    Running Labview 8.6.1 on Windows 2000, loops and system timestamp (Windows clock) seem to use different time bases; one second in a loop is not exactly as long as a second in system time. If i run a simple VI as in picture, with a 1-second loop which just prints the system time, the printed timestamp goes faster by about 1ms every 4-5 seconds. The same happens using a Timed loop or a While with a Wait until next ms multiple.
    Why is that? Can i set a loop to match the system time?
    Attachments:
    1sec.png ‏3 KB

    johnsold wrote:
    In the eastern U. S. interconnected power grid the accumulated time is held to within a small fraction of a second when averaged over days.  Over a year the accumulated error is less than parts in 10^12 or better.  The instantaneous frequency can deviate from the nominal 60 Hz by less than 0.1 Hz.
    The system basically uses an integral controller referenced to a NIST atomic clock to force the steady state error to zero.
    Lynn 
    So is that a very technical way of saying "Ben, you are full of Sh#% !"*
    I have not measured the frquency of my AC service in the last three decades or so. I do remember seeing it faster in the summer and slower in the winter. Has it really changed? Silly me thinking that the wide freq input spec I read on wall-warts was there just to handle this variation of freq.
    And to think it has gotten smarter "without a brain".
    Ben
    * I am just trying to catch up what I seem to have missed. The above is all in good humor. No offense intended or taken.
    Message Edited by Ben on 08-03-2009 12:56 PM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

Maybe you are looking for