Printing multiple queries data

I am calling a report A from report B. Report A has multiple queries that are not linked. When I run report A directly it prints the data from both the queries just fine. However, when I call it from report B, it is only printing data for the 2nd query. Any ideas why this is happening?
thanks

Check if this can help you:
Enhance web printing: multiple data providers!?
Regards

Similar Messages

  • Printing multiple queries.

    Is it possible to print multiple queries on a web template through one print button? Has any one been able to do this? The queries may or may not be from the same infoprovider. Thanks!

    Check if this can help you:
    Enhance web printing: multiple data providers!?
    Regards

  • Problem in Printing Multiple Invoice data

    Hi,
    My re quirement goes like this...
    My SMARTFORM receives 2 internal tables :
    1. Header data for all Invoices
    2.Item data for all invoices.
    Now I need to print each invoice in a new Page.
    I have done like this.
    First I am reading the header table with Index. After that I am incrementing the Index number.
    v_index = v_index + 1.
    READ TABLE HEADER index v_index.
    So, first time the fist invoice will be processed and Its item data will be printed in the main window.
    In the MAIN WINDOW after Item Table, i kept one COMMAND as Go TO NEW PAGE.
    So, that its starts processing the page again. and Next invoice will be read.
    Its working fine and Printing all the header data and footer data respective to that Invoice.
    But, its not displaying that data which is there in MAIN window. Its displaying MAIN window as EMPTY.
    I have seen in the debugging, when the NEW PAGE command is triggered, its processing all the secondory windows and PROGRAM LINES under that. But, it is not going into MAIN window Program Lines.
    Please let me know, how can I solve My problem.
    Thanks,
    Sandeep

    HI,
    You can give a page break after every new header invoice. using a command window just assign the first value of the table to a local variable when it is passing into the loop and whenever the value changes, GOTO newpage.
    Check the wiki,
    [Pagebreak in smartforms|https://wiki.sdn.sap.com/wiki/display/ABAP/PageBreakin+SMARTFORMS]
    Regards
    Sarves

  • How do I display data from Multiple Queries in a spreadsheet?

    I am running Oracle forms 10g as a kicker to export a report (rdf 10.1.2.0.2) to PDF or Excel Spreadsheet - User's choice.
    Doesn't matter if I have desformat = SPREADSHEET, DELIMITEDDATA, or DELIMITED; I still get only the first query displayed when I run in spreadsheet format.
    How do I display data from Multiple Queries in a spreadsheet? Is this possible?
    Thanks in advance!

    Hi adam,
    did you search the forum? You will find a lot of threads handling the problem of Excel file access.
    In short: you need to use ActiveX (the RGT also uses ActiveX under the hood)!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to print hard-coded data in multiple language in sapscript.

    Hi All,
    How to print hard-coded data in multiple language in sap-script, here the requirement is when printing the output
    we can see the window heading, description which are mostly hard-coded here I want to print these in both language as fallows,
    Goods to be delivered: = Morada de Entrega:
    Total net value excl. tax = Valor Total (IVA não Incluído)
    Description = Descrição
    Item = linha
    here I want to print in both languages like----       Goods to be delivered:/ Morada de Entrega:
    and the above headings in English are hard-coded.
    Kindly suggest me on this.
    Thanks in advance.
    Arun.

    Hi Arun,
    Use Standard text ade those text elements. Then use those in SAP script using different languages.
    Regards,
    Amitava

  • Scroll Bar Problem after Printing a web page containing multiple page data

    Hi All,
    I have a web application which has two DIV, one is main and one is child. I am having problem in printing multiple pages. There is a lot of data in the child DIV and i am using JavaScript functions to control the print functionality. When i print using window.print(), only the data on the main page currently being showed is printed. I further researched and checked out the Style.Overflow property.
    Now i am using divMain.style.overflow = "visible"
    After this the complete print comes. But in Firefox, the scroll bar disappears and only single page is left with no scroll bar .
    Now if after print i give divMain.style.overflow = "Auto" OR divMain.style.overflow = "Scroll", still the scroll bar doesn't come and if it comes then its inactive. I am unable to see the complete data on the page after the print is taken.
    The problem is not coming in I.E and the full data with scroll bar is recovered in I.E.
    Please help me how to get the normal page with full data and scroll bar after printing in Firefox.
    Thanks,
    Manuj

    hi, i would update my reader first to the newest version.
    does the size of the textfield never change, independant how much text is in it?
    perhaps check your subforms, if they are type "position" size does not change in my opinion, except your parent subforms expand to fit....
    or use "flowed" subforms...and regard the parent subforms too!

  • Cross tab data is getting multiplied if i use multiple queris in asingle report

    HI,
      i am using multiple queris for displaying data and graphs(charts).
      my requirement is to display 2 charts and data in crosstab in a single report.
      all the three thing (2charts and crosstab) will use diffrent values.
    I am writing 3 sql queries for getting appropriate values for charts and crosstab.
      Now the problem, both charts and crosstab are taking the values of all 3 queris
    i.e if i added crosstab  first to the report values are coming correctly. After  that if i add graph cross tab values are getting changed and graph values are not getting properly.
    if i add graph first then its coming correctly.
    if i tried to add all 3 components then values are going cores...... ?

    When you say you are writing 3 sql queries what do you mean? Are you creating 3 SQL command objects in the database expert? If so this is your problem, Crystal will pull a cartesian product through (this is every possible combinatin of rows from the 3 queries).
    If your 2 graphs and 1 crosstab are based on different datasets the way to approach this is to create each on a seperate report, then create a new blank report and add each of your 3 reports as subreports in the report footer.
    Hope this helps,
    Toby

  • Printing multiple copies of PDF causes huge amounts of data to be sent to printer...

    Whenever I need to print multiple copies of a PDF file Acrobat sends the complete file for each and every copy. This really chokes the RIP or laserprinter and takes many times longer to print than needed.
    It seems it is something to do with the CS3 software for Intel Macs and the issue has been around for a long time... My only solution at this stage is to print PDFs from the Preview app (built into OSX).
    http://designorati.com/articles/t1/graphic-design/1140/indesign-cs3-bug-when-printing-mult iple-copies.phpprint/
    Is a proper fix ever going to appear for this issue?? Apparently it has been resolved in InDesign - why not in Acrobat?

    Try to uncheck the collate box.
    Mike

  • Printing on Web - web template with multiple queries

    Hi.
    Trying to print to PDF from the Web, when I have more than 1 query in the web template, using Tabs.
    When the report has been run, if I select the tab for report A and then Print, I need report A to be printed. Similarly, if I have selected the tab for report B I expect report B to be printed.
    Is this possible without resorting to HTML coding direct? If so, can you tell me how, please? I have no problem printing single queries, the issue is how to print different reports without having several Print buttons. If it CAN only be done by HTML coding, could you send me some sample code please?
    As well as offering points for useful answers, I can also offer my Word document where I have broken 0ANALYSIS_PATTERN in to its components, with screenshots... I have found it invaluable.
    Thanks,
    Patrick

    The answer was to use the Tabstrip web item... although I still have to define a set of buttons for each tab, only one set is visible at a time, which is fine

  • Print multiple pages with dynamic data from same movieclip

    Hi @ all,
    like much of us i have a problem with printjob.
    I have a printjob routine, that starts a new job, then
    handles the following in a loop for printing multiple pages:
    1. update content for every page in a sprite. every loop it's
    the same sprite. the sprite is visible on stage
    2. addPage to Printjob
    after that sends the printjob to the printer
    Now the Problem:
    On Windows it runs perfectly. On Mac only the last page was
    printed. the other pages before are empty (white).
    Has anyone a idea?
    Thanks for answeres.
    Her's my code. As you can see i try to print a table on
    multiple pages. In every loop i only show the rows for the actually
    printing page:

    the printview function only updates the content in the sprite
    that will be printet on every page.
    it generates the rows of a table that will be printed on the
    actual page and return if all rows are printed (true or false)
    this is a very slim function. there is no time overflow or
    sth. like this.

  • Print multiple sections in report

    How do I print multiple sections in a report?
    For example, if I have 5 select statements in my data section and want to print them seperately, one after the other, how would I do that?
    I do not want to merge the data together. I want it to be like 5 reports concatenated together.
    Query1 Title
    Query1Results
    Query2 Title
    Query2Results
    ... etc ...

    What you need to do is create a new main frame for each query. The easy way that use to do this is create the section of the report and let the wizard create the frames for me. Then I move them around to make the section look the way I want it to. Then I open a new report. This one I'll build it using the second query. Then again use the wizard to setup the frames. Then you'll select the main frame from the second report using the frame selet button copy it and paste the layout into the first report. You will want to paste it under the first section. A little trick here is to first draw a small line right above where you want the second section. The paste the second section. This will make sure the the second section is close to where you want it. If you do not do this Reports will put it on top of the first section a lot of times. You'll have to recreate the data model again, but that is easier then setting up all the framing on a complex layout. Then repete the second report step until you have done all the queries or sections you want.
    I hope that helps,
    Tom

  • Insert multiple queries using either WORKBOOK, WAD or Report Designer

    Hello Guys
    I have a task where I have to insert multiple queries into one single page/sheet & print it out later. For this I can use any one of the tools available: Workbook, WAD or Report Designer.
    1. Workbook - Here I have read that we can use a call back MACRO and some other features.
    2. WAD - Here I have read that we can use: 1. Multiple data providers (one for each query) & 2. Multiple web analysis items linking to each individual data provider.
    3. Report Designer - Since this is the actual 'formatting' tool provided by SAP, I am assuming that this is the right environment to achieve my task.
    My question: Which one out of the above 3 tools is actually feasible? Can someone explain me in detail about how to go about this task. Any 'How to..' docs from SAP would also be most helpful.
    Regards.

    Hi Kashyap,
    I have done similar requirement in Workbook,it has better features and more user friendly than others......it depends on the individual...but U cna meet your requirement thru Workbooks...
    If the Req are complicated then we go for MAcros ,where in we can satify the critical req,say some sort of Dynamic reqs.
    There are lot of threads on Multiple queries in one Workbook....Just search in SDN and u will get lot of Threads on this topic.
    Come bak if u have any other doubts.
    Rgds
    SVU123

  • Multiple queries in reports with XSL-FO and without BI Publisher

    Hello,
    I'm trying to find out how to create a complex report in APEX for printing. The report contains multiple queries in different layout, images and static text.
    I don't have the possibility to use BI Publisher and I'm not an XSL-FO expert. However I'm trying to find out if it's possible at all not using BI Publisher.
    I'm having the impression that multiple report queries and layouts in APEX can only be used in combination with BI Publisher. I'd be glad if someone could give me an example of how to do multiple queries and layout in a single report only using XSL-FO.
    Thanks in advance,
    Jan Willem

    Hello,
    I'm trying to find out how to create a complex report in APEX for printing. The report contains multiple queries in different layout, images and static text.
    I don't have the possibility to use BI Publisher and I'm not an XSL-FO expert. However I'm trying to find out if it's possible at all not using BI Publisher.
    I'm having the impression that multiple report queries and layouts in APEX can only be used in combination with BI Publisher. I'd be glad if someone could give me an example of how to do multiple queries and layout in a single report only using XSL-FO.
    Thanks in advance,
    Jan Willem

  • Print multiple forms between FP_JOB_OPEN and FP_JOB_CLOSE

    I am aware, that there are questions regarding "Printing Multiple forms", but I didn't find answers there.
    Still my system is not working as expected:
    1.  FP_JOB_OPEN is called
    2. the generated Adobe Forms function is called multiple times
    3.  FP_JOB_CLOSE is called
    This program doesn't deliver all the pages, but just the first call. How shall I solve this problem?
    (Coding should work anywhere with copy-pase.)
    data: fm_name           type rs38l_fnam,
          fp_docparams      type sfpdocparams,
          fp_outputparams   type sfpoutputparams.
    parameters: p_fpname type fpname default 'FP_TEST_02'.
    * Get the name of the generated function module
    call function 'FP_FUNCTION_MODULE_NAME'
      exporting
        i_name     = p_fpname
      importing
        e_funcname = fm_name.
    * Sets the output parameters and opens the spool job
    call function 'FP_JOB_OPEN'
      changing
        ie_outputparams = fp_outputparams
      exceptions
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 4
        others          = 5.
    * Call the generated function module
    call function fm_name.
    * SECOND CALL ****************************
    call function fm_name.
    * Close the spool job
    call function 'FP_JOB_CLOSE'
    *    IMPORTING
    *     E_RESULT             =
      exceptions
        usage_error           = 1
        system_error          = 2
        internal_error        = 3
        others               = 4.

    Hi ZSOLT,
    In order to call the form multiple times please do the following,
    1) Just before your FP_JOB_OPEN you need to pass the output parameters (good practice). You can also set other parameters as well (for example nodialog, preview, copies., etc)
      CLEAR  fp_outputparams.
      fp_outputparams-dest = 'PDF1'.      "Default pdf printer
      fp_outputparams-reqnew = 'X'.       "New spool request
    Now call your FM FP_JOB_OPEN with the above output parameters.
    2) Usually this step is processed in a loop. (getting your interface data into a internal table and then looping at it)
    But here I am enhancing your example code.
    In order to trigger the form multiple times you need to change some input data to the form (for example I have changed date and time below in the prepare test data sections) so that the call function fm_name gets regenerated every time there is new data
    data  l_datatypes       type sfpdatatypes.
    prepare test data
      l_datatypes-char = '#'.
      l_datatypes-string = 'Auf geht''s! '.    "#EC NOTEXT
      l_datatypes-numc = '42'.
      l_datatypes-dec = 0 - ( 12345 / 7 ).
      l_datatypes-fltp = 0 - ( 12345 / 7 ).
      l_datatypes-int = 4711.
      l_datatypes-curr = 0 - ( 12345 / 7 ).
      l_datatypes-cuky = 'JPY'.       " no decimals
      l_datatypes-quan = 12345 / 7.
      l_datatypes-unit = 'DEG'.       " 1 decimal
      l_datatypes-date = '20040613'.      
      l_datatypes-time = '100600'.         
      l_datatypes-lang = sy-langu.
    FIRST CALL ****************************
    Call the generated function module
      CLEAR fp_docparams.
      fp_docparams-langu = 'EN'.       
      fp_docparams-country = 'US'.  
      call function fm_name
        exporting
          /1bcdwb/docparams        = fp_docparams
          datatypes                = l_datatypes
          mychar                   = l_datatypes-char
         mybyte                   =
          mystring                 = l_datatypes-string
         myxstring                =
          mydate                   = l_datatypes-date
          mytime                   = l_datatypes-time
          mynum                    = l_datatypes-numc
          myint                    = l_datatypes-int
          myfloat                  = l_datatypes-fltp
          mypacked                 = l_datatypes-dec
      IMPORTING
        /1BCDWB/FORMOUTPUT       =
    prepare test data
      l_datatypes-char = '#'.
      l_datatypes-string = 'Auf geht''s! '.    "#EC NOTEXT
      l_datatypes-numc = '42'.
      l_datatypes-dec = 0 - ( 12345 / 7 ).
      l_datatypes-fltp = 0 - ( 12345 / 7 ).
      l_datatypes-int = 4711.
      l_datatypes-curr = 0 - ( 12345 / 7 ).
      l_datatypes-cuky = 'JPY'.       " no decimals
      l_datatypes-quan = 12345 / 7.
      l_datatypes-unit = 'DEG'.       " 1 decimal
      l_datatypes-date = '20100913'.                 "You need to change your data in order it to trigger a new form with the new data.
      l_datatypes-time = '10700'.                        "You need to change your data in order it to trigger a new form with the new data.       
      l_datatypes-lang = sy-langu.
    SECOND CALL ****************************
    Call the generated function module
      CLEAR fp_docparams.
      fp_docparams-langu = 'EN'.
      fp_docparams-country = 'US'.
      call function fm_name
        exporting
          /1bcdwb/docparams        = fp_docparams
          datatypes                = l_datatypes
          mychar                   = l_datatypes-char
         mybyte                   =
          mystring                 = l_datatypes-string
         myxstring                =
          mydate                   = l_datatypes-date
          mytime                   = l_datatypes-time
          mynum                    = l_datatypes-numc
          myint                    = l_datatypes-int
          myfloat                  = l_datatypes-fltp
          mypacked                 = l_datatypes-dec
      IMPORTING
        /1BCDWB/FORMOUTPUT       =
    Close the spool job
    call function 'FP_JOB_CLOSE'
       IMPORTING
        E_RESULT             =
      exceptions
        usage_error           = 1
        system_error          = 2
        internal_error        = 3
        others               = 4.
    I have tested the above code and I am getting multiple forms.
    Please try on your end and let me know if it works.
    Thanks
    Raj

  • How to print multiple pages of same form with one print command

    Hi,
    I have created a cheque print form in smartform. There is provision to print multiple cheques. I give multiple cheque numbers from my selection screen and for each cheque the smart form is called in loop.  Currently I get preview of 1st cheque then I print 1st cheque then click on back, cancel or exit button and then I get preview of second cheque ans so on...
    Now I want to print all the cheques with one print command.
    Please advice.
    Regards,

    Instead of looping at the smartform multiple times, pass an internal table with the data content to the smartform and use loop/ Table youroption  in ur smartform in the main window.in this way u can achieve printing multiple cheques at once and avoid previewing the document several times.
    Edited by: Mithun Shetty on Feb 25, 2011 8:56 PM

Maybe you are looking for

  • Drive C showing in File Explorer under This PC and as a root namespace

    For me Drive C, which I have named C - W10EVM, shows twice in File Explorer's navigation column.  I only have the one volume on this VM (C:).  I start the window with the command (in a desktop shortcut): C:\Windows\explorer.exe /expand,C:\ This is wh

  • Wireless connection: mac maybe, pc yes

    i am currently piggybacking on a wi-fi connection pending getting my own isp connection. problem is that for the same network connection, my pc laptop will connect (and strongly) while my imac will not connect. they are less than 2 feet apart. some o

  • Problem in updating Data for infotype P0009 through BADI

    Hi, we are facing a problem while trying to update value of Date field for infotype P0009 through PA30. we have tried to update by using BADI hrpad00infty, we are providing value in new_innnn structure of method AFTER_INPUT, but the value is not gett

  • [질문]WAS 이용시 gc cr multi block request 발생

    OS 버젼 과 Word size : AIX 5.3 64BIT DB버젼과 Word size : DB VERSION은 10.2.0.3 64BIT RAC 환경이며 node1과 node2는 동일한 환경으로 구성되어 있습니다. 업무상 주로 이용하는 인스턴스는 node1 이구요. 파티션으로 구성되어 있는 테이블을 full scan하는 쿼리를 수행하는데 WAS에서 해당 쿼리를 날리면 gc cr multi block request 이벤트가 아주 오래 점유하고

  • Need to Remove a postiing

    can you please email me at [email protected] and let me know who to remove a posting - thank you