Replacing a Cell ( Entry) as ZERO - Characteristics in WAD View or Query le

Hi,
please let me know the following Requirement in a WAD View
I want to filter a Master data entry ( Characteristic)
Characteristc ( Created By)
     RAO
     RAMA
     SSR
     KRSNA
     AJAY
     RAO
     RAMA
     SSR
I had a column shown above., i need to show a particular entry example RAO by using ZERO ( 0)., please let meknow how to do it in WAD level of BEx Query level.,
Thanks!
Rao S
Edited by: Seelam  Rao on Nov 10, 2008 6:27 AM

Michael,
I am not sure if you can have icons outside the query that can be controlled by the query values. You could do one thing ...
1. have a query with an extra Key figure.
2. Have your validation formulae on this key figure and have an exception on the same
3. Now your exception column would have three colors.
4. Now execute the report in IE and go to view source.
5. Look for the stylesheet classes for the exceptions , they would be something like SAPBexGood1... etc
6. Go to the table interface ( I assume that you would have figured out how to inherit the class and modify the same from the how to paper...)
7. Go to c_cell_data
8. if cell_style="SAPBeXGood1" then replace c_cell_content with <img src="/sap/bw/mime/icons/icon1.gif" /img>
9. Go to the css and find out your stylesheet class.
10. Remove the background color attribute from the required style.
for checking through JavaScript.
1. The query should have a separate stylesheet class attached to it.
2. It should have one cell only
3. You can replace the value by using style.innerHTML=whatever you want.
Hope this helps...
Arun
Assign points if found helpful
Message was edited by: Arun Varadarajan

Similar Messages

  • IP : Delete a value in e cell without entering zero

    We have an input ready planning layout created with WAD. In WEB user deletes a value in a cell without entering zero instead. When we refresh data former value appears again. When the user enters zero to the cell we have no problem. When we execute the query with BEX and delete the value in cell without entering zero, there is no problem also. Is there a parameter in WAD to check this?

    Hi
    If you create a "Delete" function and provide the same on layout it will delete the same from the cube. However, the user need to enter the line # which he/she wants to delete from the layout. Ofcourse, entering zero in the input for Key Figure will help delete the values from cube but if it has any corresponding calculations (say salary or revenue)....it will not get nullified. It is always good idea to provide a standard delete function on the layout.
    Regards
    Srinivas

  • How to find and replace multiple cells at a time

    I am doing repetitive work re find text in numbers but then replace following cells with text. How can I find and replace multiple cells at a time?
    i.e. doing my own budget spreadsheet and coding all transactions with description and code

    Did you try the "Find/Replace" dialog box?:
    Then click the "Replace All" button in the bottom left.

  • How to delete forecast entries with zero current and original qty from a particular forecast set which span across multiple forecasts

    how to delete forecast entries with zero current and original qty from a particular forecast set which span across multiple forecasts

    Hi,
    There is no way to delete those records selectively from front end.
    The best possible way is to delete the records from MRP_FORECAST_DATES tables from backend.
    Hope that helps!!
    Regards,
    Mohan Balaji
    NOTE: Please mark the post as Helpful or Answered if the update has really helped you. This would also bring the thread to logical conclusion and will be helpful for the viewers.

  • TS1381 My left arrow does not work on my macbook pro(model A1226).  I have reset nvram, performed a safe boot, pulled the cache to desktop, replaced .globalpreference.plist, test all other keys with keyboard view (all others work)  - HELP!!

    My left arrow does not work on my macbook pro(model A1226).
    I have reset nvram, performed a safe boot, pulled the cache to desktop, replaced .globalpreference.plist, & tested all other keys with "keyboard viewer" (all other keys work except for the arrow). 
    In addition, I have gone thru all the recommended checks with universal access and have booted from snow leopard dvd and the left arrow still does not work. 
    I have tried using the left arrow key in all of applications I use such as: excel, ms word, address book, calendar, iphoto, terminal, & highlighting an icon and using the arrows to move to another selected icon.
    Here is the kicker!  In addition, I purchased a logitech solar bluetooth keyboard and the arrows work fine with my ipad but do not work when paired with the macbook pro. All other keys work fine on the macbook pro using the bluetooth keyboard.
    I believe this says that the problem is not in my macbook pro keyboard. So where can it be?
    Can anyone think of any other rabbit holes I can search?
    thanks and regards
    vats3

    I would also like to add that I've reverted the two cd drive and hard drive mods I did and the laptop is back to factory hardware and there is 0 corrosion or mold visible.

  • How can I reduce the selection for the characteristics value in a BW query

    Good morning,
    I need to find out how I can reduce the selection for the characteristics values in a BW query.
    In a BW query I have a characteristic "Due month".
    The characteristic values shown in the query are from 01.2001->03.2007. I would like to reduce it to the last 2 years,in the query view,  without deleting the data for the other years in the cube.
    Do you know how this can be done?
    Thank you in advance for your feedback.
    Kind regards,
    Linda Verding
    Staff Consultant - CSC

    hi,
    First thing you have to do is check the report how the data is being restricted only to those months.
    1) one it can be variable in which the code is written for that to populate for last few years.
    or else it must have been hardcoded for these months.
    Go into your report and underneath the characteristicsCALMONTH there must be an variable or hardcoding.
    You need to change this here in the report.
    You dont have to delete anything there.
    Regards, Siva

  • Duplicate calendar entries... only in list view

    I have just observed a new phenomenon on my iphone which seems distinct from the duplicate entry problem often described. I seem to have numerous (but not all) entries in my calendar duplicated only on iphone and ONLY in LIST view. Single entries only are seen in DAY view on the iphone, iCal, mobileMe and a google calendar I sync to by busysync. I have been running smoothly for months and I assume the problem has come about because I turned off Push in the settings when abroad recently. If I edit just one of the duplicate entries in list view - by just clicking to the time edit pane, but not necessarily changing anything, the duplicate disappears! If I edit such an entry on iCal or Mobile me, when the sync goes through to the iphone, the duplicate also disappears. I think I can clear this one by forcing the iphone to restore from a backup or something similar, but I am intrigued about this behaviour which suggests a software bug.

    I have not understood why this problem was occurring, but I have found a solution which is to force the calendar entries to be reset from Mobile Me. I did this:
    1 Did a backup in iTunes in case it went horribly wrong.
    2 Went into iphone>settings>Mail Contacts Calendars > (Mobile Me Account) > Switched off calendars - told it to delete entries on iphone.
    3 Turned off iphone
    4 Waited a bit
    5 Turned iphone on
    6 Repeated 2 and switched on calendars.
    7 Waited a bit for Mobile Me to sync
    All calendars restored nicely..
    Why this problem occurred in the first place is a mystery. Unlike other punters, I didn't have itunes syncing my calendars to iphone, only Mobile Me........... It has the strong smell of a bug as this problem emerged after many months of trouble free syncing only when I updated to iphone 3.

  • Arp entries becoming zero

    Hi,
    We have Sun 1280 servers running in our lab. We observe that sometime arp entries for some interfaces become zero suddenly.
    Here is the warning we observe in /var/adm/messages :-
    09:53:50 ca-a ip: [ID 903730 kern.warning] WARNING: IP: Hardware address '00:00:00:00:00:00' trying to be our address 024.094.103.069!
    14:32:17 ca-a ip: [ID 903730 kern.warning] WARNING: IP: Hardware address '08:00:20:ad:37:18' trying to be our address 024.094.103.068!
    Any help ?
    Thanks
    Akhil Jain

    Hello,
    the default ARP timeout on the MSFC is 14400 seconds, or 4 hours. The CAM (MAC address table) default timeout is 300 seconds.
    You actually might want to set the CAM agingtime to 4 hours as well, in order to avoid possible IP unicast traffic flooding...
    HTH,
    GP

  • How to replace table cell elements position

    Hello Experts,
    I have a requirement where i have to replace the table cell elements at runtime.
    lets say for example i have a node structure  like this:
    Root Node
        table Node data
            cell 1 (Name)
            cell 2 (Description)
    Now once the table rendered on Adobe form let say it has 2 rows
    1st row : Test name1   |    Test description1
    2nd row: Test name2   |     Test description2
    now for display i have to show on form like this:
    1st row : Test name1            |     Test name2
    2nd row: Test description1   |     Test description2
    Constraint is i  cant change table node structure ,Now i was thinking if i could replace row 2 cell 1 ui element with row 1 cell 2 ui element at runtime in table without changing the mapped values.
    Please let me know how i can achieve this or if is there any alternative way to do this.
    Any inputs and help are most welcome.
    Thanks,
    Siddharth

    Hi Siddharth,
    You can achieve you requirement by creating table using subforms instead of using normal Table UI element.
    Create the Table structure this way.
    Table(Subform)     
    Row(Subform)
    Name (TextField)
    Description(TextField)
    Put the name and description field in single column. Bind the table subform with node Data and set  the property like this :
    Content : Flowed
    Flow Direction : Western Text
    also check the "Repeat the subform for Each Data item" property.
    Set the property of the Subform Row like this:
    Content : Flowed
    Flow Direction : top To bottom
    Bind the Name & Description text field with  the proper context.
    Thanks & regards
    Ravindra Singh

  • ALV cell without displaying Zero.

    Hi ABAP gurus,
       I am working on alv report  and  i came across situation where we don't want to display zeros in
      some of the Cell based on some condition.
      i don't want to do it on column level otherwise i can use no_zero. i like to do it on cell base.
    Any help would be  appericated ..
    Thanks,
    Jack
    Edited by: jack troy on Jun 17, 2009 9:48 PM

    u can do that while passing values to ur final table..
    declare the field as string.
    pass value to it only when u need (as per ur conditions). else leave it blank.. that can avoid ur zeros..
    do u need a ref code??
    Edited by: soumya prakash mishra on Jun 17, 2009 9:50 PM

  • If less than replace with no value or zero

    I'm trying to use the diadem calculator to create the equivalent of a 'if less than 4.0 replace with no value or 0' for the complete cell count of a named channel . Either create a new channel for the result or replace the old values
    thanks
    AdeK 

    Hi Adek,
    Twigeater is absolutely right, as always, and he's pointed you to the most recent and syntax-friendly option available in DIAdem 11.0 and later.
    If you are using an older version of DIAdem, or if you're manipulating very large channels, I'd recommend using the old "FormulaCalc()" function, which is faster for numeric channels and has a boolean construction that automatically resolves to 0 or 1, corresponding nicely to what you want.  Here's the code:
    R1 = 0.2L1 = CNo("Noise data/Noise_1")Call FormulaCalc("Ch(L1):= (Ch(L1)>R1)")Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Replace blank column values with ZERO

    Hi experts,
    I am building a report to display count of orders split by channel per day per hour.
    For some days one or few channels might not have any orders placed against them in which case my report shows blank values in the report.
    I would ideally like to have Zero in those columns rather than an empty cell.
    Sample Qry :-
    Select
    Channel,
    COUNT(order_num) as COUNT
    FROM
    SALES_ORDER
    Pls help !
    Thanks in advance.

    Try this code
    /* Formatted on 2009/05/11 07:53 (Formatter Plus v4.8.8) */
    SELECT   a.CLASS, a.order_date, a.time_created,
             NVL (a.count_orders, 0) AS count_orders
        FROM (SELECT   sales_order_header.soh_class AS CLASS,
                       TO_CHAR
                              (sales_order_header.soh_date_created,
                               'dd/mm/yyyy'
                              ) AS order_date,
                       SUBSTR
                          (TO_CHAR (sales_order_header.soh_time_created,
                                    'HH24:MI:SS'
                           1,
                           2
                          ) AS time_created,
                       COUNT (sales_order_header.soh_order_no) AS count_orders
                  FROM com.sales_order_header
                 WHERE sales_order_header.soh_date_created >=
                                             TRUNC (NEXT_DAY (SYSDATE, 'SUN'))
                                             - 14
                   AND sales_order_header.soh_date_created <
                                              TRUNC (NEXT_DAY (SYSDATE, 'SUN'))
                                              - 6
              GROUP BY sales_order_header.soh_class,
                       TO_CHAR (sales_order_header.soh_date_created, 'dd/mm/yyyy'),
                       SUBSTR (TO_CHAR (sales_order_header.soh_time_created,
                                        'HH24:MI:SS'
                               1,
                               2
              UNION ALL
              SELECT   sales_order_header.soh_own_id AS CLASS,
                       TO_CHAR
                              (sales_order_header.soh_date_created,
                               'dd/mm/yyyy'
                              ) AS order_date,
                       SUBSTR
                          (TO_CHAR (sales_order_header.soh_time_created,
                                    'HH24:MI:SS'
                           1,
                           2
                          ) AS time_created,
                       NVL
                          (COUNT (sales_order_header.soh_order_no),
                           0
                          ) AS count_orders
                  FROM com.sales_order_header
                 WHERE sales_order_header.soh_date_created >=
                                             TRUNC (NEXT_DAY (SYSDATE, 'SUN'))
                                             - 14
                   AND sales_order_header.soh_date_created <
                                              TRUNC (NEXT_DAY (SYSDATE, 'SUN'))
                                              - 6
              GROUP BY sales_order_header.soh_own_id,
                       TO_CHAR (sales_order_header.soh_date_created, 'dd/mm/yyyy'),
                       SUBSTR (TO_CHAR (sales_order_header.soh_time_created,
                                        'HH24:MI:SS'
                               1,
                               2
                              )) a
    ORDER BY a.order_date DESC, a.CLASS ASC

  • Date stamp for cell entry

    Hi, just reading the manuals for applescript but need some help. We have just changed from xl in windows to numbers and osx. One of the spreadsheets our admin used had a row where every time she added a new numerical value the cell above it would stamp the date of the entry. I have read through some old posts and it seems to be suggested that the only way is to "copy and paste" from, i guess, a cell containing the current date using applescript. Could someone give me a helpful nudge? I have only started looking at applescript today so its all a bit new.Either a point towards the appropriate tutorial or an example script would be great.
    Thanks
    rob

    Here is a version in which the Help part was a bit enhanced.
    --[SCRIPT storestring_anddate]
    Enregistrer le script en tant que Script : storestring_anddate.scpt
    déplacer le fichier créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Placez le curseur dans la cellule que vous souhaitez alimenter.
    aller au menu Scripts , choisir Numbers puis choisir storestring_anddate
    La cellule pointée reçoit la chaîne saisie
    La cellule située à sa droite reçoit la date_heure de l'intervention.
    Si la chaîne saisie est vide, les deux cellules sont vidées.
    Il est possible de modifier le comportement du script en éditant les properties.
    Avec
    property offsetVertical : -1
    property offsetHorizontal : 0
    la date sera placée dans la cellule qui est juste au-dessus de la valeur insérée.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    +++++++
    Save the script as Script : storestring_anddate.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Put the cursor in the cell which must receive your entry.
    go to the Scripts Menu, choose Numbers, then choose storestring_anddate
    The pointed cell receives the entered string.
    The cell on its right receive the current date_time.
    If the entered string is empty, the two cells are cleared.
    We may change the script behavior thru some edit of the properties.
    With
    property offsetVertical : -1
    property offsetHorizontal : 0
    the date will be stored just above the inserted value.
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox.
    --=====
    Yvan KOENIG (Vallauris, FRANCE)
    2009/02/16
    2011/01/07
    2011/01/29 added some comments in the help.
    property theApp : "Numbers"
    property offsetVertical : 0
    property offsetHorizontal : 1
    --=====
    on run
    set {dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
    if rowNum2 > rowNum1 then set offsetVertical to rowNum2 - rowNum1
    if colNum2 > colNum1 then set offsetHorizontal to colNum2 - colNum1
    tell application (path to frontmost application as string)
    if my parleAnglais() then
    set rate to text returned of (display dialog "Cell's contents" default answer "blabla bla")
    else
    set rate to text returned of (display dialog "Contenu de la cellule…" default answer "blabla bla")
    end if
    end tell
    my doYourDuty(rowNum1, colNum1, dName, sName, tName, rate)
    end run
    --=====
    on doYourDuty(r, c, d, s, t, txt) (*
    r = rowIndex
    c = columnIndex
    d = document's name
    s = sheet's name
    t = table's name
    txt = new cell's contents *)
    local cdt, r_date, c_date
    set cdt to my cleanThisDate(current date) (* the new date_time as a clean date_time *)
    tell application "Numbers" to tell document d to tell sheet s to tell table t
    set r_date to r + offsetVertical
    set c_date to c + offsetHorizontal
    if r_date > row count then
    repeat (r_date - row count) times
    add row below row -1
    end repeat
    end if
    if c_date > column count then
    repeat (c_date - column count) times
    add column after column -1
    end repeat
    end if
    if txt is "" then
    clear cell r of column c
    clear cell r_date of column c_date
    else
    set value of cell r of column c to txt
    set value of cell r_date of column c_date to (cdt as text)
    end if
    end tell -- application …
    end doYourDuty
    --=====
    on cleanThisDate(dt)
    (* ugly code but once I got date_time with milliseconds so if necessary, I drop them *)
    local l
    set l to my decoupe(dt as text, ":")
    if (count of l) = 4 then
    set dt to date (my recolle(items 1 thru 3 of l, ":"))
    end if
    return dt
    end cleanThisDate
    --=====
    on getSelParams()
    local r_Name, t_Name, s_Name, d_Name, col_Num1, row_Num1, col_Num2, row_Num2
    set {d_Name, s_Name, t_Name, r_Name} to my getSelection()
    if r_Name is missing value then
    if my parleAnglais() then
    error "No selected cells"
    else
    error "Il n'y a pas de cellule sélectionnée !"
    end if
    end if
    set two_Names to my decoupe(r_Name, ":")
    set {row_Num1, col_Num1} to my decipher(item 1 of two_Names, d_Name, s_Name, t_Name)
    if item 2 of two_Names = item 1 of two_Names then
    set {row_Num2, col_Num2} to {row_Num1, col_Num1}
    else
    set {row_Num2, col_Num2} to my decipher(item 2 of two_Names, d_Name, s_Name, t_Name)
    end if
    return {d_Name, s_Name, t_Name, r_Name, row_Num1, col_Num1, row_Num2, col_Num2}
    end getSelParams
    --=====
    on decipher(n, d, s, t)
    tell application "Numbers" to tell document d to tell sheet s to tell table t to return {address of row of cell n, address of column of cell n}
    end decipher
    --=====
    on getSelection()
    local _, theRange, theTable, theSheet, theDoc, errMsg, errNum
    tell application "Numbers" to tell document 1
    repeat with i from 1 to the count of sheets
    tell sheet i
    set x to the count of tables
    if x > 0 then
    repeat with y from 1 to x
    try
    (selection range of table y) as text
    on error errMsg number errNum
    set {_, theRange, _, theTable, _, theSheet, _, theDoc} to my decoupe(errMsg, quote)
    return {theDoc, theSheet, theTable, theRange}
    end try
    end repeat -- y
    end if -- x>0
    end tell -- sheet
    end repeat -- i
    end tell -- document
    return {missing value, missing value, missing value, missing value}
    end getSelection
    --=====
    on decoupe(t, d)
    local oTIDs, l
    set oTIDs to AppleScript's text item delimiters
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to oTIDs
    return l
    end decoupe
    --=====
    on recolle(l, d)
    local oTIDs, t
    set oTIDs to AppleScript's text item delimiters
    set AppleScript's text item delimiters to d
    set t to l as text
    set AppleScript's text item delimiters to oTIDs
    return t
    end recolle
    --=====
    on parleAnglais()
    local z
    try
    tell application theApp to set z to localized string "Cancel"
    on error
    set z to "Cancel"
    end try
    return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    Yvan KOENIG (VALLAURIS, France) samedi 29 janvier 2011 16:35:59

  • Multiply cell entry by 1.15 /within/ the cell?

    would anyone mind just helping me figure out how i put a value in a cell and have it show up with an additional 15% markup? i am searching percent and i am getting help docs explaining how to enter percentages.
    i /tried/ clicking on Numeric > PRODUCT and i get an entry that says "=PRODUCT(num-value, num-value) and i then tried changing the second num-value to "1.1.5" [i.e. "=PRODUCT(num-value,1.15"] but i get a red arrow stating "you must specify a number value for all arguments" and i am guessing that it wants to see a value in the first num-value.
    is there a way to set this up so i can ENTER a number in the cell and have numbers bump it up 15%? i don't want to have a separate column for the 15% markup and it seems like there should be a way to have numbers do this in the cell. this way if i want to see the original number that was entered i can just click in the cell but the number that is visible is the value with the markup.
    is there a better search term i should use in the help menu for this or maybe it is a different function?
    THANKS

    HW,
    Numbers has never supported the operation you want.  A cell can contain either:
    1) a formula OR
    2) a value (or text)
    You may make a feature suggestion to Apple using the menu item "Numbers > Provide Numbers Feedback".
    if you want to inflate a cell by 15% then you can create a new column and enter the formula as needed.
    e.g.:
    Column B contains values I want to inflate by 15%.  Column C has the formulas to perform this operation:
    C1=B1×1.15
    select C1, copy, select the column header ("C"), paste
    If you want you can hide column C even while referencing it OR, you cam select column C, then copy, then just paste the values back over column using the menu item "Edit > Paste Formula Results"

  • Format cells entry into minutes and seconds

    I would like to set up a column of cells that would automatically convert a numerical value to a time format in minutes and seconds. For example, if the user inputs '30', the cell would display ':30'. If the input is '230', the cell would display as '2:30'. How would I do this?

    pml,
    You may use Custom Format to do this. Set the default Integers placeholder to 2 places and to Hide Separator, then type a Colon, then copy the integers placeholder on the left and paste it on the right.
    Now you have ##:##. As you make entries to cells with that format they will be displayed looking like Time per your requirement. For instance 230 will become 2:30. Bear in mind that these won't actually be Time/Date or even Duration values, they will just look that way.
    Then if you wish to do calculations on those inputs you will need to first convert them to Duration with an expression that turns the input into minutes and seconds.
    Jerry

Maybe you are looking for

  • ITunes and Windows 7 64 bit doesn't work together?

    Running Windows 7 64 bit, iTunes is reporting it is latest and greatest, as is iPod touch. When I tried to move some songs I purchased today to my iPod via iTunes, my system crashed. Tried a few times and it kept crashing. It would transfer 1 maybe 2

  • IP pool to mac address

    is it possible in a remote access VPN to give the same IP to a client as they connect and pool the address from th IP pool? I was thinking like a DHCP server where you can tie a mac to an address, is it possible with a pool?

  • Schema Node referencing a non-existent Service Field.... in MDM 2.0.1

    Hi, In MDM 2.0.1, I created the following(in order) : 1.UOM 2.Measuring Component Type 3.Device Configuration Type 4.Service Provider 5.Device Type 6.Device But when trying to Configure the created Device, its showing some error as... *Schema node is

  • LR5 showing Error 1 when trying to Edit in CS6 since migrating to new Mac

    Hi. After migrating to a new iMac and uninstalling and reinstalling CS6 and LR5 I'm unable to Edit in CS6 from Lightroom. I'm greeted with a window saying Configuration problem and Error:1. Any advice please.

  • Group by descending

    Hi. Is it possible to use the CLAUSE GROUP BY, with desc option ? select A,B,C from TABLE GROUP BY A,B,C DESC Is it possible ? Anybody, has any idea ? Thanks in advanced