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.

Similar Messages

  • Problem with Main window in smartforms

    Hi All,
    I am creating a smartform, in that i need to restrict the no. of line item is to 15 and i need to draw a box for it. My problem is if i am displaying 15 line items the box will be drawn correctly and if i use only 3 line item then the box is drawing only for 3 line item. But i need to draw a box for 15 line items constantly at any given point of time irrespective of no. of line items. I am displaying this info using mail window, plz do help me.
    Thanks & Regards,
    pavan.M

    Hi,
    First describe your internal table and based on that you deifne another internal table in which you will have some 2 dummy fileds
    suppose if you internal table has 10 lines then you need to have 5 more lined to print right?
    say describe lines is v_lines
    v_rem = v_lines mod 15. (you will get remainder here)
    then v_count = 15 - v_rem.
    before main window do code as following .
    do  v_count times.
    v_dummy1 =  text (maintgain soem text in this field)
    v_dummy2  will not have any value.
    append these values to it_dummy table.
    enddo.
    And when you loop main table count one more variable  say v_cnt.
    Now you can loop your dummy internal table based on condition.
    the condition would be   v_cnt  eq  v_lines .
    and print empty text . dont print the field that have some text.
    loop dummy table only after printing main table data in the main window.
    Hope you got the logic
    Dont forget to reward points
    Regards,
    Nageswar

  • Problem with upgrade Windows 2003 to Windows 2008

    Hi,
    I have problem with upgrade Windows 2003 to Windows 2008 R2
    When I run installer it check compatibility drivers and programs after that appear message that I need to uninstall  "adaptec storage manager" but I already remove this driver from the system and registry.
    Any ideas to solve this problem?
    My server it's IBM System x3500
    Regards 

    Not sure if this issue was solved or no longer relevant, but I had the same issue with the same IBM x3500 server type.
    Based on the SETUPACT.LOG output from the Server 2003 to 2008 upgrade compatibility check, the problem was that the driver AACMGT.SYS is unsigned, and hence not acceptable for running in Windows Server 2008.
    AACMGT.SYS is a part of IBM ServeRAID but unfortunately, even the latest versions 9.3 to not seem to update or replace this file. It's also possible this file is a residue of an earlier, deprecated version of ServeRAID, I don't know.
    In the end, to get passed the Upgrade check hard stop, I did this, though I'm not sure if all steps are needed:
    0. Make sure you have a system backup in case you break something doing this steps. If you do break your system and cannot recover from backups, it's not my fault!
    1. Go into Device Manager --> Disks and check the Driver properties for the disks on your system. You might have AACMGT.SYS listed for some/all disks and also listed as unsigned. 
    2. Uninstall IBM ServeRAID from the system, just in case
    3. Do into Device Manager and go under Disks, and manually Uninstall all the disks in the list including "AdaptecArray SCSI Disk" and some other secondary. I did not reboot right away.
    4. Go to console, go into C:\WINDOWS\SYSTEM32\DRIVERS, and rename AACMGT.SYS to something else. 
    5. Reboot the system and hope it still boots. Go into Device Manager -> Disks and make sure that AACMGT.SYS is no longer listed.
    6. Run the 2003 to 2008 Upgrade process again. The Compatibility checker should no longer flag "Adaptec Storage Manager" as a blocker.

  • I am trying to install iTunes on my PC, but I get this error: "There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor." Help!

    I am trying to install iTunes on my PC (using Windows 8.1), but I get this error: "There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor." The iTunes file (64-bit) I am trying to install, is named "iTunes64Setup.exe". What seems to be the problem? Help!

    Hey madnest,
    Thanks for the question. After reviewing your post, it sounds like you are having difficulty installing iTunes in Windows. I would recommend that you read this article, it may be able to help you resolve or isolate the issue.
    Issues installing iTunes or QuickTime for Windows
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • I keep getting the following error message when I try to update my itunes, "There is a problem with this windows installer package. Aprogram run as part of the set up did not finish as expected.  Contact your support personnel or package vendor."

    I keep getting the following error message when I try to update my itunes, "There is a problem with this windows installer package. Aprogram run as part of the set up did not finish as expected.  Contact your support personnel or package vendor."

    Yes, I had found a similar solution also.  I'm running XP Pro, SP3.  I went Control Panels/ Add-Remove programmes/apple software update/ change/ repair.  Then run the 10.5 exe.
    While the programme updated from version 8 of iTunes, my new iTunes is now a mess.  Not all of my music was in the same folder previously but it all showed up on iTunes.  Now many albums have been left out, some have only a few tracks and some have two copies of some tracks as well as having other tracks missing.  I haven't begun to work on that.

  • I get the errer message "There is a problem with this windows installer package. A program required for this install to complete could not be run."

    I have Wondows Vista... I tried to upgrade to Itunes 10.5, and received an error orginially stating that I was trying to install a version older than the one I had.  I uninstalled all of itunes, and now I'm getting the error  message "there is a problem with this windows installer package.  Aprogram required for this install to complete could not be run.
    Help!  I have an IPhone, and I would like to get my Itunes upgraded so I can download the new Iphone software...
    Thanks!

    I have been in touch with Apple support in reference to my problem. We went through every solution available, and found no fix. The tech then suggested I contact Microsoft concerning this issue. I thought that suggestion was just to get me pointed somewhere but Apple. Boy was I wrong!! I contacted Microsoft, and was directed to a free download called Microsoft Fix. This program fixed something in the regisitor, and wala everything was fixed!! I now have I-Cloud and I-Tunes loaded and working well. So, if you can't install Apple Software and are running Window 7 you might give Microsoft Fix a try, it fixed my problem.....

  • I am trying to upload itunes 10.5, but get a message "There is a problem with this Window Installer Pkg. A program required for this install to complete could not be run.  Contact your support personnel or package vendor".  What is it I need to do?

    I am trying to install itunes 10.5, but during the download I get the following message, "There is a problem with this Window Installer Package.  A program required for this install to complete could not be run.  Contact your support personanal or package vendor."  If this is my personal computer and was able to upgrade to the previous version (pre 10.5), why not now?  What is my "package vendor"? And what is it I need to do to fix this?  The message is unclear.  Unfortunately, I deleted my itunes program, thinking that in doing so, 10.5 would finally load.  Now I have no itunes on my computer and unable to sync my iphone.  Help!
    Thanks - Rick

    Hi Rick,
    by "repair" I mean I went to the control panel, option - programs and features, and in the list of all my installed programs I selected "Apple Software Update". On top of the screen you find the options Uinstall, Change and Repair. I clicked the repair button and that did the trick. After the repair I could uninstall the program. I also uninstalled iTunes, Apple Application Support, Apple Mobile Device Support en Bonjour, thus all Apple programs. Then I installed iTunes 10.5 again and everything went fine.
    Success,
    Peter

  • HT1926 when trying to setup itunes on my pc i get the following message: there is a problem with this Windows installer package. A program required for this install to complete could not be run. How could I solve this problem?

    when trying to setup itunes on my pc i get the following message: there is a problem with this Windows installer package. A program required for this install to complete could not be run. How could I solve this problem?

    Repair your Apple software update.
    Go to START/ALL PROGRAMS/Apple Software Update. If it offers you a newer version of Apple Software Update, do it but Deselect any other software offered at the same time. Once done, try another iTunes install
    If you don't find ASU, go to Control Panel:
    START/CONTROL PANEL/Programs n Features/highlight ASU and click REPAIR,

  • ITunes 10.5 Upgrade fails to Install. The Error Message is: "There is a Problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor."

    When Upgrading on my laptop from iTunes 10.2.11 to 10.5.0 the message I get is: "There is a problem with this Windows Installer Package.  Aprogram run as part of the setup did not finish as expected. Contact your support personnel or pacakge vendor.

    After reading all these posts, one by one did not resolve my problem until I got the very end.  Regardless of what step would resolve your problem, these are the steps I would recomment to everyone for a what seems to be a safe and fool-proof upgrade to iTunes 10.5.
    1. Stand alone upgrade to the latest Quicktime version
    2. Go to control panel and "change" then select repair to the following applications in the order specified by the post on Oct 27. (Notice I skipped Quicktime because it had been upgrade manually,and Bonjour did not have a "repair" option)
    iTunes; Apple Software Update: Mobile Device Support; Apple Applications Support
    Some of these applications may not appear if they do not apply to your configuration (no iPhone, or no iPad, or other apple devices).
    Once all updated, I did not need to restart nor launch any applications, I simply went straight into the 10.5 upgrade, and where it normally got stuck, this time the installation continued for a while longer until it completed successfully.
    Great work everyone who contributed!  Thank you very much!

  • How to re-install iTunes after receiving "There is a problem with this Windows Installer package ..." message?

    Hi,
    This is how it all started. When the new update for iTunes 11 came out, I tried to update it. After I had updated it I found nothing had changed. So i tried rebooting my computer and everything and found that still nothing had changed. So I tried uninstalling it. After that I tried to re-install it, but it came up with the
    "There is a problem with this Windows Installer package ..." message. So I looked around the internet and found a website that told me to uninstall all Apple products. So i did that. When i tried to uninstall Apple Software Update, it came up with the 'problem with windows' message again. So I used Revo to uninstall it. So I rebooted and tried to install it again. It installed Bonjour and all of the other programs but stopped halfway and gave me the 'proplem with windows' message again. I've looked around and most of the solutions have been to try and repair Apple Software Update, but the problem is, I've already deleted it. So can someone PLEASSEEEE help me fix this problem! (Sorry for droning on)

    http://support.microsoft.com/mats/Program_Install_and_Uninstall  try this an see if it fixes it.

  • I'm not able to download Itunes.  I keep getting this Apple Software Update message that states "There is a problem with this Windows installer package.  A program required for this install to complete could not be run.  Contact your package vendor"

    Not able to access Itunes store anymore.  Just quit working for no reason.  I've tried deleting Itunes and related components from the Control Panel, but when I try to remove Apple Software Update, I get a message that states "There is a problem with this Windows installer package.  A program required for this install to complete could not be run.  Contact your support personnel or package vendor".  Not sure what this message means.  Am I suppose to contact Apple ?  What is meant by package vendor ?

    Apparently it's an itunes issue. I just tried to update and got the same issue. Called att to activate my iphone 4s and they say they can do the swap but apple is telling them itunes is down atm.  So will have to wait

  • When I try to install iTunes 10.5, it says, "There is a problem with this Windows Installer package.  A program run as part of the setup did not finish as expected.  Contact your support personnel or package vendor."  I have Windows XP and I need help.

    5, it says, "There is a problem with this Windows Installer package.  A program run as part of the setup did not finish as expected.  Contact your support personnel or package vendor."  I have Windows XP and I need help.

    After reading all these posts, one by one did not resolve my problem until I got the very end.  Regardless of what step would resolve your problem, these are the steps I would recomment to everyone for a what seems to be a safe and fool-proof upgrade to iTunes 10.5.
    1. Stand alone upgrade to the latest Quicktime version
    2. Go to control panel and "change" then select repair to the following applications in the order specified by the post on Oct 27. (Notice I skipped Quicktime because it had been upgrade manually,and Bonjour did not have a "repair" option)
    iTunes; Apple Software Update: Mobile Device Support; Apple Applications Support
    Some of these applications may not appear if they do not apply to your configuration (no iPhone, or no iPad, or other apple devices).
    Once all updated, I did not need to restart nor launch any applications, I simply went straight into the 10.5 upgrade, and where it normally got stuck, this time the installation continued for a while longer until it completed successfully.
    Great work everyone who contributed!  Thank you very much!

  • Error message on window 7 for install iTune and iCloud!!!"There is a problem with this Windows installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor."

    Hi,
    I just try to install the setup download from apple website for iTune and iCloud.
    During the installation, there was error message prompt out "There is a problem with this Windows installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor."
    I am using Window 7 32 bit. I have try several time for install, but the result is getting same error message.
    Anyone can help on this??????
    Thanks.
    Justin

    I have also tried extracting the individual components to the temp file and attempting to install them individually despite being unable to remove the previous install of Apple Software Updater.  The outcome, both Apple Software Updater and itunes encountered the same error message during the install process.

  • I am trying to update to iTunes 10.5 and am getting a Apple Software update error. "There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. ??

    I am trying to update to iTunes 10.5 and am getting a Apple Software update error. "There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. ?? I can't uninstall the Apple Software Update from my Control Panel. It states "Fatal error during installation" Please HELP!!!

    I am experiencing the exact same issue during the installtion process for iTunes 10.5.
    I uninstalled all Apple components but when I attempted to uninstall the Apple Software Update I received the same message: "Fatal error during installtion." I was able to repair the Apple Software Update but still could not install iTunes 10.5 afterwards.
    I have tried everything that I could find on these discussions pages as well as other suggestions on third party sites. I continue to receive the error message: "There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.
    I was able to uninstall and reinstall QuickTime 7.7.1. During the reinstalltion process I received the same message (There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.) But after clicking "OK" the installtion process was succesful. PLEASE HELP!

  • When I installed iTunes 10.6 to windows 7, during the process i got this message -" There is a problem with this windows installer package. A program required for this install to complete could not be run"

    when I installed iTunes 10.6 to windows 7, during the process i got this message -" There is a problem with this windows installer package. A program required for this install to complete could not be run" and after that the setup closed automatically. Plaese tell me if any setting up of windows is in order.

    Try looking at the two previous discussions listed on the right side of this page with your same question.
    Also, try searching/posting in the iTunes forum since you do not have an iPod problem.

Maybe you are looking for

  • How pass progressive in a stored procedure

    Hi, I've 3 procedures: procedure EXEC_STOR_A; procedure EXEC_STOR_B (SERV_IN VARCHAR2, NAME_IN VARCHAR2); procedure EXEC_STOR_C (SERV_IN VARCHAR2, NAME_IN VARCHAR2); and I've created one stored procedure that run the 3 procedures simultaneously CREAT

  • Using JFileChooser as a component

    How to know which button is pressed in a JFileChooser if I used it as a component instead of using its show...() method? I know I can use addActionListener to be notified when the user pressed a button, but the actionPerformed() is called even when t

  • How to define map of maps?

    Hello, i want to do something like that in pl/sql: TYPE map_type    IS       TABLE OF NUMBER          INDEX BY VARCHAR2 (1);    --    map: 1 -> 'a'    --         2 -> 'b'    --         11 -> 'A'    --         22 -> 'B'    TYPE map_of_map_type    IS  

  • Multi_node install

    I have reviewed O9i AS Overview Guide (a87353), O9i AS install guide (a86240-01), and O9i AS TWP Nov 2000. I am now looking for a guide/doc to describe how to perform a multi-tier with cache installation as illustrated on page 49 of the TWP 11/2000.

  • Mediasource Organizer has stopped working

    Hi I am having a problem with Mediasource Organizer version 2.0 with a Windows7 system. The organizer worked fine until about a month ago and I have been trying to troubleshoot it ever since. When I open the organizer the library is missing in the wi