Change Preferred Viewing Locale by a paramter field in the report template

Hello,
Is there a method that allows to change the Preferred Viewing Locale at the report template level?
Actually I have some templates for final clients in different countries, and these reports should be generated in Infoview.
In order to generate reports in different languages, I inserted a parameter {?Language}
Then for caption/text I used a formula like this
Select {?Language}
Case "en_US": .....
Case "de_CH": .....
Case "it_IT": .....
Case "nl_BE": .....
However this won't work for date axis in charts and number formats.
So I switched to Preferred Viewing Locale settings, which seemed to be exactly what I wanted cause everything can be changed according to the local settings, except that I need to change the setting every time by selecting View - Preferred Viewing Locale - German - (Germany)... for 20 different reports
And what's more important is that I cannot change this setting when I launch the template in Infoview. Change in Preferences will impact all the templates while I just need change on one template only.
I had a look on all the functions available and it seems that ContentLocale function can only display the current setting.
Is there any solutions?
Thanks in advance,
Wenzhao

Post your question to BOE Admin forums

Similar Messages

  • Error when Refresh Data on Webi from Infoview with Preferred viewing locale

    Hi,
    I am getting an error -"An internal error occured while calling 'processDPCommands' API. (Error:ERR_WIS_30270).
    All the universes are translated to German using Translation Manager. I get the above error only when ' Preferred viewing locale' is set to 'German' otherwise the Refresh Data button works fine when the Preferred vieiwng locale is 'Use browser locale'.
    As per the note 1352299 the settings on the Webintelligenceprocessingserver from CMC is adjusted and the heapsize is also adjusted but still the issue is coming up.
    Could anyone please help to resolve this error.
    Thank you & Regards,
    Anima

    hi,
    I have faced this problem earlier and took lot of time for Root Cause Analysis and fixed the issue.
    Root Cause for some of the objects not being translated is provided below:
    If two objects has same translation in German, obviously Universe will not progress further for translation.
    for e.g.
    Objects in English and German
    1.Country  -> de county
    2.Land -> de county
    from the above example, two distinct objects in English have same German translation which makes Universe not accepting the duplicate objects within the same class.
    Similarly, you need to figure out these duplicates at Class/Object/Condition/Hierarchy levels in translated XLIFF file.
    Duplicates can be identified by opening XLIFF file in Excel and use Data Filters etc... This is a manual task.
    Then for identified duplicates provide Other names in XLIFF file such that Universe accepts them.
    For e.g. the above scenario can be solved by adding a trailing space to the 2nd translated object. Adding space is best option because meaning will not be changed w.r.t end user there by eliminating duplicates.
    Regards,
    Vamsee

  • Preferred Viewing Locale

    Hi,
    I am using CRS2008 Viewer SDK to display my reports in the web browser. Is there a way to control the viewing locale (not product locale) on the server side, so that all those date/page are displayed in the desired language (despite browser setting)? Are the locale settings not stored in the report templates?
    Thank you,
    John

    At view time, then the Preferred Viewing Locale is specified on the ReportSource when it's opened by the report processor.
    So on Enterprise, if you use the Page Server, then it reads it from the User session (so you need to set it for the User).
    It's not specified by the Viewer, it reads whatever's set for the ReportSource passed in.
    Sincerely,
    Ted Ueda

  • Adding the G/L description field in the report FAGLL03

    Dear all
    I would like to add the G/L description field in the report FAGLL03. Can you tell me how this can be done.
    Many thanks
    PG

    Hi Peter,
    You can do the changes as per Moeze suggestion.
    What we have did is that we have writeen a exit in substitution rule for the offsetting G/L code (assumptioning that you want the description for offsetting g/l code).
    We have added the offsetting g/l code in special feild and accordingly the system displays the corresponding description of the offsetting g/l code.
    Try it,it will work.
    If not do revert for the needful.
    Take Crae
    Regards,

  • Column Headings in the report and adding an extra field to the report

    Hi All.
    I had an issue like i need to put column headings for a report and I want to add an extra field to the report.
    The problem here is that the report was actually cloned from a Query.At the time of cloning,they forgot to add the column headings.
    Now we need to add the column headings for the same.How can we proceed for this and where we need to add our code?
    How to add an extra field  to the existing report?
    Any pointers will be very much helpful.
    Regards,
    SSR.

    Hi,
    you can get this done in 2 ways:
    1 - Change the query to add another column and the re-generate the report
    2 - If changing query is not possible, you can change the report it self for adding extra field. If you look at the code, it will be more like normal ABAP code. you can easily modify it (If you are ABAPer) for your additional requirements.
    thnx,
    ags.
    Edited by: Agasti Kale on Jun 12, 2008 6:26 PM

  • How to insert a new field in the Report Designer

    Hi all.
    I have a query and a report, but the query evolve.
    We have a new key figure (inside rows).
    In the report designer, I check the data provider.
    The new key figure is added in the catalog field.
    Now, I would like to insert the new field in the report.
    I add a new row in the report structure but it isnt what I want.
    In this case, I add a second row inside an another keys figures block.
    I want to create a new block for my new key figure
    Thanks for your help
    Céline

    Yes, key figures is in the field catalog.
    But When I do that " Insert a row ", Report designer create a " row 2 " below another key figures.
    And it isn't what I want. I want a new block .
    For exemple in the tab report structure (My new key figure is "Margin")
    I do that
    Group Level 1 : key figures
             Detail Area
                      Sales Amount
                                   row1
                                          cell1
                                          cell2
                      Cost
                                   row1
                                          cell1
                                          cell2
                                   row2 ( the new row added)
                                          cell1
                                          cell2                     
    But I want that:
    Group Level 1 : key figures
             Detail Area
                      Sales Amount
                                   row1
                                          cell1
                                          cell2
                      Cost
                                   row1
                                          cell1
                                          cell2
                     Margin
                                   row1
                                          cell1
                                          cell2                     
    Thanks for your help

  • Sending reports to various recipients using a data field on the report

    Hi,
    I am currently running Crystal Reports Server 2008 with SP 3  applied.
    I was wondering if this was possible.
    I have a report that I would like to be sent to an email address field on the table that the report runs from. Fields are something like this:
    Amount Due, Invoice #, Client's email address, Date
    What I would like CRS to do is send out emails depending on what's on the table. Obviously I would need the server to send out the report to a particular client with only the records that should be for them.
    I, for some reason, thought there was an ability to add a field from the report on the email itself using brackets or some sort of variable but I'm not sure if this is true.
    If anyone can help, I would appreciate it greatly.
    Thanks!

    You can use Publications for that. As far as I know this should be supported natively in CRS 2008 with SP3.
    Take a look at the demo on building a data-driver publication here:
    http://www.sap.com/solutions/sap-crystal-solutions/information-infrastructure/sapcrystalserver/featuresfunctions/index.epx
    You have to have CALs (concurrent access licenses) though.
    Regards,
    Stratos

  • Crystal Report Bursting based on a field in the report

    Hi,
    I have a crystal report with  Invoice Number as a field in it.  I need to burst the report with following as the output.
    1. Destination: FTP server
    2.  Format : PDF : One PDF for every invoice.
    I was trying to use Publication through Infoview.  I would like to know how to achieve this.
    I do not have any parameters in the report or any group of users/recipients.  Hence, I have not created any Profiles.
    Thanks in advance.
    Girish

    Add your CR report as source document and then choose to have Dynamic recipients for your publication. Use there as source for the recipients' list the same report you want to burst. As Recipient identifier select the field that contains the invoice ID.
    In the personalization panel go to the Filters area and select in the Report field drop down your invoice field from the report. In the Dynamic recipients mapping drop down select again the field containing the invoice ID.
    Select the appropriate settings in the destination and format panels and let at least on BO user subscribe to the publication .
    After that you can run the publication.
    Regards,
    Stratos

  • Question on changing the report template to display the images

    I am trying to change the report template so that each table cell will display an image and a checkbox for the image. The column templatet for the new report template is like this:
    <td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t17data">
    <table>
    <tr height="90%"><td>
    <img src= "&F101_GET_THUMB.#COLUMN_VALUE#" onmouseover="return onmouseover_img('#COLUMN_VALUE#');">
    </td></tr>
    <tr height="10%"><td align="center" valign="bottom">
    <input type="checkbox" name="f01" value="#COLUMN_VALUE#"/>
    </td></tr>
    </table>
    </td>
    My questions are:
    1. If the #COLUMN_VALUE# is null, the table cell will display a broken image icon and a checkbox. How could I avoid this? I could add condition to this template, such as when #COLUMN_VALUE# is not null, but how to refer to the value of #COLUMN_VALUE# in pl/sql?
    2. I want to always put the checkbox at the center bottom, but no matter what I set "align='center' valign='bottom', it is always close to the image. Since the image sizes are different, the appearance of the checkbox are just up and down. How to fix this?
    Thanks,
    Fengting

    hello,
    at designtime the elements from the template are physically
    imported into the report. the only way of re-applying a template
    is to use the wizard, which will re-default the layout.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Binding an SQL "where" clause to a field in the report.

    Hello everybody,
    I have made a crystal report that works fine. Now, I need to add a specific query to the report and drag and drop the returned fields in the report.
    The problem is that I need to add a query that contains a "Where" clause that is binded to a field already existing in the report, for example :
    SELECT T0.Field1,
                  T0.Field2,
                  T0.Field3
    FROM Table1 T0
    WHERE T0.Field4=(a field from a report)
    Is it possible to do it ? if yes, how can I do it.
    Thank you in advance for your further responds,
    Best Regards,
    - Youssef -

    Moved to Report Design forum
    You can't do it in that specific way. It would have to be done server side or use a subreport and then link the subreport on the field from the main report.
    Don

  • Calculated field in a Report Template

    Hi,
    I am trying to create a calculated field based on other calculations made in placeholder fields on a report template.
    If I have the following 2 fields:
    e.g. A = (1+2), B = (2*3)
    what is the best way to get C = A div B rather than having to list out all the calculations (i.e. (1+2) / (2*3)
    How can you set these first 2 fields as variables into the calculation?
    Thanks
    Steve

    For variables read this:
    http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187/T421739T481157.htm#4535390
    Set x:=5
    <?xdoxslt:set_variable($_XDOCTX, 'x', 5)?>
    Get value of 'x'
    <?xdoxslt:get_variable($_XDOCTX, 'x')?>
    Perform calculation on x, like x:=x+8
    <?xdoxslt:set_variable($_XDOCTX, 'x', xdoxslt:get_variable($_XDOCTX, 'x' + 8)?>
    cheers
    Jorge

  • I want to add some fields in the report of FBL5N, Can anybody tell me how ?

    I want to add some fields in the report of FBL5N, Can anybody tell me how to do it?
    The fields are sales order, delivery, order quantity, net value and others.
    I can only find the shipment number in FI document.
    Thank you very much.

    Dear Jie,
    Billing document number can be displayed in customer line item display
    (FBL5N) and not in G/L line item display (FBL3N).
    The value of VBELN is saved in table BSEG. So, this means, you
    have to define the field BSEG-VBELN as a special field in table
    T021S. Then you can use it in FBL3N, because then the report looks
    directly in BSEG-VBELN.
    For further information,please read the SAP note 207436. You don't have to
    implement the coding corrections, if they are already in your system
    with the hotpackage. But it explains very detailed the system
    behaviour. The example in the note with field EBELN could be
    replicated on your field VBELN.
    About the MEINS field, please refer to 1-U_MEINS (bseg-meins field).
    The SAP note 215798 may also be helpful.
    Mauri

  • Change the position of the text field in the report region

    Hi,
    I am having a report region in whch there are 2 buttons which are in the Region Template position #Create# and a
    text field. I added a text field in the same region. I tried to change the position of the text field near the buttons. I
    tried to change "label-Horizontal/vertical alignment" and "Element horizontal vertical alignment". But the postion of the
    text field is not changing. Plz help,
    Thanks,
    TJ

    Hi Andy,
    Sorry to ask this questions.
    1.Where exactly i need to change the HTML code(By uisng the view source?)
    2.My taskname part html code when viewing the source is given below
    tabindex="999"><img src="/i/e.gif" alt="Edit" class="eLink" />
    </a><tr></td><td nowrap align="left">
    <label for="P1_TASK_NAME" tabindex="999">
    <a class="t16OptionalLabelwithHelp" href="javascript:popupFieldHelp('5853137628393530415','676839962625525')"
    tabindex="999">Task Name</a></label></td>
    <td  colspan="1" rowspan="1" align="left" valign="top"><input type="hidden" name="p_arg_names"
    value="5853137628393530415" /><input type="text" name="p_t06" size="10" maxlength="20" value=""
    id="P1_TASK_NAME"  /><a class="eLink" title="Edit" href="javascript:popupURL('f?
    p=4000:371:676839962625525::::P371_ID,FB_FLOW_ID,FB_FLOW_PAGE_ID:5853137628393530415,107,1');" 
    tabindex="999"><img src="/i/e.gif" alt="Edit" class="eLink" /></a></td></table>
    <table summary="" cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td align="right"><table
    cellpadding="0" cellspacing="0" border="0" summary="" class="t16Button">please suggest what changes i need in this code to change the alignment of the task_name text field,
    Thanks,
    TJ

  • KE5Z : UserExit or SAP Note for adding new fields in the report output

    Hi,
    I want to add 2 new fields in KE5Z (Profit Center: Actual Line Items) report output.
    Order reason(AUGRU), Sales Document Type (AUART) fields.
    Is there any UserExit or SAP Note available for this....
    Thanks in advance,
    fractal

    Hi Fractal,
    See if Note 92864 will help you.
    Summary
    Symptom
    Through a modification, it is possible for you to include additional fields in the profit center line-item reports 'actual' and 'plan' (Release 3.1*).
    Additional key words
    KE5Z, KE5Y, RCOPCA02, RCOPCA08 -
    SUPPORTGUIDE 20010613143936 -
    REPORTWRITER,
    SGRW_OM SGRW_PS SGRW_PC SGRW_SL SGRW_PCA SGRW_EC SGRW_LIS
    Cause and prerequisites
    The fields must be located in table GLPCA (for actual) or GLPCP (for plan).
    For Release 3.0F, you should ensure you have applied Note 62511 first.
    Solution
    To include a field in the actual line item report, proceed as follows:
    Call the ABAP/4 Dictionary (Transaction SE11) and display table GLPCA. You can then find in a line the field name and data element for the field you want to include.
    Return to the initial screen of the ABAP/4 Dictionary. Now change the structure RPCA2. If the structure does not yet contain the field, you select Edit -> Insert field; enter the field name and data element. Do not insert the new field at the beginning of the structure but in the rear half of the structure.
    Then save and activate the structure.
    Now call the ABAP Editor (Transaction SE38). Change the source code of program RCOPCA02. Insert the lines set out in the attachment in FORM routine FIELDCAT_FILL. When you do this, replace SGTXT by the field name of the field. If you normally want the field to be displayed when you the access the report, delete the line   afield-no_out      = 'X'.                "<<<< insert Note 92864 .
    You should note that the place where you insert the lines influences the position of the column in the report list.
    To include a field in the Plan-line-item report, carry out the same procedure except with table GLPCP, structure RPCA8 and program RCOPCA08.
    Note: Pls check if these 2 fields are available in any of the layout versions you have available with the transaction.
    Cheers,
    Vikram
    Pls reward for helpful replies!!

  • FBL5N, query regading the SO n PO field in the report

    HI experts,
    #1 In the Transaction FBL5N, the report I have selected the Sales order and Purchase order in the lay out.
    When the report is run for any customer these both fields are empty. Infact all the order are created with reference to PO n then SO then Invoicing.
    I have checked the transaction VTFA wherein the header for the invoice /SO combination as A-reference of PO. But that is not working out.
    #2 Another issue is can the transaction VF05 have a field with which the the invoice can be selected using the Purcase order of the invoice. Eg. similar to a field which we have in VA05 where we can enter the purchase order for search criterial.
    Please helpme out in these issues.
    Thanks in advance.
    Manu

    Hi Andy,
    Sorry, can I pick your brain one final time?
    I've got the css hover working as your example... do you know if there's a way to have a break in the text?
    My function is looping through every row, essentially setting:
    aliases := aliases || next_name
    and finally returning the full string of aliases. So my hover box would be something like:
    name1 name2 name3 name4
    I'd like to have it:
    name1
    name2
    name3
    name4
    for readability.
    I guess I'd need to have my function work along the lines of:
    aliases := aliases || next_name || newline
    where newline is the code for a new line in the hover box... but I'm struggling to find out what the code is for a new line in this situation.
    Thanks
    Joseph
    Edited by: Joseph Crofts on Dec 30, 2008 5:46 PM

Maybe you are looking for