Problem about printing special character in bex query analyzer

Hi,
in bex query analyzer i have created one restricted key figure , in which i have substracted two date with the help of replacement path.
So i got result.
But i am facing one problem. when in both date, if one date is null or # then it is giving some big value like -734567.
But i want some special character like X instead of this big values.
So how can i do this?
With the help of if and else it can be done.
But how can we print special character in report.
Please help me
Thank you in advance

hi,
You cannot show X in a formula result. You can highlight the row using exception.
Still if you want to show X in the result then you need to create a formula variable on a char which returns X value all the times.
Then you can use the three formula variable to write a formula so that it shows the difference:
date1 -- formula variable
date2 -- formula variable
charx -- formula variable.
the formula will be
Count(date1)Count(date2)(date1 - date2) + charx *(count (delta(date1) + delta(date2))).
this would return the X value if any of the dates are empty otherwise their difference.
regards.
Arvind.

Similar Messages

  • SharePoint key word query, how does the "Query Text" query special character in a query variable?

    I have a no code sandbox solution, in a content by search web part, I want to return pages from the library except the page I am visiting.
    I have 2 pages:
    Page A, the title is: Page title without special character
    Page B, the title is: Page title with special character "a b c d ..."
    And then I use Title<>{Page.Title} in the query text of the CSWP.
    While I visit Page A, the CSWP returns Page B, it works as expected.
    But while I visit Page B, the CSWP returns nothing, expected result should be Page A. I just consider, whether the special characters in the Title of Page B breaks the query text.
    I can not find similar topics in the forum, Does anyone have idea?
    Many thanks!

    Thank you for your feedback, Daniel.
    I have some updates, and found the root cause: if the field value contains special characters, the CSWP will not render the double quotation marks around the field value.
    View the page html source, and then find the text "QueryModification", you will see what happen:
    Query Text Input: Title<>{Page.Title}
    1. While the page title is "Test Page 1" (without special character), the rendered query text is
    Title<>\"Test Page 1\". It works as expected.
    2. While the page title is "Test-Page-1" (with special character "-", of cause we have more special characters on production), the rendered query text is
    Title<>Test-Page-1.  The double quotation marks are not rendered by the CSWP, so the query text are broken. It does not work as expected.
    If I make the query text as Title<>"{Page.Title}"
    1. While the page title is "Test Page 1", the rendered query text is
    Title<>\"\"Test Page 1\"\". It does NOT work since the
    quotes are duplicated (no sure why CSWP duplicates the quota mark),
    2. While the page title is "Test-Page-1", the rendered query text is
    Title<>\"Test-Page-1\".  Quotes are correct, but it does NOT work as expected still.
    The expected rendered query text (view from the html source) should be
    Title<>\"Test\\\-Page\\\-1\". (Here is test url: <a href="http://server/_api/search/query?querytext='Title<>"Test%5c%5c%5c-Page%5c%5c%5c-1"'&rowlimit=10">http://server/_api/search/query?querytext='Title<>"Test%5c%5c%5c-Page%5c%5c%5c-1"'&rowlimit=10)
    From the above information, I can say the CSWP not handle the special character correctly ("\" is not inserted before any special charactor).
    Is there any setting in CSWP can be used to resolve above problem?

  • On the JTextPane need to don't print special character .........

    Hello All,
    I work on JTextPane , and want to don't print special character when the user press on this the JTextPane ,like "a" character,
    the application will test is this character is "a" or "A" , it won't print the character , else print it , So how can i do that code.??
    Thanks.

    There are other ways, but the best is probably to use a documentFilter.
    The Java Tutorials: [Implementing a Document Filter|http://java.sun.com/docs/books/tutorial/uiswing/components/generaltext.html#filter]
    luck, db

  • When using BW Bex query analyzer users cannot change reporting queries ....

    Issue: When using BW Bex query analyzer users cannot change reporting queries. Any attempt to change queries results in errors.
    Error: BEx Query Designer: Run-time error '-2147221499 (80040005) Fatal Error - Terminating
    Impact: Business reporting is currently being negatively impacted because users cannot modify queries, cannot change filters for fiscal period and fiscal year.
    OS / MS Office Suite being used: Vista & Office 2007
    Backend System: BW 2.0B
    Frontend System: Being a large organization, we have a controlled environment wherein all users will have the following applications installed by default:
    1. SAP Client Base 7.10
    2. SAP BW 3.5 Patch 4
    3. SAP BI 7.10 Patch 900
    4. SAP GUI 7.10 Patch 12
    Does anyone has any idea as to why we are getting this error? Is it a Vista issue? Is it a front-end issue?

    Just a thought - did you guys apply any Microsoft security patches before this started happening - we had a similar issue in other SAP application due to MS security update. Raise an OSS with SAP

  • Problem with CONVERT_OTF, special character '-' printing not properly

    Hi experts,
    when printing PO item text; in Print Preview, text displays correctly. But in program by using 'CONVERT_OTF' FM output is converting into PDF and this PDF is send it to the PO creator through mail,   In the PDF present in the mail, the special character ' - ' is not displaying properly; i.e the special character ' - ' is replaced by '  ' space. For the text we are using Text editor and Font family is 'COURIER' , device type is 'PDF'.   And also i tried with different Font fammilies, for that it beheaves differently but not displays as it is the special character ' - '.
    Thanks and regards
    Aumprakasharya T

    Hi,
    Which device type is used to create the PDF? i.e. which deivce type is used in the OTF data that is converted to PDF? If you use device type PDFUC or SWINCF, then it should work fine. (see SAP not #999712 about unicode PDF conversion)
    Regards,
    Aidan

  • Printing Problems with the special character &

    Hi All,
    When our users are printing POS character & is printing as junk i.e where ever there is a & print prieview shows & along with
    some other characters <(>&<)> .
    Host Spool Acess Method is F:F: Printing on  Front end computer
    HostPrinter is __Default

    Sorry i was in between and it got posted.
    Device Type is SWINCF CASC Fonts SAPWIN Unicode
    other special characters like " and - are being recognized. It does not seems to be a print problem coz i can see the junk in print
    preview. Has any one seen this error before. I apologize if i posted this in the wrong forum
    Regards,
    Ershad Ahmed

  • EP6.0 SP2: Howto print special character in hbj:textview

    Hello,
    i tried to print the character ä (special german) in the textView.
        <hbj:textView
              id="Text_ZIP"
              text="vorläufiger Stand 23.12.2004"
           design="EMPHASIZED"
       />
    But the iView didn't run. I get an error.
    Has anybody of you an idea?
    Thank you
    Message was edited by: Stephan Borchert

    Hi Stephan,
    within Eclipse, please save all documents in UTF-8 (Window -- Preferences -- Workbench -- Editors -- Text File Encoding -- Other --UTF-8). If you have saved them in Cp1252, you will get problems to switch to UTF-8, so copy the content of such a file, delete it, switch to UTF-8 and insert again.
    Hope it helps
    Detlev

  • Problem with the special character '&'

    Hi,
    I am facing problem with special character '&' in report files. When I run the report locally(report builder), i am getting the data printed with '&' correctly. But if I execute same report thr' the application, via application server, I am getting the data printed with "&:". It is not displaying &. Please suggest me how to overcome this problem.
    'ADP & Liablility' is printed as 'ADP &: Liablility' in the web. We are not sending any value thr' the url. This is just a report title. Taking the value from the database and printing it.
    Appreciate the quick response.
    Thanks and Regards,
    A.K.Malathi

    Moderator: Off topic. This forum is for Java Collections API questions. Locking.

  • Problem with printing in character mode

    Hi
    I got a genuine problem in printing continous payslips using character mode with a TALLY6050 printer.
    I guess there is a problem with the page setup when i try to print via windows. using different sizes of paper (Letter, A4, A3), the printed data is shifting from one page to another but the shift is following a same trend.
    i tried to put one payslip per page using page breaks, but in vain. Three payslips are being printed on one page when viewed in the print perview.
    Can anyone suggest any help or tips so that i can solve this problem?
    Thanks for your help
    Bhavish

    Thanks for your response.  I went ahead and filed a Correction Action Request for your orignal issue, since I was able to reproduce the same behavior when I ran your VI.  The solution of printing the front panel of a subVI displaying the same graph is a workaround for this problem. Please look at the following KnowledgeBase for more details on how to do this.  Hope this helps!
    How Do I Print a Single Control from the Front Panel (for example, a Graph)?

  • Virtual Character in Bex Query / Filter by Attribute

    Hi ,
    We have a query where we need to resrict the query result by a character at run time. I think this is done by using virtuual characters with user exit RSR00002...Here is our requirement. We have the PCA query with Cost element heirarchy (Revenues & Expenses as nodes and several other sub nodes available) as the report out put and when we drill down by cost center user wants to see the result of blank cost centers only for Revnues but not for Expenses.
    If this scenerio is not possible by virtual characters, I have a display attribute in Cost element where Revenues always have type 11 and Expenses have 1. So I need to exclude the cost center blanks for cost element type 1....But I'm not sure how to achieve this. Can any one advice if this is better to do in Info cube level / Bex query level...
    Thanks

    Hi,
    This forum is for the BusinessObjects BI Solution Architecture. I would suggest you post your questions into the corresponding SAP BW Forum
    regards
    Ingo Hilgefort

  • Printing special character from report

    I was reading thru the other discussion on the same subject as I hv a similar problem. I am trying to print the character ' in a report. Note that it is not coming from the database. It is a hard typed character in the text of the report. It works fine on NT but doesn't work when we run the report under Unix. Currently our report server is on Unix so.. It just prints a '?'. Any suggestion will be highly appreciated.
    Thanks,

    I was wondering if there is a way to bypass
    Unix fonts and send the character to the
    printer using PL-SQL code in this
    particular case. Any idea?Ideas, maybe, answers, no. I haven't had
    that particular problem, but if I did, I
    would:
    1) First step: make sure you can generate
    a report that has the correct character
    code value and that your Unix OS doesn't
    force it to '?' because of US7ASCII.
    2) Second step: make sure the printer is
    given something it can understand; the
    character has to be in it's font palette
    too. Either it has to know what to do
    with B1 hex, or you have to put a header
    in your output file telling it how to
    interpret that.
    Good luck, sorry I couldn't help more.
    -- Allan Plumb

  • MII 12.0.4 - Problem MessageListener and special character (German) -

    Hey,
    we have the following Landscape:
    + ECC 6.0 with Unicode
    + MII 12.0.4
    Settings on the MessageListener Server:
    gwhost xxxxxxxxx 
    gwserv xxxxxxxxx 
    progid SAP_MII 
    trace   
    params   
    snc_myname   
    snc_qop   
    snc_lib   
    unicode 1 
    max_startup_delay
    Settings on the MessageListener Client:
    client yyy 
    user yyyyyyyy 
    alias_user   
    passwd   
    lang    de
    sysnr xx 
    ashost xxxxxxxx 
    mshost   
    gwhost xxxxxxxx 
    gwserv xxxxxxxxx 
    r3name   
    group   
    tpname SAP_MII 
    tphost   
    type   
    trace   
    codepage  
    abap_debug   
    use_sapgui   
    getsso2   
    mysapsso2   
    x509cert   
    lcheck   
    grt_data   
    use_guihost   
    use_guiserv   
    use_guiprogid   
    snc_mode   
    snc_partnername   
    snc_qop   
    snc_myname   
    snc_lib   
    dest   
    saplogon_id   
    extiddata   
    extidtype   
    idle_timeout   
    dsr
    Error-Description:
    When MII get a Message (RFC) from the ECC, all special character (German Umlaut) coming wrong.
    I tried with changing the Language, codepage... without any success. When I call the same Message
    (RFC) from the BLS through a JCO action block, then the result is with special character. I also tried
    this on a MII 12.0.5 installation without success... Did anybody had this problem one time?
    Kind Regards
    Pedro

    Pedro,
    we are working in an german environment with unicode, although I have set the Message Listener language to EN. I have found some material texts which came down with a MATMAS that contain german umlaute and which are shown correctly inside the database.
    I have also used a "normal" JCo block, no session. I guess it would make no difference using an IDoc or RFC.
    Have you seen the wrong characters, in the MII workbench or in a database where you store the contents?
    Michael

  • BEx Query Analyzer Value Display of +/- Sign

    The KeyFigure values in the BEx Analyzer are being displayed as 512.740000000-  with a negative sign in the back. I tried to change the settings in Bex Query Designer -- Query Properties -- Value Display to "Before the Number -123.45" setting. It looks like it doesn't have any effect.
    Please let me know if I need to change the setting from the backend, we are on BI 7.0.
    Venkat

    It should work. Try to refresh the query if not come out of Bex and Relogin. This should fix

  • Problem about printer

    sir,
         my printer is hp printer .In which i got a problem of ''E'' THIS sign is stand for error for ink or paper jam .BUT there is no problem of ink an paper jam in that . when i replace the old cartrage with new one then the error sign gone out .so i want to know about that what is the actual problem it have .i hope u care your customer .
                                                        thank you

    Hi pukhraj,
    I understand that your printer has an error message.   
    What printer do you have? 

  • Problem with Time-dep hierarchy in BEx Query

    Hi,
    I have a workbook that consists of 3 queries. All the 3 queries uses heriarchy and hierarchy node variables on 0CUST_SALES. The hierarchy is time-dep. 2 of the queries returns the output and 1 of them just displays "No applicable data found" for some of the nodes. I checked the hierarchy table and the date range for the nodes are in the range (01/01/2010 - 12/31/9999), the leafs have the range as 01/01/2010 - 06/30/2010. The 3rd query is the actually the summary of the other 2 queries. I checked the queries and found that the field 0CUST_SALES is on the characteristic restriction pane of the filter tab in the incorrect query and in the remainiing 2 its on the default values pane.
    Will this be causing the problem in the incorrect query?
    There is also a key date derivation type defined in all the queries. Its defined as Basic Time Char with the derivation type as "First day of Period". We are not using any infosets. The quries are on a multiprovider which has only basic infocubes.
    Can someone please explain how this works?
    Thanks and Regards,
    Sujai

    Hi Diogo,
    Below is the code I am using in the customer exit.
    SELECT * FROM zae_tt_pbuild INTO TABLE gt_pbuild.
          IF sy-subrc = 0.
            LOOP AT gt_pbuild INTO gs_pbuild.
              CONCATENATE '*' gs_pbuild-pbuild '*' into lv_pattern.
              ls_range-low = lv_pattern.
              ls_range-sign = lc_sign_i.
              ls_range-opt = 'CP'.
              APPEND ls_range TO e_t_range.
              CLEAR: ls_range,
                     lv_pattern.
            ENDLOOP.
          ENDIF.
         ENDIF.
    I have tried using '%' instead of '*' aswell but the result is same.
    Thanks,
    Rakesh

Maybe you are looking for

  • White Screen of Death - Hopefully not

    I have been doing everything possible to repair my 16gig iPhone. It has an all white screen. I have tried to reset it, I tried updating to 3.0, I even restored to factory settings. It makes noise when I plug it into my laptop and iTunes recognizes it

  • How do I open a CS5 site in CS6 (CC)?

    I just upgraded to CC and DW6.  I have a site in DW5, but for some reason I'm missing how to open it in CS6. 

  • What happened to my Synching Notes

    I can write notes on my iPhone and they used to show on my desktop in the mail program.  I've checked to have them synch but on my newly set up iMac 27 inch I don't see the notes and don't know where to find them. Any ideas?

  • Schedulilng Framework Installation Instructions

    I'm rather new to the Ecclipse environment with Flex. I can not figure out how or where to install the files listed in the scheduling framework zip file. Can someone walk me through the processes of installing the framework so it'll work in the Eccli

  • Resizing and scaling all content to the artboard

    Hi I have about 150 files of various sizes. They all have different content and need to be resized to 5cm x 5cm (2.5in x 2.5in) so they can be compatible with an online system of mine. I have succesfully made a script that opens every file in the dir