Does clicking WESubmitButton request the report twice?

<p>Hi all,</p><p> </p><p>I am using a textarea and a WEsubmit button to do a write to the database. THis is done bythe stored procedure processing the write when a parameter contains the value "Write". what I am seeing is if I enter all the values in the initial request of the report ( when user is promted for paramters) a single record is written. </p><p>The issue I am  seeing is when the write request occures from a WESubmitButtton click that the record is written twice to the database.  My question is does calling the Report from a WESubmit cause the report to be called twice before being displayed?  if so is there a know workaround or do I need to modify the stored procedure to check for a duplicate record on each write ?</p><p> </p><p>Jon Roberts</p><p><a href="http://www.programmervault.com" title="ProgrammerVault.com">www.programmervault.com</a> </p><p><a href="http://www.dsi-bi.com" title="Decision Systems Inc.">Decision Systems Inc </a> </p>

hello,
this would be normal behaviour depending on your boe settings. this is the same as when you press an open new window opendocument link in dashboard manager twice or a press a hyperlink twice that doesn't close down the parent report.
to eliminate reports running a multiplicity of times within a certain time you should see your boe documentation on caching reports...this is out of the realm of the webelements forum i'm afraid.
jw

Similar Messages

  • How to choose Mail (Mapi) when clicking "Export" in the Report Viewer

    I'm using .net 2008 and CR 2008 for reporting.
    In a form I placed the ReportViewer.
    Everything works fine.
    Here my problem: When I click "Export" in the Viewer I get the File-Dialog with Excel, Word, PDF.
    But I'm missing the Dialog where I can choose MAPI (Microsoft Mail) as destination.
    To illustrate, how I implemented the CR 2008 in our application:
        Public Sub ReportStarten()
            Dim l As Integer
            Dim Cmd As System.Data.SqlClient.SqlCommand = Nothing
            Dim Reader As System.Data.SqlClient.SqlDataReader = Nothing
            Dim ReportDataTable As System.Data.DataTable
            Dim SqlConn As New System.Data.SqlClient.SqlConnection()
            Dim ReportFenster As New ReportForm
            If Me._DruckVorschau Then
                ReportFenster.Text = Me.Reporttitel
                ReportFenster.Show()
                ReportFenster.WindowState = Windows.Forms.FormWindowState.Maximized
            End If
            'Diese Selektion wird im Report selbst berücksichtigt
            Me._ReportRpt.DataDefinition.RecordSelectionFormula = Me._RecordSelection
            l = 0
            Dim myTables As CrystalDecisions.CrystalReports.Engine.Tables = Me._ReportRpt.Database.Tables
            For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
                SqlConn.ConnectionString = Me._ConnectionString
                SqlConn.Open()
                Cmd = New System.Data.SqlClient.SqlCommand(Me._TableSource(l))
                Cmd.Connection = SqlConn
                Reader = Cmd.ExecuteReader(CommandBehavior.CloseConnection)
                ReportDataTable = New System.Data.DataTable()
                ReportDataTable.Load(Reader)
                myTable.SetDataSource(ReportDataTable)
                l += 1
            Next
            If Me._DruckVorschau Then
                'Vorschau
                ReportFenster.CrystalReportViewer.ReportSource = Me._ReportRpt
            Else
                'Sofortdruck
                Me._ReportRpt.PrintOptions.PrinterName = Me._DruckerName
                Me._ReportRpt.PrintToPrinter(1, False, 0, 0)
            End If

    The wiki (http://social.technet.microsoft.com/wiki/) is probably a better place for this.
    Jason

  • Variable based on calender dashboard prompt does not show in the report

    hello,
    i have at the dashboard a calender prompt for a column of date format and a pres variable for that value ('DAY'); i placed in the report a column of which content (fx) is @{DAY};
    when i run the report the value of my variable is 0 instead of chosen calender day; the report gets filtered on the day, however only if data.day='@{DAY}; if i choose '<' or '>' it still filters on this one day; why is this happening and how can i work around?

    ok, found that
    http://108obiee.blogspot.com/2009/03/how-to-change-date-format-mask-in-date.html
    seems that this answers the questions

  • SY-PAGNO does not appear when the report is run in background

    Dear all,
    I have one customised program that has page number included in each page. When I run it online, it will display the page number. But, when I run it in background, the page number disappear!!
    The command of WRITE: 'PAGE NUMBER:', SY-PAGNO was done under TOP-OF-PAGE.
    Am I doing it correctly? Please advice. Thank you.

    Dear Seshu,
    This is my complete coding under TOP-OF-PAGE.
          write: /130 'VA DYNAMICS SDN BHD',
                 /122 'Stock Ageing Report as at ', s_budat.
          skip 1.
          write: /270 'Page: ', SY-PAGNO.
          skip 1.
          format intensified on color col_heading .
          write: /01(292) sy-uline.
          write: /01  sy-vline, 'Part No.                  ',
                      sy-vline, 'Mat.Grp. ',
                      sy-vline, 'Description                             ',
                      sy-vline, 'GT 2 Years           ',
                      sy-vline, '1 - 2 Years          ',
                      sy-vline, '6 - 12 Months        ',
                      sy-vline, '3 - 6 Months         ',
                      sy-vline, '3 Months             ',
                      sy-vline, '7 Days               ',
                      sy-vline, 'Quantity      ',
                      sy-vline, 'Value           ',
                      sy-vline, 'Avg.Price',
                      sy-vline, 'ValA',
                      sy-vline, 'Loc. ',
                  292 sy-vline.
          write: /01(292) sy-uline.
    Below is my report declaration:
    REPORT ZTEST_STKAGE_VAD NO STANDARD PAGE HEADING LINE-SIZE 295 LINE-COUNT 65  .
    All this while, I used the same way of displaying SY-PAGNO. No problem at all. Now it give me a problem.
    Regards.

  • When I click it makes the sound twice and is weak

    Whenever I click essentially it sounds ike one hard click and one weak click, my trackpad when i tap makes a click sound also, when usually it doesnt make a sound.

    It will make it easier to help you w/ your problem to know the exact model, size, year built, RAM installed.
    If it's an older machine the track pad might be misadjusted. There is an adjustment screw.

  • The PDF to Excel converter does not work on the reports I need to convert so I need to cancel my order

    I just purchased Export PDF but when I tried it I got a message that it doesn't work on the PDF I need to convert. I need to cancel my order and not be charged.

    Cancel the Cloud http://forums.adobe.com/thread/1439535?tstart=0 may help

  • Print Quote the report is in PDF but need to be new RTF template

    We have 11.5.10 apps, the Quote screen is an OAF screen.
    When clicking Print Quote the report is in PDF, They want to include a new RTF template for printing instead of PDF.
    The new RTF template is created. But what I do not know is how the quote screen will take the new template. I can use XMLP to upload the RTF template but that may not be sufficient to make it appear in the Quote screen.
    I am looking at the profile ASO:Default Layout Template. Am I headed the right way?

    Hi,
    Please refer to the following documents, it should be helpful.
    Note: 780722.1 - How to Create a Custom Print Quote Template in Oracle Quoting ?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=780722.1
    Note: 392728.1 - How to Modify the data source for the XML version of the Print Quote report
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=392728.1
    Note: 468982.1 - How To Customize The Asoprint.Xsl
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=468982.1
    Regards,
    Hussein

  • Need help in formatting the report created using SSRS

    I have created an image and used it as the body background. But I want that image to come at right
    Set bodyRepeat as RepeatY. 
    Currently its showing as below              I need this blue image at the right most side of the report as below
    Also I need to display text on the image.
    Need Help!!!
    Abhinav

    Hi AbhinavSultania,
    According to your description, you created a report and added background image to it, you want to display the image at right side of the report and display text on the image.
    According to my knowledge, we could not control position of background image, as a workaround, we can refer to the following steps:
    Create an image with the blue line at right side of it using Paint.
    Right-click body of the report to open Body Properties dialog box, then import the image as background image.
    Drag text box from Toolbox to the blue line of the image. Right-click inside of the text box and click Expression, we can use expression to show dynamic contents at runtime.
    The following screenshot is for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Display Same Report Twice in a Page

    Hi
    I have a report whose size is (hight 5.5 inch, width 8 inch).
    I want to print the report twice in a paper. The paper size is (hight 11 inch, width 8 inch).
    I am in the platform of Oracle developer 2000.
    Please say me what should I do?
    Farhad

    sollution found.
    I have   MAIN 00 and MAIN 01 and  I repeat two times the print of  itab ...
    after the first time  i Change main window by calling  an element  with command   /: NEW-WINDOW

  • CRVS 2010 beta - SQL error 4502 (on previous runtimes the report works)

    I'm testing the new 2010 runtimes.
    Almost every report work except some.
    In one of them I obtain an error 4502 (View or function has more column names specified than columns defined) and I can't explain why.
    Doing "verify database" on the report it seems ok. Running it with previous runtimes gives no problem.
    Any hint or something to check?
    Maybe the query that CR sends to SQL Server is wrong.. but how can I check without CR2010?
    In CR11.5 it's correct.
    Thanks

    this is the "show query" for the main report (cr2008)
    SELECT "ProSerAll"."FKCodPro", "ProSerAll"."DesPro", "ProSerAll"."Des2Pro", "ProSerAll"."CodIvaVenPro", "ProSerAll"."CodSosPro", "ProSerAll"."CtlStaPro", "ProSerAll"."ImpPro", "ProSta"."AnnRifSta", "ProSta"."QtaGenSta", "ProSta"."ValGenSta", "ProSta"."ValFebSta", "ProSta"."QtaFebSta", "ProSta"."ValMarSta", "ProSta"."QtaMarSta", "ProSta"."ValAprSta", "ProSta"."QtaAprSta", "ProSta"."ValMagSta", "ProSta"."QtaMagSta", "ProSta"."ValGiuSta", "ProSta"."QtaGiuSta", "ProSta"."ValLugSta", "ProSta"."QtaLugSta", "ProSta"."ValAgoSta", "ProSta"."QtaAgoSta", "ProSta"."ValSetSta", "ProSta"."QtaSetSta", "ProSta"."ValOttSta", "ProSta"."QtaOttSta", "ProSta"."ValNovSta", "ProSta"."QtaNovSta", "ProSta"."ValDicSta", "ProSta"."QtaDicSta", "ProSerAll"."FKAnaAzi", "ProSerOrdFor"."DatUltOrdFor", "ProSerOrdFor"."QtaUltOrdFor", "ProSerAll"."IDPro"
    FROM   ("WinCodyDB"."dbo"."ProSerAll" "ProSerAll" INNER JOIN "WinCodyDB"."dbo"."ProSta" "ProSta" ON ("ProSerAll"."FKAnaAzi"="ProSta"."FKAnaAzi") AND ("ProSerAll"."IDPro"="ProSta"."FKIDPro")) INNER JOIN "WinCodyDB"."dbo"."ProSerOrdFor" "ProSerOrdFor" ON ("ProSerAll"."FKAnaAzi"="ProSerOrdFor"."FKAnaAzi") AND ("ProSerAll"."IDPro"="ProSerOrdFor"."FKIDPro")
    ORDER BY "ProSerAll"."FKCodPro", "ProSta"."AnnRifSta"
    Subreport 1 ("TEST" and "1" were subreport paramenters I input manually when I did "show query):
    SELECT "LisRig"."Qta1LisRig", "LisRig"."Qta2LisRig", "LisRig"."Qta3LisRig", "LisRig"."Qta4LisRig", "LisRig"."Qta5LisRig", "LisRig"."PreEur1LisRig", "LisRig"."PreEur2LisRig", "LisRig"."PreEur3LisRig", "LisRig"."PreEur4LisRig", "LisRig"."PreEur5LisRig", "LisRig"."FKNumLisRig", "LisRig"."FKCodProLisRig", "LisRig"."FKAnaAzi"
    FROM   "WinCodyDB"."dbo"."LisRig" "LisRig"
    WHERE  "LisRig"."FKNumLisRig"=1 AND "LisRig"."FKCodProLisRig"=N'TEST' AND "LisRig"."FKAnaAzi"=1
    Subreport 2 (same as above for "TEST" and "1")
    SELECT "ProStaAnnEse"."FKCodProSta", "ProStaAnnEse"."TotCarValSta", "ProStaAnnEse"."TotCarQtaSta", "ProStaAnnEse"."NumCarValSta", "ProStaAnnEse"."NumCarQtaSta", "ProStaAnnEse"."NumScaValSta", "ProStaAnnEse"."NumScaQtaSta", "ProStaAnnEse"."TotScaValSta", "ProStaAnnEse"."TotScaQtaSta", "ProStaAnnEse"."EsiAttSta", "ProStaAnnEse"."EsiIniSta", "ProStaAnnEse"."FKAnaAzi"
    FROM   "WinCodyDB"."dbo"."ProStaAnnEse" "ProStaAnnEse"
    WHERE  "ProStaAnnEse"."FKCodProSta"=N'TEST' AND "ProStaAnnEse"."FKAnaAzi"=1
    ORDER BY "ProStaAnnEse"."FKCodProSta"
    Subreport 3 ("1" and "1" were parameters)
    SELECT "CosGen"."CosPre", "CosGen"."CosUlt", "CosGen"."CosMed", "CosGen"."FKAnaAzi", "CosGen"."FKIDPro"
    FROM   "WinCodyDB"."dbo"."CosGen" "CosGen"
    WHERE  "CosGen"."FKAnaAzi"=1 AND "CosGen"."FKIDPro"=1
    Can't be more detailed than this.

  • How to Avoid Printing the data twice when the sub report has drill down?

    Hello,
    I have a sub report that has drill down which is placed in report footer.When i run the report sub report displays the data but when i tried to drill down it displays the same data again.After that i can able to drill down on sub report.Is there any way to avoid
    printing the same data twice.
    Thanks in advance.

    Hi,
    If the subreport you're referring to does not grow in size and it does not span multiple pages and you know the size of it, here's what you can do to stop drilling into subreports :
    1) Create a text object as large as the subreport (perhaps bigger than it) and fill it with spaces or new lines
    2) Place it 'over' the subreport such that it covers the entire area occupied by the subreport
    3) The subreport at all times should be smaller than the text object in all dimensions
    Now, when you hover the mouse over the subreport, there isn't any magnifying glass for you to drill down into.
    If the subreport has further drill-down functionality, then this isn't for you! Because, it just wouldn't allow you click on any objects in the subreport because of the text object eclipsing it. This is the only workaround I know at this point in time and I know a lot of users are looking for this.
    I would suggest that you log this as an Enhancement Request at http://ideas.sap.com for our developers to have a look into this.
    And finally, I also found an old forum post where Jamie has suggested a way to get this working on the Business Objects Environment. Give it a shot, if that's where the reports are eventually run.
    How to disable subreport view
    Hope this helps!
    -Abhilash

  • Stop the report from firing until the user clicks the Go button?

    Hi All,
    Is there a way to stop the report from firing until the user clicks the Go button? At the moment it is populating when I open the dashboard page. I found something online that said i could use the Page Options>Save Current Settings> For Others.. but even though i am signed in as an administrator i only see a For Me.. option. Also, even after setting this option i would like to be able to hit the 'Go' button to run the report and have it uncollapse the section. Is this possible?
    Thanks

    Thanks for the replies,
    In my report i am trying to constrain the report to todays data only. However the only prompt i have is for another column. If i place a filter on the date column with Year=0000 it will not change with the prompt selection and so will never return any results. Is there any other way?
    It seems wasteful to fire a request to the database onload of the page. Is there an option to only fire a request what the prompts are entered? I will be using a stored proc which needs parameters to run the request so it would be good to be able to set the report to not run until it has parameters entered
    Thanks

  • From the Web application does not display the report...

    Hello,
    I have a Web application in VS 2010 (NET 4.0) running reports in VS 2003 (NET 1.1) and CR XI. What should I consider for the reports to run well? When setting up the basics of the folder where the reports are in IIS 7.5, item I keep in the Application Pool: NET 1.1, but when in the same IIS server I click on Browse *: 80, I generated the following error: HTTP Error 500.19 - Internal Server Error
    The requested page can not be accessed Because the related configuration data for the page is invalid.
    I can do, thanks.

    Reports are made in VS 2003 (. NET 1.1) and CR XI using a framework. This framework is placed in the web server (Windows 2008 Server R2) and called from VS 2010.
    Sorry, I'm still having problem understanding this.
    Only CRVS2010 will work with VS2010. The reports can be created in any version of CR you want, but to load the reports in VS2010, you need CRVS2010, create a project in VS2010, then deploy the project and the CRVS2010 runtime(?).
    E.g.;
    1) Create report using CR XI
    2) Install CRVS2010 on a computer that has VS2010
    3) Create a project using CRVS2010 in VS 2010 - can use any framework you want
    4) Deploy VS2010 project
    5) Install CRVS2010 runtime
    - Ludek

  • "Request for Reporting available " is not displayed after loading the data.

    Hi
    A DSO feeds the data to a cube and DSO. In dso reporting sysmbol is present. However in the cube "Request for Reporting available " is not present in the manage tab of the cube.
    Please advise on this.
    Regards
    loyee

    Hi,
    What is the status in Monitor. If it is ok, go to manage of the infocube,
    in that screen on the menu, Environment --> Automatic Request processing. Then you will get three check boxes.
    Click the first check box, (Set Quality status to OK). If you aggregates,  choose second box.
    Hope this helps.
    Regards,
    Rama Murthy.

  • Custom aggregate "Apply to Open Report" does not add the item to the report

    When I create a custom aggegate and click on "apply to open report", the custom aggregate does not get added to the report. The custom aggregate exists in the selector list and I can add it to the report using the selector. Why does the "apply to open report" not work and any ideas how to debug the problem?
    the dversion is:
    6.3.4.0.0 , Build: 71121
    Thanks, Carla

    Hi Carla,
    Sorry to ask such a basic question, but are talking about Oracle Sales Analyzer?
    Thanks,
    Stuart Bunby
    OLAP Blog: http://oracleOLAP.blogspot.com
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    OLAP on OTN: http://www.oracle.com/technology/products/bi/olap/index.html
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

Maybe you are looking for