How do I transpose and group a table in a ViewObject?

Hi,
I want to transpose and group a table within a view object and don't know how to do it.
Please let me explain what I want to do:
One table, e.g. Employees, has one row per employee. Each employee has a departmenent and a room assigned:
Employee
Department
Room
John
Finance
101
Susie
Prod
102
Hank
Finance
103
Now I want to show one row per departmenent and a marked checkbox for each room that has an employee from this department in it:
Department
Room 101
Room 102
Room 103
Finance
X
X
Prod
X
What I already did is, I added a transient attribute of type boolean for each room to the ViewObject for employees. I was able to set the booleans within the method ViewObject::createRowFromResultSet. But I still need to do a grouping by department.
What I don't understand is: is it possible to 1. selecting data, 2. grouping the result and 3. setting booleans for the rooms, anything in the same view object? Or do I need to have two ViewObjects, one that holds the data and another one that prepares and to displays the data?
Btw. the users will change the checkboxes and the changes must be written back to the database (makes no sense for this example, I know...).
Could anything be done in the same ViewObject? If so, which methods do I have to overwrite to do the grouping?
Could someone please give me a hint or let me know where I can find an example of a similar scenario?
Thanks in advance!

Sort the playlist into the desired order, e.g. click the heading for the track no. or album columns, the right-click on the playlist name and click Copy to Play Order. The playlist should now burn in the correct order.
tt2

Similar Messages

  • How to create users and groups using WLST Offline with Weblogic 8.1.4

    How to create users and groups using WLST Offline with Weblogic 8.1.4?
    Any ideas?

    Hi this is how i created a user using WLST Offline?
    cd('/Security/' + domainName)
    # Delete the default user name weblogic
    # incase you want to remove the defualt user weblogic
    delete('weblogic','User')
    # Creating a new user defined
    create(userName, 'User')
    # Setting the password of the user you created.
    cd ('/Security/' + domainName + '/User/' + userName)
    cmo.setPassword(password)
    Regards
    Makenzo

  • How to import user and group at EPM11.1.2?

    I found a similar topic on this at User & Groups Issue
    But sounds like there is big change a tEPM11.1.2, I didn't find CSSImportExport utility at all.
    Could anyone tell me how to import users and groups from flat file at this version?
    Thanks
    Tony

    You can only use LCM from 11.1.2, it is not really that different format from the CSSImportExport utility.
    I find the best way is to set up a few users and provisioning and then use LCM to export, then you get a good feel to the format of the file.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to find users and group in sun box

    Please adivce How to find users and group in sunsolaris
    Thanks in advance

    We can get all the group details from /etc/group file .
    Similarly user details can be found in /etc/passwd .

  • How can i view and manipulate the Tables created in SAP DB (Netweaver)

    Hai ,
    i created one table in SAP DB integrated in Netweaver for J2EE Application.
    How can i view the table in SAP DB.
    Can i see the data inserted in that table in table view manner ?.
    can i edit the data in the SAP DB table?.

    Hello Kishor,
      You need to download the SQL Studio. With this tool login to the SAPDB server and you will be able to view the content of your table and manipulate your table as well
    http://dev.mysql.com/doc/maxdb/tools.html
    Regards
    Abdul

  • How to reset users and groups in Server.app?

    Recently after change settings in the Server.app (like turn off/on open directory, delete/add certificates), I got a strange problem:
    In the users and groups list, it display all local users and groups (looks like system users and groups, about 100 users and groups, but this is a new server)
    I tried reset the server.app by following
    howto reinstall/reinitialize os x server
    http://support.apple.com/kb/HT200271?viewlocale=en_US
    These users and groups still showing there.
    Have you seen this before and how can I completely reset the server.app to factory default so that I can start over the set up?

    In theory, that should restore the users.  You can do some surgery if you are really brave.  But the reinstall generally should be enough. 
    These accounts are in the DSLocal data store.  Basically, this is very similar to the any OS X machine.  Apple keeps a default copy of the Local Database here:
    /System/Library/DirectoryServices/DefaultLocalDB/Default
    Should you need to reset a machine to the default local database, you can remove the current database (/var/db/dslocal/nodes/Default) and then copy the default one to the same location.  I would not go this far unless the reinstall was unsuccessful. 
    To check, you can run this command:
    dscl . list /Users
    That will list all the Users in the local DB.   To get a count, pipe to wc
    dscl . list /Users | wc -l
    On a Server that I just jumped on, I see 79 users and 111 groups (dscl . list /Groups | wc -l)  But this is a system will man SACL groups so I likely have more than the default.
    Hope this continues to help.  Probably more info that you want. 
    Reid
    Apple Consultants Network
    Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store
    Author "Mavericks Server – Control and Collaboration" :: Exclusively available in Apple's iBooks Store

  • How i can access and edit the table of database(.mdb) file through Labview

    Dear sir,
    I want to access and edit the table of database(.mdb) file through Labview and it should save.
    please tell me how i can do it.
    i am waiting for reply.
    regards
    Rajendra

    there are options aplenty for this.  First off, do you have the database connectivity toolset?  If so, You can do it from there.  Following the examples in labview. Or you can do a search for ADO or access database, and find plenty of VIs that can do this. 
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?

  • How to repeat Header and Footer's table on each page

    Hi all of you,
    I have to create an invoice form which look alike the Purchase order forms example provided by Adobe.
    In the table object, i set up exactly the same attribute as the example but i didn't manage to get the same result :
    - the table is nested in a subformular which attribute is Flowed + Page Break.
    - Header and Footer's table are set up such as they should be repeated on every page.
    I work on the Adobe Life cycle 8.01 and ECC 6.0.
    Thanks for the help

    Hi Vincent,
    Use the Create Table assistence while you creating the table, there you will specify the header and footer
    Change the table type as flowed in object tab.
    Then select the Header Row in Hierarchy tab and go to the Pagination in object tab
                           there you check Include Header Row in Subsequent Pages and same as footer.
    By
    Parthi

  • How to Insert-Select and Updade base table

    Hi All,
    How is the best way to do this?
    I have a table A that has 1million rows.
    I need to Insert-Select into table B from a Group by on table A,
    and Update all rows in table A that were used into Insert with a flag.
    (select a hundred from A and insert 10 thousands into B)
    What to do?
    1-Update table A with flag before Insert-Select?
    2-Insert-Select group by into table B, before Update?
    3-Another way?
    Thanks in advance,
    Edson

    Either way. But you may find that updating the source flag first and then using that flag as part of your where clause when extracting rows to put in the destination table is a bit faster.
    In any case, you will commit only once after all of the work is done.

  • How to use a radiobutton  group on table control ?

    In the selection screen ,i could define a variable as radiobutton group xxx .It's just so easy ,button when I want to use it in the table control through the the wizard ,but in the 4.6c version there is simply no such as radionbutton component in the panel .how could i do ?

    Hi Jack,
    It's a bit tricky to get the Radio Button in the Table Control. Only a few things needs to be done.
    1. Create a structure with an Checkbox field of TYPE CHAR 1.
    2. Create the Table Control with Wizard and mark the Checkbox field as CHECKBOX in one of the popup.
    3. In the Screen, right-click on the Checkbox field. You will get a list of options and there you should check the radio button option. You will get the selection as Radio button available across all the rows.
    You can check out the demo codes at SE38 by searching DYNPRO.
    Also have a look at this following link.
    http://www.esnips.com/doc/48bd95e8-facc-4932-b923-465ba59bad24/Table-Control
    Hope this will help.
    Thanks,
    Samantak.

  • How to connect FI and RE module tables?

    Hi Experts,
    I am working on a dunning smartform. As I work for a real estate company, I have to pick few fields from RE tables like VIMI01, CHBSHTPT and VIOB01.
    Business Entity
      Name
    Get XMETEXT<VIOB01> where
      SWENR<VIOB01> = SWENR<VIMI01> and BUKRS<VIOB01> =
      BUKRS<VIOB01>.
    Sales Unit Type
    HOMTYP<VIMI01>. Pick
      HOMTYP from table VIMI01. Get DESCR field from the table CHBSHTPT where
      HOMTYP<CHBSHTPT> = HOMTYP<VIMO01> and SPRAS = 'EN'.
    I have seen all the tables in debugger. All the values related to customer of FI transactions are there but not related to RE. Are these logics possible?
    Regards
    Mani

    Hi Mani,
    better will be if you ask your functional consultant of RE, if you don't have any
    RE functional support then please revert .
    Have you seen my privious post ,where i have provided some links that will provide
    you some knowledge regarding dunning.
    Data not picking from a table

  • Maximum number of connection profiles and group policies for Cisco ASA

    Hi,
    We have a Cisco ASA 5520 running 8.0(2) that we use only for Remote Access VPN.
    Does anyone know how many connection profiles and group policies that are supported on the box? I have not been able to find this in the manual.
    Thanks in advance for your help!
    Best regards,
    Harry

    There is no limit for connection profiles or group policies that can be configured on ASA. However the numbers do depend upon the memory available in the device as the profiles are stored in memory during execution.

  • Load and Unload Alias Table - Aggregate Storage

    Hi everyone,<BR><BR>Here I am again with another question about aggregate storage...<BR><BR>There is no "load" or "unload" alias table listed as a parameter for "alter database" in the syntax guidelines for aggregate storage (see <a target=_blank class=ftalternatingbarlinklarge href="http://dev.hyperion.com/techdocs/eas/eas_712/easdocs/techref/maxl/ddl/aso/altdb_as.htm">http://dev.hyperion.com/techdo...l/ddl/aso/altdb_as.htm</a> )<BR><BR><BR>Is this not a valid parameter for aggregate storage? If not, how do you load and unload alias tables if you're running a batch script in MaxL and you need the alias table update to be automated?<BR><BR>Thanks in advance for your help.<BR><BR>

    Hi anaguiu2, <BR><BR>I have the same problem now. Do you find a solution about the load and unload alias table - Aggregate storage ? Could you give me your solution used if you have one. <BR><BR>Thanks, Manon

  • How to Create and External Hierarchy and group values of IO in node

    Good morning
    BI 7:
    Please give me guidance on the following?
    I need to either to restrict a characteristic in a query to more than 800 values OR exclude values where it contains the pattern 'Z7' and 'Z8'. There are thousands of values which contains the pattern and they are not listed in such a way that I can exclude them as a value range, thus I would have to include all the values I want into the restriction, which is more than 800. An error displays when I check the query:
    ""In the structural component Warranty Damage Code, characteristic ZWR_DMGC is restricted to 838 values. This number is very large and will probably meet with technical limitations""
    The proposed solution is:
    ""Create an external hierarchy for characteristic ZWR_DMGC and group the 838 values in a hierarchy node. You can then work with the node instead of the 838 individual values.
    Alternatively, you can define a corresponding navigation attribute for ZWR_DMGC""
    I know where to create the hierarchy, but I am confused how to only include the values of the applicable IO where pattern contains 'Z7' and 'Z8'.......??
    The following are some of the steps proposed in a related thread, but I am loosing it at step 7.
    5. Confirm your entries. The Maintain Hierarchy screen appears. You can define the structure of a hierarchy here. ok
    6. To create a hierarchy node, you first need to choose an insertion mode: Insert as First Child or Insert As Next Neighbor (see Hierarchy Editing Functions). I selected first child
    7. Choose the type of node you want to create: Text Node, Characteristic Node, <Hierarchy Basic Characteristic Node> or Interval (see Hierarchy Nodes) *this is where I am lost, which should I select to list values with pattern ' *Z7' and ' Z8' in a node or two
    8. Repeat this procedure until the hierarchy structure has been set. For more information, see Modeling Nodes and Leaves.
    A hierarchy can contain 50,000-100,000 leaves at most. If your hierarchy is larger, you should insert a level that is used as a navigation attribute or preferably as a separate characteristic in the dimension table.
    9. You can use Level Maintenance and Hierarchy Attributes to set how the hierarchy is to be displayed and processed in reporting (see Level Maintenance and Hierarchy Attributes).
    10. Save the hierarchy.
    Your assistance will be appreciated.

    Hierarchy not used in this case. Could not fnd an answer.

  • How to create & Assign unique Qualification level and Groups(Each trans.)

    Hi,
    While working on CRM_LEAD i have observed that i cannot create unique Qualification level or Groups/origins for each transactions, if i add one more Qualification level or Groups/origins in existing table it is reflecting in all corroseponding Leads.
    Please tell me how to create seperate Qualification level and Groups/origins for each Transaction, else we can use Authorisation Object for this.
    Please resolve.
    Regurds,
    Dipesh.

    Hi Chirag,
    I've read the following link, but the question is....
    - Where is the link to create transport groups? That is my only question It's as easy as that
    Found it...sorry I knew it was easy
    Edited by: Gonçalo Mouro Vaz on Dec 20, 2007 5:13 PM

Maybe you are looking for

  • Error While Checking In & Storing

    Hi Guru's There are some documents which  are stored in our legacy system.We are trying to transfer documents from legacy to ECC6.0 through java connector. In java program we have done the coding by calling the function module BAPI_DOCUMENT_CREATE2.W

  • Batch activation at FERT

    Dear pp gurus, I need to actibate  batch at finished products level.. At the time of creation of production order , batch is know In the material master MRP2 view,  i have activaed batch managment Please tell me  what batch level i should maintain? P

  • Why can't i log in my iTunes account? My wifi works and when I log in my iTunes it says "cannot connect to iTunes Store"

    Why can't i log in my iTunes account? My wifi works and when I log in my iTunes it says "cannot connect to iTunes Store"

  • DB Links used by Procedures

    Hi All, Can any of you let me know, how can I get the procedures in which a particular DB Link is used.(is there any query for this?) I want to get all the procedure names in which a particular DB link is used. Thanks in advance, Regards RK

  • IPhone 4 update 5.0.1 Repeated Restore

    So I'm successfully updated to 5.0.1 had to restore my phone. However after the restore, none of my apps or music or photo albums are on there. Texts, mail, iCal etc have all the correct settings and data. When I connect to the computer it doesn't gi