Upgrade the database table

hi all
I have a sceen if i will enter the value and press the save button it will add all the value into the database table.
I am doing this using dialog programming.
if anybody have face this prob to upgrade the database table than it would help me a lot
thanks a lot to all
mrutyun

Hey Hi
For that first either you have to declare internal table or you can use database table work area in the abap editor
after that you need to declare all 5 fields with same name in abap as well as screen painter.
now in the PAI of the screen you have to handle all your 3 pushbuttons with the help of fcoded assigned to them.
the case may be like this
PROCESS AFTER INPUT
CASE OK-CODE.
WHEN 'CREATE'.
ITABNAME-FNAME1 = SCREEN FIELD NAME1
ITABNAME-FNAME2 = SCREEN FIELD NAME2
ITABNAME-FNAME3 = SCREEN FIELD NAME3
ITABNAME-FNAME4 = SCREEN FIELD NAME4
ITABNAME-FNAME5 = SCREEN FIELD NAME5
INSERT <DATABASE TABLE> FROM ITAB.
WHEN 'DISPLAY'.
SELECT SINGLE * FROM DBTAB INTO ITAB.
SCREEN FIELD NAME1 = ITABNAME-FNAME1
SCREEN FIELD NAME2 = ITABNAME-FNAME2 =
SCREEN FIELD NAME3 = ITABNAME-FNAME3
SCREEN FIELD NAME4 = ITABNAME-FNAME4
SCREEN FIELD NAME5 = ITABNAME-FNAME5.
WHEN 'CHANGE'.
ITABNAME-FNAME1 = SCREEN FIELD NAME1
ITABNAME-FNAME2 = SCREEN FIELD NAME2
ITABNAME-FNAME3 = SCREEN FIELD NAME3
ITABNAME-FNAME4 = SCREEN FIELD NAME4
ITABNAME-FNAME5 = SCREEN FIELD NAME5
MODIFY <DATABASE TABLE> FROM ITAB.
ENDCASE.
THANKS

Similar Messages

  • Upgraded the Database from 10.2.0.4 to 11.2.0.2 including statistics

    Hi,
    Recently I have upgraded Few Servers from 10.2.0.4 to 11.2.0.2 on Sun Solaris 64Bit X86.
    BANNER
    Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for Solaris: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - ProductionBefore the Upgrade We generated the stats at system level and Schema level and exported the stats into Table.
    Database Upgrade was done successfully
    Upgraded the System stats
    Upgraded the Stats table and imported back to Schema's
    Tested with Queries and they were OK
    But some of the Queries which have DB Links started taking Hanging and seen wait events
    WAIT #18446741324892168800: nam='asynch descriptor resize' ela= 3 outstanding #aio=0 current aio limit=4294967295 new aio limit=261 obj#=-1 tim=581083891935
    WAIT #18446741324892168800: nam='SQL*Net message to dblink' ela= 4 driver id=1413697536 #bytes=1 p3=0 obj#=-1 tim=581084016896
    WAIT #18446741324892168800: nam='SQL*Net more data from dblink' ela= 22 driver id=1413697536 #bytes=4 p3=0 obj#=-1 tim=581084030942 So I raised call with Oracle and gave me patch for fix "asynch descriptor resize" but the problem still exist with below wait events
    WAIT #18446741324892168800: nam='SQL*Net message to dblink' ela= 4 driver id=1413697536 #bytes=1 p3=0 obj#=-1 tim=581084016896
    WAIT #18446741324892168800: nam='SQL*Net more data from dblink' ela= 22 driver id=1413697536 #bytes=4 p3=0 obj#=-1 tim=581084030942 Normally in the 10g this Query used to come out under second
    So I used the Hint 10.2.0.4 in the Query and the output came under second.
    So I updated the optimizer feature parameter to 10.2.0.4 and then Queries started working fine.
    In the Test Environment I was able to reproduce the same problem.
    Test Case
    Took the physical copy for the Upgraded DB
    Run the same Query with 11.2.0.2 optimizer and saw the same problem
    Deleted the Schema level stats
    Generated the new stats
    Executed the same Query(Out came under second)
    Oracle Support Still working on this issue
    As any one has faced this issue.
    Regards
    NM

    You can do this also
    1. Export 3 schemas with grants=y rows=N and import the data schema structure with grants
    2.Check the log file for missing roles and create those roles using from dba_role_privs..etc
    3. Import the data ignore=y option
    Hope this helps
    http://www.oracleracexpert.com
    Click here to learn [Oracle data pump export/import with examples.|http://www.oracleracexpert.com/2009/08/oracle-data-pump-exportimport.html]
    Click here to learn [Data Pump Export modes and interfaces|http://www.oracleracexpert.com/2009/08/data-pump-export-modes-and-interfaces.html]

  • After REFRESH the cached object is not consistent with the database table

    After REFRESH, the cached object is not consistent with the database table. Why?
    I created a JDBC connection with the Oracle database (HR schema) using JDeveloper(10.1.3) and then I created an offline database (HR schema)
    in JDeveloper from the existing database tables (HR schema). Then I made some updates to the JOBS database table using SQL*Plus.
    Then I returned to the JDeveloper tool and refreshed the HR connection. But I found no any changes made to the offline database table JOBS in
    JDeveloper.
    How to make the JDeveloper's offline tables to be synchronized with the underling database tables?

    qkc,
    Once you create an offline table, it's just a copy of a table definition as of the point in time you brought it in from the database. Refreshing the connection, as you describe it, just refreshes the database browser, and not any offline objects. If you want to syncrhnonize the offline table, right-click the offline table and choose "Generate or Reconcile Objects" to reconcile the object to the database. I just tried this in 10.1.3.3 (not the latest 10.1.3, I know), and it works properly.
    John

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • Regardig error while updating the database table

    hi experts,
       i m trying to update the database table from the values containig in my internal table  ,,,but the system is giving this error plz help me::::
    The type of the database table and work area (or internal table)
    "ITAB_UPDATE" are not Unicode convertible. Unicode convertible.          
    my internal table name itab_update and the database table name yitab.i m using this statement::
        modify yitab from itab_update.

    Hi
    1. You  have to Declare the Itab with the same structure as DB table.
    2. Use the statement
        Modify <DBtable> from TABLE <itab>.
    or
       Update <DBtable> from TABLE <itab>.
    Hope this will solve.
    Reward .....if so.
    Regards.

  • ORA-03113: Error while upgrading the Database from 11.1.0.6 to 11.1.0.7

    Hi,
    I am trying to upgrade the database from 11.1.0.6 to 11.1.0.7 on OEL operating system.
    After applying the patch "6890831" when trying to start the database using "Startup Upgrade" command I am getting the below error.
    ORA-03113: end-of-file on communication channel
    Process ID: 20826
    Session ID: 170 Serial number: 3
    I am getting the same error when trying to create the new database using "DBCA".
    Please provide me the probable outcomes.
    Thanks
    Amith

    Below entries found in alert_orcl.log file
    MMNL started with pid=15, OS id=20571
    starting up 1 shared server(s) ...
    ORACLE_BASE from environment = /u01/app/oracle
    Thu Dec 03 20:11:11 2009
    ALTER DATABASE MOUNT
    Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_mman_20557.trc:
    ORA-27103: internal error
    Linux-x86_64 Error: 11: Resource temporarily unavailable
    Additional information: -1
    Additional information: 1
    MMAN (ospid: 20557): terminating the instance due to error 27103
    Instance terminated by MMAN, pid = 20557
    Below entries found in the Trace file generated
    error 27103 detected in background process
    ORA-27103: internal error
    Linux-x86_64 Error: 11: Resource temporarily unavailable
    Additional information: -1
    Additional information: 1
    *** 2009-12-03 20:11:14.727
    MMAN (ospid: 20557): terminating the instance due to error 27103

  • How to find out that the database table is empty

    Hello all,
    How to find out in ABAP in the best performant way, that the database table is empty. The table could have several milions of records or be empty. SELECT count( * )  looks to me as not the best way.
    Kind regards
    Radim Benek
    Moderator message: FAQ, please search for previous discussions of similar topics.
    example: "SELECT SINGLE" vs. "SELECT UP TO 1 ROWS"
    Moderator message: Please Read before Posting in the Performance and Tuning Forum
    Edited by: Thomas Zloch on Aug 11, 2011 5:06 PM

    Hi,
    One approach is:
    check lt_mytable is initial.
    This will be true if there are no lines.
    Another:
    describe table lt_mytable lines lv_count
    if lv_count = 0.
    "Empty
    Thanks.
    Anitha a

  • To replace values of one of the field in the database table

    How to replace values of one of the field in the database table with a new values? Pls help to solve

    Hi
    You can use the UPDATE command to update one of the field value in a table
    see the UPDATE syntax and use it
    but in real time you should not do like this
    Regards
    Anji

  • Upgrading the database from Oracle 8.0.6 to Oracle 9.2.0

    Dear SDN,
    We are in the process of upgrading SAP 4.6b to 4.7 R/3 Enterprise.
    Source Release:Windows 2000/Oracle 8.0.6/SAP 4.6b
    Target Release:Windows 2000/Oracle 9.2.0/SAP R/3 4.7
    Can anyone help us in explaining the procedure for upgrading the database from Oracle 8.0.6 to Oracle 9.2.0.
    Thanks n Regards ,
    Anantha Raman E.

    Thanks Mr.Mohan
        We tried to upgrade from 8.0.6 to 8.1.7 with the help of Inst Guides from service market place..the thing is we created another oracle home with new DBSID ither than the old DBSID...when we started the migration using 8.1.7 Data migration tool its not responding after the first phase CHECKING THE OLD DATABASE...
    Pls help us in this regard
    Whether we have to migrate or what...

  • Document to upgrade the database from 10.2.0.5 to 11.2.0.3

    OS:Linux
    Database:10.2.0.5
    I have standalone and RAC database running on 10.2.0.5 version and need to be upgrade it to 11.2.0.3 . Could someone let me know about the upgrade doc. Both manual upgrade and DBUA doc.
    Thanks in advance.

    Hi,
    You can check following MOS Doc
    Note 419550.1 : Different Upgrade Methods For Upgrading Your Database
    Note 837570.1 : Complete Checklist for Manual Upgrades to 11gR2
    Note 870814.1 : Complete checklist to upgrade the database to 11gR2 using DBUA
    HTH

  • Now that I've installed Yosemite, my computer keeps telling me that iPhoto needs to be upgraded.  When it starts "upgrading the database", it gets almost to the end of the progress bar, then sits and spins.  It  won't finish.

    My computer is an iMac that was made in late 2009, and was purchased by me in 2010.  It has a 3.06 GHz Intel Core 2 Duo processor.  I have more than 800 GB of storage available.  Last week I installed the Yosemite OS.  I'm having trouble with the upgrading of iPhoto.  When it says it's upgrading the database, it never finishes.  I've started the process a few times, and the progress line always gets to the same place when it sits and spins for hours at a time without any more progress.  I thought about putting some of my 10,000 + pictures on discs to see if that would help, but I can't open iPhoto to get at them.  Would that help, anyway?  My son thinks this computer is too old to accept all updates.  The hard drive was replaced 2 years ago.
    Thanks for any help.

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • How to transport the DATABASE TABLE  into  the Test system ?

    Hi Experts,
    I am working on BI7,  I had created Database table in BDV system using SE11. Tech_name is ZGLACC_TEMP. I had activated it. I had used this database table for the purpose of  writing the start routine in the transformation. while I am transporting the transformations to the test system, It is showing as syntax error in ABAP program,
    In BDV system there are no syntax errors. it is working fine,
    So now I have to transport the database table to test system  so that I can transport the transformations into Test system without any error.
    Kindly anyone can give the answer , it will be appreciate and points will be assigned.
    thanks
    sekhar

    Hi Sekhar,
       Go to SE11, go into the change mode of your table and change the Object Directory entry (Goto -> Object Directory Entry) to some valid package (other than $tmp). Then it will ask for a transport request. Give a transport request and then I believe you know what to do with that transport.
       Another thing to keep in mind ... transport all the data elements and domains you have created for this table. Change their Object Directory Entry and assign them to the same transport request.
    Best regards,
    Kazmi

  • Updating data in the database table

    Can any help me in the code for updating data in the database table.
    Regards,
    Rahul

    Hi Rahul,
    A slightly longer procedure that i'm adding here...
    1.) Create the component (i'm sure you have this covered)
    2.) Next on the button click that updates the database - add an action.
    3.) double click the action so that you are taken to the methods section of the view.
    4.) next you need to add the code that is required the update the database - this will be in the form of the above two posts.
    5.) compile and test the application
    Let me know in case you need further information on how to do this with a function module or something.
    Thanks.

  • The type of the database table and work area (or internal table)...

    Hello
    I am trying to use a database and select all records from it and store them into an internal table.
    My code:
    Select * from xixi_dbcurrency into table gt_currency.
    The error:
    "The type of the database table and work area (or internal table) "GT_CURRENCY" are not Unicode-convertible . . . . . . . . . .     "
    Any suggestions?
    Thank you

    Hi Thomas,
    Thank you for your inputs above.
    But as you suggested is we use INTO CORRESPONDING FIELDS OF TABLE then it resolve the error.
    But I have below piece of code:
    DATA:    it_new_source TYPE STANDARD TABLE OF _ty_s_sc_1,
                  wa_source TYPE _ty_s_sc_1,
                  wa_new_source TYPE _ty_s_sc_1,
                  ls_target_key TYPE t_target_key.
    SELECT * INTO CORRESPONDING FIELDS OF TABLE it_new_source
           FROM /bic/afao06pa100
           FOR ALL ENTRIES IN SOURCE_PACKAGE
           where /bic/fcckjobno = SOURCE_PACKAGE-/bic/fcckjobno
           and /bic/fcckjitid = SOURCE_PACKAGE-/bic/fcckjitid.
    But since this is reading into corresponding fields of table the data load from one DSO to other DOS is running for long more that 15 hours and still not getting completed and giving dump.
    So if I switch the search to below:
    SELECT * FROM /bic/afao06pa100
       INTO TABLE it_new_source
           FOR ALL ENTRIES IN SOURCE_PACKAGE
           where /bic/fcckjobno = SOURCE_PACKAGE-/bic/fcckjobno
           and /bic/fcckjitid = SOURCE_PACKAGE-/bic/fcckjitid.
    Then I am getting below error:E:The type of the database table and work area (or internal table) "IT_NEW_SOURCE" are not Unicode convertible.
    Can you please advice on this, as performance need to improve in start routine code.
    Thank You.

  • The type of the database table and work area are not Unicode convertible

    ***Data declaration
    TYPES : BEGIN OF t_zle_lagerplanung,
                       SEl, "stores which row user has selected
                       kdauf TYPE zle_lagerplanung-kdauf,
                       kdpos TYPE zle_lagerplanung-kdpos,
                       etenr TYPE zle_lagerplanung-etenr,
                       papiermaschine TYPE zle_lagerplanung-papiermaschine,
                       runnr TYPE zle_lagerplanung-runnr,
                       prio TYPE zle_lagerplanung-prio,
                       werk TYPE zle_lagerplanung-werk,
                       durchmesser TYPE zle_lagerplanung-durchmesser,
                       breite TYPE zle_lagerplanung-breite,
                       anzle TYPE zle_lagerplanung-anzle,
                       lgpla TYPE zle_lagerplanung-lgpla,
                       lgtyp TYPE zle_lagerplanung-lgtyp,
                       art TYPE zle_lagerplanung-art,
                       anzhoehe TYPE zle_lagerplanung-anzle,
                       fa TYPE zle_lagerplanung-fa,
    END OF t_zle_lagerplanung.
    DATA : it_zle_lagerplanung TYPE STANDARD TABLE OF t_zle_lagerplanung INITIAL SIZE 0,
                wa_zle_lagerplanung TYPE t_zle_lagerplanung.
    Here I am getting the data in internal table by using thiis select statement.
    SELECT kdauf kdpos etenr papiermaschine runnr prio werk durchmesser breite
                  anzle lgpla lgtyp art anzhoehe fa
    FROM    zle_lagerplanung INTO CORRESPONDING FIELDS OF TABLE it_zle_lagerplanung
    WHERE  kdauf IN s_kdauf
    AND       KDPOS IN s_kdpos
    AND      werk = p_werks.
    But while updating the particular field in zle_lagerplanung using this statement
    UPDATE zle_lagerplanung from table it_zle_lagerplanung.
    it is giving syntax error
    "The type of the database table and work area (or internal table)
    "IT_ZLE_LAGERPLANUNG" are not Unicode convertible. "
    Could any one help me out how to resolve this problem....
    Thanks in advance

    Dear Shayamal,
    XXX....are not Unicode convertible
    This  error comes while inserting or updating database and the fields are not matching between  data base table and structure .
    Check you fields of data base table and  "zle_lagerplanung" and struture "it_zle_lagerplanung" . There fields must match.
    thanks and regrds,
    Anup Banerjee

Maybe you are looking for

  • FBCJ issue

    Hi Gurus, While posting entries of loans & Advances through FBCJ (cash journal) open line item is not activated in system.it shows posted status instead of open line item. if we pass same entry via F-02 then it shows open line item in ledger of loan

  • Controling a user interface with extern DLL

    Hi, I am currently developing an application that is based on a graphical interface. I divide my code into multiple DLLs. By going this route, I met several problems. I want to know some facts: 1 - from the DLL can I  assign values ​​to textbox,  re

  • Field

    can anybody explain indetail what are meant by field symbols & field  groups

  • Has anyone else been charged 3 times by iTunes Store for one purchase?

    I made a purchase last night on Apple TV only to find out that Apple iTunes charged me three times for it. Anyone else have this issue? I suggest everyone that is purcashing from iTunes and Apple TV that you check your bank statement to make sure you

  • Ios7 - all my phone numbers just disappeared

    iPhone 5S 64GB Version 7.0.4 (11B554a) AT&T 15.5 I was texing some friends back & forth.  In the last reply text, I noticed it did not show my friends names, just their phone numbers.  Looked at all my other previous texts and everything is listed as