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

Similar Messages

  • 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

  • Problem in retrieve data  in COSS and COSP from PBS using FM /pbs/select_in

    hi all i have problem in retrieving data from COSP and COSS tables from PBS using FM /pbs/select_into_table in this FM i couldn't find the tables if any body knows pls reply back with the Archiving object to be use and parameters to be used.

    That are controlling tables-
    Have you installed PBS for Controlling ?
    try http://www.pbs-bensheim.de/
    A.

  • Requirement to print data of first and second report of an ALV at once

    Hi,
    I have an interactive ALV report in which on double click of any of the record on first report, its details get displayed in second report. My requirement is to print all the data (of first and second report) at once.
    Kindly tell me how can I achieve this functionality.
    Regards,
    Seema Naharia

    Hi Seema,
    Try with this FM 'REUSE_ALV_HIERARCHICAL_LIST_DISPLAY'.   
    Regards,
    Sujatha B.

  • Problem with reading data from screen and inserting in table

    hi ther,
    im new to abap-webdyn pro. can anyone suggest how to read data from screen and insert into table when press 'ADD' button.
    i done screen gui , table creation but problems with action. what the content of acton add.
    is ther any link that helps me or tut??
    thankx in advance!
    regards

    Hi,
    Create a context node for the screen fields for which you want to enter the values with cardinality 1.1.....
    Now in the layout of your view bind the screen input fields to that context node(attributes) to the value property of the input fields...
    Now in the action of ADD button....
    --> go the wizard and select the read node button and select the node which you have created it generates the auto code for you.....
    for example if the node is contains aone attribute like MATNR
    reading the node from wizard will generate the code as....
    DATA lo_nd_matnr TYPE REF TO if_wd_context_node.
      DATA lo_el_matnr TYPE REF TO if_wd_context_element.
      DATA ls_matnr TYPE wd_this->element_matnr.
      DATA lv_matnr TYPE wd_this->element_matnr-matnr.
    * navigate from <CONTEXT> to <MATNR> via lead selection
      lo_nd_matnr = wd_context->get_child_node( name = wd_this->wdctx_matnr ).
    * @TODO handle non existant child
    * IF lo_nd_matnr IS INITIAL.
    * ENDIF.
    * get element via lead selection
      lo_el_matnr = lo_nd_matnr->get_element( ).
    * @TODO handle not set lead selection
      IF lo_el_matnr IS INITIAL.
      ENDIF.
    * get single attribute
      lo_el_matnr->get_attribute(
        EXPORTING
          name =  `MATNR`
        IMPORTING
          value = lv_matnr ).
    here the variable lv_matnr will contain the entered value......
    now you can use this value for further process.
    Thanks,
    Shailaja Ainala.

  • Problem with "Insufficient data for image" and embedded JPEG 2000 Images

    I frequently download pdf from the http://www.glorecords.blm.gov web site.  They are reporting a problem with Reader Reader 10.1.4 and the pdf files they have.
    "("Insufficient data for image" and embedded JPEG 2000 Images)"
    I am experiencing the same "Insufficient data for image" error when opening their downloaded pdf and viewing in ACROBAT X 10.1.4.
    Can someone address this please?
    Win 7 sp1

    Read this:
    http://blogs.adobe.com/dmcmahon/2012/08/21/acrobat-insufficient-data-for-an-image-error-af ter-updating-to-10-1-4-or-9-5-2/

  • Problem with embedded data-sources.xml and custom UserManager

    Hi all,
    Our application uses a custom UserManager, which is basically extended from the JDBC UserManager, declared as follows in orion-application.xml:
         <user-manager class="com.infocorpnow.a2g.security.oracle.A2GUserManager">
              <property name="table" value="pos.users" />
              <property name="userNameField" value="username" />
              <property name="passwordFiled" value="password" />
              <property name="dataSource" value="jdbc/A2GDS" />
              <property name="groupMemberShipTableName" value="pos.user_roles" />
              <property name="groupMemberShipGroupFieldName" value="role_name" />
              <property name="groupMemberShipUserNameFieldName" value="login_id" />
         </user-manager>
    Since we want to be able to deploy the application several times on the application server, and therefore have each deployment of the ear point to its own datasource (i.e. its own local "A2GDS"), we've found out how to embed data-sources.xml inside the EAR file we're deploying, and modify the orion-application.xml as follows:
         <data-sources path="./data-sources.xml" />
    And then place data-sources.xml in the same meta-inf folder as the orion-application.xml.
    This has worked fine when deploying to the standalone OC4J.
    Now when I try to deploy the exact same EAR file in Oracle 9iAS, and I get to the User Manager screen, the Custom User Manager does not show up correctly. It did show up prior to me embedding the data-sources.xml. Please help? This is fairly urgent.
    Thanks
    Jason

    I should also mention I'm using the Java Edition of 9iAS R2 (9.0.3 container) on Solaris.

  • Problem by opening Data Orchestration Admin and Monitoring Tool

    Hi all,
    Using SAP NetWeaver Mobile (7.1) only
    You can access the SAP NetWeaver Mobile Administrator through the DOE. To do this, you must log on to the DOE and choose Data Orchestration Engine ® Data Orchestration Admin and Monitoring Portal.
    When the Browser opened, i dont get any information, there comes "The page cannot be displayed"
    But under DOE SETUP AND REPAIR i have installed all packages.
    I have installed the SAP Netweaver AS ABAP 7.1 newly, so is there a step which i forget?
    i hope you can help me
    thanks
    hassan

    So i have activate all the services, but there comes the same page.
    There is no fault number...
    This is the url:
    http://sapnw71:0/sap/bc/webdynpro/sap/sdoe_administration?sap-client=000&sap-language=EN
    What is with this port? Could that be possible?
    The page looks like this...
    The page cannot be displayed
    The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.
    Please try the following:
    Click the  Refresh button, or try again later.
    If you typed the page address in the Address bar, make sure that it is spelled correctly.
    To check your connection settings, click the Tools menu, and then click Internet Options. On the Connections tab, click Settings. The settings should match those provided by your local area network (LAN) administrator or Internet service provider (ISP).
    See if your Internet connection settings are being detected. You can set Microsoft Windows to examine your network and automatically discover network connection settings (if your network administrator has enabled this setting).
    Click the Tools menu, and then click Internet Options.
    On the Connections tab, click LAN Settings.
    Select Automatically detect settings, and then click OK.
    Some sites require 128-bit connection security. Click the Help menu and then click About Internet Explorer to determine what strength security you have installed.
    If you are trying to reach a secure site, make sure your Security settings can support it. Click the Tools menu, and then click Internet Options. On the Advanced tab, scroll to the Security section and check settings for SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.0.
    Click the  Back button to try another link.
    Cannot find server or DNS Error
    Internet Explorer

  • Printing of mainwindow after the secondary windows in the First Page

    Dear All,
    I have a requirement where i have to print the 4 secondary windows in the first half of a page and main window should start from the second half of the first page page.In main window i have used a template according to the cleunts requiremen.
    My Problem is i am getting the main window in second page and its not starting  in the first page.
    Please suggest how can achieve this.
    Regards,
    Prathima

    Check the the layout. What is the size of 4 secondary windows , as these are in the upper half , starting of main window is depending on them. You should check their size , also do test run to aline them properly.
    Hope this helps you.

  • Problem after storing data in Storage and trying to read it

    Hi all,
    I have a problem with reading the data from a Storage file I created. The code folows:
    public var storage: Storage;
    public var prop: Property;
    public var props: Property[];
    var initialized: Boolean = false;
    public function initiliazeDatabase(): Boolean {
    storage = Storage {
    source: "test.db"
    var resource: Resource = storage.resource;
    var inputStream: InputStream = resource.openInputStream();
    readData(inputStream);
    println("Initilatization done!!!");
    println("size: {sizeof props}");
    return initialized;
    function initStorage() {
    println("Initializing Storage…");
    var out = storage.resource.openOutputStream(true);
    var dummyRoot = "<prop></prop>\n";
    out.write(dummyRoot.getBytes());
    out.close();
    initialized = true;
    function parseCallback(e: Event) {
    if (e.type == PullParser.START_ELEMENT) {
    if (e.qname.name == "prop" and e.level == 0) {
    prop = Property { };
    } else if (e.type == PullParser.END_ELEMENT) {
    if (e.qname.name == "prop" and e.level == 0) {
    insert prop into props;
    } else if (e.type == PullParser.TEXT) {
    if (e.qname.name == "name" and e.level == 1) {
    prop.name = e.text;
    if (e.qname.name == "value" and e.level == 1) {
    prop.value = e.text;
    public function addProp(name: String, value: String): Void {
    prop = Property {
    name: name;
    value: value;
    insert prop into props;
    public function storeData(): Void {
    var out = storage.resource.openOutputStream(false);
    for (prop in props) {
    out.write(prop.toXml().getBytes());
    out.close();
    public function readData(inn: InputStream): Void {
    var parser = PullParser {
    input: inn;
    onEvent: parseCallback;
    try {
    parser.parse();
    initialized = true;
    } catch (npe: NullPointerException) {
    initStorage();
    Now, for the first time, the app works as it should, the Storage is initialized (if it does not exist) and the required fields are stored in it when I need to.
    However, the next time I start the application I get the following error:
    Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.javafx.runtime.provider.GUIRuntimeProvider$1.run(GUIRuntimeProvider.java:65)
    at com.sun.javafx.tk.swing.SwingToolkit$StartupRoutine.run(SwingToolkit.fx:582)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: com.sun.javafx.data.pull.impl.StreamException: [20,1] Syntax Error in prop
    at com.sun.javafx.data.pull.ukit.xml.ParserStAX.panic(ParserStAX.java:1516)
    at com.sun.javafx.data.pull.ukit.xml.ParserStAX.next(ParserStAX.java:400)
    at javafx.data.pull.PullParser.next(PullParser.fx:319)
    at javafx.data.pull.PullParser.parse(PullParser.fx:258)
    at com.gpsbuddy.utils.DatabaseUtils.readData(DatabaseUtils.fx:86)
    at com.gpsbuddy.utils.DatabaseUtils.readData(DatabaseUtils.fx:86)
    at com.gpsbuddy.utils.DatabaseUtils.initiliazeDatabase(DatabaseUtils.fx:30)
    at com.gpsbuddy.utils.DatabaseUtils.initiliazeDatabase(DatabaseUtils.fx:30)
    at com.gpsbuddy.main.Main.<clinit>(Main.fx:21)
    at com.gpsbuddy.main.Main.<clinit>(Main.fx:21)
    I did check the muffin file and it has no errors in it...
    Thanks in andvance...

    Well, as it appears, the second part of the exception was right.. :P... I do have problem with the XML file.. for some reason I cannot have two <prop> tags in one document?
    For example, if I have <prop></prop>, the program start ok... but when a new prop is added, for example, <prop></prop><prop></prop>, I get the error from the previous post?
    Does anybody know anything about this? Could this be an error in the parser, or I am missing something?
    Edited by: jonycus1 on Feb 25, 2010 3:10 PM

  • Location problem with Print data popup in a menu

    JDev 11.1.1.3
    I have a menu with a menu item defined to print a report.
    I use a popup to capture the start_date and end_date and a go button to call the report.
    The popup works fine - I get the popup.
    To do this - I drag the popup onto the page, add the button and fields.
    Then I add the show popup behavior to the menu item (cmi16 in this case)
    I define the popup to show "startAfter" with a trigger type "click" with cmi16 as the alignId.
    When I run the screen - the popup always displays in the upper right corner (0,0) - everything is correct - just the location is wrong.
    I have tried all the options for the alighment - always the same.
    Basically I want it to display either to the right of or under the menu item.
    Is there a way to do this?

    Hi,
    did you configure the "cmi16" reference using Oracle JDeveloper ? Chances are that "cmi16 " is contained in a naming container in which case the ID to reference is namingCintainerId:cmi16 . Also, I would use "action" as the type, not "click". Because people that use the tab to get to the popup launcher wont be able to start it with hitting enter (only the mouse works in your case)
    Frank

  • Problems sharing libraries between a Mac, and a Windows.

    Ok.
    So ive been doing a fair amount of research on the subject.
    Havent found much, so i decided to come here to see if any of you guys might help.
    Anyways, the i want to share my libraries over the network. So, the 2 computers are both connected, they see eachother, the libraries show up, but when played, everything is skippy, and cuts in and out.
    I checked everything.
    The connection is fine as far as i can see.
    I have a linksys WRT300N router, and i even upgraded the firmware on it.
    So, is there any sort of fix for this sort of problem?

    no help?

  • 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.

  • Secondary window trouble to print

    Hi Everyone!
    I have a smartform with one page. It has a main window and 3 secondary windows, all of them have tables in it.  When i send it to print, if the data on the main window doesnt display in the page it goes to the next page but it doesnt happen with the secondary windows...
    Please can you help me to display the information of the secondary windows on the next page on the same way that main window?
    Regards.
    Danyel
    Edited by: Danyel  Ramírez on Feb 25, 2009 9:52 PM

    Hi Danyel,
    Its the property of main window that lets the data flow to the next page when it exceeds the page, this is not available in case of secondary windows.
    try to include the data present in the secondary windows in main windows itself, may be in footer part of ur 1st table,
    кu03B1ятu03B9к

  • Need help with sorting records in primary and secondary databases

    Hi,
    I would like to store data into primary and secondary db in different order. For the main primary, I want it to be ordered by login_ts instead of uuid which is the key.
    For the user secondary database, I want it to be ordered by sip_user. For the timestampe secondary db, I want it to be ordered by login_ts.
    This is what I have right now,
    this is for main
    uuid=029ae227-a188-4ba8-aea4-7cbc26783d6 sip_user=200003 login_ts=1264327630 logout_ts=
    uuid=22966f76-8c8a-4ab4-b832-b36e8f8e14d sip_user=200003 login_ts=1264327688 logout_ts=
    uuid=e1846e4a-e1f5-406d-b903-55905a2533a sip_user=200003 login_ts=1264327618 logout_ts=
    uuid=e2f9a3cb-02d1-47ff-8af8-a3a371e20b5 sip_user=200003 login_ts=1264327613 logout_ts=
    this is for user search
    uuid=029ae227-a188-4ba8-aea4-7cbc26783d6 sip_user=200003 login_ts=1264327630 logout_ts=
    uuid=22966f76-8c8a-4ab4-b832-b36e8f8e14d sip_user=200003 login_ts=1264327688 logout_ts=
    uuid=e1846e4a-e1f5-406d-b903-55905a2533a sip_user=200003 login_ts=1264327618 logout_ts=
    uuid=e2f9a3cb-02d1-47ff-8af8-a3a371e20b5 sip_user=200003 login_ts=1264327613 logout_ts=
    this is for timestamp
    uuid=029ae227-a188-4ba8-aea4-7cbc26783d6 sip_user=200003 login_ts=1264327630 logout_ts=
    uuid=22966f76-8c8a-4ab4-b832-b36e8f8e14d sip_user=200003 login_ts=1264327688 logout_ts=
    uuid=e1846e4a-e1f5-406d-b903-55905a2533a sip_user=200003 login_ts=1264327618 logout_ts=
    uuid=e2f9a3cb-02d1-47ff-8af8-a3a371e20b5 sip_user=200003 login_ts=1264327613 logout_ts=
    but what I want is :
    this is for main
    uuid=e2f9a3cb-02d1-47ff-8af8-a3a371e20b5 sip_user=200003 login_ts=1264327613 logout_ts=
    uuid=e1846e4a-e1f5-406d-b903-55905a2533a sip_user=200004 login_ts=1264327618 logout_ts=
    uuid=029ae227-a188-4ba8-aea4-7cbc26783d6 sip_user=200003 login_ts=1264327630 logout_ts=
    uuid=22966f76-8c8a-4ab4-b832-b36e8f8e14d sip_user=200005 login_ts=1264327688 logout_ts=
    this is for user search
    uuid=e2f9a3cb-02d1-47ff-8af8-a3a371e20b5 sip_user=200003 login_ts=1264327613 logout_ts=
    uuid=029ae227-a188-4ba8-aea4-7cbc26783d6 sip_user=200003 login_ts=1264327630 logout_ts=
    uuid=e1846e4a-e1f5-406d-b903-55905a2533a sip_user=200004 login_ts=1264327618 logout_ts=
    uuid=22966f76-8c8a-4ab4-b832-b36e8f8e14d sip_user=200004 login_ts=1264327688 logout_ts=
    this is for timestamp
    uuid=e2f9a3cb-02d1-47ff-8af8-a3a371e20b5 sip_user=200003 login_ts=1264327613 logout_ts=
    uuid=e1846e4a-e1f5-406d-b903-55905a2533a sip_user=200003 login_ts=1264327618 logout_ts=
    uuid=029ae227-a188-4ba8-aea4-7cbc26783d6 sip_user=200004 login_ts=1264327630 logout_ts=
    uuid=22966f76-8c8a-4ab4-b832-b36e8f8e14d sip_user=200004 login_ts=1264327688 logout_ts=
    Right now, I have:
    int compare_login_ts(dbp, a, b)
         DB *dbp;
         const DBT a, b;
         int time_a = 0;
         int time_b = 0;
         time_a = atoi ( (char *)a->data);
         time_b = atoi ( (char *)b->data);
         return time_a - time_b ;
    for the timestamp secondary, I set that compare function:
              if ((ret = (*sdb)->set_bt_compare(*sdb , compare_login_ts )) != 0){
    Does anyone know how can I make it sorted according?

    Hi,
    The DB->set_bt_compare() is used to compare keys in Btree database. In the callback function, both the DBTs are key, but not data. Please refer to http://www.oracle.com/technology/documentation/berkeley-db/db/api_reference/C/dbset_bt_compare.html.
    If you want any field in the data to be sorted, you might create a secondary index on it and define the compare function as you wish.
    Regards,
    Emily Fu, Oracle Berkeley DB

Maybe you are looking for

  • How can I remove the Icloud email from my apple ID?

    I don't want Icloud at all. I don't use whatsoever however I did recently use my apple ID to log into icloud and there is a [email protected] email that seems to substituting for my actual email. How can I remove it? I certainly did not put that emai

  • Native Compilation

    Has there been any further word from Oracle on the status of making Java native compilation, or at least just in time compilation, an available option inside JServer (Aurora)? null

  • N97 windows live will not load as well as others p...

    well as listed above i,m having a real problem getting anything to load. just wondering if i,m the only one who,s getting this problem? & could do with someone,s help please. to start with windows messenger live will not load at all. the message i,m

  • HP Pavilion 15 Notebook PC

    Is there any reason to update Bios, if machine runs perfectly ? JS Denmark

  • I can't use Math.class

    I can't use Math.class although I import java.lang.*. plz help me.