Different link for each cell on table item

hello..,
I have one table item on my WAD template.
I created Characteristic Structure/Selection for rows and Key Figure Structure/Selection for columns.
There is a requirement to jump to different report for each cell on that table.
Is it possible?
I try to created class "ZCL_MYCLASS" with superclass of "CL_RSR_WWW_MODIFY_TABLE".
And put some code on HTML as below:
<P><object>
         <param name="OWNER" value="SAP_BW"/>
         <param name="CMD" value="GET_ITEM"/>
         <param name="NAME" value="TABLE"/>
         <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
         <param name="DATA_PROVIDER" value="DATAPROVIDER"/>
         <param name="MODIFY_CLASS" value="ZCL_MYCLASS"/>
         ITEM:            TABLE
</object></P>
For testing purpose, I put coding on CHARACTERISTIC_CELL method:
if I_CHAVL = 'Revenue'. "This is selection description
c_cell_content = 'R_e_v_e_n_u_e'.
endif.
But, it seems that it doesn't work.
The question:
1. How do I create simple MODIFY_CLASS, just for testing purpose that what I modify in class is already correct.
2. How to debug class on WAD?
Thanks in advance

Not statically, but you can do this in code:
That's a method on the left and a property on the right.
I don't know if this will work as you expect (it should change the tip strip, but I don't know if it will appear like you want it to), so you can also implement this yourself by having a string indicator which you show and move around using its properties.
Try to take over the world!

Similar Messages

  • How to get IAttributeStrand for each Cell in Table

    Hello All,
    I am trying to set the font and size depending upon the user inputs under each cell in the table.
    For Text frame I am able to achieve this by using ITextModel->QueryStrand(). But for Table I am not able to find any function which can allow me to query the Cell Strand and allow to apply the attributes.
    Has anyone been able to achieve the same. If so please do let me know its urgent.
    Thank you all in advance.
    regards
    Farzana.

    Hi,<br /> <br />Thanks for the prompt reply. By the way I forgot to mention that we are using the same in CS3.<br />We tried as you have mentioned in your mail. But we did not find any way to achieve the ITextStoryThread from ICellConent. We tried all possible ways but we always get the Text Frame TextModel.<br />We have used following code to get TextModel for each cell. We get correct startindex and endindex for each cell and also get the valid TextModel Interface. But when we try to find out its length then it returns the whole TextModel length. <br />Thus when we try to apply different attributes for each cell then it applies to whole table. <br />E.g. When we try to apply 12 font size for 1st cell then it also applies to remaining cells.  So we think we are not able to find out correct TextModel for each cell. <br /> <br />Below is our snippet of code on what we tried.<br /> <br />ITableModel::const_iterator iterTable(tableModel->begin());<br />ITableModel::const_iterator end(tableModel->end());<br /> <br />while(iterTable != end) <br />{<br />GridAddress gridAddress = *iterTable; <br />GridID gridid= tableModel->GetGridID(gridAddress);<br /> <br />   InterfacePtr<ITableTextContainer> tableTextContainer(tableModel, UseDefaultIID());<br />   if(tableTextContainer != nil) <br />   {<br />       InterfacePtr<ITextModel> textModel(tableTextContainer->QueryTextModel());<br />       if(textModel != nil) <br />       {<br />          InterfacePtr<ITextStoryThreadDict> textStoryThreadDict(tableModel, UseDefaultIID());<br />          if (textStoryThreadDict != nil) <br />          {<br />              InterfacePtr<ITextStoryThread> textStoryThread(textStoryThreadDict->QueryThread(gridid));<br />              if (textStoryThread != nil)<br />              {<br />                 InterfacePtr<ITextModel> iTextModel(textStoryThread->QueryTextModel());<br />                 if (iTextModel != nil)<br />                 {<br />                      TextIndex startIndx;<br />                      TextIndex endIndx;<br />                      startIndx=textStoryThread->GetTextStart(&endIndx);<br />                 }<br />                 else<br />                     CAlert::ErrorAlert("iTextModel == nil");<br />             }<br />          }<br />       } <br />   }<br />                                     <br />   ++iterTable;    <br /> }<br /><br />Regards,<br />Farzana.

  • How can i apply different color for each cell in jlist component?

    hi guys i need your help and sorry if my english is very bad..guys how can i apply different colors for each cell in jlist component? for example for the first cell i want to apply color blue, for the second cell i want red, etc... i need your answer guys tnx..
    Edited by: ryrene on Mar 21, 2010 12:13 AM

    ryrene wrote:
    hi guys i need your help and sorry if my english is very bad.
    ..guys how can i apply different colors for each cell in jlist component? for example for the first cell i want to apply color blue, for the second cell i want red, etc... i need your answer guys tnx..I'll see your tnx, and raise you dve bmbrs & nplm.

  • JTable - different editor for each cell?

    I have a JTable where two columns have combo box editors. When the user makes a selection in one combo box, the other combo box's options must change, as its allowable options depend on selection in the other combo box.
    So in short, I need a way of changing the combo box options for ONLY a specific cell, NOT the entire column. I currently only know how to do this for a whole column:
    // first put stuff in myComboBox, and then...
    myJTable.getColumnModel().getColumn().setCellEditor( new DefaultCellEditor( myComboBox ) );
    Is there any way to change the values in the combo box of a specific cell, rather than the entire column?
    I apologize if this is a newbish question... I am fairly new to Swing, but I didn't see anything addressing this in the documentation.
    -Vern

    The solution is like the one I gave you in one of
    your previous postings. In that posting you wanted a
    renderer for a specific cell. In this posting you
    want a editor for a specific cell. The solution is
    the same, only the method name changes.Okay, thanks. Sorry if it seems like I'm a slow learner. ;-)
    -Vern

  • Drop Down List in a table - different options for each row

    How can i have a drop down list in a table with different options for each row?
    My requirement is this.. I want to display, say employee dtails in a table, and one column is employee hobbies, whcih can have multiple values and each employee may have a different list of hobbies. So how can we populate the drop down for each row, with different options?

    Hey. Uh, this probably isn't the answer you were looking for, but it sounds like you've got a problem with your database design there. Generally speaking, your tables shouldn't have multi-valued fields, in the relational model anyway (sql). Instead, you should look at adding a separate table like EMPLOYEE_HOBBIES. Then you have a foreign key using the employees primary key as the foreign key in the employee_hobbies table, see what I mean? I might have misunderstood your explanation though, I'm not sure.
    Alternatively, you could just have hobbies as a big freeform varchar field, and don't bother to make people separate their hobbies into different fields (you'd have to abandon the drop-down listbox idea in this case). If there's no really important reason to make the distinction, then it's probably easier just to not do it.

  • Qry:How to get different price for each price list (variable area) in order

    1-How to get different price for each price list (variable area) in order for sale. for the opportunity to display and select multiple prices.
    2- I add a location store from a table in line item and I want to see this area in order,.
    I 'm created 2 field location(item line and order), 1 table location
    I tried this for exemple : select $ [userfieldlocation.OITW]

    Thanks Suda for your answer,
    the Formatted Search for prices is OK, but for the Item locations in warehouse this is not so simple,     
    I must have several (at least 2) locations for the item in the Warehouse and a track of this location and search possibilities.
    read carefully and imagine how (Management warehouse locations)
    I added a user table '@Location' who linked to a user field 'U_Location in Item master data --> lnventory data  line and an ather user field 'U_Location' in sales order
    I met the value of location in the table (list of locations for any warehouse), I select the location of each item while receiving merchandise in the user field of inventory data line (Item M data) and this value appears in the sales order 'U_Location' user field ( only the location value in the default warehouse for this Item)
    or
    create an user field 'location' in Good receipt PO to fill it while receiving merchandise that appears in the sales order to give possibility to find/select the location of the item at this order and in Item master data
    I think we will use all these tables
    @LOCATION
    PDN1
    OITM
    OITW
    OWHS
    RDR1
    Juste a another question : where you found this and What is: ' 38.1.0 '
    Is it in document (System information):Item=38 Pane=1 ??
    Thanks,
    Ouchen

  • Different chart for each level hierarchy in report designer

    Is there a way to display a different chart for each level of the hierarchy in a report designer? I want a different chart for each level. That is, if there are 5 nodes in level 4, I want 5 different nodes. Is there a way to do this? I tried to insert the chart inside a cell in each level, but it shows the same chart for all nodes instead of a different chart for each node.

    Has any one tried using a context sensitive chart?  According to this, it seems like this should be possible, but I am having no luck.
    http://help.sap.com/saphelp_nw70/helpdata/en/47/a99a0a5fdb0985e10000000a42189c/frameset.htm

  • Changing scaling factor for each cell in Bex Analyzer

    Hi,
    We have a query with 2 structure (1 structure in rows, 1 in columns). We execute the query with Bex Analyzer in Excel.
    We would like to change the scaling factor for each cell. If we use the function 'Properties' for the active cell (context menu), we can change the scaling factor only for one cell.
    Is it possible to change it for the complete table?
    We use BI 7.0, patch 14.
    Thanks,
    Peter
    Edited by: Péter Egyedi on Jan 25, 2008 5:18 PM

    Have you got the solution for this problem?

  • Different screensaver for each display?

    I'm pretty sure OS X out of the box doesn't do this, but has anyone found a way to designate a different screensaver for each display, or more specifically, only have the screensaver happen on one display, while the second display goes to sleep?
    Thanks!

    Hi Nari,
    I guess that's not possible. From Web Dynpro side, dropdown is only one UI element. So  different tooltip cannot be assigned.
    However, You can find the which dropdown item is selected and assign the tooltip at runtime accordingly.
    In wdDoModifyView method, you can assign the tooltip text.
    if(!firstTime){
             IWDDropDownByIndex drp = (IWDDropDownByIndex)view.getElement("DropDownByIndex");
             drp.setTooltip(wdContext.currentNODEelement().getATTRIBUTE());
    Regards,
    Anand G

  • BAM : Crosstab : Need to get percentage of row total for each cell

    Hi,
    I am new to BAM. I have a requirement for which I am using crosstab. Basically, I need to show number instances per human task per user. Human Task is the row header, user is the column header, and I am using count(instance id) to fetch the count of instances. I am able to show the sum of values for each row and column, but I also need to show the percentage for each cell(based on row total).
    I do not know if it is possible to fetch the total for further calculations. I believe the calculated field will be processed for each cell, and hence there will be no sum available.
    Also, crosstab does not have a percent of total aggregate function.
    Kindly advise.
    Regards,
    Himanshu

    Hi,
    For constructing summary, COLLECT is very useful.
    1. Create one new internal table STAB having two fields.
       a) licensetype
       b) cnt
    2. Suppose your original internal table is itab.
    Loop at ITAB.
    STAB-licensetype = itab-licensetype.
    STAB-CNT = 1.
    COLLECT STAB.
    EndLoop.
    3. In this way, you will get DISTINCT license types, and their count.
    Hope this helps.
    regards,
    amit m.

  • Is it possible to display the document link for each record  in Report ?

    Hi,
         Is it possible to display the document or Image link for each master record in the Report  with the help of RSA1->Document->Master Data.
    Usefull answers are really helpfull.
    Advance Thanks for the userful answers.
    Regards,
    MRC.

    Hi  JAYASHREE PARASMAL ,
          Thanks for your valuable answers.
          Now i got the document in my Report,while executing the report through query designer as per your suggestion done on Setting Tab option.
          But i can't able to get the same thing,while i executing the Repory through WAD.
          What setting i need follow in the WAD for getting the same thing.
          Kindly give your suggestion to get the document in my Report,while i am executing through my WAD.
          Once again thanks for your helpful answer and awaiting for your suggestion.
    Regards,
    MRC.

  • Using Item UIDRef, can we get data as set in "text on path option" dailog box for each "text on path" item

    Hi all,
    I have a Item UIDRef but facing a problem for getting data as set in "text on path option" dailog box for each "text on path" item.
    What I did:
    - Getting the  pointer "IMainItemTOPData" using item UIDRef as
      InterfacePtr<IMainItemTOPData> mainItemTOPData(shapesUIDRef, UseDefaultIID());
    - This interface has the method GetTOPOptionData () which return ITOPOptionsData pointer
    - But SDK don't have "ITOPOptionsData" class implementation.
    Second Approch:
    - Used "ITextOnPathSelectionSuite" and getting the correct result for Desktop plugin.But I want the correct result in server plugin also.
    Anyone who has an idea how to get this using UIDRef, please let me know.
    Regards,
    Jitendra Kumar Singh

    Hi Pulse,
    Unfortunately, Flex doesn't currently support text on a path. However, I binged it and found this:
    http://blog.tsclausing.com/post/49
    That might be useful.
    -Adam

  • I have 3 iphones, an ipod touch and an Ipad on the same itunes account.  should I have a different account for each device?  If so how do I get all my purchases, like music on all the devices?

    I have 3 iphones, an ipod touch and an Ipad on the same itunes account.  should I have a different account for each device?  If so how do I get all my purchases, like music on all the devices?

    You can sync as many devices as you want to the same iTunes account, there is no limit. You can have the same content on each device or different content, the choice is yours. iTunes will keep everything straight, by device, including separate backups. I'd suggest giving each device a unique name, to make things easier.

  • I have multiple emails, how do I add different signatures for each email address

    I have multiple emails for different companies I work for, how do I add a different signature for each one, it seems like I have to use the same one for all of them

    Thanks.  I think I'm on the right track.  I added the email address to my contacts and double clicked the image icon to change it, but it only lets me snap a new picture or select an image from another location.  What is the folder location of the stock icons that come with Mac OSX?

  • How to use the different class for each screen as well as function.

    Hi Experts,
    How to use the different class for each screen as well as function.
    With BestRegards,
    M.Thippa Reddy.

    Hi ThippaReddy,
    see this sample code
    Public Class ClsMenInBlack
    #Region "Declarations"
        'Class objects
        'UI and Di objects
        Dim objForm As SAPbouiCOM.Form
        'Variables
        Dim strQuery As String
    #End Region
    #Region "Methods"
        Private Function GeRate() As Double
                Return Double
        End Function
    #End Region
    Public Sub SBO_Appln_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean)
            If pVal.BeforeAction = True Then
                If pVal.MenuUID = "ENV_Menu_MIB" Then
                End If
            Else ' Before Action False
                End If
        End Sub
    #End Region
    End Class
    End Class
    Rgds
    Micheal
    Vasu Anna Regional Feeling a???? Just Kidding
    Edited by: micheal willis on Jul 27, 2009 5:49 PM
    Edited by: micheal willis on Jul 27, 2009 5:50 PM

Maybe you are looking for

  • Can't connect to wireless network that works fine for other machines

    I received my MacBook Pro last week (2.16 GHz) and I've been very happy with it so far. However, when I brought it home, I've had nothing but issues trying to connect to my wireless network. It's a Netgear, and you can read more about it at the follo

  • After updating to Firefox 3.6.13 saved passwords no longer work

    Prior to updating to 3.6.13 saved usernames and passwords worked as they should (those fields were automatically filled in). Now after installing 2.6.13 most saved login info will not fill in upon entering the web site. I can go to tools, options, se

  • Best practice for upgrading task definition in production system

    If I try and update a task definition with task instances running I get the following error: Task definition 'My Task - Add User' may not be modified while there are active task instances Is there a best practice to handle this. I tried to force an u

  • BDC selecting component - Assigning object dependencies

    Hi, I am facing a problem in developing a BDC program. In transaction CS02, for a configurable material there may be n number of components. The number of components may vary from material to material. My requirement is to assign object dependency Q

  • Using Active Directory and ACS for Concentrator 3000 VPN

    Has anyone gone down the path of using Cisco ACS for network access control AND authenticating it with their W2K Active Directory for VPN 3000 concentrators? I did some research on Google, Cisco web, and this group, I did not find a definite answer o