Query related to Dynamic Prompt.

Hi Experts,
I want to create a dynamic prompt for countries field in dashboard page.
The option in the prompt should be :
-ALL Countries
-Specify Country
-ALL Countries execpt 'Germany'
-ONLY 'Germany'
Can anyone please guide me how to do it?
Best Regards,
John

hi
add a column to a prompt and in the fx type
case when a=b then columnname else '-ALL Countries' end
in the show results give
select case when a=b then columnname else '-ALL Countries' end from subject area
union
select case when a=b then columnname else '-Specify Country' end from subject area
union
select case when a=b then columnname else '-ALL Countries execpt 'Germany' end from subject area
union
select case when a=b then columnname else '-ONLY 'Germany'' end from subject area
i hope this is what u r expefcting.

Similar Messages

  • Query related to Internal Table

    Hi ,
          I have a small query related to internal table , can we dump millions of records to an internal .
    The actual requirment is like i need to develop a report in BI side where i have to dump records into an internal table  from PSA tables without filtering .
    Can we do so ....
    or do we have any other option to dump the data to an internal tables .
    need some tips on the same .
    Thanks ,
    VInay.

    Hello Vinay,
    I believe the following extract will give you a brief idea on the size limitations for an internal table.......
    Internal tables are dynamic data objects, since they can contain any number of lines of a particular type. The only restriction on the number of lines an internal table may contain are the limits of your system installation. <u><i>The maximum memory that can be occupied by an internal table (including its internal administration) is 2 gigabytes. A more realistic figure is up to 500 megabytes. An additional restriction for hashed tables is that they may not contain more than 2 million entries.</i></u>
    Hope it proved useful
    Reward if helpful
    Regards
    Byju

  • Dynamic Prompt not returning all values it should

    I am using Crystal Report 2008 CR Developer with service pack 3.1. 
    I have a report that has a SQL command statement.
    Using just the SQL statement, I get all results correctly (all "Events" show up).
    When I use the same report and create a dynamic prompt for the "Events", I get some of the values in the results, but not all of them.
    Also, the Events that I do get back in my results change randomly (one time I get Court Trial, the next time I don't). 
    The u201CEventsu201D field is the 2nd Group in the report.
    I also have a date time parameter in the report.
    The only thing Iu2019ve found so far related to this is the Max Rowset issue.
    I have used the registry fix to set the LOV value to 3000, even though there are only 1644  possible values for that particular field in the database. I changed it for all versions 11, 11.5 & 12.
    HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Crystal Reports\DatabaseOptions\LOV  "MaxRowsetRecords"="3000"
    My understanding of Dynamic Prompts is that each time the report is run, it first looks at all possible values in that field and return those as values to select in the prompt. For example, if there were 1644 values in the table, it would show 1644 values to select in the parameter to be used in the report. Is that regardless of group level or date parameter or if "Save Data with Report" is selected?
    Any ideas on why my parameters are not pulling the correct list of values to select for use in the report?

    Try connecting to the database directly rather than using a command object.
    Or... purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Changing formats of dynamic prompt parameters

    Hello,
    I am currently using Business Objects XI R2 (SP3) and some users have a dynamic prompt that returns what year the report should query on. However, the prompt is currently returning this:
    2,006
    2,007
    2,008
    2,009
    2,010
    Is there a way (besides converting the number to text) to get rid of the thousand separator? Also, what about dates? How can you change the format they are displayed as?

    Bad news on both fronts...
    #1 The only way to format that correctly would be to bring those values in as text. To make matters even more complicated, they have to come from the DB as text... You can't use a CR formula to to convert the value and then use the formula.
    #2 You're stuck with YYYY-MM-DD for date formats... That is if you want to keep the prompt type set to Date or Date Time (and therefore, keep the date picker control.
    You do have the option to use a text style prompt and allow the user to enter dates however they like...
    Sorry I don't have better answers...
    Jason

  • Accessing Dynamic Prompts information via CR 2008 (or earlier?) RAS API?

    I am using the CR 2008 RAS API (but could also use an older API if needed) in Visual Studio 2008. I have both service packs installed.
    Any idea how to access information about the settings for dynamic prompts in a report?
    I can access the PromptField object with
    dataDefController.ParameterFieldController.
                    GetPromptParameterFields(new PropertyBagClass());
    but can't seem to find any options for its dynamic prompt settings (such as fields used to fill the default values, cascading prompt settings, etc.).

    Hello, John;
    From the Report Application Server .NET SDK Developer Guide:
    NOTE: The ReportClientDocument object model does not currently support creating new prompt groups programmatically and saving them to the report. For more information about dynamic cascading parameters and creating prompt groups with the Crystal Reports Designer, see the Crystal Reports User's Guide.
    There are no specific API designed for the dynamic cascading parameters - they are just parameters. As such the properties that make them special are not available.
    You can get the parameter name and you may be able to determine from the list what would be related:
    Country --> Region --> City would be, probably Date would not be.
    Since they are created in the Crystal Report designer, the creator could store the information needed in File | Summary Info | Comments and it can be retrieved from the special field Report Comments or the SummaryInfoClass.Comments Property
    That is the only suggestion I can think of at this time.
    Both options can be achieved from the .NET RAS SDK and the Crystal Reports .NET SDK for version 2008.
    Elaine

  • How do you generate a dynamic prompt in BO

    Hi,
    can anyone answer this question?
    How do you generate a dynamic prompt?

    Hi,
    Dynamic prompt means user can enter value  at run time (Report Refresh Time).
    You can create dynamic prompt by drag one object in the webi query filter part  and select as a prompt.
    or on the universe level define the pre-defined condition and use that in the webi report.
    Thanks,
    Amit

  • Error Publishing Dynamic Prompt to BOE XI Release 3 From Crystal 2008

    I am getting the following error when trying to publish reports with dynamic prompts to        "Failed to read data from report file <file name> Reason: failed to read parameter object".  I found this error occurring in threads referring to previous versions of BOE and none of the solutions are an option to me: I cannot give the user any further rights, and I am unable to apply patches since they are for Crystal XI, rather than 2008.  Is there a solution for this issue?  I found a work around which is to save the report to another source (a shared drive, for example) and then loading it via the Central Management Console.  However, once this is done, when any user attempts to view the report, the report continues to prompt for a username and password, despite having updated this in the Database Configuration and selecting "use same database logon as when report is run".
    Thanks in advance for any help!

    Hi Heather
    I get the same behaviour in this case:
    If my report uses a Stored procedure as the datasource AND i use an SQL sommand to create the LOV for dynamic parameter then each time i run the report in infoview it asks for db login info
    I think it looks for this info to create the LOV
    I created the same report with a table as the datasource and used the exact same command to create the LOV and was able to run the report without a request for db login info.
    I also created the report with the SP but with no LOV, the parameter is set to static, and it runs without extra login
    I have entered the db login info in CMC for each report before i tried running in infoview
    What are your reports using as datasources?
    Patrick

  • Query relating to the creation of Managed Service Accounts

    Hi Folks
    I am studying for my 70-411 exam and have a query relating to the creation of Managed Service Accounts.
    I have successfully created an MSA account named 'MSATest' on a DC  using:
     new-adserviceaccount -name msatest –dnshostname home-dc-01 -passthru
    and
     add-AdcomputerServiceAccount -identity home-ap-01 -serviceaccount msatest -passthru
    However the guide that I am using now says that I now need to run:  Install-ADServiceAccount on the host computer in the domain to install the MSA in order to make available it available for use by services.
    So on my member server (home-ap-01) I have installed the Active Directory Module for powershell and ran:
    PS C:\Users\administrator.PCECORP> Install-ADServiceAccount -Identity msatest
    Install-ADServiceAccount : Cannot install service account. Error Message: 'An
    unspecified error has occurred'.
    At line:1 char:1
    + Install-ADServiceAccount -Identity msatest
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : WriteError: (msatest:String) [Install-ADServiceA
       ccount], ADException
        + FullyQualifiedErrorId : InstallADServiceAccount:PerformOperation:Install
       ServiceAcccountFailure,Microsoft.ActiveDirectory.Management.Commands.Insta
      llADServiceAccount
    PS C:\Users\administrator.PCECORP>
    However this errors, Have I misunderstood the purpose of the Install-ADServiceAccount ?  or am I doing something wrong?
    Thanks in advance for you help.

    Try using  -RestrictToSingleComputer parameter when creating service account with New-ADServiceAccount.
    Gleb.
    Hi Gleb
    Thank you for your help, it is appreciated.  That did the trick.
    All the best.

  • Query related to multiple attachments in mail adapter

    Hi,
    I have a query related to multiple attachments in receiver mail adapter.
    I have successfully configured mail related scenarios but now I have another requirement in which I have multiple source files in one directory and I want to send one mail for multiple files as mail attachment using receiver mail adapter. Can anybody help me how to achieve multiple attachments in reciever mail adapter.
    To clarify the requirement more let us take an example
    Ex: I have 5 input files in the source which I pick up using additional files option in the sender file adapter, now I want to send those 5 files into one mail with 5 attachments. Can anybody explain how 5 different payload will be sent as multiple attachments in one mail.
    For your information I used, options like "keep attachments" , some parameters in module processesors etcs...but not able to find out as how exactly it will be achieved.......I dont want to use BPM collect pattern for this.....
    Need your help on this issue. Please suggest the solution as how it can be achieved using receiver mail adapter.
    Thanks & Regards
    Prabhat

    Hi,
    I resolved the issue on my own. Thanks for your help and support.
    Thanks & Regards
    Prabhat

  • Query related to Email adapter

    Hi,
    I have query related to receiver Email adapter. I am able to run a scenario for 2 attachments in receiver mail adapter scenario.
    My scenario is that I am picking up the multiple files using sender file adapter "additonal fiiles" fucntionality and and post the two files as attachments in receiver email adapter. I am picking up two formats: .xml file and PDF and successfully attached to the receiver email adapter.
    My query is is related to Standard module processors sequence.
    For 3 files in mail attachments(.xml , pdf & .txt)  what should be the module processors sequence in receiver email adapter?
    Currently I am using the following module processors sequence
    1     localejbs/AF_Modules/MessageTransformBean                          Local Enterprise Bean     trans2
    2     localejbs/AF_Modules/PayloadSwapBean                          Local Enterprise Bean     swap
    3     localejbs/AF_Modules/MessageTransformBean                          Local Enterprise Bean     trans1
    4     sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean     Local Enterprise Bean     mail
    swap -> swap.keyName -> payload-name
    swap> swap.keyValue> file1
    trans1> Transform.ContentDescription>file1
    trans1> Transform.ContentDisposition>attachment
    trans1> Transform.ContentType>application/pdf;name="file1.pdf"
    trans2>Transform.ContentDescription>file1
    trans2>Transform.ContentDescription>inline
    Can any body tell me what should be the sequence of module processors and the associated parameters so that all formats(.xml , pdf & .txt)  should go as an attachments in the reciever email adapter.
    Thanks & Regards
    Prabhat

    it would be something like this, Try this
    1 localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean swaptxt
    2 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean trans3
    3 localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean swapxml
    4 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean trans2
    5 localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean swappdf
    6 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean trans1
    7 sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean mail
    swapxml -> swap.keyName -> payload-name
    swapxml> swap.keyValue> file2
    swappdf -> swap.keyName -> payload-name
    swappdf> swap.keyValue> file1
    trans1> Transform.ContentDescription>file1
    trans1> Transform.ContentDisposition>attachment
    trans1> Transform.ContentType>application/pdf;name="file1.pdf"
    trans2>Transform.ContentDescription>file2
    trans2>Transform.ContentDisposition>attachment
    trans2> Transform.ContentType>application/xml;name="file2.xml"
    trans3> Transform.ContentDescription>file3
    trans3> Transform.ContentDisposition>attachment
    trans3> Transform.ContentType>application/txt;name="file3.txt"
    mail --> mime.contenttype   --> multipart/mixed
    I have not tried this myself. but it should work

  • Query related to GAL

    Hello All,
    We are in process of implementing Exchange 2013 in our Organization and had a Query related to GAL.
    Below is our Environment description:
    01. We have a Single Forest and Single Domain Architecture.
    02. We will have separate Active Directory Sites for all 3 Regions across Global.
    03. Exchange 2013 will be installed in each region.
    04. In APAC region Exchange 2013 Language pack for Japanese will be installed to support Japanese language.
    Our Requirement:
    ================
    01. When a Japanese User tries to browse GAL all the display names have to be displayed in Japanese language and when a user who resides other Region (Europe or AMERICAS) tries to browse GAL the Address list has to be displayed in default English Language.
    Can someone guide us on how this can be achieved?
    Awaiting for all your suggestions.
    Thanks in advance.
    Thanks & Regards,
    Nagaraj N
    Nagaraj N

    Hi Nagaraj,
    Here are some requirements that I am still not quite sure. Could you please provide more information about it? Such as:
    1. Do you mean one user have two display names: one with Japanese language used for users in Japan, one with English language used for English users? Then we filter address lists with language difference. Based on my knowledge, one email address is generally
    involved for one display name.
    2. If there are both Japanese users and English Language users in the forest, and you just need Japanese users view users whose name is displayed as Japanese language. We can use
    Address book policies (ABPs) to segment users into specific groups to provide customized views of your organization’s global address list (GAL).
    To show different GAL for different users, we can specify the CustomAttribute1-15 property to divide your organizations. For example, we can set the CustomAttribute15 property for Japanese users to
    Japan. Just like:
    Set-Mailbox –Identity JapanUser1 –CustomAttribute15 Japan
    Then we can create global address list for Japanese that includes all of the recipients that exists in the address lists and room address list:
    New-GlobalAddressList -Name "GAL_Japan" -RecipientFilter {(CustomAttribute15 -eq "Japan")}
    For detailed steps about how to create and apply the Address Book Policies, please refer to:
    http://technet.microsoft.com/en-us/library/jj657455(v=exchg.150).aspx
    Hope it helps.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Query related to DataGuard Archicture...

    Hi All,
    I want to implement DataGuard Archicture in my setup, I'hv one query related to different operating system in my setup, I'hv two server one for primary and the other for standby Database with 10g DB R2. In one server having Linux os and the other own has Solaris, so DataGuard will work on different os or both server os should be same? And if I'hv 2 GB then will it be create any prob?
    pl. suggest me.

    A requirement for standby is both databases must be on the same platform and on the same db version, this requirement applies even if you are on a logical or on a physical dataguard database.
    You can verify the Step by Step instructions to create a standby database:
    Step-byStep Instructions for Creating a Logical Standby Database
    Step-by-Step Instructions for Creating a Physical Standby Database
    ~ Madrid

  • Query related to withhold tax

    Hi  Freinds,
    This is mamatha i have a query related to withhold tax .what is diff b/w business place and section code.what is importance of section code.
    Regards
    S Mamatha
    Please, search SDN

    For India, witholding tax, you need to create the business place and section code with the same id.
    Section code is additional field provided by sap for tds related processig, reports etc.
    Regards,
    SDNer

  • Query  related to the transfer of the control to the other controller.

    Hi all,
    I have a query related to the transfer of the control to the other controller.
    I have components A and B .From a view of component A I neeed to open a window which belong to component B.Problem is that ,if I use create_window_for_cmp_usage( ) and the open( ) method and after that there is some code,then that code is getting executed before the window is opening.
    I want that the control should be back to the these code after the window is poped up and  after clossing the window. 
    Eg
    method ONACTIONOPEN_WINDOW .
    DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component  TYPE REF TO if_wd_component.
      DATA lo_window         TYPE REF TO if_wd_window.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->create_window_for_cmp_usage(
                         interface_view_name    = 'ZHELLO_WORLD'
                         component_usage_name   = 'USAGE_HELLO'
                       title                  =
                       close_in_any_case      = abap_true
                         message_display_mode   = if_wd_window=>co_msg_display_mode_selected
      lo_window->open( ).
      data a type i.
      data b type i.
      a = 2.
      b = 3.
      a = a + b.
    endmethod.
    In this case I am calling  ONACTIONOPEN_WINDOW method.But before opening the window the a iscalculated here.I want that after popuping  the window the calculations should be done .
    How will I achieve this.
    Thanks in advance.
    Edited by: vaibhav nirmal on Nov 25, 2008 6:42 AM

    Hi,
    You will have to do your calculation as an event in your new window, or capture the closing of the new window as an event in your currenbt view and do your calculations in the event.
    Regards,
    Shruthi R

  • Query related to User License.

    Hi all,
    I have some query related to User License.
    If we have 250 no of user license( with one developer),
    can we use them individually on DEV, QAS & PRD ?
    can we use them individually on differrent clients?
    what abt users on 000 client. Is they should different license or come under same group.
    Regards,
    shan

    Contact you SAP Account Manager.
    Regards
    Juan

Maybe you are looking for

  • Personal view is not available

    Hi All I got a user who is opening a sharepoint 2010 site and getting a blank page (Quick launch is there and Ribbon is there) but no content in middle. He provided one URL and it is http://abc.qintra.com/bu/EBCPE/EBCPEPM/LaughmanAppProjStatu/Lists/A

  • Photos missing from catalog list

    Ok, let's see if I can explain my problem.  I had all of my photos saved on an external hard drive.  After recently purchasing Adobe PSE 9, I began to organize all of my photos using PSE.  I had my photos organized into album categories and then brok

  • Buttons over video doesn't work on set top dvd player

    I've tested my project on apple dvd player & my set top panasonic dvd player and it works fine. my friend has tested it on his sony & a few other set tops without any issues.. I just put the disc in another sony dvd player & now the button hi-lites a

  • BC4J Sample Applications

    Guys, I am starting on a new project which is likely to be a fairly standard mvc -> session bean facade -> DAO/Entity bean type architecture. As we will be using 9ias, I was wondering whether it would worth using BC4J or whether to write everything o

  • My iMac G5 (iSight) doesnt startup correctly!

    I have problems with my iMac G5 20'! I'm trying to start up but after the apple logo in the middle, there come's only a bluescreen. I couldn't do anything, only after a few minutes there appears a mouse corsor and i can move itz but there is no login