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

Similar Messages

  • Pass Page 0 TextBox item value to populate SQL Report on another page.

    Hi,
    I have created one textbox and one Template Based Button on page 0.
    And i have coded (On Button Display Attributes)
    I want to pass Page 0 TextBox value into the SQL Report on Page100.
    For this i planed to pass the value entered on Page 0 (TextBox) by coping the entered value into clipboard and assign this value to a hidden textbox(P100_SEARCH), which is on page 100. so that i can pass this value to the SQL Report.
    I have coded (On Button Display Attributes) in Page 0.
    onclick="javascript:window.clipboardData.setData('Text', document.getElementById('P0_SEARCH').value);redirect('f?p=229:100:&APP_SESSION.::NO:::');"
    So its copying the entered value into clipboard and redirecting to page 100.
    But here i am facing the problem
    how to assign the save clipboard value into Hidden TextBox(P100_SEARCH) on page 100, so that data is
    populated on page100 according to the enterd value from page 0.
    Please help me . Its urgent.
    Thanks
    --PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    I think it is the button templates that are causing the problem as they a normally designed to submit the page and you need to do a redirect.
    I would suggest doing the following:
    1 - Go to Shared Components, Templates
    2 - Click Create
    3 - Select Button
    4 - Select "As a Copy of an Existing Template"
    5 - Click Next until you get to a list of existing button templates
    6 - Change the name of the "Copy of ..." for the template that you are using (to something like "Button for javascript") and select Yes in Copy?
    7 - Click Copy Button Template
    8 - When it has been created, you are returned to the templates list - click the edit link for your new button
    9 - Update the "Template" setting. How you change this depends on your Theme and the Button Template you are using. But, as an example, in Theme 19 and using the Button button template, change:
    <input onclick="#LINK#" class="t19Button" value="#LABEL#" type="button" />to:
    <input #BUTTON_ATTRIBUTES# class="t19Button" value="#LABEL#" type="button" />So, the onclick="#LINK#" setting is removed and the #BUTTON_ATTRIBUTES# one is added in instead.
    Now, go back to Page 0 and change your button to use this new template.
    Change the Button Attributes setting to:
    href="javascript:void(0);" onclick="javascript:redirect('f?p=&APP_ID.:100:&SESSION.::NO::P100_SEARCH:' + $v('P0_SEARCH'));"and Apply Changes
    Now try your page again
    Andy

  • Values returned from oracle reports

    hello,
    i want to write a program which comunicates with
    oracle report builder. passing arguments to oracle
    reports is no problem but is it possible to get
    return values from oracle reports so that i can
    proceed with them in my java application.
    thank you
    thorsten lorenz

    Hi Stewart,
    thank you for your answer. I think i'll try this
    approach. I will start the runtime-Version of Oracle Reports
    from java with parameters. exec(param 1,param 2). The only
    thing returned is an integer indicating if this call
    to reports was successfull. but with your idea i think
    i got a nice workaround.
    Greetings
    Thorsten Lorenz

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

  • Report headings based on Items: values not substituted in BI Publisher

    That is, custom column headings such as "&P7_HEADING_X.".
    They show up fine as the item values in the browser report, but as the literal ("&P7_HEADING_X.") in BI Publisher output to Excel, Word, etc.
    I've noticed that PL/SQL based headings pass through all right. I can probably use this as a work-around. Is there a way to get BI Publisher to do the item value substitutions ?
    I am working with Application Express 3.1.0.00.32 on apex.oraclecorp.com.
    I've just been introduced to BI Publisher (like today). All I know about it is that you get to it through the Print Attributes panel.

    Mike said: "I am assuming that you are just using the default download and I use the "&." notation in the column headings so it should pass over to word, or excel."
    Yes, this is it. But, when the column headers pass through BI Publisher, they are not substituting (like you said, they "should" but they don't). I wind up with an Excel (or Word, or PDF) file where the column headings are all '&P7_HEADING_01.', '&P7_HEADING_02.', etc.
    Again though, all I know about BIP is that it hooks into APEX by way of the Report "Print Attributes" panel. And, I'm not even so sure about that; there's no indication what's doing the "print" serving behind the scenes.

  • 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

  • Oracle report problem-Passing a column value from a query block to another

    Hi I am facing a problem in oracle reports.
    I have 3 query blocks say Q1,Q2 and Q3.
    From Q1 I get a tblkey coulmn and for each value of tblkey I need to pass it on to Q2 which gives me a status and now finally Q3 will take tblkey and status to give me final output.
    Can somebody please tell me how I can do it?
    Thanks,
    Avin

    Depending on your report requirement, you may do a join of Q1, Q2, and Q3; or keep all Qs and for Q3 use subqueries ...
    Select ... from ... where tblkey, status in (
    select tblkey, status from ... where tblkey in (
    select tblkey from .... where .... ) )
    Good luck.
    DC

  • Interactive report: numbers of items values to passe to another page

    Dears,
    In the IR attributes, I display the column define as a link, in this section there are 3 items I can fill and choose the passing values to an other page.
    My issue is that there is only 3 items to passe.
    I would like to passe to my following page more than 3 items.
    How can I do this?
    In advance thx.
    Celio

    Celio,
    What do you want to pass, report column values? If so, just enter as many as you like in each field, separating them with commas.
    Scott

  • How to pass ITEM:VALUE pair in ICON view link of Interactive Report

    When Icon View is enabled in an interactive report, you can display graphic images (blob data that are stored in the database) in 3 different views.
    1) View Icons
    2) View Report
    3) View Detail
    When you click on the displayed image in views 1 and 3 you navigate to a form to manage the row data and the image. By default it only passes the PK id of the row.
    How do I pass additional ITEM:VALUE pairs when navigating to the detail form page? I want to pass &APP_PAGE_ID. to the form page as well.
    There is an attribute under ICON VIEW called "Link Column" but if I put the "item:value" pair in the fields for this item's "ColumnLink" attributes, there is no effect.
    Also for bonus points...
    how do you make the ICON VIEW attributes, "HTML ALT Text" and "HTML TITLE Text" dynamic e.g. &ITEM. doesn't work here.
    thanks in advance
    Paul P

    For your link column, parse a link column in your query like so
    apex_util.prepare_url('f?p=M:53:'||:APP_SESSION||'::::P53_IMAGE_ID:'||i.image_id)Scott

  • Passing Interactive report item values to flash chart.

    Hello,
    I am trying to pass an interactive report item value to a 2D column chart type in the chart query as :IR_EMPNO but the item value comes as null and the chart does not show any data. when I am passing this value to another form item and referencing it in the chart query as :P2_EMPNO, it works fine!! have anyone encountered such problem? Please help.
    Regards.

    Thank you Varad...
    Unfortunately, I am still getting no data found. (and there IS data).
    a) Do you mean in the link column section of the report attributes? that is done: item 1 name= IR_P2_FID, value = #FID#
    b) Do you mean my changing my hidden page item to ir_p2_fid with its source value as #FID# ? also done.
    Do I need this hidden item?, and if not how do I refer to link in the where clause of the called page's sql region?
    3) Where Fishery_id = :IR_P2_FID
    Where Fishery_id = &IR_P2_FID
    Thanks again!
    Pamela

  • Multiple selection list and passing that value to oracle reports

    Hi
    I need to create a multiple selection list and then based on use selection, I need to pass that value to oracle reports. Can any one help with steps on how I can do this. Thanks

    Hi
    Concatenate the multiple values into a string separated by comma and then pass that string to report as a parameter.
    In report query, you have to use the lexical parameter using ' & '
    regards
    SD

  • SQL Query as Item Source/Oracle Reports w/ HTML DB?

    I have successfully used a SQL Query as an item source in the past on several occasions. However, in this instance, every time I try to do this, I get the following error:
    Error ERR-1019 Error computing item default value: page=3 name=P3_TEST_ITEM.
    ORA-01460: unimplemented or unreasonable conversion requested ORA-02063: preceding line from [database_name]
    If I use the exact same query in creating a report region, the page displays fine and the query returns the correct data. Why might this be happening, and what can I do to fix it?
    Also - off the subject - is there a way to use HTML DB to deploy reports that are created in Oracle Reports Builder? I have created several employee productivity reports for supervisors and managers in HTML DB, which is great for allowing them to run them live and have fields as parameters for varying employees, date ranges, etc... but formatting them to be browser and printer friendly is an absolute nightmare so far. If I could create and format the reports in Reports Builder and then deploy them using HTML DB, while still being able to offer parameters to the user, that would be perfect. Is this possible?

    Here is my query:
    SELECT
    TO_CHAR((sum(decode(ef.production_function,'Y',ef.function_minutes+ef.function_ot_minutes))/60)/8, '9999999.99')
    FROM
    RLAPPLSG.EMPLOYEE_INFO@REMOTE_SERVER EI,
    RLAPPLSG.SC_EMP_FUNCTIONS@REMOTE_SERVER EF,
    RLAPPLSG.SC_EMP@REMOTE_SERVER E
    WHERE
    ( e.SC_EMP_NBR=ef.SC_EMP_NBR )
    AND ( ei.EMP_ID=e.EMP_ID )
    AND (
    ( trunc(( e.SC_DATE )) BETWEEN :P2_BEGIN_DATE AND :P2_END_DATE )
    AND (ei.EMP_MGRS_ID = :P2_SUPERVISOR_ID
    OR ei.EMP_ID = :P2_SUPERVISOR_ID)
    Every table and/or view that is referenced here is done so remotely. The column datatype breakdown is as follows:
    production_function - BOOLEAN
    function_minutes - NUMBER
    function_ot_minutes - NUMBER

  • Dashboard prompt value is not passing into the report

    Hi,
    I am using OBIEE 10g. The problem is in Oracle BI Answers
    I have a prompt and its related report. In the prompt, in one of the column, I am using sql result. The sql query is a co-related sub query where i have used 2 tables. employee_data and employee_region. The reason for using sub-query is that there is no data_center column in the employee_data table. It has the records for all the data_center e.g USA, UK,IND,AUSTRALIA etc So, I used the sub query with condition which will give the result on a particular data center (here it is USA) and this sub query's output is input for the main query. And the prompts works fine and gives correct result
    The sql query used for the column in the prompt (in Oracle BI Answers) as
    SELECT EMPLOYEE_DATA.ENAME FROM EMPLOYEE WHERE EMPLOYEE_DATA.ENAME IN (SELECT EMPLOYEE_REGION.ENAME FROM EMPLOYEE WHERE EMPLOYEE_REGION.DATA_CENTER = 'USA')Now in the report, there are 2 coulmns. - EMPLOYEE_DATA.ENAME and EMPLOYEE_REGION.DATA_CENTER
    I have used the main column EMPLOYEE_DATA.ENAME for filter as 'prompted'.
    The problem is the value from the prompt is not passing from the prompt to the report, what I found. Because, instead of showing the result for 'USA' data_center, It also shows other data_center 's (UK,IND,AUSTRALIA) data.
    How filter condition I should use for EMPLOYEE_DATA.ENAME column in the report so that the prompt value will pass to the report properly ?
    Thanks
    Edited by: Kuldip on Feb 21, 2013 6:17 AM

    Hi Kuldip,
    There are 2 ways of doing it.
    1. Nice and good: For the section where the report is put have a condition to display only if it returns rows. For details please refer to :
    http://bischool.wordpress.com/category/guided-navigation/
    2. The easy way: Add a "No Result" view to your report and add few spaces in the text.
    Let me know if this helped.
    Regards,
    Jay

  • Interactive Report & Item Value in Page 0

    Hi,
    Is it true that Interactive Report query couldn't read item value from Page 0?
    I have this Interactive Report region using the :P0_EMP_SEQ in the where CLAUSE, i found out that the value is always blank/NULL.
    I created a normal Report region to test the SQL, I can see records being returned.
    Cheers,
    -Joel

    Hi,
    When you are on page 32, check that there is value on page 34 item session state
    http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21674/concept_ses.htm#sthref100
    Regards,
    Jari

  • Passing Parameters with a URL to an Oracle Report, on an Oracle Reports App. Server

    I have built an Oracle report which resides on a Windows 4.0 / IIS application server with Oracle Reports installed.
    (8i Database / 6i Developer 2000 suite). This works flawlessly when called from an Oracle Form.
    My question is, how do I call the same report from portals and pass it the required parameters. Thanks!

    Hi,
    You will have to encode your parameter value. The problem is because of the spaces in the value. Whenever there any special
    characters in the value it should be encoded.
    example
    select '<area shape="rect" coords="335,66,528,83" href="http://townland:7778/pls/portal30/PORTAL30.RPT_SUMKWH.show_parms?meter='||
    <portal_schema>.wwutl_htf.url_encode('PMS 11BBA01')||'">pams</a>' url
    from meters
    The above is just an example. Please change the names to suit your requirements.
    Thanks,
    Sharmila

Maybe you are looking for