Report value pass to another Report

From my 1st report I am doing
CASE LV_UCOMM.
WHEN '&IC1'.
      READ TABLE DISP INDEX SELFIELD-TABINDEX.
      CASE SELFIELD-FIELDNAME.
WHEN 'TXZ01'.
          WA_PARAMS-SELNAME = 'TK_MATNR'.
          WA_PARAMS-KIND = 'S'.
          WA_PARAMS-SIGN = 'I'.
          WA_PARAMS-OPTION = 'EQ'.
          WA_PARAMS-LOW = DISP-MATNR.
          APPEND WA_PARAMS TO I_PARAMS.
          WA_PARAMS-SELNAME = 'IF_LIFNR'.
          WA_PARAMS-KIND = 'S'.
          WA_PARAMS-SIGN = 'I'.
          WA_PARAMS-OPTION = 'EQ'.
          WA_PARAMS-LOW = DISP-LIFNR.
          APPEND WA_PARAMS TO I_PARAMS.
          CALL FUNCTION 'SUBMIT_REPORT'
            EXPORTING
              REPORT           = 'ZVISRM06IBP0'
              SKIP_SELSCREEN   = 'X'
            TABLES
              SELECTION_TABLE  = I_PARAMS[]
            EXCEPTIONS
              JUST_VIA_VARIANT = 1
              NO_SUBMIT_AUTH   = 2
              OTHERS           = 3.
          IF SY-SUBRC = 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
endcase.
endcase.
Now what I doing is that, when I run my 1st report then in the output screen the whenever the user clicks on the material name a new screen comes with material purcahse history. Here on this page I want to print the Material No. and the Vendor.
How can i get that value in the second report.

HI,
I think your code is right but check the following.
CASE LV_UCOMM.
WHEN '&IC1'.
      READ TABLE DISP INDEX SELFIELD-TABINDEX.
      CASE SELFIELD-FIELDNAME.
WHEN 'TXZ01'.
          WA_PARAMS-SELNAME = 'TK_MATNR'. " Is this select option in report ZVISRM06IBP0??
          WA_PARAMS-KIND = 'S'.
          WA_PARAMS-SIGN = 'I'.
          WA_PARAMS-OPTION = 'EQ'.
          WA_PARAMS-LOW = DISP-MATNR. " Check if this field is getting values
          APPEND WA_PARAMS TO I_PARAMS.
          WA_PARAMS-SELNAME = 'IF_LIFNR'. " Is this select option in report ZVISRM06IBP0??
          WA_PARAMS-KIND = 'S'.
          WA_PARAMS-SIGN = 'I'.
          WA_PARAMS-OPTION = 'EQ'.
          WA_PARAMS-LOW = DISP-LIFNR. " Check if this field is getting values
          APPEND WA_PARAMS TO I_PARAMS.
          CALL FUNCTION 'SUBMIT_REPORT'
            EXPORTING
              REPORT           = 'ZVISRM06IBP0'
              SKIP_SELSCREEN   = 'X'
            TABLES
              SELECTION_TABLE  = I_PARAMS[]
            EXCEPTIONS
              JUST_VIA_VARIANT = 1
              NO_SUBMIT_AUTH   = 2
              OTHERS           = 3.
          IF SY-SUBRC = 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
Regards and Best wishes.

Similar Messages

  • Report value generate from another report

    Hi Experts,
    While executing the query itself i needs to get the value of another report. It has to generate value instantly with out any clicking any fields in the result. How this can be achieved?
    Thanks,
    Kuttan

    HI,
    You can use replacement path variable.
    - Jaimin

  • How to use one report column into the another report in obiee

    How to use one report column into the another report in obiee

    i dont want to use column as a filter for another report it should be report column for another report
    Thanks,
    Vivek

  • Error Invalid report! Please choose another report.

    Hi All,
    I have an query, i am creating a Publication from InfoView and  Dynamic Recipients page while uploading the "Select the data source name for the document " i am getting  "Invalid report! Please choose another report." before 15 days it is working fine
    please suggest
    Regards,
    Jeet

    for reference please look below thread
    Dynamic Recipients Error: Invalid report! Choose another report.
    i am using sap bo Infoview 3.1
    Thanks in advance,
    Ranjeet

  • How can we pass the master report value in to detail  report

    Hi All,
    My question is how can I pass the master report value in to detail (Child) report filter?
    I mean I have one master report if I click on employee name then I have to pass the employee id in to details report filter. Then detail report will display data for that particular employee.
    How can I achieve this one in OBIEE?
    Please help me to resolve this issue. Thanks in advance for your time and support.

    In that case, you should look at using Go Url. In your column formula for the employee name, create a hyperlink to the detail report and pass the employee id.
    Take a look at this post: Re: Dyanmic display of the Image Link URL
    Thanks!

  • 2.2 item values passing w oracle reports

    Since upgrading from 1.6 to 2.2, The url to an oracle report does not pass the item value to the report.. also, it drops the item value and just leaves the &. This was working fine in 1.6...
    This is my link in htmldb:
    http://apps.mytxi.com/reports/rwservlet?report=e:\\prod\\reports\\agg_production.rdf&server=schedserver&destype=cache&desformat=pdf&cmdkey=dbuser1&P18_LOB=&P8_LOB.&p18_tkt_loc=&P8_TKT_LOC.&p18_date99=&P8_DATE99.&p8_draft_approval=&P8_DRAFT_APPROVAL."
    and this is what it does when you call the report:
    http://apps.mytxi.com/reports/rwservlet?report=e:\\prod\\reports\\agg_production.rdf&server=schedserver&destype=cache&desformat=pdf&cmdkey=dbuser1&P18_LOB=&p18_tkt_loc=&p18_date99=&p8_draft_approval=
    any help will be greatly appreciated...
    thanks

    Steve - Try upper-casing each item value expression (&P18_TKT. instead of &p18_tkt.) and see if that fixes it. If it does, then check the setting of Exact Substitutions in the application's attributes. If that is No, set it to Yes. If it was No and you change it to Yes, you should then be able to use the original link you were using with the lower-case expressions. However it you find the setting to be No and upper-casing the expressions doesn't help or if you find the setting to be Yes or you change it to Yes and neither lower-case nor upper-case expressions work, we will have to look into it further. If you do change the setting from No to Yes, you will have to locate all item name expressions in your application that might not have the trailing period and add the period.
    Scott

  • Output of one Report as input to another report

    Hi friends,
             I want to pass output of my zreport as input to another report. I want to pass all the values of one column in the input put field of another report.
    Thanks and Regards
    Neelesh

    hi neelesh
    let assume u want send a data from Report 1 to Report 2 means
    use the following code
    SUBMIT report2  WITH parameter1 = parameter1
                             WITH selectoption IN selectoption1
                             AND RETURN.
    rewards if its usefull
    regards
    deva

  • Output of one report is input to another report?

    Hi Expert's,
    Is it possible to use output of one report as an input to another report.I mean to say  fields which are avialble in the first report  is used as a input for another report.
    Thanks,
    vasu.

    Hi,
    Yes, you can do that.
    You can run a first report having characteristics as output. You can then use the returned cahracteristic values as input variable for a second query.
    You can achieve this by creating a replacement path (based upon your first query) variable in the second report.
    Another option would be to use the report to report interface (RRI).
    hope this helps,
    Olivier.

  • Copa report values not coming in report

    hi Gurus
    In copa Values are not coming in report.
    where is the problem
    can anybody suggest
    bye
    Ramesh Reddy

    Hi Ramesh,
    First u check with whether the COPA is integrated with other modules or not? that means with fi/mm and co and SD...

  • How to populate a hidden form field with a value passed from another page

    I'm using PHP/MySQL and DW CS4.
    I am trying to obtain the external key for a table, and include it as a hidden field in a form for a second table.
    The user selects a "need" from a list and is taken to a new page which displays the need selected in the prior page and a form the user can fill out with details of his offer, there should also be a hidden field in this form that contains the index to the needs table, this hidden field holds the external key. Most of the code is working, except for populating the hidden field with the external key. I have proven(by printing it to the screen) that I have obtained the external key and stored it in a variable ($saveNeedId) . What I'm unable to do is assign this variable to the hidden field in the form I'm about to store in a table. Sometimes I get zero and sometimes I get the index to the first need in the table. This ought to be simple but I can't get it to work, I must be missing something obvious - still very new to PHP.
    Here's the code that sets up the variable and prints it to the screen for test purposes
          $saveNeedId = "-1";
              if (isset($_GET['needId'])) {
                $saveNeedId = $_GET['needId'];
                print $saveNeedId;
    Here's the code that sets up the hidden fields in the form, the one I'm trying to set up is the first one, needId
         <input type="hidden" name="needId" value="<?php echo $row_rsNeedsUnmet['needId']; ?>" />
         <input type="hidden" name="offerId" value="" />
         <input type="hidden" name="MM_insert" value="form1" />
    The page where the user sees the list of needs is here www.hollisterairshow.com/weneed.php
    I'd really appreciate sone help with this, I've tried all combinations of double quotes, percent signs and nothing works...sigh.
    Tony

    Here's the code that sets up the variable and prints it to the screen for test purposes
          $saveNeedId = "-1";
              if (isset($_GET['needId'])) {
                $saveNeedId = $_GET['needId'];
                print $saveNeedId;
    Here's the code that sets up the hidden fields in the form, the one I'm trying to set up is the first one, needId
         <input type="hidden" name="needId" value="<?php echo $row_rsNeedsUnmet['needId']; ?>" />
         <input type="hidden" name="offerId" value="" />
         <input type="hidden" name="MM_insert" value="form1" />
    <input type="hidden" name="needId" value="<?php echo $_GET['needId']; ?>" />
    I looked at your page. It looks like you figured it out.

  • How to pass value from the Z Report to the selection screen of the std rep

    Dear Experts,
    i have developed a report and the values are maintained only in internal table based on some condition.  When I execute the report, for example MM60, there is a material number field for multiple selection.
    the report should call the standard transaction and pass the values from the internal table to the multiple selection- material number of the standard transaction.
    the standard transaction should never get executed automatically.  Only the value should get passed from internal table to the standard t code.  Please help.
    regards,
    Shankar

    Hai
    Go through the following Documents
    SUBMIT rep.
    Additions
    1. ... LINE-SIZE col
    2. ... LINE-COUNT lin
    3. ... TO SAP-SPOOL
    4. ... VIA SELECTION-SCREEN
    5. ... AND RETURN
    6. ... EXPORTING LIST TO MEMORY
    7. ... USER user VIA JOB job NUMBER n
    8. ... Various additions for parameter transfer to rep
    9. ... USING SELECTION-SETS OF PROGRAM prog
    Effect
    Calls the report rep . Leaves the active program and starts the new report rep .
    Addition 1
    ... LINE-SIZE col
    Effect
    Prints the report with the line width col .
    Addition 2
    ... LINE-COUNT lin
    Effect
    Prints the report with lin lines (per page).
    Addition 4
    ... VIA SELECTION-SCREEN
    Effect
    Displays the selection screen for the user. In this case, the selection screen is redisplayed after return from the report list display - the user's entries are retained.
    Addition 5
    ... AND RETURN
    Effect
    Returns to the calling transaction or program after the called program has been executed. SUBMIT ... AND RETURN creates a new internal mode .
    Addition 6
    ... EXPORTING LIST TO MEMORY
    Effect
    Does not display the output list of the called report, but saves it in SAP memory and leaves the called report immediately. Since the calling program can read the list from memory and process it further, you need to use the addition ... AND RETURN . Also, since the called report cannot be requested for printing, the addition ... TO SAP-SPOOL is not allowed here. You can read the saved list from SAP memory with the function module 'LIST_FROM_MEMORY' and then (for example) store it in the database with EXPORT . You can process this list further with the function modules 'WRITE_LIST' , 'DISPLAY_LIST' ... of the function group "SLST" .
    Addition 7
    ... USER user VIA JOB job NUMBER n
    Effect
    Schedules the specified report in the job specified by the job name job and the job number n . The job runs under the user name user and you can omit the addition USER user . The assignment of the job number occurs via the function module JOB_OPEN (see also the documentation for the function modules JOB_CLOSE and JOB_SUBMIT . This addition can only be used with the addition ...AND RETURN .
    Note
    When scheduling a report with the SUBMIT ... VIA JOB job NUMBER n statement, you should always use the addition ...TO SAP-SPOOL to pass print and/or archive parameters. Otherwise, default values are used to generate the list and this disturbs operations in a production environment.
    Addition 9
    ... USING SELECTION-SETS OF PROGRAM prog
    Effect
    Uses variants of the program prog when executing the program rep .
    Note
    Important
    The programs prog and rep must have the same SELECT-OPTIONS and PARAMETER s. Otherwise, variants of the program prog may be destroyed.
    Note
    When using this addition, the specified variant vari of the program prog is taken in USING SELECTION-SET vari . On the other hand, all variant-related actions on the selection screen of rep (Get , Save as variant , Display , Delete ) refer to the variants of prog .
    Example
    SUBMIT REPORT01
    VIA SELECTION-SCREEN
    USING SELECTION-SET 'VARIANT1'
    USING SELECTION-SETS OF PROGRAM 'REPORT00'
    AND RETURN.
    Effect
    Executes the program REPORT01 with the variant VARIANT1 of the program REPORT00 .
    Note
    Runtime errors
    LOAD_PROGRAM_NOT_FOUND : The specified program was not found.
    SUBMIT_WRONG_TYPE : The specified program is not a report.
    SUBMIT_IMPORT_ONLY_PARAMETER : Only one value passed to a report parameter.
    SUBMIT_WRONG_SIGN : Invalid value passed to a selection with the addition SIGN .
    SUBMIT_IN_ITAB_ILL_STRUCTURE : Table passed to a selection with WITH sel IN itab had an unexpected structure.
    Try with this Example
    Data: listobject like abaplist occurs 1 with header line.
    CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
    listobject = listobject
    EXCEPTIONS
    OTHERS = 1 .
    IF sy-subrc <> 0.
    message ID '61' TYPE 'E' NUMBER '731'
    with 'LIST_FROM_MEMORY'.
    ENDIF.
    Thanks & regards
    Sreenivasulu P

  • How can I pass a filter value to another report?

    I'm using a filter within a formula of a field. For example: (FILTER("Facts - Actuals Ledger"."Actual" USING ("Time"."Fiscal Quarter" = '2012 Q 2'))-FILTER("Facts - Actuals Ledger"."Actual" USING ("Time"."Fiscal Quarter" = '2012 Q 1')))*-1
    What the above is doing is calculating the variance between Q1 and Q2. My issue is when I drill on this value to a more detailed report, it's combining the Q1 and Q2 values, instead of showing the difference. I'm trying to avoid having to hard code the drill report and was wondering if there's any way to pass the calculated FILTER to the other report?
    Thanks.

    Hi,
    I presume that you want to show the the difference between a prompted quarter and its previous quarter?
    If so, I would use the Ago Time Series Function to create a new logical measure for prior quarter e.g.
    ago("Facts - Actuals Ledger"."Actual", "Time"."Quarter", 1)
    Note that the function should contain the time dimension level for quarter. The 1 at the end is the offset e.g. 1 quarter ago. This measure will now return the prior quarter value for whatever quarter is prompted.
    Create a prompt for your report for Fiiscal Quarter, and set a filter in the report for the same column with an operator of Is Prompted.
    Add the base measure ("Facts - Actuals Ledger"."Actual") and your new Ago measure to the report. When you prompt the report with a quarter, these two columns will show the Actual amount for the promted quarter and the previous quarter respectively. Now all you need to do is subtract one from the other.
    Now, when you drill to another report, the filter value of the prompted quarter will be passed across. Apply the same logic to define measures in the drill report, receiving the prompted quarter only.
    Note that you can also use Time Series Functions in the column formula when creating the analysis.
    Please mark if helpful / correct,
    Andy
    www.project.eu.com

  • Pass report values to another dashboard?

    HI all,
    I have two reports say, Report1, Report2 in a Dashboard. Report1 is in one page and Report2 in another page of that dashboard.
    Say Report2 has these columns.
    gl company |||||||| gl account |||||||||||product||||||||||||||| balance
    User has to click on any product value in this report and then, it should take the user to another report Report3 in another dashboard(or same dashboard). BUT, Report3 is from a different fact than Report1, Report2.
    When the user clicks on Product values of Report2, the corresponding gl company, gl account, product values must be passed on to REPORT 3 (they act as criteria for Report 3) How can we pass on these values to REPORT3 which is based on another fact?
    I can use "navigation" But, that passes the values to report3 ONLY if that is based off the same fact as of the other two reports.correct?
    Btw I am using OBIEE 10.1.3.4.1

    I was using this link for the Go URL .
    I have used this code for "Product" field of REPORT 2.
    '<--a href=http://localhost:9704/analytics/saw.dll?GO&
    path=/shared/Development/Report3
    &Action=Navigate
    &P0=1
    &P1=eq
    &P2="Fact - Table1"."product"
    &P3='||" Fact - Table2"."product"||'
    style="text-decoration:none;">'
    ||
    '<--/a>'
    I have used text -decoration : none attribute too. But I am unable to see any values in PRODUCT column in REPORT2. It is BLANK
    One more thing is that, I tried replacing the spaces in table name by %20 in the above code. But it was throwing an error. hence I had to keep it as it is.
    Any idea why it wouldn't show me the product values?
    Any help appreciated. Thanks,

  • How to pass values to a module pool program from another Report Program

    Hi ..
    Please let me know how I can pass values to a MODULE POOL selection screen field from another Report Program.
    Thanks
    RK

    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/frameset.htm

  • How to pass hierarchy node value to another report using RRI

    hi,
    i want to pass hierarchy node value to another report but i can not able to do this using hierarchy variable so i want solution for this.
    Reply me as soon as possible its very argent.

    Did you wanted to jump from Node to Node ? I guess you cannot do that....did you try ?

Maybe you are looking for

  • Download_Package can't be opened

    I'm trying to download Adobe Acrobat on a Mac using Safari. When I click on the download button I get the following error "download_package" can't be opened because the identity of the developer cannot be confirmed. Any ideas how to fix this?

  • IPhone doesn't appear in iTunes sidebar

    I have tried all of the recommended steps to get my iPhone to show in the iTunes sidebar but I keep getting the message: "This iPhone cannot be used because the Apple Mobile Device service is not started." The irony is that I was able to download son

  • USB networking cable

    Actually, I've got difficulty to use the AJZaurusUSB-0.5.3.tgz driver. After installation, I can 't see the new network interface in the ifconfig result. I 've got a IBook 900 Mhz, with MAC OS 10.4.11. I would to use a USB networking cable, and I tho

  • Interview question for support engineer

    interview question for support engineer ....please can i get this sir..need to interview for apple as support engineer...thank you

  • How do I get the rowid or the DataModel from a DataTable inside a DataTable

    Hi, I have a simple application which I cannot get to work. I have two entity classes: Parent and Child. I want to create a page which lists all of the Parents, and in a column of the Parent row has an inner dataTable which displays the Children of t