How to use create, delete, modify butttons in a table

hi all
in my application i have emp table in my source view
in that table i have inserted static data in columns i.e., empid, empname. i have 3 buttons create, delete, modify buttons in that table. when i press Create button it navigates to another view1 in which we have a emp form with create new emp button and labels empid, empname and 2 input fields.After filling the form when hit the create newemp button the form data should be displayed in the table.
The same for Modify and delete.  i.e., when i select a particular empid row in my source view table and hit the modify button it should navigate to view2 in which the particular record form with data displays and after making necessary modifications the modified data should be display in the particular row .
For delete button, when i select a particular record in the table and hit delete button it should be deleted from the table.
any snippet of code is valuable
Thanks in advance
sravan

Hi Sravan,
I just need a clarification, are you getting the table data from the back-end system?
On the second view, after the user input on click of the "Create New" or "Modify" button, update the back-end. Once the update is successful, fire a plug back to the first view and reload the table or execute the model again. The updated records will be fetched from back-end system.
On click of "Delete" button, remove the record from the back-end and execute the model again.
This holds good if you have the data fetched from the back-end.
Regards,
Santhosh.C

Similar Messages

  • How to use create by and modified by

    how to use create by and modified by ?
    when some one create row it will stamp who create
    and when some one edite row it will stamp who edit row
    i ever user create on and modified on
    but creay by and modified by i never use it.

    Howard,
    If you are not using JAZN you can still register created by and modified by user and date info in a "backdoor-wise" way:
    1. Get the user login string by using System.getProperty("user.name")
    2. Get the current datetime using java.util.Date
    3. In the backing bean for the page and the action method for your submit button, set the values for the components containing the created by or updated by values to the values obtained in points 1 and 2.
    Hope this is somehow useful,
    AG

  • Can i use create function for MSSql scalar and table valude function.

    Hi,
    1) Can i use create function for MSSql scalar and table valued function?
    2) How many type of user defined function are there in oracle 11g express?
    3) And can i reture any "type" form user defined function?
    yourse sincerely

    944768 wrote:
    Q1)That means even if i return predefined types like integer, varchar2 then also PGA is used ?The data type does not determine where the variable is stored. A string (called a varchar2 in Oracle) can be stored in stack space, heap space, on disk, in a memory mapped file, in a shared memory, in an atom table, etc.
    It is the who and what is defining and using that string, that determines where and how it is stored.
    The Oracle sever supports 2 languages in PL/SQL. The PL (Programming Logic) language is a procedural/declarative language. It is NOT SQL. SQL is integrated with it. The PL/SQL engine uses private process memory (PGA). So PL/SQL variables exist in the PGA (but there are exceptions such as LOBs).
    Q2) So please suggest me solution in oracle.Sounds to me you are looking at how to implement a T-SQL style function as an Oracle function, and once implemented, do joins on the function.
    Do not use PL/SQL in SQL in place of a SQL select. It is not T-SQL.
    One cannot use PL/SQL to create functions along the style of T-SQL, where the function executes a SQL using some conditional logic, and then return as if the function was a native SQL select.
    T-SQL is an extension to the SQL language - making it a hybrid and very impure language implementation. PL is based on ADA - part of the Pascal family of languages. The E-SQL (embedded SQL) approach used in languages like C/C++, Cobol and Ada, has been transparently done in PL/SQL. You can write and mix PL code and variables with SQL code. And the PL/SQL engine figures out how to make the call from the PL/SQL engine to the SQL engine.
    But PL/SQL is not "part" of the SQL language and does not "extend" the SQL language in a T-SQL fashion.
    So you need to check your SQL-Server preconcepts in at the door, as they are not only irrelevant in Oracle, they are WRONG in Oracle.
    The correct way in Oracle, in a nutshell - Use the SQL language to do data processing. Use PL/SQL to manage conditional process flow and the handling of errors.

  • Certain Numbers templets allow you to drag and drop contacts to populate cell data, how can I create that functionality in my own tables?

    Certain Numbers templets allow you to drag and drop contacts to populate cell data, how can I create that functionality in my own tables?

    If you haven't come across the workarounds thread you may find helpful tips there on this and other ways to work with Numbers 3.
    ronniefromcalifornia discovered how to bring contacts into Numbers 3. As described in this post:
    "Open Contacts
    Select all the cards you want
    Copy
    In Numbers, in a table, select cell A1
    Paste
    Boom. Works great. Even brought in the pictures. Cool."
    So instead of drag and drop, just select in Contacts, copy, and paste into Numbers
    SG

  • HOW TO USE FUNCTION Deletion of Requests from the Change Log IN PRCSES CHAN

    Respected all
    i used Deletion of Requests from PSA from the prcess chain and found good results, now i have only one request at the psa and thus i am doing good space utililisation. but when i am using Deletion of Requests from the Change Log i am not getting any changes in the request of dso. kindly let me know how to use this 2nd function.
    thanks
    abhay

    Hi Mahodaya,
    As per SAp standards its good to delete the requestes that are no longer needed for the delta update and no longer used ffor inti from the change log table and the data is loaded already in to DSO.
    Goto RSPC
    Click on create New PC -> enter the PC name n long descp
    Next we need to define the start process for the PC.Maintain the start variant process.save n come back.
    for deletion of change log we have option in the Other BW Processes -> deletion of requestes from change log
    Once u select the option we get a dialoge box here we need to create the variant for the process enter the process variant n long descp. cick ok.
    Next in the maintenance screen for the deleting the request from change log table will appear.
    Enter the selection patterns to which the requestes should be deleted from the change log.
    In the maintenance screen, select one or more Data Store objects for which requests are to be deleted from the relevant change log tables under Data Store Object column and select theInfo Area of the corresponding Data Store Objects under Info Area
    If you select the first check box exclude selction pattern, this means that del of requests from change log table will be ignored.
    or
    We can delete the requests which are Older than N-number of days (or) date in the above screen. For this one, enter the number of days (or) date in the filed Older than .
    OR
    If we want to select the requests with a certain status then we can also do in the above screen. We can select the following status indicators from the above screen.
    Delete Successfully Updated Requests Only -This status will delete only requests which
    are successfully updated into corresponding Data Store objects.
    Delete Incorrect Requests that were not Updated - This status will delete only incorrect requests which are not successfully updated into the corresponding Data Store Objects.
    Delete Activation Requests only, No Load requests- This status will delete only the activation requests (requests that begin with ODSR_... ). No load requests are deleted.

  • How to accessed,created and modified date of particular file in java

    Hi,
    I am facing one problem.
    I know how to get the modified date/time of file in java.
    but i don't know how to find created and accessed date/time of file in java.
    Thanks,
    Tejas

    I guess thats not possible in in Windows.
    But if u r trying it on a unix machine.
    You can use Runtime class to call exec on the command
    ls -l filename
    and then store the result in a file . And then take out the last modified time. But you cant get created time.
    Thats a clumpsy way i believe.

  • How to use create-default-dbms-tables in SQL Server 2000

    Hi everyone,
    I'm new in EJB development. I'm trying to deploy a CMP to Weblogic 8.1 SP1 using
    JBuilderX. I configured a ConnectionPool and DataSource to allow the CMP to access
    the SQL Server 2000. However, I cannot deploy the CMP if I didn't create the table
    in SQL Server manually. Does anyone know how to use the create-default-dbms-tables?

    Refer to
    http://e-docs.bea.com/wls/docs81/ejb/DDreference-cmp-jar.html#1162249
    "Keith" <[email protected]> wrote:
    >
    Hi everyone,
    I'm new in EJB development. I'm trying to deploy a CMP to Weblogic 8.1
    SP1 using
    JBuilderX. I configured a ConnectionPool and DataSource to allow the
    CMP to access
    the SQL Server 2000. However, I cannot deploy the CMP if I didn't create
    the table
    in SQL Server manually. Does anyone know how to use the create-default-dbms-tables?

  • How to use Create input request Activity

     Hi,
     I want to get inputs from the users .
     I want to display a form were user can select a input from drop down list.
     That selected item i want to store it in a variable and use across the flow.
     How to do that using create input request or is there any other way to do that.

    You should be using "Input Request" to do what you are trying to do.
    Add "Create Input Request" to your workflow
    Configure the question you want the user to see in the Web Console. For example, "Select make of your dream car"
    Add "questions" to your input request. For the "drop-down" selection, chose to add new question of type "Select". This will bring up the dialog box that will allow you to configure the unique ID for your question, the free form text (label) and the list of selection choices to show in the drop-down.
    In the activities that follow "Create Input Request" you can retrieve the actual values that the user chose/typed by looking at the values in the [Workflow.Create Input Request.Task.Questions] table property. It has several columns: Id, Question, Value (that correspond to the fields you've configured)
    If you have Input request with several questions, you can use Select from Table activity to choose the specified question (by ID) that you want the value for. If you have only one question in the input request, you can get to the value (entered by the end user) by referencing this property [Workflow.Create Input Request.Task.Questions.First Row.Value]

  • How i use nwdi to modify existing standard web dynpro application

    Hi,
    I need  to change some existing application of web dynpro Java. I found solution nwdi would help in that. But how i use it can any one explain me in detail. Nwdi has already installed over here. So can i use it can explain me step by step.
    Regards,
    Gurprit Bhatia

    Hi,
    First you need to import the WD application to your NWDS and then you need to checkout the code for making any changes after making the chanhes you have to checkin the code.
    First you need to setup the portal path in
    1. WIndow->Preferences->Java Development Infrastructure->development Configurations.
    2. You have to create a client in DTR by going into DTR Perspective.
    3. Import the configuration from the track (this is your standard WD application) in Development Configurations Perspective.
    4. Create the project from Inactive DCs tab.
    5. Navigate to WD Perspective and build the project.
    6. Check out the code to make chnages
    7. Checkin the code after making the changes
    8. Test the application in Portal
    Regards,
    Lakshmi.

  • How to use "create data" for temporary structures?

    Hi,
    I need to create a structure dynamically based on user provided structure definition. However, my test code throws an exception. I would appreciate it if someone can suggest me an alternative. The code follows.
    Thank you in advance for your help.
    Pradeep
    * The following string is actually passed as a parameter
    data: myLineStructure type string value
    'begin of mystruct,
        mara-matnr type mara-matnr,
        mara-mstae type maara-mstae,
        makt-maktx type makt-maktx,
    end of mystruct.'.
    data: tableLine type ref to data.
    create data tableLine type (myLineStructure).
    assign tableLine->* TO <line>.

    Hi Pradeep,
    First of all u need to create a field-catalog with user provided structure. Then u need to pass the same to create a dynamic internal table. Then create a line type of this table. Please copy & paste this code in ABAP editor which will serve ur purpose.
    TYPE-POOLS : SLIS.
    DATA: mylinestructure TYPE string.
    DATA: it_fieldcat TYPE lvc_t_fcat,
          is_fcat LIKE LINE OF it_fieldcat.
    DATA: new_line TYPE REF TO data.
    FIELD-SYMBOLS : <line> TYPE ANY,
                    <fs_table> TYPE STANDARD TABLE.
    CONCATENATE 'begin of mystruct,'
                 'mara-matnr type mara-matnr,'
                 'mara-mstae type mara-mstae,'
                 'makt-maktx type makt-maktx,'
                 'end of mystruct.' INTO mylinestructure.
    DATA: tableline TYPE REF TO data,
          lines TYPE i,
          off TYPE i,
          off1 TYPE i,
          tabname TYPE ddobjname,
          fieldname TYPE dfies-fieldname,
          ftype(50) TYPE c.
    DATA : BEGIN OF itab OCCURS 0,
           field(30),
           END OF itab.
    DATA :f_tab LIKE dfies OCCURS 0,
          wa_f_tab LIKE dfies,
          f_len TYPE dd01v.
    SPLIT mylinestructure AT ',' INTO TABLE itab.
    DELETE itab INDEX 1.
    DESCRIBE TABLE itab LINES lines.
    DELETE itab INDEX lines.
    LOOP AT itab.
      FIND 'type' IN itab-field MATCH OFFSET off.
      off = off - 1.
      is_fcat-fieldname = itab-field+0(off).
      off = off + 6.
      ftype             = itab-field+off.
      FIND '-' IN ftype MATCH OFFSET off1.
      tabname = ftype+0(off1).
      off1 = off1 + 1.
      fieldname = ftype+off1.
      CALL FUNCTION 'DDIF_FIELDINFO_GET'
        EXPORTING
          tabname        = tabname
          fieldname      = fieldname
        TABLES
          dfies_tab      = f_tab[]
        EXCEPTIONS
          not_found      = 1
          internal_error = 2
          OTHERS         = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      READ TABLE f_tab INDEX 1 INTO wa_f_tab.
      CALL FUNCTION 'DDIF_DOMA_GET'
        EXPORTING
          name          = wa_f_tab-domname
        IMPORTING
          dd01v_wa      = f_len
        EXCEPTIONS
          illegal_input = 1
          OTHERS        = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      is_fcat-datatype = f_len-datatype.
      is_fcat-intlen = f_len-leng.
      APPEND is_fcat TO it_fieldcat.
    ENDLOOP.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
      EXPORTING
        it_fieldcatalog = it_fieldcat[]
      IMPORTING
        ep_table        = tableline.
    ASSIGN tableline->* TO <fs_table>.
    CREATE DATA new_line LIKE LINE OF <fs_table>.
    ASSIGN new_line->* TO <line>.
    Please reward if helpful.

  • How do I create a vertical gradient in a table, not with an object?

    How do I create a vertical gradient effect for alternating rows in a table?
    I'm trying to get my table cells to alternate and look like this:
    Thanks,
    freecondomap

    Hi, BTJT:
    We are starting work on a large catalog project where we will need to change the gradient fill to -90 on every other row in the table - excluding the header, footer and first row of each table.
    How would you adjust the script you mentioned above to do this? and would the script work in Indesign CS5.5 versus Indesign CS6
    It does get a bit more complicated. Not super-complicated, but not as simple.
    The above idiom only works for all the rows in a table. If you want to do any specific subset, then you need to use a loop.
    But is it necessary that you change the gradient angle on every other row? Isn't it sufficient to set the gradient angle on all rows, and then apply the alternating gradient on alternate rows using the the alternating fills feature, as suggested by Jeffrey?
    I guess you also want to apply to...all the tables in your document? That would then be:
    app.activeDocument.stories.everyItem().tables.everyItem().cells.everyItem().gradientFillAngle=-90;
    Unless you need to be more selective? But I don't think you do?

  • How do i create 2 fetch proceess for diffrent table  in the same apge

    hi,
    i create page with 2 from region each region assign to different table each region with DML BUTTON( CREATE,DELETE,UPDATE),there 2 Processes after header to fetch row into two region .now when i run page give me error Column t2 not found in table 1 where the 1st fetch rows Processes fetch data for all item in page Regardless of table name so give me error.
    i mean that
    Region one contain table 1 ....with Fetch row process ( to retrieve data into table 1)
    Region Two Contain table 2....with Fetch row process( to retrieve data into table 2)
    when i run page give me error Column t2 not found in table 1 and when test the sql stetmeni in debug mode i found that the process take all item in page so give this error where column t2 found in table 2 not one ..
    my question
    1- there is any way to assign the Fetch process to specific region so the process take all item in these region only.
    2- how can create manual process to fetch row into specific items in page ( i tray these code
    SELECT col1, col2, col3 ....
    INTO :P1_ITEM1, :P1_ITEM, :P1_ITEM...
    FROM table
    WHERE id = :P_id ) but no data retrieve .
    thanks
    Ahmed
    Edited by: Ahmed.F on Nov 27, 2012 5:10 PM

    my question
    1- there is any way to assign the Fetch process to specific region so the process take all item in these region only.
    2- how can create manual process to fetch row into specific items in page ( i tray these code
    SELECT col1, col2, col3 ....
    INTO :P1_ITEM1, :P1_ITEM, :P1_ITEM...
    FROM table
    WHERE id = :P_id ) but no data retrieve .
    I do not think that it is possible to have more than one Automated Row Fetch process in a given page. See the thread:
    ORA-01403: no data found : Unable to fetch row multiple automated row fetch
    On your second question, the manual process should work provided:
    P_ID has a value when the process executes. You can do it this way:
    i. Make this process as a on-load After/Before header process
    ii. Make sure that P_ID page item has value when the process executes (set it from another page or before the pl/sql process executes)

  • How to use column with linkToItem in the Basic Table view style mode

    Hi
    I have already changed a normal column that I made to a column with linkToItem as follows.
    <viewfields>
    <FieldRef Name="MyColumn" linkToItem="TRUE">
    and it worked.
    But this column works only at the default view style mode in my case.
    Does anyone know how to use linkedToItem column in the Basic Table mode?
    hope someone help me.
    thanks

    Hi,
    According to your description, my understanding is that you want to use linkToItem in the Basic Table view style.
    Per my test, in the Default style view, we need to use linkToItem=”TRUE”. However, in Basic Table style view, we need to use LinkToItem=”TRUE” instead.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How it use Filter Id and FilterPanelFocusid in JSF Table component

    How it use FilterId and FilterPanelFocusid in JSF Table component

    How it use FilterId and FilterPanelFocusid in JSF Table component

  • How do you create Text Hover States - inDesign cs5 table of contents?

    I cannot figure out how to create text hover states in the table of contents. I want it to act like a hyperlink on websites where you hover over a link and it changes color. Any ideas?

    Hello,
    This forum is for questions about Adobe FormsCentral (http://formscentral.adobe.com). Please re-post your question to the InDesign forum:
    http://forums.adobe.com/community/indesign
    Best of luck!
    Rebecca

Maybe you are looking for

  • Photoshop Elements 8.0 won't open, keep getting an Error message from windows

    I am running Windows Vista on a toshiba laptop and I've owned the software for a little over a year now, everything was working quite fine the usual few crashes every once and a while. Though I had thought to myself oh well here it's time for some ne

  • New Mac Doesn't Recognize Old Mac For Firewire Migration

    I attempted to migrate my files from my G5 desktop to my new Intel desktop MacPro using Migration Assistant and a Firewire cable. It instructed me to connect the two Macs with a Firewire cable and restart the old Mac holding down the "T" key. I did j

  • SB- Xtreme Gamer - Microphone issues

    $ Hello, I was wondering if anybody could help me out with the issue i'm having. The problem is that i can hear myself in my microphone through my headphones/speakers... but i cant get my microphone to work e.g trying to do sound record in windows or

  • OC4J 9.0.4 and 9iAS 9.0.3

    Hi, I have an application which a vendor is designing for us which is ready to be deployed on OC4J. I have been asked to help set up an application server, and we are currently trying to set up 9iAS Release 2 (9.0.3) I have been told by the vendor th

  • SDK 2005: Download Link

    Hi all, is there any possibility to download SBO 2005 SDK? There was this possibility to download SDK 2004 from SAP Marketplace before, but now, I can not find it. Or the only way is to order SDK directly from SAP? Thanks in advance. Best regards Lib