Edit append to table draw

I have an append to table draw that I need to populate with data when creating document records (draw) using bapi_document_create2.  How can I include the append fields, or at the very least, edit them later, without doing direct table updates.

Hi Andrew,
I had a quick look at bapi_document_create2, but couldn't find a predefined structure for own extensions. But this would be necessary - if there aren't structures for own extensions, you can't populate own (append-) fields.
Anything else as direct table update? Did you add your fields somewhere into a screen? Then BDC would be an option. But there as to be a field-filling somewhere (never had the luck to get content by a standard move-corresponding - especially because append fields start with ZZ) - if no user-exit or anything else provides content for your fields, then there is definitely no other way to direct update.
By the way: as long as you have checked now all possible ways to populate your fields and didn't find something: direct update won't lead to inconsistencies. In case of own append fields (without dynpro connection somewhere), direct update is not much worse as an update of a z-table.
Regards,
Christian

Similar Messages

  • Need custom column widths in Append Text Table to Report

    I need to print reports with tables of different column widths specified for each column, as the contained fields vary in width from just 3 characters in one column to 40 characters in another.  Also we are trying to match the reports generated by a non-labview routine.  In the past I have been able to achieve this by editing the Append Table to Report vi, working my way through the inner hierarchy to replace the DBL numeric COLUMN WIDTH control with a DBL numeric array.  The innermost vi, Set Table Column Width, assigns the numeric to a property node in a for loop, so the change is simple: replace the scalor with an array and enable indexing on the for loop.  Of course, after each Labview upgrade, I've had to go back in and repeat these edits on the overwritten upgraded vi's.  This time there is a problem.  The new version of this toolkit is object oriented, and disturbing these vi's wrecks the class methods in a way I don't understand (mostly because I've had no dealings with object oriented programming) and which cannot be undone.  I recently tried this and after not being able to fix the problem even with phone support, I had to spend the next two days unistalling and reinstalling Labview!  I desperately need a way to achieve this functionality without killing the toolkit, which is used (in its original functionality) by another absolutely critical program.  PLEASE HELP!
    The hierarchy is as follows:
    NI report.lvclass:Append Table to Report (wrap)
    NI report.lvclass:Append Table to Report 
    NI Standard report.lvclass:Append Text Table to Report
    NI Standard report.lvclass:tables
    NI Report Generation Core.lvlibet Table Column Width

    There is a highly relevant thread under discussion here:
    http://forums.ni.com/ni/board/message?board.id=fea​tures&thread.id=429
    You may wish to read it and chime in as it is a discussion of LabVIEW's policy (and possible change in policy for the future) concerning the handling of non-palette VIs between LV versions.
    Rob Hingle wrote:
    > Is that to say NI will not be helping me with this?  Pretty disappointing lack of support, seems
    > like a terrible idea to go to object oriented if even your own application engineers can't figure
    > out such a simple fix.  Gotta give NI a huge thumbs down on this one, thanks for nothing.
    I doubt that it is a simple fix -- our AEs are generally top notch at figuring out solutions for customers -- if it were simple, my bet is they'd have solved it. Asking an AE to work around a bug is different from asking them to rearchitect the toolkit. You are asking them to add a feature that the new version of the toolkit is not
    designed to support. The difficulty in doing this is completely independent of the decision to use LabVIEW classes to implement the toolkit. If any piece of software is not designed with a particular use case in mind, what may be a simple tweak under one design may become a very hard problem under another design.
    In your case, the solution is very straightforward: Use the older version of the toolkit. Any time you create a custom modification of the VIs that ship with LV or one of its toolkits, you should make your own copy and have your VIs link against the copy. LabVIEW promises to maintain all the public functionality version over version. Usually we succeed at that. What we do not promise is to maintain our private implementation of that functionality. It is impossible for LabVIEW (or any other software library) to maintain all of its private internal operations while still continuing any development. Using a copy of the original VIs shields you from having to recode your changes every version (something you've already mentioned is a chore) and it guarantees that functionality that you relie upon does not disappear.
    I hope you are willing to be understanding of this situation and not hold it against the AEs working on this. They try hard to provide excellent customer service, and spend lots of time inventing custom solutions for our users.  This happens to be a situation where the correct fix is not to modify the new toolkit version to do something it wasn't designed to do but to modify your development process so that the problem is solved now and into the future. 

  • Single row editing for multiple tables in a single page

    Hi!
    I have split a table with many many columns into more tables with a lower number of columns. There is an ID column (sequence generated) that is Primary Key common for all tables. Obviously, the relationship between these tables is 1 to 1, so it’s not about having to build master-detail pages.
    What I need now is to edit all these tables in a single page: one single row from each table. The Automated Row Fetch & Automatic Row Processing (DML) processes used for the old table must be replaced by something else.
    Is there a way to use in a single page more pairs of such processes for more tables?
    I want to avoid manually writing processes with lot of PL/SQL code to handle row fetch & update.
    Keep in mind that the page will have an ID item that can be used to identify unique rows in all my tables.
    Thanks,
    Sorin

    I have split a table with many many columns into more tables with a lower number of columns
    IMHO that is a very bad idea. There is nothing wrong with having many columns in a table. If you would like to split them to better "categorize" them, just create views on the table and expose different subsets of the columns.
    I want to avoid manually writing processes with lot of PL/SQL code to handle row fetch & update.
    That is unavoidable given how you have designed the underlying tables.
    You could try creating a view that joins all the tables by the PK and creating a form based on that view. Then write a INSTEAD OF trigger on the view that "doles out" the DML on the view to each of the underlying tables.

  • How to edit and update table control into database?

    I am doing table control. Here are my codes:
    *& Report  ZHERA_TABLE2
    REPORT  ZHERA_TABLE2.
    ***&SPWIZARD: DATA DECLARATION FOR TABLECONTROL 'ZTABLE_CONTROL'
    *&SPWIZARD: DEFINITION OF DDIC-TABLE
    TABLES:   ZHERA.
    *&SPWIZARD: TYPE FOR THE DATA OF TABLECONTROL 'ZTABLE_CONTROL'
    TYPES: BEGIN OF T_ZTABLE_CONTROL,
             NAME LIKE ZHERA-NAME,
             AGE LIKE ZHERA-AGE,
           END OF T_ZTABLE_CONTROL.
    *&SPWIZARD: INTERNAL TABLE FOR TABLECONTROL 'ZTABLE_CONTROL'
    DATA:     G_ZTABLE_CONTROL_ITAB   TYPE T_ZTABLE_CONTROL OCCURS 0,
              G_ZTABLE_CONTROL_WA     TYPE T_ZTABLE_CONTROL. "work area
    DATA:     G_ZTABLE_CONTROL_COPIED.           "copy flag
    *&SPWIZARD: DECLARATION OF TABLECONTROL 'ZTABLE_CONTROL' ITSELF
    CONTROLS: ZTABLE_CONTROL TYPE TABLEVIEW USING SCREEN 1000.
    START-OF-SELECTION.
    CALL SCREEN 1000.
    *&SPWIZARD: OUTPUT MODULE FOR TC 'ZTABLE_CONTROL'. DO NOT CHANGE THIS LI
    *&SPWIZARD: COPY DDIC-TABLE TO ITAB
    MODULE ZTABLE_CONTROL_INIT OUTPUT.
      IF G_ZTABLE_CONTROL_COPIED IS INITIAL.
    *&SPWIZARD: COPY DDIC-TABLE 'ZHERA'
    *&SPWIZARD: INTO INTERNAL TABLE 'g_ZTABLE_CONTROL_itab'
        SELECT * FROM ZHERA
           INTO CORRESPONDING FIELDS
           OF TABLE G_ZTABLE_CONTROL_ITAB.
        G_ZTABLE_CONTROL_COPIED = 'X'.
        REFRESH CONTROL 'ZTABLE_CONTROL' FROM SCREEN '1000'.
      ENDIF.
    ENDMODULE.
    *&SPWIZARD: OUTPUT MODULE FOR TC 'ZTABLE_CONTROL'. DO NOT CHANGE THIS LI
    *&SPWIZARD: MOVE ITAB TO DYNPRO
    MODULE ZTABLE_CONTROL_MOVE OUTPUT.
      MOVE-CORRESPONDING G_ZTABLE_CONTROL_WA TO ZHERA.
    ENDMODULE.
    Screen 1000 codes:
    PROCESS BEFORE OUTPUT.
    *&SPWIZARD: PBO FLOW LOGIC FOR TABLECONTROL 'ZTABLE_CONTROL'
      MODULE ZTABLE_CONTROL_INIT.
    *&SPWIZARD: MODULE ZTABLE_CONTROL_CHANGE_TC_ATTR.
    *&SPWIZARD: MODULE ZTABLE_CONTROL_CHANGE_COL_ATTR.
      LOOP AT   G_ZTABLE_CONTROL_ITAB
           INTO G_ZTABLE_CONTROL_WA
           WITH CONTROL ZTABLE_CONTROL
           CURSOR ZTABLE_CONTROL-CURRENT_LINE.
    *&SPWIZARD:   MODULE ZTABLE_CONTROL_CHANGE_FIELD_ATTR
        MODULE ZTABLE_CONTROL_MOVE.
      ENDLOOP.
    MODULE STATUS_1000.
    PROCESS AFTER INPUT.
    *&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'ZTABLE_CONTROL'
      LOOP AT G_ZTABLE_CONTROL_ITAB.
        CHAIN.
          FIELD ZHERA-NAME.
          FIELD ZHERA-AGE.
        ENDCHAIN.
      ENDLOOP.
    *&SPWIZARD: MODULE ZTABLE_CONTROL_CHANGE_TC_ATTR.
    *&SPWIZARD: MODULE ZTABLE_CONTROL_CHANGE_COL_ATTR.
    MODULE USER_COMMAND_1000.
    Please show me where to put my codes to edit(edit directly on table control fields) and update my table control(using the 'save' button)?

    Hi,
    You have to put the following code in the PBO of screen 1000.This code would make the fields editable to make changes in the table control fields directly.
    Here there are 3 transactions.For create and change transactions, the fields will be in editable mode and for display transaction,they will be non editable mode.
    DESCRIBE TABLE tb_line LINES lin.    " tb_line is the name of the internal table for the table control
      tcl_item-lines = lin.                             '' lin hold the number of lines of the internal table
    CASE sy-tcode.
        WHEN 'ZCREATE09' OR 'ZCHANGE09'.
    ***Checking if the table control is empty or not***
          IF lin NE 0.       
            LOOP AT SCREEN.
    ***To make the screen editable****
              screen-input = 1.
            ENDLOOP.
          ELSE.
            LOOP AT SCREEN.
              IF screen-name CS 'TB_LINE'.
    ****To make the screen non-editable if no values are present in the
    ***table control****
                screen-input = 0.
                MODIFY SCREEN.
              ENDIF.
            ENDLOOP.
          ENDIF.
    Once the fields are edited and the save button is pressed,the entered values have to be populated into the Z tables.The code has to written in the PAI of the screen 1000.Here the values from the work area of the internal table are moved into the Z Table. The code will be.
    LOOP AT tb_line.
        ztm09_ekpo-ebeln = ztm09_ekko-ebeln.  "ztm09_ekko and ztm09_ekpo are the names of the Z Tables.
        ztm09_ekpo-ebelp = tb_line-ebelp.   
        ztm09_ekpo-matnr = tb_line-matnr.
        ztm09_ekpo-menge = tb_line-menge.
        ztm09_ekpo-meins = tb_line-meins.
        ztm09_ekpo-netpr = tb_line-netpr.
        ztm09_ekpo-waers = tb_line-waers.
    *****Update the entries into item table*****
        MODIFY ztm09_ekpo.
      ENDLOOP.
    Reward if helpfull
    Thanks,
    Kashyap

  • Can we Customize Edit User-Defined Table Screen in Fusion Application

    Hi All,
    We have a requirement to add a ADFDI functionality to the 'Edit USer-Defined Table' screen by adding a 'Mass Upload' Button.
    Normally for Some of the screens (Fusion Compensation) i am seeing 'Personalize -> Edit Current Page' Option on Menu items on top. But on 'Edit User-Defined Table' i am not seeing this option in 'Personalize' Menu.
    So the questions is is this screen Customizable in Fusion Application? If So What will be EAR file which we need to use for Customization.
    The screen where we need to add ADFDI Functionality is under 'oracle/apps/setup' path.
    Can anyone point me to the Exact EAR on this and also let me know if we can customize it or not
    Thanks
    Kaja

    Generally the code structure can be observed run-time [url https://blogs.oracle.com/fadevrel/entry/finding_code_artifacts_for_customization]using the composer, however in your case the content comes through a portlet in which case the method does not work as you cannot drill down to the specific region details in the composer. Based on a search through the code I think the regions you are interested are:
    <li>hcmPayroll/userTables/ui/public_html/oracle/apps/hcm/userTables/ui/page/UserTableSearch.jsff --> This is the details page with header "Manage User-Defined Tables"
    <li>hcmPayroll/userTables/ui/public_html/oracle/apps/hcm/userTables/ui/page/ManageUserStructure.jsff --> This is the details page with header "User-Defined Table: <TABLE_NAME>"
    These would presumably be in EarHcmPayroll. I'll see if I can find out how the portlet content can be observed from the RT application..
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Db link not appended to table name

    Hi
    I have no DB link appended to table name in generated
    code when I try to deploy mapping.
    i'm using ODBC source. Object metadata imported
    succefully and valid DB link created.
    the code i get is like this:
    CURSOR "managers_c" IS
    SELECT
    "managers_CONN1"."key_mn" "key_mn",
    "managers_CONN1"."name_mn" "name_mn",
    ROWNUM "ROWNUM_ALIAS$$$"
    FROM "tst"."managers" "managers_CONN1" ;
    I'm using OWB 9.0.4 and Oracle 9iR2 9.2.0.3 on W2K sp3
    thanks

    I would also be interested in the correct way to do this. I think I came up with a work-around, but either there is another way to do this, or there is a bug here.
    Work-around:
    This assumes you've already setup a HS ODBC datasource (Listener, TNSNames, ODBC driver, and config file.)
    Now....when registering your HS ODBC source module in OWB, put in the correct information to make the database link "correct". For instance, the hostname/port should be configured to point to the Oracle instance where the HS ODBC source was setup and the service name should be the name already setup in your TNSNames.ora file for the HS ODBC source.
    When you deploy your target module, this will create a correct DB Link and store it in the target schema you deployed to.
    At this point however, your generated PL/SQL mapping code will not be correct, because the dbLink name is not appended to your sql statements.
    Now, go back and change your source module registration. Change the hostname to be the server name of the actual source database. Change the schema name also to be the schema in the source database. For instance in sql server you might put "dbo" as the schema. I don't think the other input fields matter that much for this workaround.
    Now that you've changed the registration, re-deploy your mapping (but don't re-deploy the "connection" which has your changed registration info.) Now that your registration has a different hostname, the code generator will realize it needs to append the dbLink name to the sql statements. Likewise it appends the schema name ("dbo") to the front since the source and target are in different schemas.
    Your deployment should succeed and be executable. Like I said, this worked for me, but it doesn't seem the correct way to do it. If anyone has the right answer, please advise.
    Regards,
    Dave

  • How do you set the line spacing when using the Append Text Table to Report VI?

    I have a table of numbers which I wish to print using the report generation VI's. Since each column has a different numerical format, I first convert the number for each cell to a string with the appropriate format and then build a string array to pass to the Append Text Table to Report VI. The table is printed with double line spacing. How do I reset this for single spacing?
    Attachments:
    print_array.vi ‏112 KB

    Dave,
    The issue is not with the NI-Reports functionality, but the Array to Spreadsheet String funvtion in the for loop. Here is the context help for this function:
    "Converts an array of any dimension to a table in string form, containing tabs separating column elements, a platform-dependent EOL character separating rows, and, for arrays of three or more dimensions, headers separating pages."
    The thing to note here is that it says it adds an EOL (end of line) character at the end of every row. This is what is happening. Your first column of data has a \r\n in it and adds the second row to each data item. This in turn makes the rest of the columns have a larege blank space at the bottom so that all of the cell heights are equal. I w
    ould re-write that little bit of code so that you just do one large string concatenation of number, spaces, number, spaces, number and this should solve your issue.
    Thank you for using the Developer Zone Discussion Forums.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • What is the link between the tables DRAW and MARA

    Hi,
    Can you tell What is the link field between the tables DRAW and MARA
    Nagesh

    Hi,
    There is no direct relationship. But you can find the materials attached as object liink to the document in table DRAD.
    Hope it helps,
    Rajat

  • Editable columns in table control?

    Hi Gurus,
    I am using table control. When I click one button(Add Structure ) i am creating table rows with data, example it creates 3 rows everytime on click on this button. But coming to colmns, for first row i want first 2 columns are in edit mode, in 2nd row 3, 4th colms are in edit and in 3rd row last 2 cols are in edit mode.
    For this i searched in this form i got some solution, i applied that but i am getting first row all columns in edit mode.
    I tried like this ... I created 3 attributes INV1, INV2,INV3 of type wdy_boolean in node. binded with enable property first 2 cols to INV1 like that. and on ADD_STRUCT button action code like this.
      DATA lo_nd_structure TYPE REF TO if_wd_context_node.
      DATA lo_el_structure TYPE REF TO if_wd_context_element.
      DATA ls_structure TYPE wd_this->Element_structure.
      data lt_structure type wd_this->Elements_structure.
    navigate from <CONTEXT> to <STRUCTURE> via lead selection
      lo_nd_structure = wd_context->get_child_node( name = wd_this->wdctx_structure ).
    ls_structure-month1 = First Month.
    APPEND ls_structure TO  lt_structure.
    ls_structure-month2 = Sec Month.
    APPEND ls_structure TO  lt_structure.
    ls_structure-month3 = Third Month.
    APPEND ls_structure TO  lt_structure.
    lo_nd_structure->bind_table(  new_items  =   lt_structure    set_initial_elements = abap_false ).
      DATA DIS1 TYPE WDY_BOOLEAN.
      DATA DIS2 TYPE WDY_BOOLEAN.
      DATA DIS3 TYPE WDY_BOOLEAN.
      DIS1 = ABAP_TRUE.
      DIS2 = ABAP_FALSE.
      DIS3 = ABAP_FALSE.
      lo_nd_structure->set_attribute(
       name =  `INV1`
      value = DIS1 ).
      DIS1 = ABAP_FALSE.
      DIS2 = ABAP_TRUE.
      DIS3 = ABAP_FALSE.
      lo_nd_structure->set_attribute(
       name =  `INV2`
      value = DIS2 ).
      DIS1 = ABAP_FALSE.
      DIS2 = ABAP_FALSE.
      DIS3 = ABAP_TRUE.
      lo_nd_structure->set_attribute(
       name =  `INV3`
      value = DIS3 ).
    ENDMETHOD.
    Thanks,
    Madhan.

    Hey Madhan,
    Try is like below.
    DATA lo_nd_structure TYPE REF TO if_wd_context_node.
    DATA lo_el_structure TYPE REF TO if_wd_context_element.
    DATA ls_structure TYPE wd_this->Element_structure.
    data lt_structure type wd_this->Elements_structure.
    * navigate from <CONTEXT> to <STRUCTURE> via lead selection
    lo_nd_structure = wd_context->get_child_node( name = wd_this->wdctx_structure ).
    ls_structure-month1 = First Month.
    ls_structure-INV1 = ABAP_TRUE.
    ls_structure-INV2 = ABAP_FALSE.
    ls_structure-INV3 = ABAP_FALSE.
    APPEND ls_structure TO lt_structure.
    ls_structure-month2 = Sec Month.
    ls_structure-INV1 = ABAP_FALSE.
    ls_structure-INV2 = ABAP_TRUE.
    ls_structure-INV3 = ABAP_FALSE.
    APPEND ls_structure TO lt_structure.
    ls_structure-month3 = Third Month.
    ls_structure-INV1 = ABAP_FALSE.
    ls_structure-INV2 = ABAP_FALSE.
    ls_structure-INV3 = ABAP_TRUE.
    APPEND ls_structure TO lt_structure.
    lo_nd_structure->bind_table( new_items = lt_structure set_initial_elements = abap_false ).
    ENDMETHOD.
    Thanks
    sarbjeet singh

  • How to Edit a general table

    Hi Experts,
    In my requirement am working on general DML operations i need help for editing a selected record. Please help me.
    Thanks,
    Sandy.

    Hi Sandy,
    I think you have table ready to change values.. change your table rows.
    create one button save.. SAVE. in on action of that button.
    Use code wizard to read table. and code like this.. for example
    LOOP AT lt_segment1 INTO ls_segment1.  //
          wa_segment-person      =   level1.
          wa_segment-cdate       =   ls_level-date.
          wa_segment-dealer_code =  lv_dealer_code.
          wa_segment-dimension   =   ls_segment1-segment.
          APPEND wa_segment TO it_segment.
        ENDLOOP.
        MODIFY zwd_apo FROM TABLE it_segment.
      // To modify data from internal table to database table.
    Cheers..
    Kris.

  • Inconsistency when appending a table

    hi
    i did an append in a standard table because of some requirement
    lets say i append with field name XXXX
    but when i go the se11 and input xxxx NE space (this should return me all field where xxxx is empty) i get 30 record
    and when i go the SE11 and select same thing without putting any condition in xxxx (this should again return me all field where xxxx ie empty ) i get 100 record
    what i discover is that in SE14 and do a check in the database the field XXXX not null and default value has not been assign anything . 
    This i get inconsistencies when selecting record .  anyone encounter this problem before please advise

    i tried but i got the message
    "No authorization for action: CNV with object:"
    and the action got cancel.  may be i don't have enough rights to do so.  is there any other way

  • 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

  • Need to render the edit button when table is not Empty

    Hi,
    I want to render the edit button , only when we have some records in the table to select.so is there a way to check the view is empty or has some records in the backing bean of my page.Please suggest me,if u have some deas which would work..
    thanks in advance

    Hey guys,I just did that and it is so simple.I just wanted to share it with u guys.It is all the power of EL language.
    For the rendered property of the Edit button ,Bind it to the iterator like (bindings.SatAppliViewObj1Iterator.currentRow!=null).thats it, now the button will only be rendered if the table has some records.Have a lot of facilities ,but no proper giude to enunciate them...So guys please keep sharing ur experiences with us ..
    Message was edited by:
    user526927

  • Dropdown editable in a table based on a condition

    Hi,
    I would like to know how to solve these problems.
    1. I have a cell (of the type dropdown by key) in a table, which is editable or not, depending on a condition ? Is this is possible? Please let me know if there is a sample code
    2. So basically I have a  table that has 2 entries in it, user details and one of the fields in FLAG showing the values Yand N for the user. I want the table in the webdynpro application to show the 2 user entries and then in the Flag column have a DROPDOWNBYKEY that DEFAULTS to showing what flag the user has, but also allows the user to CHANGE the entry.
    Thanks in advance
    I appreciate for the help.

    is possible
    In your Context node which is binded to the table as DataSource, add an attribute WDY_BOOLEAN type
    In layout bind the newly created attribute to the dropdown UI element Enable property
    while filling your context node, fill the attribute with abap_true and abap_false based on your condition
    Abhi

  • How to stop editing in a table cell

    i m using JTextArea as renderer and editor for table cell. While editing i want to stop editing in that cell at some perticular instance. i have used stopCellEditing() function on TableCellEditor but still the Caret does not goes away and when i press any key it still types that character at that place. I want to hide the Caret and do not want any character to print in the cell after calling stopCellEditing().

    What you have already done, and the resulting behavior is unclear from your post. Post more details.

Maybe you are looking for

  • Documentation for SalesCloud and Rightnow integration.?

    Documentation for SalesCloud and Rightnow integration

  • Waiting in host spooler

    We are facing some printing prob: SAP Output blocks on printer LJ06 frequently: waiting in host spooler SAP Output blocks on printer LJ06 frequently (= every day, more then 1 time). This for output sent from several transactions (= not only or every

  • Mass change file permissions

    Long story but basically a couple of months ago one of my logins just suddenly dissapeared. Would not let me in with that user name...no good. Was still able to access the files going through the root, but when I created a new login I was unable to a

  • When switching spaces application menu is not showing

    I'm not sure the is a Snow Leopard specific problem, but I have certain applications assigned to certain spaces. When I switch to a space for that application and it has an open document, everything is fine. But if I close all of the document windows

  • LP9 bug w/ USB DAC

    We have a session w/ audio recorded in at 88.2 and all LP9 audio settings set appropriately. In the Audio MIDI Setup, we have an M-Audio 610 (firewire) front end and a Benchmark DAC1 Pre (USB) back end. In playback, the M-Audio is without issue at 88