Custom Table View

Hi,
I want to provide more than three component in the table view.
Two images/Icons (Left Side), Text with Subtitle, Text (Date and Time at right-hand side)and Detail Disclosure button.
How can i create this with the custom table view?

This is an end-user forum. You need
http://devforums.apple.com

Similar Messages

  • No accessory view in custom table view cells.

    Hello Everyone,
    I have been having problems with my accessory views in my custom cell views. I am expecting that the accessory views will show up by only setting the accessoryType property correctly. Below is a link to my class for the custom cell view. I am setting the accessoryView to UITableViewCellAccessoryDetailDisclosureButton.
    I didn't know how to paste code in here, so I have pasted my code here: http://pastebin.com/m3ba5d9de
    Thanks again,
    Uday

    Hi
    View is always a better option..using a view you can avoid the naming convention problems associated with fields or Table names.
    Thanks
    -Rajesh

  • Save functinality for a zcomponent (table view)

    Hi ,
    I have created a zcomponent with a table view in it.
    i have include the zcomponent(table view) in BP page.
    Now when i press on save button of BP page ,i need to save the data entered in the custom table view.
    so i need to redefine the save evenet (which is there in bp_head).
    How could i access the conents of table view in bp_head?
    thanks,

    The ideal code should look like this .. where BUILHEADER is the context node in the component controller
    and PARTNER is the context node in the custom component. Remember that the context node name in '' should match the exact name as it is declared in the method create_++++++ method. check in debugging if binding works.
    e.g.
    lr_model = owner->create_model( class_name = 'CL_BT112H_S_BSPWDCOMPONEN_CN01'
                                      model_id   = 'BTAdminH' ). "#EC NOTEXT
    wd_usage code should be like this.
      CHECK iv_usage IS BOUND.
      CASE iv_usage->usage_name.
        WHEN 'CU_ZBTV2'.
          iv_usage->bind_context_node( iv_controller_type  = cl_bsp_wd_controller=>co_type_component
                                       iv_target_node_name = 'BUILHEADER' "
                                       iv_node_2_bind      = 'PARTNER' ).
        WHEN OTHERS.
          CALL METHOD super->wd_usage_initialize
            EXPORTING
              iv_usage = iv_usage.
      ENDCASE.
    if binding is success. go the save method
    access the component controller code like this
    data: lv_comp_controller type ref to CL_BSP_WD_COMPONENT_CONTROLLER." u might have to change this to refer to the zclass of the comp controller.
    lv_comp_controller ?= me->COMP_CONTROLLER.
    then access the partner context node of the comp controller like below
    lcl_ent ?= lv_comp_controller->typed_context->partner->collection_wrapper->get_current( ).

  • Registering db objects (tables , views , e.t.c)

    Hi,
    Having connected with a Developer Responsibility , i see a submenu of "Database" which contains the menu entries "Tables" , "Views" , "Sequences"...
    When these functions are used....????In order to define/register custom tables,views,sequences with the Application Object Libraries....???
    If yes , is it required to ...and under which circumstances...???
    Somebody developed some custom form modules/reports using custom db objects which have not been registered...!!!
    Note: I use EBS 11.5.10.2
    Thanks , a lot
    Sim

    Registration is not necessary in order for your custom developments to work. However, if You are planning on using certain standard functionality (i.e. flexfields, attachments) on your custom objects, you'll need to register some of the information.

  • Addition of a custom column in a table view

    Hi all,
    I want to add a custom column in a table view. Kindly tell me if this is possible.
    Regards,
    Vivek Pandey

    Hi Vivek,
    This can definately be done....you will have to declare and iterator and in the GET_COLUMN_DEFINITIONS, declare the column name....
    Referr to blogs :
    <a href="/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator Basics</a>
    and
    <a href="/people/thomas.jung3/blog/2004/09/15/bsp-150-a-developer146s-journal-part-xi--table-view-iterators Iterator.</a>
    The second blog shows how to insert a icon, which is an extra column...
    Hope this helps.
    <b><i>Do reward each useful answer..!</i></b>
    Thanks,
    Tatvagna.

  • Maintenance View for custom table with foreign key relationship

    Hi Folks,
         I have created a custom table with foreign key relationship with other check tables. I want to create a maintenance view / tablemaintenance generator. What all things I need to take care for the foreign keys related fields while creating the maintenance view / tablemaintenance generator.
    Regards,
      santosh

    Hi,
    You do not have to do anything explicitely for the foreign key relationships in the table maintainance generator.
    Create the table maintainance generator via SE11 and it will take care of all teh foreign key checks by itself.
    Regards,
    Ankur Parab

  • Adding custom fields to table view assignment block

    Hi All,
      I want to add two news fields to 'Service Contract Item Level' in 'Object List' assignment block. How can i add these two custom fields to table view assignment block using AET. I have tried to add new fields using AET but there is no business object supports to my requirement.
    Thanks & Regards
    Nitish

    Hi Nitish,
    As naveen sadid use Cutomer_i object . I guess it will be more appropriate.
    And following link will be helpful for AET creation.
    CRM 7.0 How to --4 Adding Custom Fields With The New Application Enhancement Tool (AET)
    Regards
    Loks

  • Creating 2 table maintainance views for one custom table

    Hello All,
    I want to create 2 table maintainace views for one custom table.
    I know how to create table maintainace but I want to know whether we can create only one maintainance view or we cal also create 2 maintainace views for a single custom table.
    Regards
    Mahesh

    Hello,
    You can create as many maintenance views one one table as you want.
    Kind regards,
    Bart

  • How to find T-CODES for maintenance view of custom tables?

    Hi,
    I have a list of custom tables for which maintenance view is generated. Also, many of them might have a T-Codes assigned to them.
    I need to know how to find out these T-codes?
    Is there some table which maintains these or a function module which can give the t-code name?
    Help will be appreciated.
    Thanks.
    Shreyas

    Hi shreyas,
    1. one way is
    2. goto se93
    3. Press Ctrl F
    4. Expand the search criteria (from button on toolbar)
    5. In program name enter SAPMSVMA (This program is for sm30)
    6. In transaction code enter Z*  or Y*
    regards,
    amit m.

  • MSS custom query restrictions (table/view/join)

    Dear all,
    We are currently trying to integrate a sap query which also gathers data from event management. This query is based on an infoset and a table view and not on a logical database.
    When executing the query within the portal (generictableview iview) we get the error message "No data records found". While debugging the function module HR_INFO_GET_USING_QUERY which is called here we found out that the error message is generated because no logical database is retrieved.
    Therefore my question is: are mss queries in portal restricted to queries which are based on logical databases only or can we create and use queries in portal which are based on table/views/joins?
    Any help on this issue is greatly appreciated!
    Thanks already very much in advance,
    Helga

    Hello MIG,
    I am still searching and I have not found a solution yet.
    Interestingly enough the query can be executed without any problems in R/3 but not from the portal iView. Therefore I am wondering if it is only a restriction on the MSS side.
    @forum users: did anyone of you face this problem and has a solution to it?
    Thanks very much for any input on this!
    Kind regards,
    Helga

  • Hide data in a table view

    Hi,
    I need to hide data in a table..Only column headers required to display.. I tried by (display column headers only) in view..It is showing only column header in the view ..But when iam displaying the table in dashboard it displays data also..another approach i took is to hide data from column properties ...Custom css display:none.. it is working fine..But the thing is it will not display data in other views also.I need to hide data only in table view..any helps will be appreciated.. Thank you

    Hi Aswin,
    Try this....
    Take columns twice and first set which is use in table view (use display:none)
    and second set use in pivot table and exclude first set columns........
    Cheers,
    Aravind

  • How to find the Table from which a Custom table is created.

    Hi Gurus,
    I have a custom table in SAP and want to figure how that has been created. How can I do that?
    Regards
    Prashant

    Hello Prashant,
    what do you mean by "how"?
    When you say custom table do you mean "Customization table" or a "Customer table" (in namespace Z... or Y...)
    Anyway, you can access SE11 transaction, view the table and then check its attributes.

  • Help needed with conditions in Table View

    Another question regarding the dashboard we are building:
    We use a custom function module to display marketing attributes for a particular customer. There are three kinds of marketing attributes of which we want to display the value:
    - Z_QUADRANT
    - Z_SOW
    - Z_WALLET
    If I use the function module as a data service in Visual Composer and use a standard table view as ouput, we get these kind of output:
    Atnam - Atwrt - Atflv - Atzhl (<-- these are the column labels)
    Z_QUADRANT - 4 - 0 - 0
    Z_SOW - 0 - 5 - 0
    Z_WALLET - 0 - 75.000 - 0
    I just want to display the data as follows:
    QUADRANT: 4
    SOW: 5%
    WALLET: 75.000
    So I need to hide the obsolete fields and values and just need to display the relevant values. How can I achieve this? I was guessing I needed to implement some sort of conditional formula like "IF atnam = Z_QUADRANT, display Atwrt(value)" or something, but I am terrible at these kind of things. Can somebody explain it to me or point in the right direction of some good documentation or guide on this? Thanks in advance!
    Best regards,
    Jan Laros

    I now chose to use a form which uses the output from the tables. This is the table I use as input for the form:
    http://tweakers.net/ext/f/DWmYaePz4gdzVhwMJ3naA5UQ/full.jpg
    I use the following formula for the quadrant:
    IF(@ATNAM=="EU_BP_NPS_QUADRANT",@ATWRT,"0")
    This returns a value of "4" which is correct.
    For SOW I use the following formula:
    IF(@ATNAM=="EU_BP_NPS_SOW",@ATFLV,"WRONG")
    Strangely enough the return value is "WRONG" in the form. What am I missing here?
    Regards,
    Jan

  • How to enable the DFF in OAF page(where Dff is based on the custom table).

    Hi Experts!!
    I am in the process of enabling the dff in OAF page. I am not able to enable the dff if am using the Custom table.
    Ex:
    Assume that my DFF XX_DFF is using the custom table XX_TABLE of att1,att2..
    I am able to enable the dff in OAF page but not able to make those values entered to get stored in the custom table.
    I need helping hands to help me out to get the entered dff values stored in my custom table.
    Kindly provide me the steps so that I can follow up..
    Best wishes,
    Thiru.

    Hi,
    thiru_apps wrote:
    I need to store the captured values of Dff(which was enabled in the seeded page based on the custom table XX_Table) and the same needs to be stored into the custom table xx_Table.
    Basically the entered values for the DFF enabled should have to be get stored in the XX_TABLE(Custom TAble).As per my understands in Standard page u want create some extra fields and those should be save in custom table...is it ...
    For that u r going create stack layout region in standard page via personalization and extend with custom region.
    IF im geting u correctly u need to write code in co and am.
    ---U had already created the components eo vo AM co...
    ---For the custom region in Jdev do the mapping of viewInstacne and view attribute properties for the fields.
    ---In AM:
    public void CreateVo(OAPageContext pageContext, OAWebBean webBean)
    Row hrow;
    OADBTransaction tr=getOADBTransaction();
    EOVOImpl vo=getEOVO1();
    if(!vo.isPreparedForExecution())
    vo. executeQuery();
    hrow=vo.createRow();
    vo.insertRow(hrow);
    hrow.setNewRowState(Row.STATUS_INITIALIZED);
    public void savetr()
    OADBTransaction tr=getOADBTransaction();
    tr.commit();
    In Co ProcessREq:
    AMImpl AM=(AMImpl)pageContext.getApplicationModule(webBean);
    AM.CreateVo(pageContext, webBean);
    In Co ProcessFormREq:
    ---GEt the event of the save button of the standard page
    if(pageContext.getParameter("save")!= null)---DI of the standard page
    AM.savetr(pageContext, webBean);
    Regards
    Meher Irk

  • How to make a single row as editable in a table view?

    Hello Friends,
    As per the requirement,i have created a new table view with table row level actions. But I am able to achieve the delete functionality. But for edit action, if i lock the corresponding entity also it is not becoming as edit.
    Let me know any ideas to achieve this??
    Thanks in Advance.
    Regards,
    Ravi

    Hi Raviteja,
    In your row level buttons if you want to edit a row you have to fallow this steps..
    1) get the selected record by using index.
    2) get the action mean which action you want to perform ( edit or delete like).
    3) lock the current entity.
    4) get the custom or comp controller instance based on get the current record.
    5) edit the row..
    sample code for this..
    DATA:
         lv_index          TYPE int4,
         lr_current        TYPE REF TO if_bol_bo_property_access,
         lr_entity         TYPE REF TO cl_crm_bol_entity,
         lv_event          TYPE string,
         lv_dummy          TYPE string,
         lr_core           TYPE REF TO cl_crm_bol_core,
         lv_one_click_lock TYPE sysubrc,
         lr_col            TYPE REF TO if_bol_bo_col,
         lr_coco           TYPE REF TO component ctrl class name (impl class),
         lr_cuco           TYPE REF TO custom cntrl class name ( impl.)
       CALL METHOD cl_thtmlb_util=>get_event_info
         EXPORTING
           iv_event = htmlb_event_ex
         IMPORTING
           ev_index = lv_index.
       CHECK lv_index IS NOT INITIAL.
    * Get the current entity
       lr_entity ?= me->typed_context->urcnode->collection_wrapper->find( iv_index = lv_index ).
       CHECK lr_entity IS BOUND.
    * Get the action clicked on
       SPLIT htmlb_event_ex->event_defined AT '.' INTO lv_event lv_dummy.
    * Try to lock the current entity
       lv_one_click_lock = cl_crm_uiu_bt_tools=>set_one_click_lock( me->typed_context->cnode->collection_wrapper ).
       CASE lv_event.
    *   Edit the current Partner
         WHEN 'EDIT'.
           IF lv_one_click_lock <> 2 AND lr_entity->is_send_active( ) = abap_true.
             lr_coco ?= me->comp_controller.
             CHECK lr_coco IS BOUND.
             lr_current = lr_coco->typed_context->cnode->collection_wrapper->find( iv_bo = lr_entity ).
    *       if entity is not yet there: add it to component controller collection
             IF lr_current IS NOT BOUND .
               lr_coco->typed_context->cnode->collection_wrapper->add( lr_entity ).
               lr_current = lr_coco->typed_context->cnode->collection_wrapper->find( iv_bo = lr_entity ).
             ENDIF.
             CHECK lr_current IS BOUND.
             lr_cuco ?= me->get_custom_controller( 'compname/cnameCuCo' ). "#EC NOTEXT
             lr_cuco->typed_context->cnode->on_new_focus( lr_current ).
             me->set_editable( ).
           ENDIF.
    if this is not work then go through this link..
    OCA edit button problem
    Thanks & Regards,
    Srinivask

Maybe you are looking for

  • IPhone 3GS MMS not sending

    I just upgraded my iPhone to IOS 6 and my only current issue is that that device is unable to send picture messages. My iPad works fine and is able to send pictures between the two via iMessaging however AT&T says it's an apple issue and they have no

  • Calculator Too Small

    Hi Gurus I love my new iMac but the calculator looks ridiculously tiny on this gigantic screen. Is there another ap I should use or is there a way to make the calculator bigger??

  • Puzzling HDMI Audio behaviour

    Hi all I have a 2010 model 13" Mac Book Pro and a no-name mini display port to HDMI cable adaptor. I could understand if there was no audio at all, even though the adaptor claims to carry the audio. However the behaviour I do see is this: The video o

  • Physical inventory/stock taking, Asset tracking

    Hello, I am trying to understand how asset labelling, tracking and physical inventory (stock taking) can be done using handheld devices directly on SAP. Pls let me know any leads/information. Thanks, SD

  • Alert management in SRM

    Hi, We are trying to configure alert management in SRM. Our requirement is to send an alert when ever a PO is approved/rejected/changed. We have maintained the Event Schema in the transaction type. Maintained the Event Schema for the events "Created"