How to save and retrive table column values added via view enhancement

Hi,
I want to enhance standard webdynpro component FITE_VC_REVIEW.
I want to add new column to Fight Info Table and also to Hotel Info table.I can do UI changes via view enhancement .
First Approach: I add new fields to Flight Info and Hotel Info structure.
Create an additional Coolum in Flight Info and Hotel Info Table and Bind it to newly created field in structures.
Question :
What all changes I have to make to save and retrieve values from database table.
Kindly guide with Steps
Second Approach: I create a new table/structure for my requirement and bind table column to these fields.
Question:
What all changes I have to make to save and retrieve values from database table.
Kindly guide with Steps
And which approach will be good.
Regards,
Madhvika

no ans yet

Similar Messages

  • How to save and retrieve table column values added via view enhancement

    Hi,
    I want to enhance standard webdynpro component FITE_VC_REVIEW.
    I want to add new column to Fight Info Table and also to Hotel Info table.
    First Approach: I add new fields to Flight Info and Hotel Info structure.
    Create an additional Coolum in Flight Info and Hotel Info Table and Bind it to newly created field in structures.
    Question
    What all changes I have to make to save and retrieve values from database table.
    Kindly guide with Steps
    Second Approach: I create a new table/structure for my requirement and bind table column to these fields.
    Question:
    What all changes I have to make to save and retrieve values from database table.
    Kindly guide with Steps
    And which approach will be good.
    Regards,
    Madhvika
    Moderator message: please have a look in the dedicated "Web Dynpro ABAP" forum.
    Edited by: Thomas Zloch on Feb 16, 2011 3:02 PM

    no ans yet

  • How to save and retrive XML DOM to/from SQLServer

    Hi, there,
    I am new to JAVA, and now I'm trying to save a large XML DOM to SQLServer, and retrive it as a XML DOM later. Would someone please let me know how can I do it?
    Thanks!
    ----YM

    You would be better looking at the XML DOM documentation for your database rather than asking here. If your DB doesn't provide XML facilities, then there are products and techniques that can be applied to map XML to SQL, and you can always serialize the java objects into a blob, but XML to SQL mapping isn't standardized, so the first call is the server's documentation.

  • Can anyone describe how to cut and paste table columns in Data Modeler?

    A number of times I have tried using the copy and paste columns functionality in Data Modeler, but in all circumstances when I've copied a set of columns from a table (by highlighting the column set and pressing the copy columns button), opened a new table, and pressed the paste columns at the end button, nothing has happened. is there some unintuitive thing that I need to do?

    Ok, thanks.
    I see I left "Copy" out of the first reply I sent.
    1. Create a table or tables, say tables A and B.
    2. Expand the table which has the columns you want to copy, say table A, in the browser
    3. Shift (or ctrl) select the columns and select COPY from the context menu.
    4. Click in the table you want to copy to, say table B, in the diagram and right-click to use the context menu , select paste
    or select the table B in the browser and right-click, select paste.
    Are you using the copy in the menu?
    There was a bug in our Early Adopter that required you continued to hold the keys, but this has been addressed - you can read this thread to see how things were handled there: Re: Data Model: set of columns

  • How to save and load control's values

    Hello,
    Thank you john and evan,
    I use, as you've understand, the invoke node "get all control value variant", and i want to change the format of the output array in order to save it an load it later to get back the configuration of my VI. For the moment i've try as john tell me with the data manipulation's functions and it's not runing. I send you an example of the code that i read in the array it's a string for controls name and a variant for the values.
    I don't really now in what format i must change them to load it later with the invoke node "set control value".
    Regards
    alexis (sorry for my awfull english)
    Attachments:
    Sans titre.vi ‏56 KB

    Hmm, the attachements didn't attach so here's another try:
    Attachments:
    Restore example.jpg ‏40 KB

  • How i pass table column  value to string variable or return to java applete

    Hi Master,
    How do I pass a table column value into string variable. See my code below:
    import java.sql.*;
    public class Waheed {
    public Waheed() {
    public static void main (String args [])
    String s = "9 23 45.4 56.7";
    System.out.println ("going for connection");
    // DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
    try{
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection conn =
    DriverManager.getConnection("jdbc:oracle:thin:@fahim:1521:aamir","muhammad","mfa786");
    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery("select accid from accbal");
    System.out.println ("going for connection");
    while (rset.next())
    s= rset.getString("accid"); this line give me error
    System.out.println (rset.getString("accid"));
    System.out.println (s);
    catch(Exception e){
    e.printStackTrace();
    This line give me an error:
    s= rset.getString("accid");
    s is string variable
    Plese give me an idea how I can pass accid in s variable.
    Thanks.
    Aamir

    See the code sample in the following thread (try using upeercase).
    JDBC  connection
    Kuassi

  • How to Update the oracle toad column value in table by using SSRS 2008

    Hi Team,
    How to update the oracle DB table column value by using SSRS 2008.
    Can any one help me on this.
    Thanks,
    Manasa.
    Thank You, Manasa.V

    Hi veerapaneni,
    According to your description, you want to use SSRS to update data in database table. Right?
    Though Reporting Services is mostly used for rendering data, your requirement is still can be achieved technically. You need to create a really complicated stored procedure. Pass insert/delete/update and the columns we need to insert/delete/update as
    parameters into the stored procedure. When we click "View Report", the stored procedure will execute so that we can execute insert/delete/update inside of the stored procedure. Please take a reference to two related articles below:
    Update Tables with Reporting Services – T-SQL Tuesday #005
    SQL Server: Using SQL Server Reporting Services to Manage Data
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How to update zero to a column value when record does not exist in table but should display the column value when it exists in table?

    Hello Everyone,
    How to update zero to a column value when record does not exist in table  but should display the column value when it exists in table
    Regards
    Regards Gautam S

    As per my understanding...
    You Would like to see this 
    Code:
    SELECT COALESCE(Salary,0) from Employee;
    Regards
    Shivaprasad S
    Please mark as answer if helpful
    Shiv

  • How to save and  move an application

    Hi,
    I have made an application on Oracle Express. How to save and move that to another machine ?
    Many thanks.

    I'm in the process of porting my XE app to a 10.1 instance.
    I created an app export and export file of the schema. Then I installed a client on the same machine so I could connect and I get errors detailed in the end of this thread when attempting to import. Most of the tables are successful however, none of the procedural code goes in. The app export imported fine.
    Now, I can manually copy the objects that remain but only if I can connect to XE and this ability seems to have been lost with the install of the 10.1 client.
    Does anyone know how I can connect to XE using PLSQL Developer or is it indeed possible to connect to XE on a machine that is configured to also connect to a 10.1 remote server? I have installed the 10.1 client into a new Oracle home.
    . importing CODESPEED's objects into PRIMPATH
    IMP-00008: unrecognized statement in the export file:
    IMP-00017: following statement failed with ORACLE error 1950:
    "CREATE TABLE "FOLDER" ("FOLDER_ID" NUMBER NOT NULL ENABLE, "STAFF_ID_CREATE"
    "" NUMBER NOT NULL ENABLE, "STAFF_ID_MODIFY" NUMBER, "FOLDER_NAME" VARCHAR2("
    "100) NOT NULL ENABLE, "FOLDER_CREATED" DATE NOT NULL ENABLE, "FOLDER_MODIFI"
    "ED" DATE NOT NULL ENABLE, "FOLDER_NOTES" CLOB, "FOLDER_OWNER" NUMBER NOT NU"
    "LL ENABLE, "DRA_VERSION_ID" NUMBER, "ASSIGNED" NUMBER NOT NULL ENABLE, ""
    "UNASSIGNED" NUMBER NOT NULL ENABLE, "APPROVED" NUMBER NOT NULL ENABLE, "FOL"
    "DER_STATUS" VARCHAR2(1) NOT NULL ENABLE, "CODING_RULE_SET" NUMBER) PCTFREE"
    " 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FR"
    "EELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "USERS" LOGGING NOCOMPRESS "
    "LOB ("FOLDER_NOTES") STORE AS (TABLESPACE "USERS" ENABLE STORAGE IN ROW CH"
    "UNK 8192 PCTVERSION 10 NOCACHE LOGGING STORAGE(INITIAL 65536 FREELISTS 1 F"
    "REELIST GROUPS 1 BUFFER_POOL DEFAULT))"
    IMP-00003: ORACLE error 1950 encountered
    ORA-01950: no privileges on tablespace 'USERS'
    IMP-00017: following statement failed with ORACLE error 2248:
    "ALTER SESSION SET PLSQL_OPTIMIZE_LEVEL = 2 NLS_LENGTH_SEMANTICS = 'BYTE' PL"
    "SQL_CODE_TYPE = 'INTERPRETED' PLSQL_DEBUG = TRUE PLSQL_WARNINGS = 'DISABLE:"
    "ALL'PLSQL_CCFLAGS = ''"
    IMP-00003: ORACLE error 2248 encountered
    ORA-02248: invalid option for ALTER SESSION
    IMP-00000: Import terminated unsuccessfully
    C:\Documents and Settings\PWin>

  • Popup is not getting launched click on command link in table column value

    Hi
    We have a scenario where we bring the pop-up clicking on command link in the table column value. It was working fine before but from last few labels this is not working.
    Here is the code snippet that we are using,
    <af:table>
    <af:column>
    <af:commandLink>
    <af:outputText value=”product name” />
    <af:showPopupBehavior TriggerType=”click” PopupId=”::p1”/>
    <af:commandLink>
    </af:column>
    </table>
    <af:popup id=”p1”>
    <af:dialog>
    </af:dialog>
    </af:popup>
    Thanks,
    Nagesh

    It is important to set partialSubmit="true" in the <af:commandLink> tag. A full submit will be made otherwise and the popup will not show. Use also tryggerType="action" instead of triggerType="click" and use the proper chararcter case of the tag attribute names. Try with this:
    <af:commandLink text="product name" partialSubmit="true">
      <af:showPopupBehavior popupId="::p1" triggerType="action"/>
    </af:commandLink>Dimitar

  • I am not able to read the xslt table column value.

    Hi,
    I have the scenario like this.
    I have two irpt pages  first.irpt and  second.irpt and saperate xslt tables for each page  and common js file for two pages.
    when I click on first.irpt   page xslt table row that opens  the  second.irpt as a popup window then I click on the column in second.irpt xslt row  after that  column value should be inserted  in to first.irpt  xslt table column.
    In above I have done everything except I am not able to update the first.irpt  xslt table column as Even I am not able to read that value.
    For your reference:
    /* This function will be called when we select the row in first.irpt xslt table here SelectBatch_b.irpt means second.irpt
    function getBatch(row)
    var id=row;
    var material=document.getElementById('Material_'+row).value;
    var location=document.getElementById('StoreLoc_'+row).value;
    var plant=1000;
    var strUrl = "SelectBatch_b.irpt";
    strUrl = "?plant="plant"&""location="location"&""material="material;
         window.open (strUrl,"mywindow");
    /*This function will be called when we select the row in second.irpt (SelectBatch_b.irpt)
    function getBatchID(row)
    var Batch=document.getElementById('Batch_'+row).value;  // reading second.irpt xslt table column value
    document.getElementById('Batchc1').value=Batch;  // reading first.irpt xslt table column value and inserting.
    window.close();  // here I am getting error like object expected.
    Please help me in this .
    Edited by: rajkumar12345 on Feb 29, 2012 1:45 PM

    Hi Rajkumar,
    Please find below the method to pass the variable back and forth in .irpt page.
    First Page:
    var Toaccessinchildpage = "value";
    function getBatch(row)
    var id=row;
    var material=document.getElementById('Material_'+row).value;
    var location=document.getElementById('StoreLoc_'+row).value;
    var plant=1000;
    var strUrl = "SelectBatch_b.irpt";
    strUrl += "?plant="plant"&"+"location="location"&"+"material="+material;
    window.open (strUrl,"mywindow");
    function populate(strBatch)
         document.getElementById('Batchc1').value=strBatch;
    Second Page:
    function getBatchID(row)
    var Batch=document.getElementById('Batch_'+row).value;
    window.opener.populate(Batch);
    window.close();
    You have to call parent page function from child page.
    No need to use common js.
    If you want to access variable from parent page use
    window.opener.<variable name>.
    Example
    window.opener.Toaccessinchildpage
    You have to declare that variable as global variable in Parent page js file.
    Refer First page code.
    Regards,
    Selva

  • Syntax of DDL options and related (table) column names

    Hi,
    where can I find something like a mapping between DDL options and related table column names?
    For example I do have the table options PCTFREE, FREELISTS and NOCOMPRESS. The related table columns out of user_tables are PCT_FREE, FREELIST and COMPRESS.
    PCT(_)FREE wins an Underscore, FREELIST(S) wins an "S" and it is "NOCOMPRESS" if COMPRESS has a value "Y(es)".
    Hope somebody can help.

    So far I didn't find any information that is not in
    the DDL script gernerated from
    DBMS_METADATA.get_DDL.Alright, I give you an example:
    I create a table with the following DDL:
    "CREATE TABLE IntBuch (
    int_bunr integer NOT NULL,
    int_sdat double precision NOT NULL,
    int_hblz char(8) NOT NULL,
    int_hkto char(7) NOT NULL,
    int_hdat double precision NOT NULL,
    KtoNr char(7) NOT NULL,
    BLZ char(8) NOT NULL,
    CONSTRAINT PK_IntBuch PRIMARY KEY (int_bunr)
    USING INDEX
    PCTFREE 10
    STORAGE (
    INITIAL 1000
    NEXT 500
    PCTINCREASE 0
    MINEXTENTS 1
    MAXEXTENTS 4096
    PCTFREE 20
    LOGGING
    CREATE UNIQUE INDEX intid
    ON IntBuch (int_bunr DESC)
    CREATE INDEX hkto
    ON IntBuch (int_hblz,int_hkto)
    COMMENT ON TABLE IntBuch
    IS 'Kommentar zu DB-Tabelle InBuch'
    COMMENT ON COLUMN IntBuch.int_sdat IS 'Kommentar zu DB-Spalte int_sdat'
    ALTER TABLE IntBuch
    ADD CONSTRAINT Gutschrift FOREIGN KEY (int_hkto,int_hblz) REFERENCES Konto
    ON DELETE CASCADE
    ADD FOREIGN KEY (KtoNr,BLZ) REFERENCES Konto
    ADD FOREIGN KEY (int_bunr) REFERENCES Buchung
    ON DELETE CASCADE
    After that I read the DDL with DBMS_METADATA.get_DDL and I get
    " CREATE TABLE "UOENDE"."INTBUCH"
    (     "INT_BUNR" NUMBER(*,0) NOT NULL ENABLE,
         "INT_SDAT" FLOAT(126) NOT NULL ENABLE,
         "INT_HBLZ" CHAR(8) NOT NULL ENABLE,
         "INT_HKTO" CHAR(7) NOT NULL ENABLE,
         "INT_HDAT" FLOAT(126) NOT NULL ENABLE,
         "KTONR" CHAR(7) NOT NULL ENABLE,
         "BLZ" CHAR(8) NOT NULL ENABLE,
         CONSTRAINT "PK_INTBUCH" PRIMARY KEY ("INT_BUNR")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 16384 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE,
         CONSTRAINT "GUTSCHRIFT" FOREIGN KEY ("INT_HKTO", "INT_HBLZ")
         REFERENCES "UOENDE"."KONTO" ("KTONR", "BLZ") ON DELETE CASCADE ENABLE,
         FOREIGN KEY ("KTONR", "BLZ")
         REFERENCES "UOENDE"."KONTO" ("KTONR", "BLZ") ENABLE,
         FOREIGN KEY ("INT_BUNR")
         REFERENCES "UOENDE"."BUCHUNG" ("BU_NR") ON DELETE CASCADE ENABLE
    ) PCTFREE 20 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS"
    If there are no more DDLOptions possible than that, it is fine for me. If not, but all kinds of options are to find in only one or two tables of the database ( user_tables for table options, dba_constraints and dba_segments for column options, primary and foreign keys, user_indexes and user_segments for indexes ...), that is fine for me, too. (As long as I get to know which tables are "sufficient" for that.) If it is different than both of that, that's bad.
    However if you want to use defaults instead of
    absolut values, it is better to remove certain parts,
    like the storage clause, from the generated output.I understand this, but I am more interested to have all and not leaving out some of them in order to have the defaults in the database after running the DDL.
    A totally different approach could be to
    a) create a database link from one DB to another.
    b) create table <new_table> as select * from
    <old_table@dbLink> where 1=2;I keep that in mind, thanks for that hint.

  • How to set and retrive the index log path stored by parameter LOG_DIRECTORY

    how to set and retrive the index log path stored by parameter LOG_DIRECTORY.

    http://download-west.oracle.com/docs/cd/B19306_01/network.102/b14213/lsnrctl.htm#sthref72
    http://download-west.oracle.com/docs/cd/B19306_01/network.102/b14213/cmctl.htm#sthref239

  • How to find real owner.table.column in a view

    This seems pretty easy but I haven't been able to locate a way using the dba_views or all_views to pinpoint the exact owner.table.column that a given view column is based on.
    I can retrieve the text of the view from dba_views, but I don't see something like all_tab_columns that has a second set of owner, table and column_name columns to show what the underlying column in a view is.
    e.g. create me.view zz as select a.acp,b.acno from tom.tab1 a, fred.tab2 b where a.key = b.key
    desc me.zz
    acp varchar2(4)
    acno number
    Now I would like to select something like the following from all_tab_columns:
    select column_name,orig_owner, orig_table, orig_column from all_tab_columns where owner = 'ME' and table_name = 'ZZ'
    acp tom tab1 acp
    acno fred tab2 acno
    Does such a view exist to extract this information?

    Robert,
    By hosed do you mean there is no way to get this information from an Oracle view? I'm not sure what you mean by sys.all_views.owner, that just tells the owner of the view itself, not the owner.table.column of each column in the view. If the view is all based on a single table then obviously I can figure out the information, but many/most views join several tables, even from different schemas.
    What I am looking for is the equivalent of all_view_columns which has view column information as well as the base table owner.table.column. -quinn

  • How to save and edit a Word template and excel??

    How to save and edit a Word template and excel (extension. doc and. xls) in an XE database, which can be opened to allow the document and record all changes made by the user of the palicacion.
      or where it a clear tutorial on this topic.?
    I appreciate your attention and collaboration.
    good day ...

    You should not expect to do this in Oracle. But by .net, it can be fine
    http://www.codeproject.com/Articles/36432/Edit-Microsoft-Word-Document-From-Your-Application

Maybe you are looking for

  • How to set a column value in a tabular form via button

    Hi All, I am using Apex 3.0.1. And to create the form I am using the APEX interface tool I have tabular updateable report. In the same page I have a LOV field where I can choose some possible results. I want to have a button so I can select a value i

  • How get OutputHeaderVariable in invoke Activity

    Hi, I am calling an external webservice using invoke activity.I am assiging header to the soapmessage using the Input Header Variable in invoke activity. Now I want to extract the header in the response SoapMessage .I have used bpelx:outputHeaderVari

  • The time complexity of "Sort 1D Array"

    Does anyone know the time complexity of "Sort 1D Array"? The document of this function does not say anything about that, so I write test VI to sort an array of 10000 integer elements. It seems that the excution time is less than 1 second, so I guess

  • How to continuous​ly do AOAI and buffer the data for later use?

    Is there a way to do simultaneous AI and AO and keep the data in the buffer until I am finished with reading, then read the buffer and save the data to disc. I want to acquire 1000 scans on up to 10 chanels at 10 000 Scans/s, while generating one out

  • Now on Mountain Lion; how do I download new versions of Numbers, Pages, and Keynote?

    Just installed Mountain Lion. In checking out the iCloud features, it works fine for Preview and TextEdit. But Numbers and Pages do not seem to be integrated with iCloud. Then I noticed that my version of these is out of date. There are new updates w