Portal reports: Column conditions: restricting user-data

1.) I created a portal-report based on a view.
2.) This view consists of an attribute, which represents
the SSO-Username
3.) I am trying to build a LOV to restrict the data
from the view, e.g. the user can only see his/her
own data
4.) In earlier days a used the phrase/word "user", which
represented a DB-user (of-course)
===> does not work
5.) If I use WSGSSO.get_user (because my application
is registered as a partner application) ===> does not work
6.) So what is the "reserved" word to be used within Portal
itself to restrict the data within the properties
"column conditions" ??
Regards Jvrg

My E-mail-addresses:
[email protected]
[email protected]
Thank's

Similar Messages

  • Hide Report Column Conditionally

    Hi All,
    I have a report with 12 columns. I want to hide the particular report column if all
    the values in that particular column is 0 (Zero).
    Can you please help me in achieving the same?
    Thanks in advance.
    Thanks,
    SKJ

    Report Attributes > Column Attributes : CBB
    For the display condition, you can't refer to the values store in the column. It wouldn't make any sens to know all the values contain in a column at this point. You can use the #CBB# variable for "Column Formatting" and "Column Link" but you can't use it for "Conditional Display".
    WRONG :
    Value of expression 1 <> Expression 2
    and in Expression 1 i put column name i.e. CBB
    and Expression2 I put 0.
    GOOD :
    You have to use a query or a function to determine if the column should be displayed.
    Condition Type : PL/SQL FunctionBody Returning a Boolean
    Expression 1:
    DECLARE
    l_retval BOOLEAN := TRUE;
    l_sum NUMBER;
    BEGIN
    SELECT sum(your_column) AS sum_of_CBB
    INTO l_sum
    [FROM and WHERE of your initial QUERY goes here];
    IF l_sum = 0 THEN
    l_retval := FALSE;
    END IF;
    return l_retval;
    EXCEPTION
    WHEN no_data_found THEN
    --should never go here since your report would be empty
    null;
    END;

  • Classic Report - Column Conditions Not taking Effect when Changing Pagination

    Apex Version:  4.2.1.00.08
    DB Version: 11g Release 11.2.0.3.0
    Hi,
    I have a classic report that has some columns that conditional hide/show depending upon the value of a page item.  When the report is first displayed with the first pagination set(Rows 1-100), the columns display as they should.
    When moving to the next pagination set(Rows 101-200), the columns no longer display as they should and it seems that the condition is not taking effect.  Partial Page Refresh is set to 'Yes' for the report.
    Any ideas on why this might be occurring?

    tvanderl
    Assuming you mean that columns are rendered while you expect them not to.
    Are the conditions based on page items.
    It could be that the session state of those items is different between when the page is first rendered and when de refresh due to the pagination is done.
    See if adding the in the condition used page items to the page items to be submitted for the region helps.
    Others wise see if you can replicate the issue on apex.oracle.com so we can see what you mean.
    Nicolette

  • Report Column Conditional Display

    Hi,
    After reading a load of other posts, it seems like there is no way to have a column display conditionaly based on the other column values.
    What I am trying to acheive is when an "Already Authorised" column is set to N, a link column displays with an "Authorise" button.
    What I did previously was always show the button and just not process anything (conditional on the process)
    I think I can acheive what I want by building up a link in my report query
    SELECT CASE
             WHEN chk_tab.completed_flag = 'N' THEN '<a href="&MYAPPID. other url stuff"> Authorise  </a>'
             ELSE ''
           END edit_link,What I don't know how to do is either build up the href string? Or is this necessary, can I somehow just submit the page with a request from it?
    Thanks
    Richard

    By accident, I managed to find a perfect solution for this...
    http://htmldb.oracle.com/pls/otn/f?p=31517:24:104884642096669
    Denes has written a nice function to generate a URL for a report.
    So I now use
    SELECT CASE
             WHEN chk_tab.completed_flag = 'N' THEN return_link_fn(54,'P54_MYITEM',chk_tab.column_value)
             ELSE ''
           END edit_link
    from chk_tabWorks a charm!! :)

  • Custom secure views report is not restricting the data

    Hi,
    I have created few custom secure views reports and in which I have used the per_people_f , per_assignments_f secure views but when I am running this report from different responsibilities like (US Resp, UK Resp) it is producing the same number of records. From US resp it should produce the US employees and from UK it should produce the UK employees but this is not happening currently.it is a simple sql script which I registered as sql*plus executable.
    Can any one suggest if I am missing some thing? Urgent help would be appreciated.
    Thanks,
    Ashish

    Pl post details of OS, database and EBS versions. How have you implemented security ? What kind of concurrent program are you using ? Pl provide details. Also see these MOS Docs
    How To Enable Hr Security on Custom Reports?          (Doc ID 369345.1)
    Understanding and Using HRMS Security in Oracle HRMS          (Doc ID 394083.1)
    Need Custom Security Profile To Restrict Based On Employees Organization          (Doc ID 445142.1)
    HTH
    Srini

  • Abap+java stack for Portal 7.0 and MI - User Data Source

    The SAP pre-requisites for Portal and MI (Mobile Infrastructure) 7.0 is an ABAP and Java Stack. If you install an AS ABAP + Java, the UME is automatically set up to use the ABAP user management of the same AS installation. What does this mean? The user store will be created in ABAP, for both the Portal and MI.
    The impact of this is portal users management is in ABAP. This configuration by design cannot be connected to LDAP Active directory for user authentication.
    Please let me know , if some body had already face similar issue and come up with the solution.  Thanks in advance.

    Hi Surya ,
    When you install portal or any NW component with ABAP stack , ABAP stack hold precidence over the JAVA Stack , refer to this link to have more idea on this .
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2b/306bb5bc98f24f8a85d489449af456/frameset.htm--
    http://help.sap.com/saphelp_nw04s/helpdata/en/12/7678123c96814bada2c8632d825443/frameset.htm
    Thanx
    Pankaj

  • Conditionally Display Report Column

    hi,
    i want to display report column Conditionally .
    i have created a report . there are multiple column Like. BILL NO,BILL DATE, PAYMENT MODE, CHEQUE NO, CHECQUE DATE, TOTAL AMOUNT
    Now i want to display only BILL NO,BILL DATE, PAYMENT MODE, TOTAL AMOUNT when i select PAYMENT MODE Cash in Select List ITEM
    And
    i want to display only BILL NO,BILL DATE, PAYMENT MODE, CHEQUE NO, CHEQUE DATE,TOTAL AMOUNT when i select PAYMENT MODE Cheque in Select List ITEM
    How Can i Conditionally Display Report Column.
    Thanks
    Manoj KAushik

    Hi,
    try this as report query - pl/sql function returning select statement.
    declare
         qry_str varchar2(1000);
    begin
       if :p1_select_list = 'PAYMENT MODE' then
            qry_str := 'select BILL NO,BILL DATE, PAYMENT MODE, TOTAL AMOUNT from yourTable';
       else
           qry_str := 'BILL NO,BILL DATE, PAYMENT MODE, CHEQUE NO, CHEQUE DATE,TOTAL AMOUNT';
        end if;
         return qry_str;
    end; Regards,
    Shijesh

  • Report using excel sheet as data source not working when deployed to production.

    I have a set of SSRS reports that use an excel sheet as a datasource.
    Now when I preview the reports or run them in the Visual Studio IDE on my local machine i.e
    the development machine, the reports run fine & display all correct results.
    However, when we deploy the reports to the Production machine which is on a separate server,
    the following error message is displayed :
    "The current action cannot be completed. The user data source credentials do not meet the requirements to run this report. Either the user data source credentials are not stored in the report server database, or the user data source is configured not to
    require credentials but the unattended execution account is not specified. (rsInvalidDataSourceCredentialSetting)"
    I've copy pasted the connection string used for connecting to the excel file as reference :
    Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\MyFolder\CurrentFile.xlsx;Extended Properties="Excel 12.0;HDR=Yes;";
    The excel file has also been uploaded to the machine housing the reporting server (i.e to C:\MyFolder location)

    Hi Aaakar,
    From the error message, please try to change the setting of Credential type for the data source on report manager as follows:
    Go to the Data Sources properties page.
    For the Connect Using option, select Credentials stored securely in the report server.
    In User Name and Password, type credentials that can be used to access the database. If you are using SQL Server as the data source, the user name must be valid for both logging on to the server and for accessing the database that contains the data for
    the report.
    If the user name and password are credentials for a Windows account, select Use as Windows Credentials.
    If you want the report server to pass the credentials of the user accessing the report to the server hosting the external data source, click Windows Integrated Security. In this case, the user is not prompted to type a user name or password.
    For more details about Configure Data Source Properties, please see:
    http://technet.microsoft.com/en-us/library/ms155882.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Interactive Report column visible but cannot filter

    I have a complex interactive report running on Oracle 10gR1 using Apex 3.1
    When I display the report, all the desired columns are visible. However, when I try to do a filter on a particular column it does not appear in the column filter list even though it is visible in the Select Column list. All the other report columns are available in the filter list.
    The specific column is the result of a join and a substitution within the SQL select. The problem column is 'file_nm'. I've bolded the line in the script below.
    Any suggestions?
    Thanks,
    George
    Here's the IR sql:
    WITH joined_data AS
    ( SELECT a.fdno fdno
    , a.site_abbrv_cd site
    , a.season
    , a.find_id
    , a.dig_ctgy_cd dig_ctgy
    , a.find_ctgy_cd find_ctgy
    , a.materials_qstnbl_ind matl_qstnbl
    , a.color
    , a.field_obj_type_nbr field_type_nbr
    , a.is_inscribed_ind is_inscribed
    , a.display_seq_nbr seq_nbr
    , n.img_file_nm file_nm
    , h.material_descr
    , g.general_matl_ind primary
    , g.specific_matl_ind secondary
    , i.keyword
    , i.kw_cls
    , i.lvl_nbr
    , j.kw_descr
    , b.site_subdiv_type_cd AS type
    , b.site_subdiv_nm AS nm
    , CONCAT(b.sq_h_coord, CONCAT(b.sq_v_coord,
    CONCAT(':', b.locus_nbr))) AS locus
    FROM find a
    LEFT OUTER JOIN ref_item_assoc m ON a.find_id = m.obj_id
    AND m.deflt_dsply_img_ind = 'Y'
    LEFT OUTER JOIN digital_img n ON m.ref_item_id = n.ref_item_id
    LEFT OUTER JOIN find_site_subdiv ab ON a.find_id = ab.find_id
    LEFT OUTER JOIN site_subdiv b ON ab.site_subdiv_id = b.site_subdiv_id
    LEFT OUTER JOIN keyword_assocn i ON a.find_id = i.obj_id
    LEFT OUTER JOIN keyword j ON i.keyword = j.keyword
    AND i.kw_cls = j.kw_cls
    LEFT OUTER JOIN material_find g ON a.find_id = g.find_id
    LEFT OUTER JOIN material h ON g.material_cd = h.material_cd
    SELECT site
    , find_id
    , season
    , fdno
    , matl_qstnbl
    , CASE WHEN color IS NOT NULL THEN color ELSE 'No entry' END AS color
    , CASE WHEN field_type_nbr IS NOT NULL THEN field_type_nbr ELSE 'No entry' END As Field_type_nbr
    , is_inscribed
    , seq_nbr
    *, MAX (CASE WHEN file_nm IS NOT NULL THEN 'Y' ELSE 'N' END) AS file_nm*
    , MAX (CASE WHEN type = 'AR' THEN nm ELSE 'No entry' END) AS Area
    , MAX (CASE WHEN type = 'AL' THEN nm ELSE 'No entry' END) AS A_Level
    , MAX (CASE WHEN type = 'LO' THEN locus ELSE 'No entry' END) AS Locus
    , MAX (CASE WHEN kw_cls = 'FI_CTGY' THEN kw_descr ELSE 'No entry' END) AS find_ctgy
    , MAX (CASE WHEN kw_cls = 'FI_DIGCTGY' THEN kw_descr ELSE 'No entry' END) AS dig_ctgy
    , MAX (CASE WHEN primary = 'Y' THEN material_descr END) AS Primary
    , MAX (CASE WHEN secondary = 'Y' THEN material_descr END) AS Secondary
    , MAX (CASE WHEN (kw_cls = 'FI_DESCR' AND lvl_nbr = 1) THEN keyword ELSE 'No entry' END) AS descr1
    , MAX (CASE WHEN (kw_cls = 'FI_DESCR' AND lvl_nbr = 2) THEN keyword ELSE 'No entry' END) AS descr2
    , MAX (CASE WHEN (kw_cls = 'FI_DESCR' AND lvl_nbr = 3) THEN keyword ELSE 'No entry' END) AS descr3
    , MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 1) THEN keyword ELSE 'No entry' END) AS DescrN_1
    , MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 2) THEN keyword ELSE 'No entry' END) AS DescrN_2
    , MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 3) THEN keyword ELSE 'No entry' END) AS DescrN_3
    , MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 4) THEN keyword ELSE 'No entry' END) AS DescrN_4
    , MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 5) THEN keyword ELSE 'No entry' END) AS DescrN_5
    , MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 6) THEN keyword ELSE 'No entry' END) AS DescrN_6
    , MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 7) THEN keyword ELSE 'No entry' END) AS DescrN_7
    , MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 8) THEN keyword ELSE 'No entry' END) AS DescrN_8
    , MAX (CASE WHEN (kw_cls = 'ARCH_CNTXT' AND keyword IS NOT NULL) THEN keyword ELSE 'No entry' END) as arch_cntxt
    FROM joined_data
    GROUP BY site, find_id, season, fdno, matl_qstnbl, color, field_type_nbr, is_inscribed, seq_nbr
    ORDER BY seq_nbr

    Look at the interactive report Column Attribute, Allow Users to Filter check box might not be checked for this column. Thanks.
    --Manish                                                                                                                                                                                                                                                                                       

  • Portal Acitivty report to track Last login date of user

    Hi,
    We need a report which shows the last logins of Users in Portal.  We checked the Portal Activity Report but it is showing only First login.  But we need the Last login how can I configure the Portal Activity report.
    Thanks
    Naveen.

    Hi All,
    Just in case Activity Collector or Portal Activity Report is not sufficient for you and your portal management to gather important usage data, you may be interested in our SAP certified solution, Click Stream.
    May make your life a lot easier when finding the usage stats you need (Easy installation u2013 Free download u2013 Fully functional test version available).
    More information here:
    Website: [www.sweetlets.com/clickstream|http://www.sweetlets.com/clickstream]
    EcoHub reviews: [http://ecohub.sdn.sap.com/irj/ecohub/solutions/clickstream|http://ecohub.sdn.sap.com/irj/ecohub/solutions/clickstream]
    Good luck and hope that helped.

  • Defining Authorizations for User to restrict the data in report.

    Hi Gurus,
    I have no idea on authorization concept in BI. Please give me anyone steps to creating authorization objects, roles and profiles to restrict the data for users.
    Ex.
    i have functinal location info object checked as authorization relavent with below data.
    FL001
    FL002
    FL003
    FL004
    FL005
    FL006
    FL007
    FL008
    FL009
    We have users like below.
    User1
    User2
    User3
    Now, if User1 is analysing a report he can see only FL001, FL005, FL009 only, remaining have to be omited.
    If User2 is analysing that report he can see only FL002, FL003, FL009. And like wise.
    So, Please help me providing the completed steps. I have done somting but failed.
    Thanks in advance
    Peter.

    Hello Peter,
    Please go through the following links
    Authorization :
    http://help.sap.com/saphelp_nw70/helpdata/en/59/fd8b41b5b3b45fe10000000a1550b0/frameset.htm
    SAP Authorization Concept :
    http://help.sap.com/saphelp_nw70/helpdata/en/52/671285439b11d1896f0000e8322d00/frameset.htm
    Thanks.
    With regrads,
    Anand Kumar

  • Restrict users to see some colums from an report

    Hi,
    is there a way to restrict users (group of users) to see some columns in a report.
    For example:
    mr X to see both quantity and price columns
    and mr Y to see just quantity column
    in the same report
    or I have to make 2 report one with both columns and one with just an column.
    Thanks in advance
    best regards
    Nicolae Ancuta

    Hi Nicolae ,
    Security is enforced on two levels:
    Object-level security controls access to Metadata Repository objects (configured in
    Administrator Tool), and Web Catalog objects such as Folders, Filters, and Dashboards, etc. (configured in BI Answers Web Application). Data-level security controls access to content and data in end-user Reports and Dashboards (configured in Administrator Tool). Administrator Tool Manage Menu item Security Manager is used to define Users and User Groups and define Repository permissions.
    Data-level permissions can be set to above Groups and Users from the Presentation Table properties dialog box of each Subject area.BI Answers Web Page, Settings Menu
    Administration, to view and administer privileges associated with various components of the Answers Web application.
    More here in the documentation
    http://download.oracle.com/docs/cd/E10415_01/doc/nav/portal_booklist.htm
    Regards,
    Mohammad Farhan Alam

  • How to restrict users from creation of varients in report transaction

    Hi All,
    I have a requirement where buisness wants to restrict users in creating varients in report transactions.because of create options users will be creating more screen varients which will be disturbing for the other users to select a particular standard varient.Kindly give ur input regarding this
    With regards
    Girish A

    Hi,
    First edit the role assigned to users using PFCG.
    Then go to Authorization tab and click on "Change Authorization Data".
    It will opened up the profile of the role. now find the authorization object "S_PROGRAM".
    In that edit "User action ABAP/4 program" object.
    Remove "VARIANT" check box if it was checked and save. Now press
    Generate button or "Shift+F5".
    That's it.
    You can ask for this to your basis team. They can perform this task  easily.

  • ALV report shows fixed number of columns for a user ?

    Hello,
    I have an issue wherein I have created an ABAP ALV grid display in a WD ABAP application and hosted it onto portal. Now, all the users can see the correct number of columns for the report which are determined dynamically. But just for one user, irrespective of which report she launches it shows her only 4 columns.
    Can anybody suggest why this kind of behavior.
    Appreciate your help.
    Regards,
    Samta.

    Hi,
    Right, click the button "manage layout" or "save layout" and remove any default user settings...
    added: didn't read carefully sorry ;)... better check user settings in SU01 if no ALV parameter is used.
    Kr,
    m.
    Edited by: Manu D'Haeyer on Oct 21, 2011 8:53 PM

  • No data in Portal Report but have data in Bex Analyzer

    Hi experts,
    I have problem regarding portal reports. When you view the report using the bex analyzer, there is data. But when you view the report in the portal from iview, there is no data.
    Please help experts.
    Thanks

    Hi Emmanuel (that's weird, I am an Emmanuel too! and we both have Filo origins),
    There can be heaps of reasons for this.
    1) Please try to run the query in transaction RSRT by entering the query name and clicking "Java Web". See if that gives you results. If that gives your results, then the iView that was saved in the portal might need some reconfiguration. Check it out.
    2) Check the logic of your user exit variables. The sequence of the I_STEP calls is a bit different if you run a query in the Portal. For example, if you don't have a mandatory variable in your query, then the olap engine will call I_STEP=1 to 3 before it shows the variable screen. This behaviour is not documented in help.sap.com. However, it does work that way.
    3) Try to check the caching settings for your iView. It might be caching the result. You can change this in Content Administration in the portal.
    Try the above and see if it helps. Otherwise, post another message.
    Cheers.

Maybe you are looking for

  • Problem with links for external user

    Hi, We´re using SAP NetWeaver Portal 2004s SPS 10 and we have a problem with links within notification-mails: The link to the document (e.g. within a subscription mail) consists of "http:///...". Only user using the portal within our network can open

  • SM30 view with join

    Hello. I'm new in this part of abap and would like to know how to do the following: Table 1: Profiles Primary Key: Profile_ID type Profile_ID Datafield: Profile Name Type Char length 50. Table 2: Prof_entries. Primary Key: Entry_ID type NUMC length 5

  • How to run report from context menu using XML Extensions?

    I have found an example how to run SQL command from context menu: <items> <folder type="TABLE"> <name>UserDefined ContextMenus</name> <item TYPE="TABLE" reloadparent="true"> <title>Create SYNONYM</title> <prompt type="check"> <label>PUBLIC</label> <v

  • Does restoring the iPhone reset the call time usage?

    Mine seems to have done, and now I find it hard to know how much time I have used. One other thing, will this automatically reset at the start of a new contract month when your minutes gets renewed? Thanks

  • Schedule date calculation

    Hi All, While creating production order, in scheduling date is not calculating correctly. In routing for define work center, number of individual capacities is 10. Working time is 8 Hrs, therefore total capacity is 80 Hrs In routing for base qty 1 nu