Using WebUtil on the report

can the same webUtil be used for the report?
What i'm trying to do is that I have a link within the report as a hyperlink, when
user clicks on that, it opens a file(stored on the client's terminal) from client's machine.
Thanks

U can use Text_io package in Reports 9i which reads & writes on Application server .I have never used webutil in reports but guess it can be used in Reports as well.

Similar Messages

  • Query Stripping not working properly when using variable in the report

    We have issue with WEBI document that have query stripping enable.
    Once the query stripping enabled there is no data return in the report.
    We have investigate on the problem, the query stripping function are notable to retrieve objects that indirectly used in the report
    as we have
    many variable in the reports.
    Ex.
    Var1 = object1 + object2
    Var2 = Object3 + Object4
    Var3 = Var1 + Var2
    Var4 = Object1 + Object2 + Object3 + Object4
    If we use only Var3 in the report, the object1,2,3,and 4 will not be
    retrieve.
    But if we are using Var4 in the report, the object1,2,3,and 4 will be
    retrieve properly.
    Please let me know is it a by-design behavior, if yes please share points on it

    Hi Amit,
    Thank you for response, however i already had alook on that VIdeo and it tells us about the basic enabling of query stripping.
    But my question is when we have a Variable in a report which is dependent on the other two variables it gives me #error so is it by design or not.
    Regards,
    Abhinav

  • Call a Form using Webutil from the Menu loose focus on the applet

    Hello,
    I have the following problem:
    When calling a form using webutil from the menu the focus on the applet (I mean the Forms Application window) is lost and I have to click on the window to get back the focus on the application.
    Any advice ?
    Env: Forms 9i / Webutil 1.06
    Rgds,
    Philippe

    Try to use the NO_HIDE parameter in the CALL_FORM() built-in.
    Call_Form( 'the_form', NO_HIDE ) ;Or maybe, in the[b] When-New-Form-Instance trigger of the called form, return the focus to the calling form
    Go_Form( Get_Application_Property( CALLING_FORM ) ) ;Francois

  • How to find a cloumn or table used in all the reports

    Hi ,
    Suppose I have like 15 to 20 reports and i want search a particular column or table where it has been used in all the reports.Is there any easy way ?
    Thanks,

    Well "used in reports" can mean different things. Column used for display or columns used for filtering for example.
    For a filter column you could literally search for
    MyTable."Sales Rep"Whereas for a display column you'd need to search for
    MyTable.&quot ;Sales Rep&quot ; (without the blank space after quot
    That's simply due to how stuff gets stored in the webcat:
    <saw:column formula="MyTable.&quot;Sales Rep&quot;" columnID="c3">PS: How can you correctly escape the string &quot so it doesn't become " in here?

  • "Subscriptions cannot be created because the credentials used to run the report are not stored, or if a linked report, the link is no longer valid" error

    Get the aforementioned error. I have modified my Data Source many times trying different settings. I created a SQL Login called RS_Subscriber, local machine acct the same name, added the same as a user for our database and the ReportServer database. Tried
    with and without the Use as Windows credentials when connecting to the data source checked. I Test the connection okay but keep getting the #$^^$& error message.
    Does anyone have explicit instructions on what type of account, where to create the account, what rights the account needs in order for the stored data source credentials to work?
    MichiganMike

    Hi, This is because SSRS requires a Login to connect to the datasource to process the report when subscription will be occuring at its scheduled time. I would recommend you to store the credential securily into report server.
    GoTo: Report>Properties> Click on the Data Sources tab and you will see following options:
    a)A shared data source
    b)A custom data source
    Use option b) and click on option Credentials stored securely in the report server
    and provide credential information and further you can use options: Windows credentials and Impersonate the authenticated User if you require. Click on apply button.
    *You can use any option of them provided in first option(a) also using the shared data source which is having credential saved into report server.
    Once you have done with above you will be able to create subscription.
    Cheers Sunil Gure

  • Using prompt in the report

    Hi
         I am generating report having prompt ,my report displays having deptno,deptname,designation.
    By selecting the deptno through prompt the report generated for particular deptno information.But the thing is i dont want to drag deptno into result page only i took deptname,designation but i want to display deptno also in report by  selecting deptno  in prompt.
    pls let me know wat property of prompt will help full is there any other way.
    Thanka in advance.

    You need to use the UserResponse() function to show the selected value from the prompt on Report.
    Create a variable on report with formula - UserResponse("Enter Dept No.")
    P.S. The string here Enter Dept No. should exactly match with the prompt string.
    Regards,
    Rohit

  • Using ISCRCommandTable in the Reports Application Server

    Hi
    We have a report that is linked to a Command but the query may be constructed in different ways (using different tables). In past we've pushed the data to the report but I was looking into pulling the data.
    I thought it might be possible to create a Command Object then edit the CommandText Property in code using the RAS API (inproc). Though it's possible to set the CommandText this does not seem to effect the data displayed. Is there a reason for this? Am I doing something wrong?
           Dim mySampleReportPath As String = "C:\Inetpub\wwwroot\SetCommandtext\Report1.rpt"
            rd.Load(mySampleReportPath)
            ' Access the ReportClientDocument API in-process using the ReportDocument class.
            rcd = rd.ReportClientDocument
           'Change SQL in Command.
            Dim c As CrystalDecisions.ReportAppServer.DataDefModel.ISCRCommandTable
            With rcd.DataDefController.Database.Tables
                c = .Item(.FindByAlias("Command"))
                c.CommandText = "SELECT name, '123' as test FROM Checklist"
                rcd.DataDefController.ParameterFieldController.SetCurrentValue("", "test", "USA")
                rcd.DataDefController.ParameterFieldController.SetCurrentValue("", "title", c.CommandText)
            End With
            ' Set the report source of the Crystal Report viewer to the instance of the report.
            myCrystalReportViewer.ReportSource = rd
    Cheers
    Alex

    Found the answer in this code example: [NET-CS2005_RAS-UNMANAGED_CR115_MODIFY_COMMAND-TABLE-SQL|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/30da384c-bb66-2b10-8392-96acb15624c6]

  • Using attributes in the Report Designer

    Hi,
    Does anyone know if it's possible to display attributes of an InfoObject in the Report Designer? I made a query using several attributes of an InfoObject. This works great when I just run the query but as soon as I use the query as a datasource in the Report Designer the attributes are gone.
    Thanks in advance,
    Alex

    Hi
    you can view the attributes in RD.
    which version of RD u r in. previous revisions u r not able to see the Attributes in the RD update ur system to latest revision.
    In the Older versions u can select the attribute, After executing the Query, Click on Filter then select infoobject and Edit. In the Selector u can view ur attributes for the Selected Info object
    Regards
    Veda
    Message was edited by:
            vedaprasuna devallapalli

  • Name  the BADI that used to generate the report RSWUWFMLEC

    Hi,
      Please mention the name of the BADI that used to generate or trigger the report RSWUWFMLEC.
    regards,
    George.

    RSWUWFMLEC. is program which is used to generate mails.
    it is trigerred by scheduled jobs...
    it is not triggered by any BADI....

  • Using WEBUTIL in the Menu - problems when not in current form..

    We make a webutil call in the menu - but it is a problem when the current form does not have webutil attached to it.
    Is there any work around other than putting webutil in 100 forms?
    OPEN_FORM/CALL_FORM both affected.
    Message was edited by:
    brian952
    Message was edited by:
    brian952

    I've just spotted this thread, so my comments might be too late to be useful, but... I had a similar problem, and as Eric suggested, went for the approach of having a single, small form dedicated solely to running Webutil functions. Any form or menu option that needs to do something WebUtil-related (e.g. 'I need to have File A moved from the apps server to the client') calls a library routine which then calls the dedicated form, passing it all the instructions it needs to carry out the action. Control then returns to the original form. At the moment, I leave the dedicated form in the background in modeless state, so it can be used again if needed elsewhere without having to be reloaded. (If the user tries to click on the modeless form, it shoves control straight back to the 'main' form.)
    I read somewhere that ideally you shouldn't WebUtil-enable every form, if most of the time, most of them won't use it. There's the overhead of initialising all the beans every time a form is opened, and it seems to me that that's relatively intensive, as bean usage goes. Not a showstopper by any means, though.
    James

  • How can I get Status of the report using after report trigger

    I want to get Status of my report on GUI . I am aware that we can look into XMLP_SCHED_OUTPUT table to get all the required details but I am not aware as how I can pull data from this table and make it available on GUI screen. Or is there any way to use jobid of the report and use in Data template of the same report?
    Any help on this will be greatly appreciated.

    What/which GUI? One of your own making? Design it and query from the table(s) of interest, and populate fields based on the results. Which job ID? The latest or one of your choosing? Add a drop down list or menu and let the user select which job. Fairly vague requirements you've listed.

  • Frm-13008 when using webutil

    hi all
    im using webutil for the need of client_get_file_name.
    When I open the webutil canvas I get an error: FRM-13008: Cannot find JavaBean with name ‘oracle.forms.webutil.ole.olefunctions’.
    At runtime, the webutil canvas appears with an ‘Ok’ button. After pressing on ok I get my canvas.
    After pressing the ‘Browse’ button i'm getting the following error: ‘oracle.forms.webutil.file.filefunctions bean not found. Webutil_file.file_selection_dialog_int will not work.’
    thx for help :)
    Nada

    i've already put the jar files' locations in the env classpath.
    the env classpath looks like the following:
    CLASSPATH=c:\DevSuiteHome_1\j2ee\OC4J_BI_Forms\applications\formsapp\formsweb\WEB-INF\lib\frmsrv.jar;c:\DevSuiteHome_1\jlib\repository.jar;c:\DevSuiteHome_1\jlib\ldapjclnt10.jar;c:\DevSuiteHome_1\jlib\debugger.jar;c:\DevSuiteHome_1\jlib\ewt3.jar;c:\DevSuiteHome_1\jlib\share.jar;c:\DevSuiteHome_1\jlib\utj.jar;c:\DevSuiteHome_1\jlib\zrclient.jar;c:\DevSuiteHome_1\reports\jlib\rwrun.jar;c:\DevSuiteHome_1\forms\java\frmwebutil.jar;C:\DevSuiteHome_1\forms\java\jacob.jar;c:\DevSuiteHome_1\forms\java\frmall.jar

  • "Failed to open the connection" problem related to multiple tables in the report?

    Post Author: Gadow
    CA Forum: Data Connectivity and SQL
    System specifics:
    Web environment using ASP.Net 2.0 (from Visual Studio 2005 Professional)
    Crystal Reports 2008, v. 12.0.0.549, Full
    We have set up the following method for displaying reports via our website:
    User is sent to a report-specific page. The user is given some filtering options specific to the report that will be viewed. When the user has specified the data filters, the user clicks a button.
    The page wraps up the report parameters -- selection query, formula values, report location, the name to be displayed, etc. -- into a class which gets put into the Session object.
    The page redirects to DisplayReport.aspx. ALL reports redirect to this page.
    DisplayReport.aspx retrieves the report parameters from Session. A ReportDocument object is created and loaded, then set with the data from the parameters class.
    A ConnectionInfo object is created and set with the relevant log on credentials. All of the reports draw from the same database, so the connection information is hard-coded as the same for all reports. The page then iterates through all of the tables in the Database.Tables collection of the ReportDocument and calls ApplyLogOnInfo to each table using the ConnectionInfo object.
    The page is rendered and the user gets the filtered report.
    We currently have seven reports. Five reports work fine and display the correctly filtered data with no error messages. Two reports generate a Failed to open the connection error and do not display. I have verified that the queries being sent to DisplayReport.aspx are valid, and as I said the connection information itself is hard-coded in the one page that displays the reports and this is identical to all reports.
    The five reports that do work all have a single data table, either an actual database table or a single view. The two reports that do not work all have multiple tables. As far as I can tell, this is the only difference between the sets; all seven reports are based on the same DSN and I have verified the database on all of the reports. All of the reports were written using Crystal Reports 8, and all of the reports display fine in a Windows app I wrote some years ago using Crystal Reports 8. Again, the only difference between those reports that do work and those that do not is the number of tables used in the report: one table or view in the reports that display, more than one table (tables only, none use views) in the reports that do not display.
    As for the code I am using, below are the relevant methods. The function MakeConnectionInfo simply parses out the components of a standard SQL connection string into a ConnectionInfo object. DisplayedReport is the ID of the CrystalReportViewer on the page.Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs)
            Dim o As Object = Session("ReportParams")
            Dim ReportURL As String = ""
            'Verify that there is a ReportParameters object
            If o Is Nothing OrElse o.GetType IsNot GetType(ReportParameters) Then 'Redirect to the error page
                Response.Redirect("/errors/MissingReport.aspx")
            End If
            ReportParams = CType(o, ReportParameters)
            'Verify that the report exists
            ReportURL = "/Reports/ReportFiles/" + ReportParams.ReportName
            ReportPath = Server.MapPath(ReportURL)
            If Not File.Exists(ReportPath) Then
                Response.Redirect("/errors/MissingReport.aspx?Report=" + ReportParams.ReportTitle)
            End If
            InitializeReport()       
        End Sub
        Protected Sub InitializeReport()
            Dim RD As New ReportDocument
            Dim CI As ConnectionInfo = MakeConnectionInfo(DB_Bonus)
            Dim RPF As CrystalDecisions.Shared.ParameterField = Nothing
            RD.Load(ReportPath)
            If ReportParams.SelectString <> "" Then
                Dim Adapt As New SqlDataAdapter(ReportParams.SelectString, DB_Bonus)
                Dim DS As New Data.DataSet
                Adapt.Fill(DS)
                RD.SetDataSource(DS.Tables(0))
            End If
            For Each kvp As KeyValuePair(Of String, String) In ReportParams.Formulas
                Dim FFD As FormulaFieldDefinition = Nothing
                Try
                    FFD = RD.DataDefinition.FormulaFields(kvp.Key)
                Catch ex As Exception
                    'Do nothing
                End Try
                If FFD IsNot Nothing Then
                    Select Case FFD.ValueType
                        Case FieldValueType.DateField, FieldValueType.DateTimeField
                            If IsDate(kvp.Value) Then
                                FFD.Text = String.Format("Date()", Convert.ToDateTime(kvp.Value).ToString("yyyy, MM, dd"))
                            Else
                                FFD.Text = "Date(1960, 01, 01)"
                            End If
                        Case FieldValueType.StringField
                            FFD.Text = String.Format("""""", kvp.Value)
                        Case Else
                            'For now, treat these as if they were strings. If things blow up here,
                            'we will need to add the appropriate formatting for the field type.
                            FFD.Text = String.Format("""""", kvp.Value)
                    End Select
                End If
            Next
            For Each T As CrystalDecisions.CrystalReports.Engine.Table In RD.Database.Tables
                Dim TLI As TableLogOnInfo = T.LogOnInfo
                TLI.ConnectionInfo = CI
                T.ApplyLogOnInfo(TLI)
            Next
            DisplayedReport.ReportSource = RD
        End Sub
    Does this approach not work with reports containing multiple tables, or is there something I'm missing? Any meaningful suggestions would be much appreciated.

    Dear Dixit,
    Please refer to the Crystal report landing page to get the details
    information about the support for crystal report issues.
    Please use the following thread to post your questions related to
    crystal report.
    SAP Business One and Crystal Reports
    Regards,
    Rakesh Pati
    SAP Business One Forum Team.

  • Environment variable setting not working in the report

    Hi everybody,
    Iam facing a problem related to reports10g ids. database is 9i
    My basic requirement is ,i want to show a report out put in a BRAZILIAN PORTUGUESE Language.
    For this purpose i configured the report_server.conf file like
    <environment id="PS">
    <envVariable name="NLS_LANG" value="BRAZILIAN PORTUGUESE_BRAZIL.WE8MSWIN1252"/>
    </environment>
    After that i added a entry along with the web.show_documents(using for calling the report)envid=PS
    when iam running the report ,report server is only converting one date field in to portuguese ,rest of them are same as in the database.
    Actualy i dont know where i did wrong.if anybody know please help meee
    Thanks in advance
    mathew

    Hello Matthew,
    See Note:231051.1, Dynamic Environment Switching In Reports 9i for an example of setting your environment variables at runtime. It uses REPORTS_PATH, there is also an entry for NLS_LANG in the reports.sh file (in UNIX). This setting is causing the conflict when you try to set it at runtime.
    I think you have to remove the entry from reports.sh config file and then you will have to pass the parm at runtime everytime.
    I hope this helps!
    Tony

  • Call CR XI from C++ routine, need to run the report without display and send the resulting report to the printer

    <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" id="HB_Mail_Container"><tbody><tr width="100%" height="100%"></tr><tr><td height="1" style="font-size: 1pt"></td></tr></tbody></table><blockquote><table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" id="HB_Mail_Container"><tbody><tr width="100%" height="100%"><td id="HB_Focus_Element" width="100%" height="250" valign="top"><p>I initiate a CR XI from a C++ routine using  ShellExecute command, the report file is opened and the C++ program continues to execute, this is working fine, now I need the following two things:</p><p>1. When the report is invoked I would like it to run and print the result either to a printer or to a file.</p><p>2. I need to send the report parameters since it will not prompt for it if it runs automatically.</p><p>Thanks in advance for your help.</p></td></tr><tr></tr></tbody></table><blockquote><table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" id="HB_Mail_Container"><tbody><tr width="100%" height="100%"><td id="HB_Focus_Element" width="100%" height="250" valign="top"><p>&#160;</p></td></tr></tbody></table></blockquote></blockquote>

    Please re-post if this is still an issue to the Legacy Application Development SDKs Forum or purchase a case and have a dedicated support engineer work with you directly

Maybe you are looking for

  • Problems viewing Combined PDF's in Preview

    I work primarily in Photoshop CS5.  All of my work is created there.  My problem arises when creating and viewing compressed PDF's using "Preview" on Macintosh.  The text is very funky.  But as expected, Acrobat itself displays all files flawlessly. 

  • What are the required settings for Quality Certificate

    Hi Team What are the required settings for Quality Certificate for Raw material from vendor. This is my RR - Result Recording  for inspection lot. Please sugget me T-Code to view this. Can I see say for 6-9 months RR done insp. lot. Thanks

  • In DeskI, what's the maximum for "Limit size of long text objects"? 2000?

    In Universe Designer, we have a setting which is "Limit size of long text objects", it can control how many characters can be displayed for long text objects. The problem is that in DeskI, we can only display 2000 characters even we set 2500 or more

  • Why is the "Blood Glucose" missing from health app?

    I have been using the apple health app to help track my blood glucose level for my physician.  The blood glucose was essential for my treatment and tracking. The data was lost at a critical moment for me to introduce my progress to my physician.  Thi

  • How do i disable an STB box myself? i dont want it to work

    for a while... can i program it somehow and have it disabled its my son, he is addicted to TV. any way to program it to have it turned off by 10? probably not, so i rather have it disabled..maybe in the settings?