Reg:how to include a report in another report.

Hi,
Can anyone please tell me how to call a report from another report.
My requirement is for example please see the below requirement :
In report1 I write the logic.
Zreport1.
select kunnr name1 from kna1 into table itab.
loop at itab.
write: / itab-kunnr,itab-name.
endloop.
In report 2 i write the declaration.
Zreport2.
Tables:kna1.
data:begin of itab occurs 0,
kunnr like kna1-kunnr,
name1 like kna1-name1,
end of itab.
Now I want to include or call the report1 in report2 .Can anyone please tell me how it can be done??

Hi,
write the submit statement as SUBMIT ZREPORT1 AND RETURN  in ZREPORT2 program..
If you dont execute the ZREPORT1 independently then its better you write that in a ZINCLUDE... and
include that in your second program where ever necessary..
for that check this...
+ZINCLUDE+
select kunnr name1 from kna1 into table itab.
loop at itab.
write: / itab-kunnr,itab-name.
endloop.
*ZINCLUDE ends here...
*Use the above ZINCLUDE as below...
Report Zreport2.
Tables:kna1.
data:begin of itab occurs 0,
kunnr like kna1-kunnr,
name1 like kna1-name1,
end of itab.
INCLUDE ZINCLUDE. " this will do the task mentioned in the include above...
I would rather suggest to go for the second method that is _ Specifying ZINCLUDE_ coz for the first one.. you need to
have data declarations and which is not necessary for just a simple select query.. if you are processing
any further in the first program then go for the first method_( SUBMIT STATEMENT)_ by declaring the necessary variables..
This would solve your issue...
Good luck
Narin
Edited by: Narin Nandivada on Sep 9, 2008 4:37 PM

Similar Messages

  • How to include one view into another view

    Hi SDN's,
                   Could any please tell me,How to include one view into another view.
    In my requirment.I want to create a 'Z' view for an interface .In that  view i have to take,
    1) Ship-to-email adrr by
                              LIKP-KUNNR -> KNA1-ADRNR
                              KNA1-ADRNR -> ADR6-ADDRESNUMBER.
    2) E-mail addr of person who created the document.i.e
        LIKP-ERNAM -> USR21-BNAME.
        USR21-ADDRESNUMBER ->  ADR6-ADDRESNUMBER 
        USR21-PERSNUMBER -> ADR6-PERSNUMBER.
       In both the case we have to pass ADDRESSNUMBER to ADR6 table.
    If we pass these condition it fails,B'Coz at a time it passes Two ADDRESSNUMBER and a PERSNUMBER.
    So i created two which fetches only the email addr of  person who created the document.and another view fetches Ship-to-email addr.
    Now i want to include the second view into first view . Is it possible?or please
    tell me someother way to get these email addresses in a single view.

    hi
    as per my knowledge, nested views are not possible. However, while creating a new view, selection method will not giv u option to select the already created view(S) except the tables..i think so.
    regards,
    shamim

  • How to call a report in another report?reply plz

    how to call a report in another report?

    hi,
    chk this.
    *Code used to populate 'select-options' & execute report 
    DATA: seltab type table of rsparams,
          seltab_wa like line of seltab.
      seltab_wa-selname = 'PNPPERNR'.
      seltab_wa-sign    = 'I'.
      seltab_wa-option  = 'EQ'.
    * load each personnel number accessed from the structure into
    * parameters to be used in the report
      loop at pnppernr.
        seltab_wa-low = pnppernr-low.
        append seltab_wa to seltab.
      endloop.
      SUBMIT zreport with selection-table seltab
                                    via selection-screen.
    *Code used to populate 'parameters' & execute report 
    SUBMIT zreport with p_param1 = 'value'
                    with p_param2 = 'value'.
    Other additions for SUBMIT
    *Submit report and return to current program afterwards
    SUBMIT zreport AND RETURN.
    *Submit report via its own selection screen
    SUBMIT zreport VIA SELECTION-SCREEN.
    *Submit report using selection screen variant
    SUBMIT zreport USING SELECTION-SET 'VARIANT1'.
    *Submit report but export resultant list to memory, rather than
    *it being displayed on screen
    SUBMIT zreport EXPORTING LIST TO MEMORY.
    *  Once report has finished and control has returned to calling
    *  program, use function modules LIST_FROM_MEMORY, WRITE_LIST and
    *  DISPLAY_LIST to retrieve and display report.
    Regards
    Anver

  • Calling one Report from another Report in oracle 10g(Urgent)

    Hi All,
    Can anyone let me know how to make hyperlink to call another report.
    I am trying
    SRW.SET_HYPERLINK('/reports/rwservlet?&report=rep059_v31.rdf&il&destype=cache&desformat=pdf');
    But i am getting message 'make sure the path or internet address is correct' .
    Please let me know what are the attributes used to create hyperlink.
    Thanks
    Nikhil
    Edited by: user9527411 on 29-Apr-2009 05:53
    Edited by: user9527411 on 30-Apr-2009 00:24

    Hello,
    The syntax is correct (except the & after the ?)
    You are using a "relative URL" . It means the browser will use the protocol , server and port from the current page in order to build a full URL
    (full URL = <protocol>://<server>:<port>/reports/rwservlet?report=test&destype=cache&desformat=html)
    Regard

  • Calling a report from another report

    Hi,
    Is there any way ,(any built in ) to call a report from another report in Report Builder 2000 and Report Builder 6i.
    Regards

    Try to call report from report by a button in the calling report:
    1     In the Layout Model view, click in the tool palette. Note
    2     Click and drag a rectangle.
    3     Double-click the button object to display the Property Palette.
    4     Under the Button Label node, set the Label Type property to either Text or Icon:
    n     If the button label is text, set the Text property to the text you want to appear on the button.
    n     If the button label is an icon, set the Icon Name property to the name of the file containing the icon (the file must reside in the directory specified by the UI_ICON environment variable).
    5     Under the Button Behavior node, set the Type property to PL/SQL.
    6     Double-click the PL/SQL Trigger property value field.
    7     In the PL/SQL Editor, define the PL/SQL for the action trigger or format trigger when the button is clicked in the formatted report.
    8     Set other properties as desired.
    9     To activate the button, run the report, then display it in the Runtime Previewer.

  • Calling a Report from another Report.....URGENT

    Hi,
    I am calling a report from another report using hyperlink. I want that this new report should come in a new page.
    Can any body help me where i can set this property, so that the new report will open in a new page.
    Thanks in advance
    Regards
    Kamal

    Try to call report from report by a button in the calling report:
    1     In the Layout Model view, click in the tool palette. Note
    2     Click and drag a rectangle.
    3     Double-click the button object to display the Property Palette.
    4     Under the Button Label node, set the Label Type property to either Text or Icon:
    n     If the button label is text, set the Text property to the text you want to appear on the button.
    n     If the button label is an icon, set the Icon Name property to the name of the file containing the icon (the file must reside in the directory specified by the UI_ICON environment variable).
    5     Under the Button Behavior node, set the Type property to PL/SQL.
    6     Double-click the PL/SQL Trigger property value field.
    7     In the PL/SQL Editor, define the PL/SQL for the action trigger or format trigger when the button is clicked in the formatted report.
    8     Set other properties as desired.
    9     To activate the button, run the report, then display it in the Runtime Previewer.

  • Can we call a report in another report?

    I have developed a XMLP report for AR receivables for a customer and another XMLP report for AP vouchers for a customer.
    Now my requirement is to develop a report for AR/AP Balance for a customer,which is combination of above 2(ie AR Receivables report + AP vouchers report).
    What is the possible solution to above mentioned requirement??
    Can I call a report from another report(for ex AP vouchers report from AR Receivables report).Is this possible?
    If yes,please explain...
    Or are there any alternatives to this requirement??
    Thanks in advance!!

    Hi,
    Calling another report in a report? Not sure about your requirement but you can do fnd_submit/fnd_request.
    OR, if you need AR/AP balance,... here's an alternative solution:
    If you're in R12, there is the "Automatic Netting (AP/AR)" feature in Payables. You could check on the available report if it fits your need.
    In 11i, you may run "Supplier Customer Netting Report" (ARXSCN). This is an OReport(RDF) and could be converted to XMLP. This report is designed to display the net balances in AP and AR for Vendors and Customers with the same name, NIF Code, or VAT Registration.
    Hope this helps.
    Rownald

  • Can we run one report from another Report in reports 6i

    Actually my requirement is i want to run 4 reports from another report(driver report) by passing parameter same as the driver report.
    i want to see the out put on the screen report by report next to driver report output.is it possible?? actually i got the solution for printing or taking file. but i want to show the output on the screen.
    Edited by: user9165808 on Feb 16, 2010 3:21 AM

    I used SRW.RUN_REPORT () . But my question that is it possible to show report in batches on screen??
    Edited by: user9165808 on Feb 19, 2010 4:23 AM

  • How to get the value from another report Customizes Form

    Dear all,
    I create a report such as
    select * from mytable.table1
    where field1 = :bind_variable
    I create a menu to run this Customized Form and user have to select the bind_variable values. So I have another report created which also want this bind_variable as it WHERE Clause. But I don't want my user to key the same bind variable twice. They can just same the Customized Form and run for both report.
    Could anybody know how to get the bind_variable on 1st report and used by the 2nd report.
    Thank you very much.
    Best Rgds,
    SL Voon

    Hi,
    are you on BI7.0? There you can create variables type replacement path and get the value out from a different variable without any coding.
    regards
    Cornelia

  • Include a report in another report - URGENT!

    Hi all
    I generated 5 reports with Oracle Reports 9i and now I want to manage it as I wish in order to generate a single file (one single big report) as an output.
    Can I include one or more reports (.rdf, .rep, .....) inside another report (a wrapper report) ?
    This wrapper report has the business logic in order to show one or more little reports inside it.
    Note that the output of my business process is one single file.
    I hope you can help me!
    Thank in advance
    Regards

    See my reply in:
    Nested Report

  • How to keep the filter when jump from one report to another report?

    Hi experts,
    How to use the "Link" or "Button Group" Web Item in BEx Web Application Designer to jump from one report A to another report B, both the filter of report A and report B could be kept and not missing.
    When I use jump from report A to report B, the filter of Report B disappears.
    But I need the filter of Report B to stay there and could be used.
    Thanks
    Alex

    Hi..
    I tried Your approached but I got an error as the field are connected to Entity Object and they are mandatory.
    I achieved it using another way. Using " setForwardURL " method only.
    As I am calling this method to delegate back to first page. This method takes 8 input parameters.
    The 6 no parameter is about to retain AM or not. It a boolean type. Initially it was TRUE as soon as I changed it to False it worked as I needed. :)
    Thanks and Regards,
    Ajay

  • How to display a value of one report in another report in obiee 11G

    Hi,
    I have Requirement, I created one report in that i have a columns Rank, Net price, list price and ..., so in prompt i have rank column and year column so if i enter rank as 5 and year it shows me top 5 ranks with net prices according to selected year in prompt, now i did a grand total on rank column to get total sum on net price, i got $12345 value for net price column . Now I created another report in this it shows sum of total year for net price with value $1234567, this value i got when i selected year 2011 in prompt i.e same prompt . Both this reports have same prompt in section 1 Prompt and in section 2 this two reports. Now i need to Display a pie chart with this two total values coming from two different reports in same pie chart. but i can't display both columns on same report. please help me
    Thanks,
    Pankaj
    Edited by: Pankaj on Apr 2, 2012 4:20 PM

    Any Help Guys..

  • Reg:HOw to add new charactersitics in standard report

    hi all
    HOw to add new charactersitics in standard report
    regards
    JK Rao

    You need to copy the std report and make necessary changes in the copied report. SAP does not allow changes to std report. The technical details of the report can be seen by selecting from the menu Extras - technical information. Select the library and Report name. Copy the same using t code GRR1. Carry out necessary changes and SAVE. Before execution, you will have to specify the report group in which report needs to be attached. You can choose and existing group or specify a new one.
    Regards
    Rakesh Pawaskar

  • How to use the data from 1 report in another report?

    Hello All
    I have a data model like the following:
    Physical and logical join the same as below:
    Dim1 <--- Fact 1 ---> Dim2 <-- Fact 2 --> Dim3
    Now I have 1 report (Report A) which is out of Dim1 <--- Fact 1 ---> Dim2
    and another report (Report B) which is out of Dim2 <-- Fact 2 --> Dim3
    Now the measure from report A needs to be divided by the measure from Report B.
    What's the best way to achieve this?
    Thanks in advance

    Hello
    Thank you for the reply. Actually, this approach you mentioned may not work. I forgot to mention, that although the data model was simple, but for each report, the filtering conditions were quite complicated.
    So in other words, after all of the complex filtering, aggregation, I was finally able to get the correct number from report 1, which is summed and displayed, and it's only 1 row. Report 2's values are summed the filtered differently, but it returns multiple values.
    So now, I wish I can just take what I can visually see from report 1 in the dashboard and divide it with each row of report 2 in the dashboard. Is there a way to do this kind of thing in 11G?
    Thanks

  • How to read ABAP STACK of another report

    Hi,
    I wish to read the ABAP STACK of another report which may or may not be running in debugging mode.
    First of all is it possible. if yes then pls reply.
    Thanks

    Hhhmm, ok, then I really didn't understand your request. Here's something that might come closer, but is actually of questionable value due to timing issues: Assuming that you know already the debugging takes place on the same application server you could call function module TH_GET_WPINFO and check for any processes with WP_WAITING = 'Debug'. For those take the work process number WP_NO and get the details via TH_WP_DETAIL_INFO (feeding the work process number into WP_INDEX and evaluating the parameter DIAREC-REPORT. However, this doesn't give you call stack and I'm pretty sure it always just contains the current main program that's running. Not to mention the fact that between the calls the debugging might have ended... (though in the second call it seems that WP_INFO-WP_ISTATUS = 8 seems to indicate that process is in debugging from the few tests that I did).

Maybe you are looking for

  • Re: Acrobat 9 - Attach to email, file name as subject line?

    Where has this feature gone??? It's a simply time saver that our studio of over 40 relied upon everyday, and surprise-surprise, we outlay heaps more money for upgrades and yet again a feature has been forgotten since the previous version. MY GOD THIS

  • HT4009 I can't get my updates on my ipad ?

    I can't get up updates to work, everything else is working.  I'm using an ipad 3 ,  can someone help me please?

  • HT204487 iPhoto Event Driven Smart Folders Destroyed in Photos

    I have 10 smart albums based on named events in iPhoto that don't even show up in Photos.  I have 20 more smart albums that came across but not one folder have the correct pictures.  I know that I can use iPhoto but the last update of that app no lon

  • External Shared Drive Issues

    I have a brand new AirPort Extreme.  I am using it with three Windows 7 computers.  All are successfully receiving a wireless internet signal from it.  My issue is that I want to share an external drive.  Currently I have a 150GB external drive (form

  • Oracle Trace - collection through CLI

    This is concerning the collection of database server events through Oracle Trace manual collection utility from Command Line: 1) There is an event called 'LogicalTX Event'. I'm not clear about the items - TX_Type and TX_SO_Addr. I have an application