Passing of userid as a parameter for report viewing in Flex portal

Hi,
We are using flex application and Business Objects reports are integrated with it. We had created one service id which is used to access reports from application. Also we want to implement Data Access in Business Object's Reports. and for the same we want to pass UserID as a parameter internally from Flex code to the reports. We cannot use @BOUserID as we are using single service id. We want to pass "UserID" as a parameter (which we can get from Flex application) and pass this to Report OR Universe which internally filter out the data accessible to the respective user. Kindly advise on the same.
Thanks,
Eswar

I've resolved this issue by creating a prompt in universe and inserting the security table in the universe structure

Similar Messages

  • Passing multiple values to a parameter in report

    Can anyone help me how to pass multiple parameters to a parameter in my report.
    As user is able to select multiple values from list of values , can I pass the selected values to calling function.
    Suppose if User selects Value1,Value2,Value3 from list of values of a parameter P_Org,
    I need to pass all these values to parameter P_Org in my Before Trigger Function in Discoverer reproting tool.
    Thanks in advance

    I have a Before trigger Function to which the parameters will be passed.
    Suppose if User selects multiple values for a parameter then how to pass these multiple Values to that parameter?
    eg:In first Workbook Before Trigger is fired and the paramters for the trigger are
    'par1','par2','par3' etc.
    If User selects multiple values for a parameter 'par1' from the list of values displayed then how to pass all these values to 'par1' in Function?
    After firing the trigger rows are inserted in a temp_table .My second Workbook will
    fetch the rows inserted in this Temp Table.
    I hope u understood what my requirement is...
    Thanks in advance

  • Pass column-name as a parameter to reports

    Hello,
    the code below calls a report. But now I want to sort the rows in the report. For example I have a text-item in my form-modul. If I type a column-name and press the button then the rows should be sorted in the report. Is it possible tp pass column-names as parameter to reports?
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := find_report_object('STATIONSTOPOLOGIE');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'html');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_oracle-dev');
    -- SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no pdeptno='||:dept.deptno);
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    WEB.SHOW_DOCUMENT('http://oracle-dev:8888/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=rep_oracle-dev','_blank');
    ELSE
    message('Error when running report');
    END IF;
    END;

    Hi,
    the work has been done in reports. You can use a lexical parameter in reports to add a condition for sorting to the query like:
    select .. from .. where ... &p_order.
    Then add another parameter to the report (for example p_param). Fill p_param via your interface in forms (SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, ....) with the column name. Then build a report trigger like:
    if :p_param is null
    then
    :p_order:= null;
    else
    :p_order:= 'order by '||:p_param;
    end if;
    But have a look, that p_param can only get correct values.
    Rainer

  • Brought Forward & Carry Forward for report viewing purpose

    Hai,
    im facing some problem for Brought Forward & Carry Forward of report viewing purpose.
    im generating a report with this 2 function but sadly it cannot work correctly..
    anyone can give me some advise on this?
    ex:-
    Page 1
    Brought Forward 0
    Trx A 100
    Trx B 200
    Carry Forward 300
    Page 2
    Brought Forward 300
    Trx C 200
    Trx D 500
    Carry Forward 1000
    Grand Total 1000

    Hello.
    <?start:body?> and <?end body?>, or ordinary word header/footer don't fill your requirement?

  • Passing where clause  to lexical parameter in report

    I have a requirement to send the values of lexical parameters in reports from Forms 6i , like i have written one query in report builder with lexical clause being where.Now i want to pass this where clause as a whole from forms 6i, for example.
    select asset_code,asset_name from fix_asset @p_status
    now i want to pass this p_status from forms 6i which has 1 radio group with 3 values , if i select value 1 then where nvl(at_status,'X') = 'X' ,if i select value 2 or radio button 2 then where nvl(at_status,'X')='Y' and if i select 3 then both x and y should come together.Edited by: 998476 on Jun 5, 2013 12:01 AM

    I have a Before trigger Function to which the parameters will be passed.
    Suppose if User selects multiple values for a parameter then how to pass these multiple Values to that parameter?
    eg:In first Workbook Before Trigger is fired and the paramters for the trigger are
    'par1','par2','par3' etc.
    If User selects multiple values for a parameter 'par1' from the list of values displayed then how to pass all these values to 'par1' in Function?
    After firing the trigger rows are inserted in a temp_table .My second Workbook will
    fetch the rows inserted in this Temp Table.
    I hope u understood what my requirement is...
    Thanks in advance

  • How to select entered parameter for report?

    I developed a report in SSRS 2008R2 with several parameters. But now when the use selects the Supervisor from this query, it automatically changes to a different supervisor!
    Select Distinct
    Null As [supervisor_id],
    '-All-' As [supervisor_name],
    0 as sort
    UNION ALL
    select distinct
    supervisor_id,
    staff_name as [supervisor_name],
    1 as sort
    from staff_view v WITH (NOLOCK)
    where staff_id not in ('07BBA230-CA6E-402E-AEAF-FF1CB48AA41A','6394C3A3-5402-4578-BBF1-31FFCDD4EB90')
    Order By sort, [supervisor_name]
    In my report I have a SupervisorID parameter which uses supervisor_id as the value and supervisor_name as the label. (This is the Text datatype).
    I also tried running this as a text query instead of store proc, but this exhibited the same behavior. I also broke down this view into the source tables with the same behavior:
    select distinct
    supervisor_id,
    [supervisor_name] = evolv_cs.dbo.FormatName(people_rv.last_name,people_rv.first_name,people_rv.middle_name) +
    Case When IsNull(staff_rv.end_date, '12/31/2100') < GetDate() Then
    ' (Ended: ' + Convert(Varchar(10), staff_rv.end_date,101) + ')'
    Else '' End,
    1 as sort
    FROM
    staff_rv with (nolock)
    INNER JOIN people_rv with (nolock) ON staff_rv.people_id = people_rv.people_id
    INNER JOIN agency_rv with (nolock) ON staff_rv.agency_id = agency_rv.agency_id
    where supervisor_id is not null and
    staff_id not in ('07BBA230-CA6E-402E-AEAF-FF1CB48AA41A','6394C3A3-5402-4578-BBF1-31FFCDD4EB90')
    Order By sort, [supervisor_name]
    I'm not sure what else to try?
    Also, the code for FormatName is:
    ALTER FUNCTION [dbo].[FormatName](@last [nvarchar](4000), @first [nvarchar](4000), @middle [nvarchar](4000))RETURNS [nvarchar](100) WITH EXECUTE AS CALLERAS EXTERNAL NAME [EvolvSQLCLR].[UserDefinedFunctions].[FormatName]
    Ryan D

    Hi ironryan,
    Thank you for your question.  
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.  
    Thank you for your understanding and support. 
    Best Regards,
    Simon Hou

  • Parameter for report title

    Hello,
    I have a report with many pages and I need the same title on every page. To do so, I would like to use a parameter which could be defined by the user through a VBS inputbox and then reused on each page.
    I tried something with scalar parameters : B1, B2, B3... (see attached file) but I don't know how to change their values. Is it possible to do it this way? Otherwise, do you have any other method?
    Thank you in advance for your support
    Jérémy
    Solved!
    Go to Solution.
    Attachments:
    text_parameters.JPG ‏164 KB

    Hello Jeremy,
    In addition to Brad's suggestion with the properties, have a look at the "Master Layout" function in DIAdem.
    A Master layout allows you to define some standard elements (those could include logos, texts - including variables, boxes, etc.) that will appear on each page of your report in the same location and cannot be edited or moved by the person working on the layout (somewhat like a watermark)
    Let us know if you have questions about this function, it's pretty neat ...
         Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • Passing file location as URL parameter for xml query

    Hi all,
    A quick question regarding using a parameter to set the source URL in an XML query template.
    When assigning the URL, the static text works perfectly eg:
    //<servername>/<folder>/samplefile.xml . The xml is returned as required.
    However, we wish to call this from a BLS txn and set the source URL dynamically.
    To test this we assigned //<servername>/<folder>/samplefile.xml to Parameter no 1 and insert [Param.1] in the source URL field. No luck.
    Any suggestions?
    Cheers
    Mark

    Mark,
    In BLS, the double slashes (escaping the single /) are only necessary if you are building the full http url string in the link editor.
    If your XMLQuery template is something like http://localhost/Folder/Subfolder/[Param.1] then put in a default param value in the query template and make sure the query test works.  Then configure (or reconfigure) this in your BLS transaction and generate the sample results.  All you should have to do in BLS then is to assign your Transaction or Local property to the Param.1 link in your XMLQuery action block.  All of the dynamic replacement and subsequent xml file retrieval should then be done by the XMLQuery itself.
    If you can keep the majority of the URL in the XMLQuery itself and then just dynamically pass it the Param.1 piece it will be very easy to test and configure (also use localhost if the file lives on the xMII web server), but if you have to build the string external in BLS I would recommend using a combination of the expression editor and a Local property.  If the Local string property contains the base of http://localhost/Folder/Subfolder/ (no quotes or character escaping needed for the default value of a string property) then just assign something like the following to your Param.1 property of the XMLQuery:  Local.URLBase & "filename.xml" (a simple evaluate will confirm your efforts).
    Regards,
    Jeremy

  • Date Parameter for Report

    Hi,
    How can I add a date parameters to a report using date pickers?
    Please Help!!! :)

    William,
    Most of the time you'll want to allow for a range of dates to be selected using the BETWEEN operator. But since your trying to do an exact match try the following:
    select "CSC_MASTER"."LEAD_LOGON" as "LEAD_LOGON",
    "CSC_ACTIVITY"."ACTV_DESC" as "ACTV_DESC",
    "CSC_MASTER"."PRIORITY" as "PRIORITY",
    "CSC_ACTIVITY"."ACTV_DT" as "ACTV_DT",
    "CSC_ACTIVITY"."ACTV_TIME" as "ACTV_TIME",
    "CSC_MASTER"."STATUS" as "STATUS"
    from "CSC_ACTIVITY" "CSC_ACTIVITY",
    "CSC_MASTER" "CSC_MASTER"
    where "CSC_MASTER"."CSC_ID"="CSC_ACTIVITY"."CSC_ID"
    and (to_char(actv_dt,'dd-mon-yyyy') = lower(:P32_SEL_DT))Make sure the format string in the to_char matches the format string you're using for the date picker.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    Edited by: dmcghan on Dec 5, 2008 10:45 AM
    Removed lower from left side as it was not needed...

  • Stop enter parameter for report instance

    hello everyone:
    I have a problem when i schedule one of my report:
    this report contains a few parameters
    when i schedule it, i pre-enter the parameters' value (at schedule -> parameter panel)
    after report finish to run, the report instance gose to user's inbox.
    the problem is:
    when user try to view the report instance in their inbox, infoview ask user to enter parameter again. it only appear first time user view the instance, if user close the report and reopen it , it will skip the enter parameter step and get into the report stright away.
    any ideas to stop it?
    thanks

    Hi,
    Here are the steps :
    Go to CMC > Select  Report >click on Schedule report > click Default Settings option > Under Paramter Option > Uncheck Prompt While vewing Option > Save
    Now enter the parameters and Schedule the report to the following destination.
    Hope this will resolve the issue.
    Regards,
    Rameez
    Edited by: ramzraja on Aug 23, 2011 7:22 AM

  • Need to pass field value as input parameter for a task

    I have the following scenario:
    User opens a task from UWL and sees a UI in which a Quote no. is generated, which is saved in the backend. Next time the user comes to this UI(from the same task in his UWL) he should see the Quote no. generated. Also, the data is fetched from backend by calling BAPI which takes the Quote no. as input, which was generated the first time user visited this UI.
    My concern is how can I store this Quote no. in GP, which was generated the first time, so that user sees the data specific to quote no., as relevant for that task.
    Please help.
    Thanks and Regards
    Aanchal

    Hi Srinivasan,
    Thanks for ur quick response.
    I am explaining my issue further.
    User comes to this UI (first time), Quote no. is generated. User fills some other fields( but does not complete whatever he has to) and saves the data to backend. Now user closes the window (task remains in his UWL), but now when he opens the task, he should see the Quote no. which was generated earlier and also data which he saved(by calling BAPI). How can I get this quote no.?
    Can you please explain what you mean by "expose the quote no. at process level"?
    Thanks and Regards
    Aanchal

  • Merge modules for report viewer only - can you help today?

    Hi all,
    We are using Crystal 2008, VS 2008, and have an C# application that is using the Crystal reportviewer control to render a report generated server side. 
    We need the Crystal 2008 reportviewer control, not the 10.5 version that is currently referenced in the studio.  For development purposes, we can install the Crystal 2008 msm. 
    But here's my question.......
    For our client side install, is there a merge module/msi that will give me just the controls I need instead of using the (larger) merge module/msi from the site?
    We need to get our build done within the next day.  Any help in answering this question would be greatly appreciated.  If you can just let us know whether there is any other way than the full msm, that would be very helpful.
    Thanks so much......

    Hi,
    We need the Crystal 2008 reportviewer control, not the 10.5 version that is currently referenced in the studio. For development purposes, we can install the Crystal 2008 msm.
    For development purpose the CR 2008 must get integrated with VS 2008, also all the correct references should be referenced.
    - How to integrate
    First Install IIS
    then VS 2008
    then CR 2008
    How to check that CR get integrated with VS or not -
    Open VS environment  go to help about - there you will see the version of CR integrated.
    Note:- VS 2008 is compatible with CR 2008 SP0/SP1
    For our client side install, is there a merge module/msi that will give me just the controls I need instead of using the (larger) merge module/msi from the site?.
    You must have installed the runtimes to run CR on the machine where CR complete product is not installed, Hence the system must have merge modules or server install.
    Hope this helps!!
    Regards,
    Amit
    Edited by: Amit Singh on May 6, 2009 5:48 PM

  • Passing a value to a Parameter Field From a VB Form

    Post Author: as1971
    CA Forum: General
    Hello everyone
    I'm using Visual Basic 6.0 and Crystal Report 9.0
    I built a report using Crystal Report and named it Player_Statement.rpt. I then included it to my VB project and named it Player_Statement.Dsr
    In this report I have a Parameter Field called P_Player_ID which I'm using in Record Selection Formula.
    I'm using the following code to pass a value to the parameter:
    Dim Report As CRAXDRT.ReportSet Report = New Player_StatementReport.ParameterFields.GetItemByName("P_Player_ID").AddCurrentValue CLng(cmbPlayerNB.BoundText)
    When I execute the application I get the error message "The value or range you are adding has already existed" at the last line of code (Where I'm assigning the parameter a value)
    Could anybody help me please

    Post Author: VinoTinto
    CA Forum: General
    Dim Report As CRAXDRT.ReportSet Report = New Player_StatementReport.GetItemByName("P_Player_ID").ClearCurrentValueAndRange                                               Report.ParameterFields.GetItemByName("P_Player_ID").AddCurrentValue = CLng(cmbPlayerNB.Boundtext)

  • How use parameters on a html region for report query region

    Hi all.
    I have created a number of report regions which initially query some data.
    The requeriment now is to have a date range (initial and final) and use this range as a parameter for report queries.
    i created a new region containing these two date values. Now i need to:
    - Give this date fields and initial value: say first and last day of current month.
    - Perform a validation to ensure initial date is less or equal to final date.
    - And most importantly, i need to reexecute the queries based on this date range.
    How do i do it...?
    Thanks in advance ...!

    Start here http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21679/toc.htm#
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/concept_ses_val.htm#HTMDB25030
    I can guarantee that it will be easy

  • SharePoint Report viewer control JavaScript API

    Hi,
    We are using SharePoint report viewer web part to show SSRS reports in SharePoint 2010. We need to perform some HTML manipulation (to avoid scrollbars) after the report has completed loading. 
    - What is the best way to identify report loaded event in client side JS?
    - I have read about client side JS API for report viewer control in ASP .NET. Does SharePoint report viewer webpart have the similat functionality?
    Thanks

    Hello,
    I think this thread will help you:
    https://social.technet.microsoft.com/Forums/en-US/104d59f5-e6db-4933-8c5f-2f06ac116bfe/remove-report-viewer-scrollbars?forum=sharepointgeneralprevious
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

Maybe you are looking for

  • How many drives can i add in K430? Issue with LG bluray writer

    I have a K430 with SSD disk +SATA DISK+dvd-ROM. I've changed the dvd-rom drive with an LG bluray writer and added a third harddisk. Windows 8.1 sees the new hard disk but can't see the LG drive, it still claims is a the old dvd-rom drive. The drive i

  • Ipod nano 4th gen won't synch with windows 7

    I recently reset my windows 7 laptop. Ever since, itunes has not been synching with my 4th gen ipod nano. The device is being recognised and charges, but music would not synch. This wasn't too much of an issue for a while. But today I wanted to updat

  • JTree customization icons

    Hello, Introduction: The hierarchical model is a part of the reality, a lot of real examples could be implemented, however the difficulty is to make the nodes of the Jtree closer as possible to the real model. My needs: 1\I need a JTree which should

  • Export/import report painter

    How to export /import report painter. please help.

  • Printer won't print every page

    My Pavilon g4 won't print every page; it just prints the first page