How to eliminate # for empty date value in BEx Analyser

Hi Gurus,
Can any one please let me know how to eliminate # for empty date value in BEx Analyser.
Thanks in advance
peter

Hi
add the following macro to your workbook (template workbook):
Sub SAPBexonrefresh(qstring As String, resultArea As Range)
For Each c In resultArea
If LCase(c.Value) = "not assigned" Then c.Value = ""
Next
End Sub

Similar Messages

  • Simple Question: How to search for a date value in SELECT

    Probabily a simple question, but in a SELECT statement, how do you do a search for a date value in the WHERE clause?
    example:
    Select * From Example
    Where date = 01/01/2001
    I know its not as simple as that, but what change has to occur to make it do what that example implies?
    Thanks In Advance.

    If you want to avoid the conversion part(to_date) you will need to specify the date in the format as ur nls date format.so the same query might not work if you change ur nls date format.
    so it is advisable to give it in general format.
    ie where date_col=to_date(01-01-2000,'dd-mm-yyyy')

  • How to fetch year till date value for earning for current ,last and year

    hi,
    how to fetch year till date value for earning for current ,last and year before that from payroll result
    plz reply soon,
    pratyush

    Dear Pratyush,
    Pick this from CRT.
    Use LDB PNPCE & Fire event GET PAYROLL &
    then you can pick from CRT.
    Hope this helps.
    Kindly reward in case useful.
    Regards & Thanks,
    Darshan Mulmule

  • Handling Empty date value in the stored procedure call

    Hi,
    i am executing a stored procedure having date element, getting below the error for the empty date value.
    can any solve this issue?
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'WD_WRAP_PROCESS_APPMT_REQ_PR' (structure 'STATEMENT'): java.text.ParseException: Unparseable date: ""
    Thank You,
    Madhav

    Madhav,
    Can you check if you are sending blank values to the date parameter?
    raj

  • How to wait for a date field to be not empty in Designer workflow

    I am working on a workflow and need to pause the workflow to wait until a date field has been completed.  I am aware of setting dates to a workflow variable of type string to check for null, but there is no way in the Designer workflow to wait until a workflow variable is not empty.
    Does anyone know of a workaround to this?

    Hi,
    I agree with Andrej about using a Textfield as a alternative.
    But, I think you can try to add a new task (set the date value) into your workflow before other tasks.
    Let me know if you have further questions!
    Hope it is helpful!

  • How to look for a certain value in a database using sql

    Hello everyone. How do you do this in SQL? Or, is there a way to look for a certain value in a database? What I'm trying to do is this:
    I want to look for the exact value "abcdefg" in the database so that oracle will return me details on the following that contains the said value:
    1. the name of the table(s)
    2. the column/field name(s)
    Note: "abcdefg" could exist in different tables with different column names with different data types.
    Any help is much appreciated. Thanks.
    UPDATE: What about if I just want to check those fields/columns with string data types?
    Message was edited by:
    dongzky
    Message was edited by:
    dongzky

    Just a teeny tweek
    DECLARE
       l_dummy   VARCHAR2 (4000);
    BEGIN
       FOR rec IN (SELECT table_name
                     FROM all_tables)
       LOOP
          FOR rec2 IN (SELECT column_name
                         FROM user_tab_cols
                        WHERE table_name = rec.table_name)
          LOOP
             BEGIN
                EXECUTE IMMEDIATE    'select 1 from '
                                  || rec.table_name
                            || ' where to_char('
    || rec2.column_name
    || ') = ''CAS'' and rownum = 1'
                             INTO l_dummy;
                DBMS_OUTPUT.PUT_LINE (rec.table_name || ' ' || rec2.column_name);
             EXCEPTION
                WHEN NO_DATA_FOUND
                THEN
                   NULL;
             END;
          END LOOP;
       END LOOP;
    END;

  • Duplicate y-axis labels on charts for small data values -- is this a bug?

    Hi,
    I have several charts where the data values are small (1,2,3). The y-axis labels are duplicated for these charts. For example, if the data value was 2 the y-axis labels display as 0 1 1 1 2 2 2. I know that I can manually set the maximum y-axis value and also set the segments on the chart to eliminate the duplicate values. My issue is that I have over 100 charts in my dashboard and I have to manually set the values each month, and then in the next month when the data values are larger I have to remove the maximum y-axis value so the y-axis value is dynamically created. Is this a known bug within the software? Is there any fix for this besides what I'm already doing?
    Please let me know if anyone else has seen this issue and if this is a bug, or if this has been corrected in any fix packs.
    Thanks!!

    Hi Jim,
    I have data for three months in the data range A1 to B3 as given below -
    Jan - 1
    Feb - 2
    Mar - 3
    In Cell D1 write a formula =MAX(B1:B3)+1 (This will give you value 4)
    Go to Chart property -> Behavior -> Scale -> Manual (Y) Axis ->  Minimum 0 and Maximum will be pointing to cell D1.
    Go to Chart property -> Behavior -> Scale -> Division -> Size of Division 1 and Minor Divisions 1
    This will give you Y Axis values as 0,1,2,3,4
    Now change value of any month to 5.  Now value in D1 would become 6 and Y-Axis would change to 0,2,4,6.
    Hope this helps.
    Rashmi
    Edited by: RashmiG on Jan 8, 2010 4:45 PM

  • How to start for reorg datas ?

    Hi members,
    I have a few questions about an 9i Oracle database for using with IBM WebSphere Commerce.
    DB is not very big ... only 1,3 Gb.
    Production release : 9.2.0.7
    Every night at 2:00am I have a task for analyzing statistics on all tables (3 schemas) but
    I don't have tasks for reorganize datas.
    How can I verify that reorg datas is very needed ?
    Is there SQL Statement to identify it and which columns or values are important ?
    When we talk about reorg ... does it concern tables only or does it concern tables and indexes ?
    Do you have resources for reorg datas with no risk ? (tutorial, technical note)
    Sorry for my questions but I was in a Oracle DBAI et DBAII Training and I never saw how to reorg datas.

    Hi,
    Firstly, I feel that analysing all data every day is probably an overkill. Well, if your data is updated drastically every day then its required.
    I am not familier with Websphere, Is there a special activity called as data re-organisation? or you are talking about normal re-organisation of data?
    If we are talking about just reorganising data, to get rid of fragmentation, alter table .... move will do the job. This will invalidate the indexes, but there are clauses which will rebuild the indexes.
    Again, this is a big excercise and should be done only when there is a substential reason to do so.
    Regards

  • HTML Dataset - how to filter based on data values within columns

    I have had success with using the XML dataset and filtering based on user input (see javascript example below)
    <script type="text/javascript">     
    var ds2 = new Spry.Data.XMLDataSet("disciplinary_actions3.xml", "doh/disciplinary_actions2[type='<? echo($type) ?>'][name>='<? echo($name) ?>']");
    ds2.setColumnType("date-of-sanction", "date");
    </script>
    The XML dataset filters the results based on the type and name values within the XML dataset columns.
    I need to accomplish this type of filtering with an HTML table.  All that I have  been able to accomplish with the use of the in the rowselector (see example below)
    <script type="text/javascript">
    <!--  the setRowSelector filters by the class attribute on the row in the html table
    var ds4 = new Spry.Data.HTMLDataSet("disciplinary_physicians_htmldataset.php", "physician-list");
    ds4.setRowSelector("tr.<? echo($type) ?>");
    ds4.loadData();
    //-->
    </script>
    How can I filter the HTML dataset based on the data VALUES within the table columns and NOT the class or id or span or div,,,etc?
    Although my advanced dataselector within Dreamweaver CS4 has a column selector... I can't under or get it to work.
    Any assistance or direction is greatly appreciated.

    Hi Ron,
    According to your description, you want to pass the Terminal number that user logon to where clause without needing to create a userid table, right?
    As per my understanding, you need to add an additional table to store the user and corresponding terminal, so that you can filter the data to show the rows based on the user and corresponding terminal. Here are some blogs which describe dynamic security
    on tabular model, please see:
    http://blogs.msdn.com/b/himanshu1/archive/2013/03/02/implementing-dynamic-security-in-tabular-models.aspx
    http://www.bidn.com/blogs/ChrisSchmidt/ssas/4332/dynamic-security-in-tabular
    If this is not what you want, there is no other approach to pass the Terminal number that user logon to where clause without needing to create a userid table. Thank you for your understanding.
    Regards,
    Charlie Liao
    TechNet Community Support

  • How to Search for a Date in a string having both characters and date

    Hi ,
      I have a requirement to search DATE in the String having Both Characters and DATE . Please kindly let me know as early as possible.
    Regards
    Anil Kumar K

    Try to use SEARCH command with the pattern, making the pattern as fine as it can, like if you have your date in the format 02/23/2007, you can give
    SEARCH STRING FOR ' //'. (assuming the date has at least a single blank before it)
    WRITE:  SY-SUBRC UNDER 'SY-SUBRC',
    SY-FDPOS UNDER 'SY-FDPOS'.
    SY-FDPOS is set to offset of the string from which you can get the date value
    Refer here
    http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb33cc358411d1829f0000e829fbfe/frameset.htm
    It would have been better if there is something like UNIX "regular expression" matching in ABAP

  • How to query for a NULL value?

    Hi all,
    how can I query for a NULL value in a ViewObject. I tried to set null as where-clause param [setWhereClauseParam(0, null)]. But the created statement looks like this:
    SELECT ...
    FROM ...
    WHERE param = null
    I would expect it to create something like WHERE param IS NULL. I hope anybody has a solution for this.
    Thanks,
    Axel

    I think you should use setWhereClause("COL_NAME IS NULL")
    You could use setWhereClauseParam(0, "NULL"), but only if you have a predefined query similar to: "SELECT X, Y, Z FROM A WHERE X IS :0" (which is a pretty useless query, as you can ONLY set "NULL" as the value for ":0").

  • How to find out Maximum date value in RPD.

    Hi All,
    I have a date column i want to get the maximum date value from that column. I am trying this expression MAX( "sales"."book"."date") in new logical column i am getting the RPD inconsistence error. Database is SQL server 2005. Is there any problem in my syntax?
    Thanks in advance.

    Is that column date part of time dimension?
    What does error say? syntax should be ok - maybe something to do with your DB settings in physical layer.
    can you try to create the same column in Answers? (select fx button of the column and then add MAX ( ) around the column.
    Edited by: wildmight on Jun 12, 2009 10:09 AM

  • How to insert the Formatted date value and insert into the database

    Hi All,
    I am having requirement of inserting the date value in to the datbase. I'm already getting the value from file as MM-DD-YYYY. Getting exception while transforming the values through the transform activity. I'm using format fate function but it is inserting null value in to the database.
    Any help from anyone would bve appreciated.
    Thanks,
    CH

    Hi,
    your input date format is fixed right? So, in the transform you can split each your date, which is in 'MM-DD-YYYY' format ... extract day, month, year.
    After that ... just put these values in order acording to the format of 'xsd:date' data type which is '[-]CCYY-MM-DDZ'.
    XPath function 'xp20:format-dateTime()' works only with 'xsd:dateTime' data type, which has format '[-]CCYY-MM-DDThh:mm:ssZ'.
    So, in your case it could be:
    <xsl:variable name="day" select="substring($inputDate,4,2)"/>
    <xsl:variable name="month" select="substring($inputDate,1,2)"/>
    <xsl:variable name="day" select="substring($inputDate,7,4)"/>
    <xsl:variable name="outputDate">
    <xsl:value-of select="$year"/>
    <xsl:text>-</xsl:text>
    <xsl:value-of select="$month"/>
    <xsl:text>-</xsl:text>
    <xsl:value-of select="$day"/>
    </xsl:variable>
    Regards,
    Martin.

  • How to enter Text or Date Value?

    Hi, I am using Planning 9.3.1 and tried to enter text or date value into account
    which is defined as text or date, but I can only type numeric value into the cell.
    Is there anyone who knows the reason why I can't type in text or date?
    Thanks.
    Regards,
    Jerry

    You need to set the Evaluation Order to make this work. Once you tell Planning which dimension has priority (Account) the date format should work in a form. This is accessible through the Administration->Dimensions menu pick in the rightmost tab.
    Without that evaluation priority, the data just displays as a number.
    Once set, you must enter data in a format that mirrors your system locale or Planning application default/user preference. You will not be able to enter a whole number.
    Regards,
    Cameron Lackpour

  • How to Add a New Filter Value in BEx WAD to Display All Result

    Hi experts,
    I want to add a new filter value in BEx WAD to display all data records. The scenario is as follows:
    The status field can have two values: Active ("A) and Inactive ("I").
    But the requirement is to have a third value to display all the data records (Active + Inactive). E.g. the value can be "G". The purpose is to increase the understandability for report users.
    Does anyone have an idea?
    Regards,
    Joon

    Hi Vineet,
    thanks for your reply. The problem is that there are only 2 values available for this Characteristic: "A" or "I".
    The requirement is to have a third value "G" (instead of the default "All Value") due to historical reason, because all future report users have been working with R/3 reports for quite some time and they are accustomed to using "G" for displaying all values.
    Is there any possibility to realize this?
    Thanks,
    Joon

Maybe you are looking for

  • How do I get my apps from mac to new iPhone 5

    How do I upload my apps from the Mac to a new iPhone5

  • Document Splitting-Balancing field "Profit Centre"

    I am trying to post an F-02 transaction as follows: Salary & Wages   1000     Dr.   Cost Centre(A) & Profit Centre (A) Salary & Wages  1000     Dr.   Cost Centre (B) & Profit Centre (B) Salary Payable    2000     Cr.    But when I tried to post it, t

  • ISE and NAC Agent

    Hello, we currently run NAC for our wired (OOB), wireless (IB) and VPN (IB) enviroments. We are looking at migrating over to ISE for our wireless enviroment as a first step, with follow-up projects to move the VPN and wired clients over. I have been

  • Servlet Configuration - urgent

    I installed jdk-6u21-windows-i586.exe in my machine (xp s3) and I can run java progrms Now I want to know the following things 1. Which version of jdk is this 2. I want to run Servlets from my machine what additional software to install for this in w

  • Relations between HR and Cats

    We have installed the portal for updating absences. We develloped an abap to transfer the absences from The portal to HR and CATS Know we are missing some realstions (AWREF) between HR and CATS because HR works with periods and CATS works with days.