Current User & Key Date in Web Reports

Hi,
I want to default the current user name & current date (could be different from the varaible key date) in the header or footer of the web report. I tried text elements in the web template where we can default only the variable values entered by the user, or general text which include above two texts along with many other details which are not required by me. I have also tried text variable in the query properties in vein. Could someone give some tips, please.
I have a formula variable "Current Calender Day". How I can create a text variable from this ?
Thanks & regards,
Sheeja.
PS: I'm a functional guy, so kindly explain in detail if any EXit coding is involved.

Hi Sheeja,
If ur looking this option for a web template then please follow below steps for current user name & current date :
1. Create a Text web item present under the Miscelaneous Tab of web items.
2. In its properties tab Tick 'Display Text only'.
3. Select General Text elements For text binding option (Present in Data binding)
In general text Elements option:
Make a binding with a data provider.
For user name select - Current user
For Current date - Select Last Refresh options.
Try this, hope this will  help to u.
Thanks !

Similar Messages

  • How to run webi report automatically with the current date/system date in webi report

    Hi Friends,
    I have a webi report which has a date prompt now. Based on the selection that user makes while running a report, he will get the related data for that particular date selection. Now I want to make that date prompt automated that is the report should run automatically based on the system date daily on scheduling.
    I want it to run current day automatically without have to go in and pick the date in webi report. I will be scheduling the webi report. Can you please let me know how to achieve this functionality of running a webi report automatically with a system date.
    Please let me know if I couldn't make you understand so that I will write with an example.
    Waiting for your valuable solutions.
    Thanks in advance.
    Regards,
    Bhaskar

    Hello Bhasakar,
    1.Create sysdate object in the universe
    2.Create another query in webi and select only sysdate object
    3.In the original query drag the Day object in the filter pane and choose the "List of values" from another query.and select the sysdate object from the second query.
    So your report always will run for sysdate...
    regards,
    Naveen D

  • SAP BW Hiearchy Key Date Variables - Web Intelligence

    Hi,
    I have couple of issues / scenarios which are not working as expected. First, as I understand that hiearchy variables are supported by WebI.
    Scenario 1
    I have created a hiearchy key date variable within the report and made it optional. I run the report an no key date appears. It should appear. If I then make the hiearchy key date to mandatory I get a database error. Looks like there is a problem with hierarchy key date variables?
    Scenario 2.
    I change the hierarchy key date so it uses the key date of the query (so no longer a variable).
    As an example,I have employee "Employee X" assigned to "team A." This team moves from the Desktop team to the IT team on the 01.04.2011.
    IT
       A - 01.04.2011 -> 31.12.9999
    Desktop
       A - 01.01.2011 -> 31.03.2011
    I have a hiearchy variable so I can select a team as requied (using the object 0ORGUNIT) If I run the report using the key date 01.04.2011 the WebI report displays the current hierarchy nodes i.e.
    IT
       A
    and the data shows correctly,
    If I now re-run the report using the key date 01.03.2011 in the selection screen in the WebI report the following is still shown
    IT
       A
    If I select team A - no data is displayed. So it looks like via the use of the "Use query key date" for the hierarchy key date works but not in selection screen which is a problem.
    Is this a bug or am I doing something wrong?
    Thanks

    Hi,
    I have now got scenario 2 working - well I didnt do anything apart from run it InfoView and it is fine. But for some reason does not work in WebI Rich client - I will have a look into this furrher but am happy that it works in infoview. Sceanrio 1 is no working still I have run it in InfoView and get the error "A database error occured. The database error text is: Failed to execute MDX query. Reason: Specify a value for variable Hierarchy Key Date. (WIS 10901)" This hiearchy key date is th variable which I have created and assigend to the hiearchy so that a "hierarchy date" can be selected.
    +Scenario 1+
    +I have created a hiearchy key date variable within the report and made it optional. I run the report an no key date appears. It should appear. If I then make the hiearchy key date to mandatory I get a database error. Looks like there is a problem with hierarchy key date variables?+
    Any help is appreciated.
    Thanks.
    Edited by: Leo on Apr 25, 2011 4:20 PM

  • Previous month data in WebI Report

    Hi All,
    I have a universe created on a Bex Query. I don't have any variables created in the Bex Query. I have to create a WebI report with Calendar Year/Month as selection and depending on what user enters, i have to display Cost for the month entered by the user and cost for (month -1 ). For eg. if the user enters Feb 2009, then the report should display Cost for Jan 2009 and Feb 2009. I have created a filter for Calendar Year/Month. How do i bring previous month data in the report ? I don't have to modify the Bex Query. I have to achieve it on the BO side. Can you guys help on this problem.
    Thanks,
    Saachi

    Hi,
    There is a restriction in BO when you use it with SAP.
    When the user filters the data for FEB 2009, you will not be able to get data for JAN 2009 as it does
    not go again to the Bex query to fetch this data.
    The only workaround as of now to this is to bring all the data using Bex query by having a filter
    at the BO Query level where you say Cal year/month key = (From prompt) or 
                                                          Cal year/month key <> #.
    This is because it considers Cal year/month as string and so even at the universe level we will not
    be able to create a previous month formula.
    I hope this helps.
    Thanks,
    Kartik

  • No data in WEBI report - but plenty of data in the underlying Bex query...

    HI all - I have a problem with my webi queries - which are sometimes breaking...
    We run in the XI 3.1 ans SAP int, kit - SP 2 on both.
    Sometimes af perfectly well functioning webi report suddenly returns no values - stating that the query didn't find anything. However - if I run the bex query with the same selections I get plenty of data. So there is data. Therefore it might be a Int. kit problem - however, when I bulid a new webi report - similar to the first one, with same dimensions etc. but without all the formatting - It runs fine too!!!!
    So it seems like somehow the original webireport has lost the connection to the measueres which it holds - has anyone any idea to what the cause might be and how to fix it?
    By the way - I havre refreshed the Universe and there is nothing to update.
    BR
    Jess

    Hi Ingo - the MDX statement from the MDX trace - does not yield any data - However, if I make a similar selection in the BEX, there i data avaiable - so it might be a problem with the how the MDX statement is generated.
    I've trouble shooted further and my learnings are so far:
    The problem is caused by a combination of 5 dimensions
    If you remove either one of the 5 dimensions - the query returnsdata
    If you add a specific meausure (a restricted bex key figure) - data is also returned - also in the other measures.
    The MDX statement looks like this:
    SELECT  { [Measures].[D6ZWIC1Q7MOA2YCJM1LAPRQNG], [Measures].[D6ZWIC1Q7MPTG70294GIUMJ70], [Measures].[D6ZWIC1Q7NGQDWFMH0MZ7LEP8], [Measures].[D6ZWIC1Q7NI9R53543I7CG78S], [Measures].[D6ZWIC1Q7NWVQXAK7CQUMKQEK], [Measures].[D6ZWIC1Q7NYF45Y2UFM2RFIY4] }  ON COLUMNS , NON EMPTY CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( [0CALMONTH2].[LEVEL01].MEMBERS, [0REPTT].[LEVEL01].MEMBERS ), [0EMPLSGROUP].[LEVEL01].MEMBERS ), [0PAYSCALEAR].[LEVEL01].MEMBERS ), [0ORGUNIT].[LEVEL01].MEMBERS ), [ZBOORGUNT                     ORGEH                         01].[LEVEL00].MEMBERS ) ON ROWS FROM [ZMPHPTGL1/ZDQHPTMN1] SAP VARIABLES [0P_CALMO] INCLUDING [0CALMONTH2].[12] [0P_CALYE] INCLUDING [0CALYEAR].[2009]
    Where all the measures in fact are restricted keyfigures from the Bex query. The dimensions are business content characteristics, as are the variables used.
    The above MDX statement returns nothing - but if you remover either one of the dimensions in the cross joins - the expected data is returned.
    Any ideas to why that happens?
    BR
    Jess

  • Check user role/authorization during Web report run-time?

    Hello again,
    I ran into a problem. I need to check <b>user's authorization during webtemplate execution (run-time)</b>. I want to have a possibility to allow in one web template extra functionality (through template menu) to key users. Normal users, who are running same report, should not have this extra menu visible.
    Is it possible to check user authorizations or roles during web-template run-time?
    Thank you!
    Vitaliy

    Hi Harinam,
    From my logic your are right.
    The restriction is in two new roles (Requestor and Approver role).
    But ->
    If I assign my approver role the selection possiblities of the request types during the AR creation is restricted and the AR search function does not work.
    If I assign my requestor role the restriction of the request type is not there, but the AR search function works again. :-(
    If I assign the original approver role of sap I have the same behavoiur for the AR search.
    Both new roles are a 1:1 copy of the SAP standard roles - > Exception, ristriction on request type 'Execption Approval' is not displ.
    I have execute ST01 now. If I try to open the log, the system syst "No records that correspond to these search criteria".
    But I have found something else.
    The problem appears only if I search for Process ID "Access Request Approval Workflow".
    If I select other Process ID such as "Control Assignment Approval Workflow" or "Fire Fighter Log Report Review Workflow", everything works fine.
    Very strange!
    BR
    Melanie

  • How to create Variables(User Input Selections) in WEBI Report

    Hi Team,
                  My requirement is to create a WEBI Report on top of BEx query,I have created a Universe and WEBI Report on this Universe but my doubt is How to create Variables for the User to select.The Input selection should be
    User Iputs(All are drop downs)
    Distribution Channel :       ->drop down,user can select one
    Division:                          -> drop down,user can select one
    Department:
    Season:
    Collection:
    Date Format              Valid From:                                 Fiscal Week:
    When the user gives the above selections the output should be displayed as
    Material No   Description     Markdown Week     Reason code1(under this)        Reason code2(under this)   like that for all the
                                                                                valid from         Amount              Valid from          Amount            Reason code.
    I have designed the basic layout of the Report but wanted to know how to design like this,Please help me out in this Format.
    Thanks & Regards,
    Somu

    Hi, depending on the way you set this up (it is not entirely clear if you are talking bex variables or report drop down filters), use the following;
    For BEX variables, the choice will be in the
    UserResponse("prompt message")
    this you can display in the message format you want.
    For drop down filters the choice will be in the DrillFilters(), this one will show all selections in one string.
    However, if you want to format this to a certain message, you need to use the Formula
    DrillFilters([object from drill bar])
    This will give you the result of just that one selection. If the user did not select (yet), the value will be "".
    Hope this helps,
    Marianne

  • Breakout of data for Webi Report

    I am not sure if this question should go here or in the Universe forum but I will post it here first.  I am using BOBJ Edge XI3.1 with SQL Server 2005 holding my data.
    I have a universe that has 4 tables in it.  The first table is "CSS_Facts" which is a Fact table consisting of aggregate data.  Table two is "TJG_Organization_CSS"  that holds six levels of hierarchy for all clients.  Corporation, System, Facility, Division, Service Line and Department.  Department is the lowest level so there is an "Organization_Key" for every department for every client.  Table three is "TJG_Survey_CSS" which holds all of the survey data for every client.  Every answer for every survey has its own "Survey_Key".  Lastly I have "TJG_Time" which has a "Time_Key" for every day of the year.
    Table "CSS_Facts" has a foreign key for each of the three tables above with the same field name as the key field in each of those tables.  The cardinality for all three of these joins is many to 1 from the "CSS_Facts" table (ex:  many "Survey_Keys" from the Facts table to one key in "TJG_Survey_CSS").  The facts table also has 4 other fields which hold the counts and or computed fields.
    All of this works perfectly for most of what we do.  I can build a WEBI document that has all of the fields that I need.  As an example, I can get a report of all the statements for a given timeframe for a specific survey number for a specific client.  If the survey has 50 statements in it I can get back all of the statements with the counts for all of the possible answers for each statement.  This is expected and what we want.
    Our problem is being able to break this down based upon the answer(s) to one question in the survey.  Let's say statement number 2 in the survey is an age statement that has 5 possible answers.  Answer 1 might be "Less than 18.".  Answer 2 might be "19 to 29.", and so on.  When I filter my query in my Webi to just bring back results for anyone who chose Answer 1 (Less than 18) for this statement I get back pretty much what I expect, that question only with all of the possible answers but a computed total for just answer 1 (less than 18) with all of the other answers getting zeroes.  Again, this is what I expect to get back based on the WHERE clause that is generated but not really what we want.  We want to get back the complete survey in the report, all 50 statements with new count totals per statement based on the answer (Less than 18) from that 1 question.
    Is this possible to do within Webi reports?  If not, can this be done outside of a webi report, but then brought back into the Universe to be consumbed by a Webi report?
    Thanks for any help in advance.

    You can use the following work-around without the need for an SDK solution.
    Display this info in the report in stead of in the pop-up...
    Just create a cell with the info want to show and hide it if there is data,
    (use and alerter to empty it when you have data and hide on empty)
    show it when there is no data fetched.
    Hope this helps,
    Marianne

  • Compare time depednt master data for two key dates in a report?

    Hello all,
    We have a requirement where we want to see the difference in master data at particular key dates (time dependent master data).
    Like if employee has State = OH till yesterday (12/01/2008) and today it is changed to State =KY (12/02/2008 to 12/31/999) loaded in BW which is time dependent.
    So basically if you run the query for Key date 12/01or before you will see OH as state and if you run query for key date 12/02 or further you will see KY.
    We want to create a report where we want to list employees and compare in two columns basically the previous value and the current value. So input would be two key date variables and the report would look like
    Employee                  Key date 1(state)                  Key date 2 (state)
    Employee1                         OH                                  KY   
    Has anyone done this before, can someone help me doing this?
    Thanks,

    Hi ,
    For this scenario , Can you please create variabale ( From value -- to value ) in the key figure date .And by using the time period in the varaible u can get the employees for both the states ...
    Hope this helps out
    thanks
    PT

  • No data in Webi report, but data in underying BW Query

    I have a Webi report that is built off of a universe that is built off of a BW Query.  When running the Webi report, instead of getting data I get "All Data" under each field in the report, as opposed to the actual data.  I feel like I'm missing  something fairly basic.  Any help would be much appreciated!

    Try using the L01 dimensions, not L00.
    Hope this helps.
    André

  • Swaping key figures in Web Report(Drag and drop)

    Hi,
    Assume that I have following three key figures displaing in the following sequence in web report:
    Actual, Target, Estimate:
    Now I want to put the key figures in the following order:Estimate,Actual,Target
    When I do try to do the Drag and Drop in the web report I'm getting the following message and I'm unable to move Estimate to the first column,
    Message: Drag and drop action was invalid and was not executed
    I can able to drag and drop in the Bex Analyzer but in web reporting its not working
    Please help
    Thanks

    Hi,
    You can achieve this swapping of KFs by swapping them in BEx. In WAD, you just use the BEx query in which you do this swapping.
    Regards,
    Yogesh.

  • Show user entered date when ssrs report exported to csv format

    Hi All,
    How can I show date range parameter entered by user when ssrs report is exported to csv format.
    my csv output should look like this....
    Date : 01/01/2015 TO 01/31/2015 (user selected dates)
    ID,EmpFirstName,EmpLastName,Location
    1,Tom,Garry,NY
    2,John,Graham,NJ
    3,Ron,Lorrie,CA
    Thanks,
    RH
    sql

    Hi RH,
    You can add two textbox at the top outside the tablix and using expression to get the parameter value use have selected to display in the textbox as blew:
    TextBox1: =Parameters!Date.Value
    TextBox2: =Parameters!To.Value
    For Multiple value parameter you can use the expression like : =Join(Parameters!Date.Value,",")
    You can rename the two textbox' name in the properties as "Date" and "To"  then the two textboxs will display like belkow in the CSV report:
    Date                 TO
    01/01/2015      01/31/2015 
    ID   EmpFirstName    EmpLastName   Location
    1      Tom                  Garry                  NY
    2      John                 Graham               NJ
    3      Ron                   Lorrie                 CA
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Last Refersh date in Webi Report

    Hi All,
    I'm getting different last refresh date and time on the webi report(using drill down report). I am getting the right date on the main report,  wrong date showing on the sub report report.
    Could anyone advise me ASAP?
    Regards,

    Hi,
    Thanks 4 reply, main report is showing correct 'Last refresh Date' but Sub Report showing a day ahead (Ex. if refresh the report today its showing 7th July,but the sub report showing 8th July. as 'last refresh date').i already refreshed the drill down report, but its still showing 8th July, its really strange.
    Regards,

  • User-defined Date on PO Report

    Hi Experts,
                       My client want that in production order report, delivery date must be 15 days before of due date.
    we already set the udf for this date. Please advise me how to pick this date to PO report.
    Thanks and Regards
          Gyan Piyush

    Hai!
    What is PO report?
    where it is?
    Is that your query Report? If so Please provide the query.
    we can't bring extra fields in to SAP Default Reports.
    Regards,
    Thanga Raj.K

  • How to show User Auditing data in dashboard/reports in MS CRM 2013 online?

    HI,
    I am having requirement to show user auditing details like user last logged in date/ session spent time in MS CRM 2013 online.
    I did not found any option to query user Auditing data.
    I found the Audit summary View but don't know how to use it.
    Could any one suggest me how to achieve this.
    Thanks
    Baji Rahaman

    Please try this 
    Public Function Decompress(ByVal arr As Byte()) As Byte()
            Dim s As Byte()
            Dim notCompressed As Boolean
            notCompressed = False
            Dim MS As System.IO.MemoryStream
            MS = New System.IO.MemoryStream()
            MS.Write(arr, 0, arr.Length)
            MS.Position = 0
            Dim stream As System.IO.Compression.GZipStream
            stream = New System.IO.Compression.GZipStream(MS, System.IO.Compression.CompressionMode.Decompress)
            Dim temp As System.IO.MemoryStream
            temp = New System.IO.MemoryStream()
            Dim buffer As Byte() = New Byte(4096) {}
            While (True)
                Try
                    Dim read As Integer
                    read = stream.Read(buffer, 0, buffer.Length)
                    If (read <= 0) Then
                        Exit While
                    Else
                        temp.Write(buffer, 0, buffer.Length)
                    End If
                Catch ex As Exception
                    notCompressed = True
                    Exit While
                End Try
            End While
            If (notCompressed = True) Then
                stream.Close()
                Return temp.ToArray()
            Else
                Return temp.ToArray()
            End If
        End Function
    Thanks & Regards Manoj

Maybe you are looking for

  • Oracle Discoverer report pulls incorrect result when scheduled.

    Recently the database was migrated to 10.1.2 RAC from 9.2.0.6, so the discoverer EUL is now resides on new database. after migration the report which pulls correct results when run interactively is pulling incorrect result when scheduled in Discovere

  • A "security issue" for property list in library of flash document

    Please take a look at this screen-shot I have taken from the library in a flash document. see in the link below, you have to copy and paste it in your browser. http://askervgs.wikispaces.com/file/view/library.jpg/505738374/library.jpg As you see the

  • 0hr_pt_1

    Hi, Good day to all ! i schduled 0HR_PT_1 data source its taking lot of time almost 5 days but still active in source side sm37 is almost 2crore crecords. can any one  explain me how to load selection wise data like fiscal year . but this belongs to

  • Clip length and Workflow with iPhoto (I need a pdf for a final...)

    I'm feeling like a total lunkhead after taking a number of passes at this in the past year. Short question: How do I control clip length in iMovie? Does it work one way when you bring images in and another way when you bring in a slideshow? Long ques

  • IPod is causing pain and disturbance in my ears. Can anyone help?

    I've recently bought a 5th Gen iPod, my first iPod though I've been using iTunes on the PC for six months or so. As soon as I started listening to music on the iPod through the headphones, I found I got a terrible pain in my ears - heat combined with