SelectOneRadio on a View Table

Hi. I need to make a formulary that has 4 different options per question. The questions are stored on a table in the DB, so, I created a view object based on that table, then on JDeveloper I created a read only table (af:table) and added an extra colum with a af:selectOneRadio.
What I need to do is get the selected value for the selectOneRadio on every question, but I have no clue how to do that. I have managed to get the entire column of the table using
CoreColumn columna = (CoreColumn) tblPreguntas.findComponent("column2"); [where tblPreguntas is the af:table], and then wrote the following line
CoreSelectOneRadio respuesta = (CoreSelectOneRadio) columna.findComponent("selectOneRadio1");
So, I'm not sure it this is the right solution, so any advise would be appreciated!

Hi,
you don't need to write any Java code to do this.
You can do it declaratively using Steve's example here:
Different component but same concept applies.
Brenden

Similar Messages

  • Creating a Maintenance View Table on SE11

    Hi, Experts.  I want to create a Maintenance View Table on SE11 (View option on SE11 and then selecting Maintenance view from the View Type List).  Is there anyone who have a document that will be able to help me create this table or pointers that will help me.
    Thanks for your help.
    Regards

    hi,
    steps are
    Goto SE 11.
    Choose the radio button of Views, give the view name and create.
    Enter the short description and table names for which u want to create view.
    Select the 2nd table-name field and click on relationship button.
    Then goto view fields tab.
    Select the table name and the fields u want to display.
    Save and activate.
    please see this
    steps  to create a view

  • MVC: Create a view which populates two (or more) joined tables in a single view table

    I am beginner in MVC and I would like to create a view which populates two (or more) joined tables in a single view table as described below.
    I have two tables:
    1 - Bloggers: - bloggerID (int);
                        - bloggerName (string)
    2 - Blogs: - blogID (int);
    bloggerID (int);
                    - blogTitle (string);
                    - blogImage (string)
    A blogger can have one or more blogs while one blog must be related to only one blogger.
    I would like to have a view table on my webpage as the following:
    Blogger Name
    Blog Title
    Blog Image
    Noris Gang
    Virus
    virus.jpg
    Noris Gang
    Desktops
    desktop.jpg
    Gauthier
    Books
    books.png
    John Leon
    NNNMHJhjdhj
    Nmbj.jpg
    I'm using MVC 4 (or at least 3).
    Thanks for your help.

    Hello,
    From your description, it is not very clear that what you mean about the View, if it means the View concept in database as SQL Server, your required view should be as below:
    Create view
    as
    Select Bloggers.bloggerName, Bloggers.blogTitle, Bloggers.blogImage
    From Bloggers join Blogs on Bloggers.bloggerID = Blogs. bloggerID
    If it means the UI view in MVC concept, I suggest you could ask it on the MVC forum:
    http://forums.asp.net/1146.aspx
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to edit data from a "View Table"?

    I am importing data from a "table view" where in sql it joins several tables into one view. When I passed it in using the template it doesnt have the "Edit command column" like other direct link tables. Is there anyway I could make a view table editable? Can I manually try to do it or I have to edit the individual ables? thanks

    oh sorry about that.The "template" I mean in HTMLDB when I start building a new application I used "Based on existing tables" method and with single tables it generates everything fine with search fields and edit column to the left. I have a table view that combines about 4 tables together and I used the same template (Based on existing tables) and it has the search and create but it doesnt have the "edit" column on the left. Is there a way I can edit the view table's information so that the other tables that the view combines will be updated/edited?
    The reason is that lets say I dont know this person's ID number but I know his name. I search for his name on table A and it returns some general data including his ID number. Instead of going to another Table B with the person's ID number and edit that table I really want to see the information just from one search (Table A)- if a global search can be implemented that would be great too. Thanks Sergio.

  • Error in creating Transport Request for a view table

    Hello all,
    I have an ECC IDES 6.0 system named EC1 and another one which is ECC EhP4 IDES named EA1 which I have just installed.
    One of my requesters has a view table named ZVAITM_TBLE in EC1 and she wants it to be transported to EA1.
    So I created a workbench transport in SE10 and included the following:
    PgmID = R3TR
    Obj = VDAT
    Object name = ZVAITM_TBLE
    But when I press enter, I encountered the following error:
    No object definition exists for Customizing object ZVAITM_TBLE
    Message no. TK427
    Diagnosis
    The Customizing object R3TR VDAT ZVAITM_TBLE is not defined in the tables of the Change and Transport System.
    This means that you cannot use the Transport Organizer to edit it.
    System Response
    The function terminates.
    Procedure
    First check whether the name of the object is correct. Then you (or the system administrator) should check the object definition, to ensure that the object was created correctly (transaction SOBJ).
    If the object does not exist, then create it or delete it from the request/task.
    I am new to transports so I have no idea how to proceed.
    Please advise.
    Thanks a lot!
    Cha Cha

    Hello Cha,
    Kindly open this custom table using SM30 and try creating a transport request from there.
    Regards
    Vivek

  • Unable to view table list in sql developer

    I am able to connect to the database through sql developer but unable to view tables list.
    Select query is displaying the contents though.
    Any Help ???

    Using SQL Developer, I log in using the owner user id and password. I can see all but one of my materialized views. It was definitely created by the user id I'm logged in as. A query of user_objects in sql+ shows all MVs, including the one that's missing in SQL Developer. If I log in using the same credentials in TOAD, the MV is displayed in the current schema, as I'd expect. The super weird thing is that if I use the previous version of SQL Developer, I see that MV! Any thoughts?
    Edited by: [email protected] on Feb 25, 2009 9:19 AM

  • Business user  needs to view tables with out SE16 access

    Hi ,
    There is a requirement where  business user  ( Data team)    need to view some master and transactional data tables  in  production . But , as per our process , end users will not  be given SE16  access .
    Is there any solution where we can allow the end user  to view tables with out SE16 access ?
    Thanks in advance .
    Thanks .
    Dharma.

    Hi,
    Using Function Module C160_TRANSACTION_CALL you can call any tcode which dont have access..
    Create a report  and call function module and pass se16 to parameter .
    CALL FUNCTION 'C160_TRANSACTION_CALL' "
      EXPORTING
        i_tcode =        'SE16'            " sy-tcode
      EXCEPTIONS
        ILLEGAL_INPUT = 1           "
        INTERNAL_ERROR = 2          "
        .  "  C160_TRANSACTION_CALL
    now create a tcode for this report as ZSE16.,
    hope this helps u.,
    You can also create Data browser ( SE16 ) in report and display as ALV., using Field Symbols and RTTS.
    Thanks & Regards,
    Kiran

  • Using View Tables in SQ01 and SQ02, getting 'Not Authorized to Read Table'

    We are trying to use a SAP Standard View Table (CAUFV) in an SQ01 and SQ02 transaction. Even though there is no Authorization Group assigned to the View we still get "You have no authorization to read table caufv' when running the linked transaction. We tried assigning the CA and KA authorization groups to the role and got the same results. (The tables used to create the View are AFKO and AUKF and thier Authorization groups are CA and KA.) We tried other views and received the same results. Does anyone have any experience with this?

    Hello Chuck,
    There are 2 ways to restrict this
    1: The user should be a part of at least one user group to run the corresponding ABAP query. This automatically restricts the access of the user to specific functional areas, and thus the corresponding underlying logical databases.
    2: The authorization object S_QUERY should be used to give proper authorizations to the user for a query. This authorization object has a field named ACTVT, which can take values 02 for Change, 23 for Maintain and 67 for Translate.
    This value determines whether the user can create and modify the query. The possible authorizations in the object are as follows:
    S_QUERY_ALL          Change, maintain and translate query
    S_QUERY_UPD         Change and Translate

  • Create View table with multiple table

    I want to create View table with relation with multiple tables.
    for ex
    table 1
    mrnno
    mrnqty
    table 2
    mrnno
    issqty
    table 3
    mrnno
    retqty
    want to create view table where i can see the sum (mrnqty), sum(issqty),sum(retqty) group by mrnno
    sandy

    Hi
    CREATE OR REPLACE FORCE VIEW my_view AS
    WITH t1 AS
    (SELECT mrnno,
                      SUM(mrnqty) sum1
    FROM table_1
    GROUP BY mrnno),
    t2 AS
    (SELECT mrnno,
                      SUM(issqty) sum2
    FROM table_2
    GROUP BY mrnno),
    t3AS
    (SELECT mrnno,
                      SUM(retqty) sum3
    FROM table_3
    GROUP BY mrnno)
    SELECT mrnno,
                    sum1,
                   sum2,
                   sum3
    FROM t1,t2,t3
    WHERE t1.mrnno = t2.mrnno
    AND       t1.mrnno = t3.mrnnoCheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • Which views/tables to use for retrieving item information

    Hi All,
    I need to write a PL/SQL procedure for retrieving detailed information for a specified item (given inventory item ID and organization ID). I'm not quite sure which views/tables to us for this.
    I found out that view MTL_SYSTEM_ITEMS_FVL is the underlying view for the Master Item Form (via help / record history menu option). But when looking up in eTRM following warning is described:
    Warning: Oracle does not recommend you query or alter data using this view. It may change dramatically in subsequent minor or major releases.
    The second view I found is MTL_SYSTEM_ITEMS_VL. But when quering for data in this view, it turned out that the view is empty.
    Can anybody tell me for what purposes this view is used?
    Is it the correct way to use one of these views (or any other?) for retrieving detailed item information or should I better define a new query within the procedure using tables such as MTL_SYSTEM_ITEMS_B, MTL_SYSTEM_ITEMS_TL and MTL_PARAMETERS (any others) ?
    Any ideas for that?
    Best Regards,
    Carolin

    Hi Carolin,
    It's usually more efficient to use base tables instead of views. The tables you will actually need will depend on your requirements. Regarding your question about MTL_SYSTEM_ITEMS_VL, it's usually ok to use the _VL views. These typically contain the same information as the base tables plus some logic to get the appropriate translations for fields that can be shown in different languages (for instance, DESCRIPTION). Typical table names you will need could be:
    Item Master: MTL_SYSTEM_ITEMS_B
    Organizations: MTL_PARAMETERS
    Subinventories: MTL_SECONDARY_INVENTORIES
    Units of Measure: MTL_UNITS_OF_MEASURE
    Onhand Quantity: MTL_ONHAND_QUANTITIES_DETAIL
    Material Transactions: MTL_MATERIAL_TRANSACTIONS
    Categories: MTL_CATEGORIES_B, MTL_CATEGORY_SETS_B, MTL_ITEM_CATEGORIES
    If your query didn't return any data, it's probably because the language was not properly setup in your session (check USERENV ('LANG') so see what's the language in your session).
    Hope it helps.

  • Streams on materialized view table vs. local table

    We are in a situation where we temporarily need to implement Streams on several materialized view tables. During development and testing I've noted that a local table with streams implemented on it yields 50% faster performance on apply than the materialized view tables. Can anyone tell me (1) why this is, it doesn't make sense since data is being retrieved from a buffered queue not the tables, and (2) a work around to this to improve performance on the mv tables. Any hellp would be appreciated.

    Can't give you an answer why. I would suggest that you try (1) creating the materialzed views on prebuilt tables and (2) add parallelism to the apply process(es)

  • Updating XML thru view table

    Given the following view table that i created
    CREATE OR REPLACE VIEW PO_DETAIL_VIEW ( PAYLOADID,
    ORDERNUMBER, LINENUMBER, SHIPPEDITEMQTY, COST,
    ORDEREDITEMQTY, ACTION, UOM, DESCRIPTION,
    SKU, STATUS, CURRENCY, PLANNEDRECEIPTDATETIME
    ) AS select extractValue(value(p),'/OrderMessage/MessageHeader/@payloadId'),
              extractValue(value(p),'/OrderMessage/Order/@orderNumber'),
              extractvalue(value(i),'/OrderLine/@lineNumber'),
    extractvalue(value(i),'/OrderLine/@shippedItemQty'),
    extractvalue(value(i),'/OrderLine/@cost'),
    extractvalue(value(i),'/OrderLine/@orderedItemQty'),
    extractvalue(value(i),'/OrderLine/@action'),
    extractvalue(value(i),'/OrderLine/@uom'),
    extractvalue(value(i),'/OrderLine/@description'),
              extractvalue(value(i),'/OrderLine/@sku'),
              extractvalue(value(i),'/OrderLine/@status'),
              extractvalue(value(i),'/OrderLine/@currency'),
              extractvalue(value(i),'/OrderLine/@plannedReceiptDateTime')
    from PURCHASEORDER p, table(xmlsequence(extract(value(p),'/OrderMessage/Order/OrderLine'))) i
    when i executed the following command:
    UPDATE po_detail_view
    SET ORDERNUMBER = '500001' where PAYLOADID='1'
    I get end of file error which disconnect me from my oracle database.
    but when i update my another view table it is fine.
    CREATE OR REPLACE VIEW PO_MASTER_VIEW ( VERSION,
    PAYLOADID, TIMESTAMP, SENDERNAME, SENDERCOMPONENT,
    DOCUMENTREFERENCEID, SINGLETRANSACTION, INDEX0, INDEX1,
    INDEX2, INDEX3, CLOSED, ORDERNUMBER,
    ORDERTYPE, UNIQUEBUSINESSKEY, HANDLINGCODE, BUYERID,
    BUYERPARTYNAME, BUYERROLE ) AS select extractValue(value(p),'/OrderMessage/MessageHeader/@version'),
    extractValue(value(p),'/OrderMessage/MessageHeader/@payloadId'),
    extractValue(value(p),'/OrderMessage/MessageHeader/@timeStamp'),
    extractValue(value(p),'/OrderMessage/MessageHeader/@senderName'),
    extractValue(value(p),'/OrderMessage/MessageHeader/@senderComponent'),
    extractValue(value(p),'/OrderMessage/MessageHeader/@documentReferenceId'),
    extractValue(value(p),'/OrderMessage/MessageHeader/@singleTransaction'),
    extractValue(value(p),'/OrderMessage/MessageHeader/HeaderIndexedAttribute[1]/@content'),     
    extractValue(value(p),'/OrderMessage/MessageHeader/HeaderIndexedAttribute[2]/@content'),               
    extractValue(value(p),'/OrderMessage/MessageHeader/HeaderIndexedAttribute[3]/@content'),
    extractValue(value(p),'/OrderMessage/MessageHeader/HeaderIndexedAttribute[4]/@content'),
    extractValue(value(p),'/OrderMessage/Order/@closed'),
    extractValue(value(p),'/OrderMessage/Order/@orderNumber'),
    extractValue(value(p),'/OrderMessage/Order/@orderType'),
    extractValue(value(p),'/OrderMessage/Order/@uniqueBusinessKey'),
    extractValue(value(p),'/OrderMessage/Order/@handlingCode'),
    extractValue(value(p),'/OrderMessage/Order/Buyer/@Id'),
    extractValue(value(p),'/OrderMessage/Order/Buyer/@PartyName'),
    extractValue(value(p),'/OrderMessage/Order/Buyer/@Role')
    from PURCHASEORDER p
    UPDATE po_master_view
    SET VERSION = '2.0' where PAYLOADID='1'
    i can see that the problem lies with
    table(xmlsequence(extract(value(p),'/OrderMessage/Order/OrderLine'))) i
    is there any better way or solutions to work ard with it?
    Thanks.

    Thanks Mark,
    That's what i suspected the case, will log the itar later when i am free.
    Actually my main issue is that I am using forms 9i to view and edit the view tables that are based on the xml schema. Forms is giving me problem in accessing complicating views.
    I think my only solution is to:
    1)create a custom table updated by the view table.
    2)Create my form block based on custom table.
    3)update the xml data using updateXML() from the custom table.

  • Prvent from the user  deleting specific line in view table

    HI,
    In our Project we have a View Table which user can maintain ,
    the user can change or delete the line (and fields)  in this table.
    what i want is for one line for specific combination in the table to prevent from the user to delete this line ,
    so when he push on change mode and mark the line and push on delete i want to give him a error message that he can't delete this line (because the specific combination ).
    i new for the concept of the PBO PAI....
    so i appreciate any help or suggestions.
    Best regards
    Micheal A

    [Table maintenance Events|http://www.google.com/url?sa=t&source=web&ct=res&cd=4&url=https%3A%2F%2Fwww.sdn.sap.com%2Firj%2Fservlet%2Fprt%2Fportal%2Fprtroot%2Fcom.sap.km.cm.docs%2Flibrary%2Fabap%2FHow%2520to%2520implement%2520Events%2520in%2520Table%2520Maintenance.doc&ei=txFUSdKHKISeNbG1_dQP&usg=AFQjCNF3AI-77PC-MS20vx-ARd4a6zxUfg&sig2=Y_IWbHOsETvyoIrFzPxpCg]
    [SAP help|http://help.sap.com/saphelp_erp2005vp/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/content.htm]

  • View table

    Have anyone use View table for reports?
    I need to join many tables (more than 5) in my query and someone had suggested to use View table instead of trying to join tables.
    Please advise,
    null

    you can use user exits like below
    in before report trigger:
    srw.user_exit('FND SRWINIT');in after report trigger:
    srw.user_exit('FND SRWEXIT');user exits will take care of org id or any other security profiles

  • MSS - Unable to work teamviewer with generic view table iview

    Hi Portal experts !
    I work on a portal migration project from EP5 to EP6 and I have a problem to work together a "teamviewer" iview and a "generic view table" iview.
    The teamviewer displays all my employees and when I click on a employee, the "generic view table" iview must display me his/her career in the company (the iview execute a SAP query with in input the personal ID of the selected employee).
    On EP5, it is working.
    But on EP6, it is not working. I have no error message displayed but it throughs me on the first folder of the test portal role I have created.
    I have used the same templates from EP5 to create EP6 iviews.
    There are few parameters on each iviews, so I don't know where can be the origin of problem :/.
    If you have any clue, it would be great !
    Thanks by advance
    Best regards,
    Nicolas

    I've found the solution: I have to set the "isolation method" property to "Pumped" for the iView which catches the event launched by the teamviewer.
    What is looked strange is that isolation method is deprecated
    Hope that it will help someone on this subject.
    Nicolas

Maybe you are looking for