Need to automate report having user response in a date prompt variable

Hi,
I've a webi 4.0 report which is having date prompt as a input from the user. This report has multiple data providers and is using variable as
=FormatDate (ToDate(UserResponse("Report Date");"dd Mmm YYYY");"Mmmm YYYY") in the report. Report Date is the user prompt enabling user to input the date and is usually the last day of Month.
I want to automate the report so that user dont have to input the date in Report Date prompt. How do I implement this?
If I simply remove Report Date being used as a filter, report will run without asking user but this Report Date is being used as a variable and will #ERROR.
Please advise.
Thanks
Pritesh

Pritesh,
Well you can create a Prompt at universe level with if and else as user input or Month end date( eom function ) or you can create variable today at universe level and schedule the every month end.
Thanks,
Venkat

Similar Messages

  • User response function() for Date Prompt

    Hi Experts,
    I have the requirement to show the date enterted in the prompt in the column of the webi report.
    I used the User response function e.g. =(UserResponse("Report Date").
    Now I am getting the value as 5/14/2014 12:00:00 AM. I dont want to see the time stamp with the date and aslo i want to change the format of the
    date to - yymmdd like 140514.
    Please provide your inputs.
    Thanks,
    Abhimanyu Sharma.

    Hi Arjit,
    I closed the thread.
    Can you please help in the below issue :
    I have two columns in the BEX report:
    1. "Local Count" which is restricted with Multiple Single Value variable "ZIN_CITY" on navigational Attribue 0ROUTE__0ROUTEID.
    2. "Out Count " which is restricted with Multiple Single Value variable "ZOUT_CITY" on navigational Attribue 0ROUTE__0ROUTEID.
    I put value 100 in prompt ZIN_CITY and 200 in ZOUT_CITY when i run this query in BOBJ WEbi.
    But i am getting the error - Not able to retrieve data. i checked in the backend and data is present and also Bex query is working fine.
    IF i change the property of variable to Single value then it is working fine in WEBi.
    Also i tried another method - irresprctive of setting the prompt in BEx on Nav attr 0ROUTE__0ROUTEID, i created the prompt in BOBJ WEBi, but LOVs (list of values)are not coming in the prompt.
    Please suggest on this?

  • Need  table which is having User name and surname

    hi,
    I am having User ID from caufvd strucure , based on this i want User name and surname. In which table i will get those two fields by passing User id. Please urgent.
    Thanks,
    MK.

    Hello,
    use table USR01 to achive it...
    All user tables start with USR++.
    Bye
    Gabriel

  • User Response Error with BW prompts

    Hello Experts,
    I have created WebI Report on top of BW query. All the prompts are coming from BW query. I was trying to create user response function but it's not working. Do I need to use special function or I can't use.
    Any help would be highly appreciated.
    Thanks
    Nisniki

    Hi,
    You can get the values of the prompts that are coming from BW Query using the UserResponse() function. Following is the way to get the value:
    1. Say, you have a variable ( from Bex ) with Name as "Customer".
    2. Now, in order to get the value of the variable in BO, you need to write the UserResponse() as UserResponse("Customer")
    You have to ensure that the name of the variable is mentioned correctly within " ".
    Hope it helps.
    Regards,
    Tej Trivedi

  • Need help with User Response function

    I have the following formula:
    =UserResponse(DataProvider([Segment Name]);"Effective Date")
    The user response is a date which is displayed like this:
    M/dd/yyyy h:mm:ss a
    I would like to display the date as Mmm-dd-yyyy with no time at the end. 
    When I tried this formula:
    =FormatDate(UserResponse(DataProvider([Segment Name]);"Effective Date");"Mmm-dd-yyyy")
    I get the "invalid data type" message.  I think I understand why (UserResponse isn't a date function), but I'm unable to come up with another formula that will do what I require.
    When I tried this formula:
    =ToDate((UserResponse(DataProvider([Segment Name]);"Effective Date"));"Mmm-dd-yyyy")
    I get #ERROR in the cell. 
    I also tried formatting the cell to no effect.

    Hi Ellen,
    You have to use the format that the user is inputing in, and then format it as you would like it
    so this should work.
    FormatDate(ToDate((UserResponse(DataProvider(Segment Name);"Effective Date"));"M/dd/yyyy h:mm:ss a");"Mmm-dd-yyyy")
    Regards
    Alan

  • Display date prompt in crystal report output

    Hi There,
    In my report output the values entered in date prompt(range) is not displayed.
    I've prompt  that is created on document created on field. The properties of prompt are
    Posting date...... date.........static values
    value field : ERDAT.....
    value options:
    optional prompt: false
    allow custom values: true
    allow multiple values : false
    allow discrete values: false
    allow range values: true

    Hi Raj,
    I believe you're trying to display the start date and the end date of the date range parameter.
    Create a formula called 'start':
    Minimum(?Postingdate) //This formula extracts the start date from the date parameter
    Similarly, create another formula called 'end':
    Maximum(?Postingdate) //This extracts the end date
    Place these formulae on the desired report section.
    P.S: You may even do this in a single formula.
    Hope this helps!
    -Abhilash

  • Automatic Report Bursting based on column names given by user as parameter.

    Hi,
    Could some help me achieve the following functionality. The requirement are:
    1. create a report that has parameters that are column names (display values e.g: department, location, employee job code)
    2. the end user will select one or more columns from the multi-select parameter
    3. we want that there should be a button on clicking that the user should get automatic file bursting. He should not be required to go to schedules tab and create a new job for that.
    4. the report should burst to a file location depending on the columns selected by the user, e.g. if user selected department and location then we should have files saved in the set file location as sales-india.pdf, sales-us.pdf, hr-india.pdf, hr-us.pdf and so on.
    I am new to BI Publisher.
    Could you help me in creating such a parameter, what should be report sql for capturing the data from parameter and then doing report bursting automatically based on two or more parameter values given by the user.
    There is no need to show the report to the user in BI Publisher as there are thousands of rows in a table. Three tables join to give the employee data.
    -Priyanka

    Thanks for a quick response but I am still not clear on
    1. how to do this using custom java code
    and
    2. actually user would login to interactive dashboard and there he will give these parameters using which we need to automatically burst a BI publisher report. Can this be done some how?
    -Priyanka

  • WebI Report using BW Query (Getting Error for User Response Function)

    Hello Experts,
    I have created WebI Report on top of BW query. All the prompts are coming from BW query. I was trying to create user response function but it's not working. Do I need to use special function or I can't use.
    Any help would be highly appreciated.
    Thanks
    Nisniki

    hi Nisniki,
    take a look here:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0a45246-ce76-2b10-e688-f5c8206203eb
    Ingo

  • Based on the user response need to calculate measures in universe

    Hello Folks,
    I have report where user prompts for the single day (Ex: OCT 1 2014).All calculations should be at universe layer.
    1.Based on the user response I need to create a report for previous months .
    2. PYTD and YTD measures based on user prompt from universe. [PYTD - JAN 1 2013-OCT 1 2013, YTD - Jan 1 2014- OCT 1 2014].
    Example Date Set :
    DIM 1                    SEP13...............................................................OCT 14      PYTD   YTD
    Florida  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    Arizona  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    M1...M6 are the measures need to come from universe based on the user prompt.
    M1,M2 Need to give previous 13 months based on user response.
    M3,M5 [PYTD - JAN 1 2013-OCT 1 2013]
    M4,M6 YTD - Jan 1 2014- OCT 1 2014].
    Thanks for your help in advance.

    Hello Folks,
    I have report where user prompts for the single day (Ex: OCT 1 2014).All calculations should be at universe layer.
    1.Based on the user response I need to create a report for previous months .
    2. PYTD and YTD measures based on user prompt from universe. [PYTD - JAN 1 2013-OCT 1 2013, YTD - Jan 1 2014- OCT 1 2014].
    Example Date Set :
    DIM 1                    SEP13...............................................................OCT 14      PYTD   YTD
    Florida  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    Arizona  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    M1...M6 are the measures need to come from universe based on the user prompt.
    M1,M2 Need to give previous 13 months based on user response.
    M3,M5 [PYTD - JAN 1 2013-OCT 1 2013]
    M4,M6 YTD - Jan 1 2014- OCT 1 2014].
    Thanks for your help in advance.

  • Need to create a report having 40 columns using XML Publisher

    Hi XML Report Gurus,
    I have a weird requirement. I need to create a XML Publisher Report having 40 columns. This report would be a CSV Report.
    How can i create a RTF(Template) in MS-Word having 40 columns ?? I just cannot accomodate the columns, they start wrapping down.
    Can i create a template in Excel and map the data columns to the Excel columns?
    I can create a Oracle PL/SQL package and generate the output, but I want to know if I can achieve the same thing using BI Reports.
    Appreciate your feedback
    Kiran Ramachandra
    [email protected] __.____._

    What I did, I had the column titles in the XML file as data, like
    <COL01>Employee Name</COL01>
    <COL02>Employee Number</COL02>
    etc.
    I did it this way because columns were variable, and up to the user to pick. If you have fixed set of columns, you still can include their names in the XML file, this way you will be able to display then as fields on the template.

  • Need to develope report for Deleting user profiles

    Hi All,
    I need to develop a report to delete inactive user profiles from SAP system. We have  a found out a list of valid users but need to delete all the users which are not contained in this list.
    If anybody is having any inputs, they are welcome.
    Thanks & Regards
    Abhii

    REPORT  ztest5.
    PERFORM delete_user USING 'TEST' .
    *&      Form  DELETE_USER
    *       text
    *      -->USERNAME   text
    FORM delete_user USING username TYPE bapibname-bapibname .
      DATA : li_mess TYPE TABLE OF bapiret2 ,
             ls_mess TYPE          bapiret2 ,
             lv_mess TYPE          string   .
      CALL FUNCTION 'BAPI_USER_DELETE'
        EXPORTING
          username = username
        TABLES
          return   = li_mess.
      LOOP AT li_mess INTO ls_mess .
        CLEAR lv_mess .
        MESSAGE ID     ls_mess-id
                TYPE   ls_mess-type
                NUMBER ls_mess-number
                INTO   lv_mess
                WITH  ls_mess-message_v1
                      ls_mess-message_v2
                      ls_mess-message_v3
                      ls_mess-message_v4.
        WRITE : / ls_mess-type , lv_mess .
      ENDLOOP .
    ENDFORM .                    "DELETE_USER

  • Report Prompt & User Response

    Hello All,
             Created a BOBJ Report from BEx query. I need to achieve the below tasks for the report.
             1. List of Values shows leading zeros on the Report Prompt, can we remove those leading zeros on the
                 report prompt ( BEx report doesnot show any leading zeros on the variable screen when running report)
             2. The Users need a set of selection values to be displayed on the report, For Ex: Material, Profit Center.
                 They want to see what they have selected at the prompt which was done using the User Reposne.
                  The question is they want to see the Key Value instead of the Text of the material, is this possible.
    Please look into and update with your valuable suggestions.
    Regards,
    Raj

    Hello Rohit,
            Thanks for your quick reply.
            I followed  your steps and created a variable for User Reposne and another variable with the where condition
            to populate the Material Key.
            But I am getting the following error as InList is looking for a list of values, not the User Reponse as the List Of Values.
            Error - Missing or bad operand in 'InList' expression at position 51. (WIS 10070)
           My Formula : =([L01 Material Key]) Where ([L01 Material] InList [vURMat])
           Where vURMat: =UserResponse("Material")
           L01 Material is the Material Desc.
           Please look into and let me know where I am going wrong.
    Regards,
    Raj

  • Need to track if a user printed a doc via builtin AcroPDF.DLL control

    I am creating a small application in Visual Studio 2008, using VB.NET.
    I am getting a PDF from a webservice, and need to do a couple things:
    1.) Show the PDF to the user with all available controls (i.e. Print, Save, Email, Change Size of viewer, etc.).
    2.) If the user selects print, I need to know that the user printed the piece so that I can log it to our database with it's 'last printed date'.
    I have the retrieval and presenting part all working perfectly using the AcroPDF.dll to tap into the user's Acrobat Reader (latest version) that they have installed on their computer; but can't seem to figure out if there is some way for me to know that the user went into the print dialog from the automatic toolbar that is created and used by the AcroPDF.dll when I use the following command:
      AxAcroPDF1.LoadFile(<file name goes here>)
    Is there some way for me to intercept some event within the AxAcroPDF1 object so that I can interrogate it an know whether or not the user printed the report?
    While I am asking, I will also ask about the Send Email method, is there a way that I can tell if the user clicked on it and went into, and completed, that function?
    If there is no default way to tap into the existing infrastructure, is there an easy way for me to 'override' the existing print button so that it calls a function that I create instead of the one it currently does?
    I would like to keep the visual aspect like it is, if possible, to keep it as polished as I can.
    Thanks,
    Jim

    lrosenth,
    Thanks for the reply!  I have only two follow up questions:
    1.) What, exact javascript am I supposed to insert into the PDF that will allow me to know if the user printed the document from within my windows based application?  I have injected javascript before into a PDF, but for a different reason.
    2.) Where, exactly, would I want to inject the javascript into the PDF?
    any example javascript code, etc. would be appreciated!
    Thanks,
    Jim

  • Creation of support message in SolMan without having user id in SolMan

    Hi Everyone,
    Need your help in this issue.
    I have solution manager configured to create a service desk message from satellite system.
    We dont want everyone (Users from satellite system) to have an SOLMAN user id to create a service desk message. We want that the users from the satellite system create a support message seamlessley without touching the solution manager.
    What roles and authorization do we need to assign to each users in satellite system to create a suppport message in solution manager ( without having User id in SOLMAN).
    Any help is greatly appreciated.
    Thanks in Advance.

    Hi Kuldeep Thakur,
    the role is : SAP_SV_FDB_NOTIF_BC_CREATE to be able to create message from satellite system to Solman.
    That you will get the Reported by in the service desk message itself, you need to create the Business Partner (BP transaction) for this user and assign the BP to the user ID in transaction BP under Employee section indification.
    BR,
    Markus

  • In sm_crm automatically populate service and response profiles based on support team

    Hi All,
    i have a requirement that in SM_CRM transaction while creating a incident user wants to automatically populate service and response profiles based on support team name.
    i have checked for BADI's but dint find any which automatically populates service and response profiles at the time of creation of the ticket.
    Kindly help!!

    Hi Shaswat
    This doesn't work as mentioned in the wiki page and SLA doesn't get determined by the org unit or support team via customizing.
    We reported this to SAP and got a feedback that this is not supported and will be removed in future from the access sequence.
    Therefore the only option is to implement badi i.e. crm_sladet_badi and use BADI determination in ur acess sequence to call this badi.
    hope this clarifies
    Thanks
    Prakhar

Maybe you are looking for