How to add new entry, in table on button click.

i have 2 input ,witch i am taking from numeric controls. this 2 input are use to calculat my output.
on button click i want these 4 things should go in the table.
now my problem is when i click the button previous entry in the table get lost...
plz help me to slove this problem.

When you want to preserve the existing values in a table or array, you need to use "Array -> Build Array". Wire the local variable of the table or array to top entry, and wire your new entry to the bottom. Depends on the dimension of the array and the postion you want to add. You might need to some array manupilations. Try out some of the array VIs to see how they work.
Joe

Similar Messages

  • How to add new field to table control data not displayed

    hi
    I have added some nwe fields to already existing table control added three new fields...
    though the recoreds are inserted in teh table properly with the three new fields user id data and time fields
    but on display only the data is not shown in these three columns though the data is coming in internal table...but not to the screen output
    pls suggest where the problme may be
    nishant

    First try the small button Configuration on top right of the table control, as displayed when you run the program. Hit 'Administrator' and see if the fields are checked as invisible. Uncheck them, activate and save.
    If the fields are not in that list at all, then check if the table control is initialized for the screen you use. For example
    CONTROLS: tc_ent_lines TYPE TABLEVIEW USING SCREEN '0100'.
    but you copied your screen and use the same table control in the new screen 0200. Then all you have to do is
    REFRESH CONTROL 'TC_ENT_LINES' FROM SCREEN '0200'.
    before you show the screen.

  • How to focus new Entry in Table?

    Hi Brothers,
    in my application there is a Table UI Element and a "New" button. The New button creates a new element at the end of the table.
    The problem is, if there are 20 or more rows in that table, the user cannot see the new row. he would have to scroll to the end of the table first.
    Is there a way to "focus" that new row? What I mean is an action or something that goes to the end of tha table and shows the new row?
    Thanks, Johannes

    Hi,
    As Lakshmi Narayana said you can do like the above.
    But there is a small Modification to it.
    Instead of this Line
    wdContext.node<TableNode>().setLeadSelection(wdContext.node<TableNode>().size()+1);
    you write the below Line
    wdContext.node<TableNode>().setLeadSelection(wdContext.node<TableNode>().size()-1);
    With Regards,
    Roop Kumar.
    Edited by: Roop kumar Annavarapu on Sep 2, 2008 4:25 PM

  • How to add new entry of a sandbox solution to Office 365 standard menu

    Hi,
    I have created a sandbox solution for office 365. I want that web part to be accessed from SharePoint Standard menuitem.
    It should be next to Add an App.How could i do that?

    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="----"
    GroupId="SiteActions"
    Location="Microsoft.SharePoint.StandardMenu"
    Sequence="2000"
    Title="====Project"
    Description="Create Project">
    <UrlAction Url="~site/SitePages/=-=-=.aspx"/>
    </CustomAction>
    </Elements>

  • How to add new T Code FB01L in OBU1

    Dear Expert,
    How to add new T Code FB01L in OBU1
    Regards,
    Alok

    Hi, Alok.
    It is not possible to add new entries to table TSTCP via transaction OBU1 (you can only modify the default parameters for the existing transactions).  However, new default parameters for other transactions can be created via transaction SE93 (trans F-44).  You can review notes 19798 and 310587 for further information.
    I hope this helps.
    M Trein

  • How to add new data entry and display old data in the same screen in SM30?

    Hi, Experts:
    We need to use SM30 to maintain a table entry. When I click the button of "New Entries", the table screen becomes blank. I can only add new data but not be able to see the old data existing in the table.
    How can I have the new line available for me to add new data at the same time see the data currently existing in the table?
    Thanks,
    Jenny

    Hi, thanks for the reply!
    Just to follow up for what we did to disable the delete function for maintaining table records. We hided the Delete button by adding a "MODULE disable_delete" code in Screen Painter. So now only adding records to the table is allowed.
    Thanks,
    Jenny

  • How to add the entries and how to delete the entries from custom Z-table?

    Hi Experts,
    My requirement is I need to add the entries from program to three custom z-tables . Assume as zabc1,zabc2,zabc3.
    Here how to add the entries from program to Z-table.???
    And one more requirement is I want to provide a deletion checkbox in selection screen . Initial it was unchecked. If I am giving tick mark then the entries should be deleted from above custom Z-tables. this all will done in backgroung job?
    Could you please guide me the logic how to crack this???
    Let me know if you need more Info
    Thanks
    Sanju

    Hi Sanjana,
    What you can do is to use the ABAP keyword INSERT or MODIFY to add or modify records to a given database table. Here are the syntax taken from SAP documentation:
    *Insert Statement
    INSERT dbtab
    Syntax
    INSERT { {INTO target VALUES source }
           | {     target FROM   source } }.
    Effect
    The INSERT statement inserts one or more rows specified in source in the database table specified in target. The two variants with INTO and VALUES or without INTO with FROM behave identically, with the exception that you cannot specify any internal tables in source after VALUES.
    System Fields
    The INSERT statement sets the values of the system fields sy-subrc and sy-dbcnt.
    sy-subrc Meaning
    0 At least one row was inserted.
    4 At least one row could not be inserted, because the database table already contains a row with the same primary key or a unique secondary index.
    The INSERT statement sets sy-dbcnt to the number of rows inserted.
    Note
    The inserted rows are finally included in the table in the next database commit. Up until this point, they can still be removed by a database rollback.
    *Modify Statement
    MODIFY dbtab
    Syntax
    MODIFY target FROM source.
    Effect
    The MODIFY statement inserts one or several lines specified in source in the database table specified in target, or overwrites existing lines.
    System fields
    The MODIFY statement sets the values of the sy-subrc and sy-dbcnt system fields.
    sy-subrc Meaning
    0 At least one line is inserted or changed.
    4 At least one line could not be processed since there is already a line with the same unique name secondary index in the database table.
    The MODIFY statement sets sy-dbcnt to the number of processed lines.
    Note
    The changes are transferred finally to the database table with the next database commit. Up to that point, they can be reversed using a database rollback.
    Hope it helps...
    P.S. Please award points if it helps...

  • How to add new field into dynamic internal table

    Hello Expert.
    how to add new field into dynamic internal table.
    PARAMETERS: P_TABLE(30).    "table name
    DATA: I_TAB TYPE REF TO DATA.
    FIELD-SYMBOLS: <TAB> TYPE standard TABLE.
    *Create dynamic FS
    create DATA I_TAB TYPE TABLE OF (p_table).
      ASSIGN I_TAB->* TO <TAB>.
    SELECT * FROM (p_table) INTO TABLE <TAB>.
       here i want to add one more field into <TAB> at LAST position and my 
       Field name  =  field_stype     and
       Field type    =  'LVC_T_STYL'
    could you please helpme out .

    Hi,
    Please find the code below.You can add the field acc to your requirement.
    Creating Dynamic internal table
    TYPE-POOLS: slis.
    FIELD-SYMBOLS: <t_dyntable> TYPE STANDARD TABLE,  u201C Dynamic internal table name
                   <fs_dyntable>,                     u201C Field symbol to create work area
                   <fs_fldval> type any.              u201C Field symbol to assign values 
    PARAMETERS: p_cols(5) TYPE c.                     u201C Input number of columns
    DATA:   t_newtable TYPE REF TO data,
            t_newline  TYPE REF TO data,
            t_fldcat   TYPE slis_t_fldcat_alv,
            t_fldcat   TYPE lvc_t_fcat,
            wa_it_fldcat TYPE lvc_s_fcat,
            wa_colno(2) TYPE n,
            wa_flname(5) TYPE c. 
    Create fields .
      DO p_cols TIMES.
        CLEAR wa_it_fldcat.
        move sy-index to wa_colno.
        concatenate 'COL'
                    wa_colno
               into wa_flname.
        wa_it_fldcat-fieldname = wa_flname.
        wa_it_fldcat-datatype = 'CHAR'.
        wa_it_fldcat-intlen = 10.
        APPEND wa_it_fldcat TO t_fldcat.
      ENDDO. 
    Create dynamic internal table and assign to FS
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = t_fldcat
        IMPORTING
          ep_table        = t_newtable. 
      ASSIGN t_newtable->* TO <t_dyntable>. 
    Create dynamic work area and assign to FS
      CREATE DATA t_newline LIKE LINE OF <t_dyntable>.
      ASSIGN t_newline->* TO <fs_dyntable>.
    Populating Dynamic internal table 
      DATA: fieldname(20) TYPE c.
      DATA: fieldvalue(10) TYPE c.
      DATA: index(3) TYPE c. 
      DO p_cols TIMES. 
        index = sy-index.
        MOVE sy-index TO wa_colno.
        CONCATENATE 'COL'
                    wa_colno
               INTO wa_flname. 
    Set up fieldvalue
        CONCATENATE 'VALUE' index INTO
                    fieldvalue.
        CONDENSE    fieldvalue NO-GAPS. 
        ASSIGN COMPONENT  wa_flname
            OF STRUCTURE <fs_dyntable> TO <fs_fldval>.
        <fs_fldval> =  fieldvalue. 
      ENDDO. 
    Append to the dynamic internal table
      APPEND <fs_dyntable> TO <t_dyntable>.
    Displaying dynamic internal table using Grid. 
    DATA: wa_cat LIKE LINE OF fs_fldcat. 
      DO p_cols TIMES.
        CLEAR wa_cat.
        MOVE sy-index TO wa_colno.
        CONCATENATE 'COL'
                    wa_colno
               INTO wa_flname. 
        wa_cat-fieldname = wa_flname.
        wa_cat-seltext_s = wa_flname.
        wa_cat-outputlen = '10'.
        APPEND wa_cat TO fs_fldcat.
      ENDDO. 
    Call ABAP List Viewer (ALV)
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          it_fieldcat = fs_fldcat
        TABLES
          t_outtab    = <t_dyntable>.

  • How can we add new entry to a XML file?

    Hi All,
    I'm having problem to add new entry (elements &
    attributes) to an existing XML file. I have created an XML file.
    Few entries are there which I'm showing in a datagrid. Now, in run
    time I have provision for new entry. I'm gathering the whole
    entered information & preparing a string in the same format
    what I have in XML file. But when I'm trying to add that entry to
    my existing XML it won't work. How can I will be able to do
    so?

    Are you using appendChild()?
    Tracy
    BTW, this forum is for Flex Builder questions. Language
    questions should go in General Discussion.

  • How to add new group entry in Cisco Vpn using powershell

    I am working on a powershell script to connect cisco vpn using powershell, I am able to connect to vpn but not sure how to add new group to vpn. I am using the following script$vpn_profile = 'Test'
    $username = 'TestUser'
    $userPassword = ConvertTo-SecureString -String "Password" -AsPlainText -Force
    $credentials = new-object -typename System.Management.Automation.PSCredential -argumentlist
    $username,$userPassword
    $password = $credentials.GetNetworkCredential().Password
    Set-Location 'c:\Program Files (x86)\Cisco Systems\VPN Client'
    .\vpnclient.exe connect $vpn_profile user $username pwd $password
    Write-Host "You Are Connected"
    cd "C:\"

    Have you entered .\vpnclient.exe /? to see if it will return information about other switches you can use with this executable? Other than connect, I was able to track down a few without actually having the executable (http://www.scribd.com/doc/40108893/Cisco-VPN-Client-Command-Line).
    That said, I do not believe that there is a switch that will help you create a connection. These are either done manually through the GUI, or can be likely be added by supplying a properly formatted file in the proper place.
    If you're using the version of the Cisco VPN client I think you are, then your connection settings, or profiles, are stored in individual .pcf files somewhere on your computer (likely in the Cisco directory). These are simple, text-based files. Find one
    on your computer, save it with another name, and then modify it manually. If you really want to use PowerShell, then use this opportunity to learn how to create and edit basic text files using PowerShell. If you have a standard connection file, then you can
    put that file onto remote computers any number of ways. If a .pcf file exists in the proper place when the VPN client is opened, then it likely will not prompt for a new connection.
    Update: Added more info; clarified

  • Unable to create new entry in table that has no primary key

    Hi
       I have a table which is required to have no primary key (except mandt). After i generate table maintanance, when I go to create new entries, the table control to enter the new values does not appear. When I click on edit->new entries, it goes back to the fields tab of the table. Same when i check through SM30.
    If i maintain atleast one primary key, I am able to get the table control in new entries screen. However the requirement permits no primary keys except mandt. How can this be resolved?
    Thanks
    NM

    Hi,
    THE PROBLEM WITH UR TABLE IS
    YOU HAD DECLARED MANDT AS THE PRIMARY KEY AND THERE IS NO OTHER KEY IN UR TABLE
    iT'S NOT ALLOWING YOU TO ADD NEW ENTRIES BECAUSE MANDT IS THE ONLY PRIMARY KEY IN YOUR TABLE AND IT WILL HAVE A DEFAULT VALUE BASED ON THE CLIENT. SO  IT'S NOT SHOWING YOU THE CREATE NEW ENTRIES OPTION.
    SO TRY TO PUT ONE MORE FIELD AS THE PRIMARY KEY SO THAT YOUR PROBLEM WILL SOLVE VERY EASILY  ALSO MAKE SURE THAT TABLE IS ACTIVATED.
    REVERT IF U NEED SOME MORE HELP
    Thanks &Regards.
    Pavan.

  • How to Add New Object?

    HI,
    Any body can say how to add new object. For Example: The Document need to link with Invoice Transaction (T.Code: VF01, Table: VBRK/VBRP).
    Points will be rewarded, if information is useful.
    Tks
    Mani.

    Hi
    You can create New objects using the T.code: SE80.
    You can make an object link to SAP objects that are not shown in the possible entries list. To do this, proceed as follows:
    1. In the standard system, there are already two special screens for the module pools SAPLCV130 and SAPLCV140 for the linked SAP object.
    You must create two new screens with the same number for the module pools SAPLCV130 and SAPLCV140. The processing logic must follow that of screen 1204 in program SAPLVC130.
    2. Create function module OBJECT_CHECK_XXXX (XXXX = object name) If the object can be classified, this function module already exists .
    Otherwise copy the function module for linking equipment DOCUMENT_CHECK_EQUI and change it as required for the new object.
    Regards
    S.Sivakumar
    Reward points if useful----

  • HOW TO ADD NEW HR OBJECTS ????

    Hi,
    i would like to new objects in HR object selection list,especially for PPOCE.
    I donot know how to add new objects in the object selection list.
    pls anyone who knows this ,could share your knowledge with me.
    tks
    theresita

    Hi Theresita,
    All the configuration is in the IMG under Personnel Management > Organizational Management > Hierarchy Framework.  You'll want to review all the entries and related documentation, as adding objects to PPOME/PPOCE is not a simple 'one table' process.  You may need new evaluation paths to support the views you want to see in the framework, so set these up ahead of time.  Parameters to support your configuration are: OM_ARRAYTYPE_DISPLAY; OM_DIS_OBJECTMANAGER; OM_FRAMEWORK_OBJ_NR; OM_FRAM_SCEN_DISPLAY: OM_OBJIM_SCEN_DISPLAY: OM_TABTYPE_DISPLAY.  You'll notice once you add these parameters, you can see the technical names of the scenarios you're working with in PPOME/PPOCE.
    Good luck,
    Sharon

  • Add  new entry to HUSSTAT

    Hi All,
    How can i add new entry to HUSSTAT transparent table  ?
    for example :
    I want to add this entry to HUSSTAT
    200    HU0000007100    E0006  X     ...
    some suggested to use FM HU_HEADER_UPDATE   but what inputs should i give to this FM its not clear .

    Perhaps I'm not using the right terms. Let me try and restate my problem.
    I am now using the "Notebook" theme. I have already created some entries where I've changed the default "My Blog" and associated Latin on the yellow header on top of the page to what I want them to say (i.e., "Bill's Blog" and associated text). You can see an example of such an entry here:
    http://www.billmarksteiner.com/BillMarksteiner/Bills_Blog/Entries/2007/8/27_Dell_repair..._MUCH_better_thanexpected.html
    When I click on the "Add Entry" button, I get a page with a yellow border on top with the words "My Blog" instead of what I'd like, which is "Bill's Blog". The Title field and its associated blog entry text (again, Latin) is lower on the page, and I understand that this is necessarily pulled from the standard template because that is the main body of the entry, which one would need to edit to make a relevant entry. But I'd like to at least automate the header material on the yellow strip at top to say "Bill's Blog" instead of "My Blog", and have standard text up there that I create, not Apple.
    I guess what I'm asking is if there is a way to edit the template itself so that hitting the "Add Entry" button creates a templated entry of my design. Or at least a templated entry containing my text vs. Apple's.

  • How to add new fields in Reduced message ( in BD53 )

    Hi Experts,
    How to add new fields in Reduced message ( in BD53 ), when the required field iis available in Table or Structure and need to be added in BD53 so that we can ALE.
    Thanks,
    Ninad

    Hello,
    I think of something like:
    First, you create extension, with transaction WE30.
    Then, reduce your idoc, your extension should also be proposed.
    Do not forget to add this extension in outbound we82, and/or we57 in inbound, and WE20, and find BTE or exit to populate extension.
    regards.
    F.S.

Maybe you are looking for

  • Error - "not a valid pdf document. it cannot be opened"

    I am getting this error message when opening PSE. It says "This is not a valid Portable Document File (PDF) document.  It cannot be opened."  Needing help asap!  Thanks!

  • USB ports going loose.......

    Hi, I have a 2 months old USB modem which i use to connect to internet. I have an HP netbook(1 month old) and a Samsung laptop(2 months old) on which i use the USB modem. Now this USB modem Huawei EC150 has an issue, it fits a bit tightely in the USB

  • Data recovery after crash disk

    Hello again, Last week I posted a question concerning the error message folowing the Hardware test. It was bad sign and I had to take my computer to the Apple service. The intern disk had to be replaced and they told me that they can't recover the da

  • HT4314 Can i deactivate or get rid of game center? It won't deactivate even though it says i can.

    How can i delete or disable game center?

  • RecordSet Count

    I am retrieving records from the database and need to populate them into a one dimensional Array. I need to get the count of the RecordSet and then set the size of the Array. Is there a method to know the number of rows retrieved into the RecordSet.