Need limited data in the prompts

Hi All,
Its kind of really urgent and important to me.
I have a prompt which hold the emp name. In the list of values i need only the list which comes when is join the emp table with the fact.
Like is its a SQL it would be lik this.
select e.emp_name
from w_emp_d e, fact f
where e.row_wid= f.emp_wid
Thanks,
LonaD

hi,
Select the Choice list values in the column prompt editor and enter the logical sql.
It will give u the joined list if the emp table and the fact is joined in rpd.

Similar Messages

  • How to display the current date in the prompt value.

    Hi,
    How to display the current date in the prompt value. When the user runs the query he want the current date to be displayed in the prompt value and he should also be able to change the date if required ...... I am using web Intellegency BO XI3.0.
    Thanks,
    Shakthi.

    Please refer the below link.
    Prompt  with  default  date   (  currentdate-1  and current date-8)
    http://www.dagira.com/2008/07/15/how-can-i-make-today-my-default-prompt-value/
    http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts/
    Regards,
    Bilahari

  • 大家帮帮忙呀,真是苦恼呀!The date for the prompt 'startDate' is invalid. (WIS 10706)

                   IInfoObject report = (IInfoObject) objects.get(0);
                   IWebi webi = (IWebi) report;
                   // u83B7u5F97u63D0u793Au53C2u6570
                   di = getReportEngine().openDocument(report.getID());
                   di.refresh();
                   // u8BBEu7F6Eu53C2u6570
                   if (params != null)
                        Prompts prompts = di.getPrompts();
                        int promptNum = prompts.getCount();
                        for (int j = 0; j <= promptNum - 1; j++)
                             Prompt p = (Prompt) prompts.getItem(j);
                             if(params.get(p.getName())!=null)
                                  //u68C0u6D4Bu662Fu5426u5E26u6709u7A7Au5B57u7B26
                                  String temp[]=(String[])params.get(p.getName());
                                  boolean falg=false;
                                  for(int len=0;len<temp.length;len++)
                                       if(temp[len]==null)
                                            falg=true;
                                       else if("".equals(temp[len].trim()))
                                            falg=true;
                                  if(falg)
                                       continue;
                                  //u5BF9u65E5u671Fu6570u7EC4u8FDBu884Cu8F6Cu6362
                                  if("DATE".equalsIgnoreCase(p.getObjectType().toString()))
                                       String formatStr=p.getInputFormat();
                                       for(int x=0;x<temp.length;x++)
                                            temp[x]=DateUtil.DateToString(DateUtil.StringTODate(temp[x]),formatStr);
                                  System.out.println(p.getName()+"u503C  "+temp[0]);
                                  p.enterValues(temp);
                        PromptsUtil.populateWebiPrompts(di.getPrompts(), webi);
                   // u540Eu7F00u540Du79F0
                   if (format !=EXCEL && format != PDF && format !=Webi)
                        throw new Exception(" u751Fu6210u62A5u8868u5B9Eu4F8Bu683Cu5F0F,u53EAu63A5u6536EXCEL,PDF,Webiu683Cu5F0Fu53C2u6570!");
                   webi.getWebiFormatOptions().setFormat(format);
                   ISchedulingInfo scheduleInfo = report.getSchedulingInfo();
                   scheduleInfo.setType(0);
                   //u662Fu5426u53D1u9001u90AEu4EF6
                   if(isSendMail)
                        doSendMail(scheduleInfo,report,
                                  format,message,title,recipientAddresses,CCAddresses);
                   //u8BBEu7F6Eu81EAu5B9Au4E49u503C
                   if(properties!=null && !"".equals(properties))
                        report.properties().setProperty(CUSTOMVALUE,properties);
                   scheduleInfo.setRightNow(true);
                   // u751Fu6210u5B9Eu4F8B
                   getIInfoStore().schedule(objects);
    上述代码片段为BO生成实例的过程,程序不会出错。但BO报表历史记录中,提示:The date for the prompt 'startDate' is invalid. (WIS 10706)
    刚开始认为:日期格式错误,我便加上了
    if("DATE".equalsIgnoreCase(p.getObjectType().toString()))
           String formatStr=p.getInputFormat();
           for(int x=0;x<temp.length;x++)
                  temp[x]=DateUtil.DateToString(DateUtil.StringTODate(temp[x]),formatStr);
    需且验证日期格式,正是p.getinputFormat()所要求的格式,可BO历史记发中,生成实例还是报上述错误。
    Edited by: pyantking on Jul 27, 2009 2:39 PM

    Hello Anh,
    With XI 3.1 some significant fixes were delivered to address issues like you describe : create a query with QaaWS Designer using date input parameters (prompts) with a given locale, then edit (with QaaWS Designer) the query under another different locale, where dates are set with a different format.
    AFAIK QaaWS queries keep the locale under which they were created, fixes were aimed at translating input parameters in the right format so errors like the one you describe should not be encountered.
    i suggest you get in touch with the SAP BusinessObjects tech support with your issue, so we will be able to investigate further in conjunction with QaaWS dev team and work out a fix, if this turns out to be a bug.
    BTW, Have you considered upgrading to a more recent Service Pack? Business Objects Enterprise XI 3.1 SP3 is now available since 2010 Q2 (no guarantee, though, that this issue would be solved with this SP)
    Hope that helps,
    David.

  • By Pass Cache if the date in the prompt is Current Day

    Hi,
    We have implemeted Cache solution for few dashboards as performance improvement.
    We have a report with date prompt. By default we show previous day data. User can generate report for any date by giving the date in the date prompt.
    To improve performance, we get the previous day data into the BI cache. We got lot of improvement with this for default dashboards(previous date is default).
    If user changes the date to current date and tries to generate, it gets the data from EBS and stores in the BI cache for the first time. If any user tries to generate after this, then it will get the current day data from Cache not from EBS. This is incorrect. We need to bypass cache if the date prompt is having current day.
    We tried the following.
    1) We have enabled cache in RPD at the physical layer.
    2) This will cache the results in to BI even for current day. We tried to purge the current day query using "SAPurgeCacheByQuery" but after executing it says purged successfully, but in BI RPD, if we check the cache, the query still exists and if we generate report for current day, it gets the data from cache not from EBS.
    Any ideas would be helpful in this area.

    Hello,
    Use an alias on the table where you have enabled cache in repository, and enable the "Override the source table caching properties" make this not cacheable so that you are disabling cache for this new alias table.
    Once you have done this also make sure you disable cache at the Presentation for on that single report by going to Answers, go to Advanced Reporting tab when building report, set Prefix value to following:SET VARIABLE DISABLE_CACHE_HIT=1, DISABLE_CACHE_SEED=1, LOGLEVEL=7;
    Now this will make sure you are not caching your results at OBIEE , the query will directly hit your EBS tables.
    Hope this helps. Pls mark if it does!
    Thanks,
    SVS.

  • I bought an external hard drive in June (this yr) and it suddenly stopped appearing on the desktop. Disk Utility could see it. It wasn't the cord - now that I've tried that, the ext won't even turn on. I need that data off the drive BADLY! Help!!??

    The drive stopped showing up consistently at first, then stopped all together. Disk Utilities could see it, verify it but not repair. I need it backed up. I took it to a local computer shop who tried a different cord. Nothing. When I got home, I read through several support forums dealing with this issue. One said I needed to zap my PRAM on my MacBook. I did so. Now the external won't even turn on! Any hope of getting the data off that drive? It is still under warranty but undoubtedly the firm will NOT attempt to back up the drive before issuing a new one. I downloaded something called TestDisk 6 that another forum suggested but no one offered any clue how to use it. I cannot figure the first thing to do with it! It appears to may be a Windows formatted program, anyway as most of the instructions end in the suffix .exe. I'm at a total loss...both personally as well as having already lost a complete week of business. Any suggestions would be appreciated but please note - I am NOT that computer literate. Just telling me to download something won't help me if I can't figure out what to do once it is downloaded. Also, taking this hard drive apart will void my warranty. Not that that is the biggest of my worries at this point but I wouldn't have the first clue anyway! I live in an area where we have something called Mac Authority in the mall and a Best Buy. Those are the only 2 connections to Mac-related stuff I have access to. Help!!! Please?

    If your external drive does not have an independent power supply, you may wish to consider a couple of lower-cost options before tossing the drive. Bus-powered drives have no external power source and must get all their power from the computer. They can exceed the computer's USB energy budget.
    Cheapest option:
    1 Meter USB 2.0 A to 5 Pin Mini B Cable - Auxiliary USB "Y" Power Design for external hard drives.
    This gets power from two of the computers USB porst sna can provide enough power to wake up an under-performaing bus-powered drive.
    If you don't have enough ports to use this, try the next cheapest option:
    Newer Technology 7 Port Hi-Speed USB 2.0 Hub with Power Adapter for Mac & PC
    Such a hub has a an independent power supply to make up for wahat the comptuer fails to provide.

  • Is it possible to recover limited data from the Calendar/Date Book?

    During a recent sync, my Blackberry 8330 deleted certain old calendar data (everything that wasn't a repeating event). Is there a way I can recover these old calendar entries without restoring a complete backup that would erase more recent entries? [I have reset the synchronization and configured it correctly going forward, but I really need some of the old calendar data]

    hmmm... if you must, AND if you have a recent backup of the BB, you can use ABC Amber Converter to MERGE two IPD backup files from your PC.
    http://www.processtext.com/abcblackberry.html
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Restricting the Prompt Values based on Fact table data

    Hi,
    We need dashboard prompts in OBIEE reports that will fetch data from dimension tables. Our all dimensions are conformed dimension having joined with multiple fact tables.
    Because prompts are showing data from dimension table, it is showing all dimension data and few data might not present in the particular fact table that we have used in the report.
    For Example:
    We have one Calendar dimension table that has 20 years data that means all dates. Now we have two fact tables Fact1 and Fact2.
    In Fact1 we have records related to only 2007 Years data. And In Fact2 We have 2008 years data.
    Now We are creating two separate reports in two separate page in one dashboard where the prompt is same. That is Calendar date prompt.
    So In report1, The prompt will be Calendare and Result will be from Fact1. But as the calendar prompt from Calendar dimension, it showing all 20 years data though only 2007 years data is valie.
    Similarly for Report2, It is showing all calendar dates in the prompt where Fact2 is having 2008 year data.
    I want to show only 2007 years dates in the prompt for Report1 and 2008 years dates for Report2. That means I want to restrict prompt values based on the fact.
    It will be great if someone can suggest on this.
    Regards,
    SS

    Hi, I have a similar problem.
    I have two dimensions: time and customer.
    The two dimensions are joined into two Fact Table (Order, Forecast).
    I created a dashboard prompt with two selections: the first is the Year (time dimension) and the second is the Region (customer dimension) with the option "cosntraint."
    When I select a Year, not all Regions are shown, but only those that are present in one of two fact table for the year chosen. Which fact table?
    What criteria will limit the values of the Region?
    Thanks

  • How to call the column names into the prompt and display values dynamically

    Hi,
    i have a typical requirement where I have to call 3 columns into the AGE Prompt (I know we can use the Column Selector to call the columns) .Below is the Screen Shot.
    !http://i46.tinypic.com/2qjfukh.jpg!
    2nd Requirement)
    The three columns I have are order Date, Ship Date and Entry Date.
    Whenever I click on Orderdate from the Prompt, It should dynamically show its values in the report.
    and When I click on the Ship Date from the Prompt, it should display the corresponding values in the report.
    and so on with the Entry Date.
    Can anybody help me how to acheive this.
    Thanks a ton.

    Ok so then you can use a fake column prompt. Here's one quick approach (nicer and cleaner with LOV tables but I don't if you have any of those).
    - Create a fresh prompt using any column you want.
    - Open the column formula using the fx button and replace the formula with 'abc'.
    - Use "SqL Results" as the "Show" option.
    - SQL:
    select case when 1=0 the Markets.Region else 'Order Date' from Paint.Markets UNION ALL
    select case when 1=0 the Markets.Region else 'Ship Date' from Paint.Markets UNION ALL
    select case when 1=0 the Markets.Region else 'Entry Date' from Paint.Markets
    - Set Variable = Presentation Variable = @{vPresVarSelectedDate}{Order Date}
    - Label = Date
    Then in the request, you change the column formula for the date. I'm going to make it short and just assume you called your time dimension alias(es) like the lowest grain:
    "@{vPresVarSelectedDate}{Order Date}"."@{vPresVarSelectedDate}{Order Date}"
    Cheers,
    C.

  • Date Constant Dashboard Prompt

    Hi,
    I would like to know how would you go about creating a Date Constant prompt in Dashboard.
    For example : User should be able to select 'LastMonth' or 'LastYear' or 'LastWeek' constant time frame and run a report.
    Report query should translate those contant to dates in the prompt.
    Example: if user selects 'LastMonth' teh date range shoudl be translating to query ( where DATE between '01/11/2008' and '31/11/2008' )
    Thanks,
    Kopii

    Hi...
    To select last month use repository variable Add_months(sysdate, -1) and give variable name. in the same way to.. other last week or last year also...
    Now use this variable in writing logical SQL in dashboard prompt...
    For second prompt use Logical SQL like,
    select date from SA where month = (selected month in prev prompt)
    Hope help you...
    Try in this way..
    Thanks & Regards
    Kishore Guggilla

  • I have allowed my iTunes Match subscription to expire, because of a limited data plan so can't listen to music outside my house. My music files were removed from my computer and are inaccessible without renewing the subscription. How do I get them back?

    I have allowed my iTunes Match subscription to expire, because of a limited data plan so can't listen to music outside my house. My music files were removed from my computer and are inaccessible without renewing the subscription. How do I get them back?

    Hi,
    I presume you deleted the original files as match would not have done so. Do you have a back up. If so, restore your music from that. If not, your will have lost all your music as this needed to be on your hard drive when you unsubscribed.
    Jim

  • How to set the default display date of Calender prompt of SMPortal???

    Good Day!!
    As for as my knowledge, the default date Visible in all Calender prompt will be the
    Starting Date in the Specified date range either "RelativeDateRange" or "AbosoluteDateRange".
    But we have a requirement to set the default date to a date in the middle of the specified range, I don't find any option to specify in Request Offering Wizard or MP's xml file.
    Our scenario is as follows,
        We are trying to customize the CSPP's request offer "Request Virtual Machine", which has a user promt to select Decommission Date for the New VM. We have configured the date prompt as Relative Date range and set the
    Start date as "1 day next to user's current time" and Maximum date to "90 days after relative date".  So the user will get option to select Decomm date from (1-90) days with the defalut date as 1st day next to his current
    time. But our requirement is to set the default available date as 90th date in the above mentioned Relative Date Range.  
         I couldn't find any option in Request offering Wizard as attached below,
          Also I couldn't even find any tag to specify the default display date in the MP's XML file as attached below. Is there any other <tag> can be included inside <Details> tag to accomplish this ??
        Is there any other way to accomplish this???
        Please advise
    Thanks,
    Narayanababu
    Thanks and Regards, Narayana Babu

    This is probably a link editor parameter, see the linker and loader guide.
    Another thing you can do is write your own sbrk() that will log whenever it's called, so you can at least see how many times it's called and with what values. If you really need in-depth instrumentation, write your own heap routines and give them the same names as the CRTL routines. The linker should find yours first and route all memory operations through them. At least, that's the way it worked for me on SunOS 4.1....

  • How to make the prompt to pick the system date automatically at run time?

    Hi,
    I trying to create a publication for a report that has date prompt, When I try to schedule this publication  the query should automatically select system date for date prompt and and send out the report. Is there a way to do this in CMC?
    Thanks in advance
    Hema

    Hi Hema,
    You need to create this Exit Variable with the condition that it should be generated ias a optional variable in the universe.
    The reason for being is that when the prompt screen is appeared there is no default value which will be shown in the prompt. But when you press the run query button (will be enabled only after you make the prompt as optional) the BO query will fetch the data applying the restriction of the sysdate.
    I hope I have made myself clear.
    Regards,
    Rohit

  • The verification lists my card data and address etc. correctly but I need to keep entering the card security number.  Support keep telling me to delete and re-enter my car info which does not help. Anyone else seen this issue?  Seems to be something to do

    The verification lists my card data and address etc. correctly but I need to keep entering the card security number.
    Support keep telling me to delete and re-enter my car info which does not help. Anyone else seen this issue?
    Seems to be something to do with a new security check they have put in the system that does not work correctly and support is totally incapable of helping me out.
    wth am i gonna do im feed up and on top i have no one to help me been calling itunes for days now im ****** off to the maxxx

    I've been jumping through the hoops with Apple Support on this issue....first time I called they said I should try updating from IOS 4.0 to 4.1....tried that and the issue still persisted...then I called back to update the ticket and get the next steps...they said that the Bank is rejecting the request for verification and that is why it keeps prompting (which doesn't make sense since the confirmation seems to go through successfully). The rep also contacted the iTunes dept and had them run the verify manually and said the bank rejected it. The next hoop they want me to jump through is calling the bank to verify that the account is in good standing and inquire about the rejected requests. I'm fairly certain the bank account is in good standing....will verify of course....but I find it hard to believe that all the people who have posted here, plus countless others that are experiencing the same issue but haven't, are ALL having banking issues in the last 24hrs...I'm more convinced there is a disconnect on the back end between iTunes and Financial institutions...
    I'm not sure I buy in to everything I was told...he also told me he has had several calls on this issue and they were all told to check with their banks. He could not verify that any of his past calls were resolved. Needless to say I'm not 100% believing everything he told me....weak response from Apple support on this issue so far.

  • Need to Modify the Data in the Picklist/Poplist.--- Urgent

    Hi Guys...
    I need to modify the data in the Picklist/Poplist in the Create Expense Page, but I couldn't figure out how the data is populated.. Which VO Object or how?
    Thanks
    Ravi

    Here is the code for Picklist/Poplist.
    Below is the code for the poplist
    <ui:contents>
    <oa:messageChoice readOnly="false" required="no" prompt="Current Transactions for Account" pickListDispAttr="DisplayedValue" pickListValAttr="CardValue" shortDesc="Prompt" id="CreditCardPoplist" promptTranslationExpansion="100%" user:akAttributeCode="OIE_VIEW_TRANSACTIONS_FOR" user:akAttributeApplicationId="200" allowBlankValue="true">
    <ui:primaryClientAction>
    <ui:firePartialAction event="OIEChangeCreditCard" unvalidated="true" id="firePartialAction1"/>
    </ui:primaryClientAction>
    </oa:messageChoice>
    <oa:messageStyledText id="popListInstruction" styleClass="OraInstructionText"/>
    <oa:messageStyledText prompt="Current Transactions for" id="CreditCardText" promptTranslationExpansion="100%" user:akAttributeCode="OIEVIEWTRANSACTIONSFOR" user:akAttributeApplicationId="200"/>
    <oa:image hAlign="start" width="9" prompt="Info Icon" height="30" source="infoicon_status.gif" id="InfoIcon" promptTranslationExpansion="100%" user:akAttributeCode="OIE_INFO_ICON" user:akAttributeApplicationId="200" imageHeight="16" imageWidth="16"/>
    </ui:contents>
    I coundn't figure out which VO object is its calling.
    Thanks
    Ravi

  • Who worked with ICS' Model 4896 GPIB? I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.

    I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.

    Hello. Most of the engineers in developer exchange are more familiar
    with NI products. Contacting ICS for technical support is a better
    course of action.

Maybe you are looking for