Error in populating table data through forms

I had one SIM REPLACEMENT Form which has a base block table PPBS_SIM_CHANGE.
Once all the entires are entered the table gets populated.
But some times it seen that the base table does not get populated.Also the form does not gives any error.Pl help me to find out the error.
In the Save button the following code is written
IF :SYSTEM.FORM_STATUS IN ('NEW','CHANGED') THEN
commit;
if not form_success then
message ('Transaction Failed...');
else
message('Transaction Successfully Completed..');
end if;
END IF;

Why do you create a Save button in the first place? Forms already has its own Save botton.

Similar Messages

  • How to retrive table data in form

    Hi all,
    I want to retrive whole table data in forms , just by passing table name.either through a prcedure or function. is it possible to do this?
    Thanks in advance

    Hello,
    Pls give us the information about the version of database and forms you are using.
    it is possible to do so,provided you are aware of maximum no of columns(i.e no of tables which you use) and there datatypes before hand and also you have to use visible property extensively to show and hide the columns
    Regards
    Mohan Partha

  • Help needed in Exporting tables data through SQL query

    Hi All,
    I need to write a shell script(ksh) to take some of the tables data backup.
    The tables list is not static, and those are selecting through dynamic sql
    query.
    Can any body tell help me how to write the export command to export tables
    which are selected dynamically through SQL query.
    I tried like this
    exp ------ tables = query \" select empno from emp where ename\= \'SSS\' \"
    but its throws the following error
    EXP-00035: QUERY parameter valid only for table mode exports
    Thanks in advance,

    Hi,
    You can dynamically generate parameter file for export utility using shell script. This export parameter file can contain any table list you want every time. Then simply run the command
    $ exp parfile=myfile.txt

  • Transfer table data through DB Link

    Hi, hope somebody can help me with this one.
    I have got two oracle servers (one is v.8 and the other v.9i)and i want to transfer a table (structure + data) from the v.8 one to the other. Let4s assume that i am issuing SQL commands from the TARGET (v.9i) server. I have an DB Link already pointing to the tablespace on the source server so reading from the source table is not a problem, in fact, it works quick and nicely with commands like:
    INSERT INTO Table USING
    SELECT *
    FROM Table@DBLink_to_Remote_DB
    The problem starts when i try to transfer a table with a LONG column in its structure. It gives me an ORA-00600 Oracle Internal Error. It doesn4t look good at all. Should i assume that someone else have already tried this with no problems, and, thus, consider that this is an Oracle bug? Anyway... could i transfer this table using a DB Link at all? Any other suggestions?
    Thanks a lot in advance
    Francisco

    I don't think it's possible to trasfer long data through a DB link. It's an Oracle restriction.

  • How to send internal table data through mail from report in foreground

    hi all,
    iam trying  to convert the internal table data into excel format and sending it through mail by runnning the report in foreground.
    mail is going sucessfully with excel format,but iam facing the problem in the excel format of the material column as follows:
    the matrno shows the wrong format -2.63E+11  instead of displaying correct format-263215000000.
    Pls suggest the alternative process for the above mentioned problem.
    Thanks,
    Sivagopal R.

    Hi Siva,
      Try to copy 263215000000 in one of the cells of excel sheet and press enter.It will automatically convert into -2.63E+11 .
      This means the default formatting of the excel sheet makes this happen.If you convert the format of the cell to "NUMBER" then u will get the required result.
      But I doubt whether or not it is possible through ABAP programming.
    Regards,
    Vimal.

  • How can i save and retrieve blob data through forms and reports...

    I have blob data type column and I want to save word, html, gif
    document in oracle database through forms 6 and retrieve the
    data into forms and reports.
    Details : I want to open .doc,.html,.gif file through a button
    and save it ..and i want retrieve the data into text item same
    in reports....
    If anybody have the answer then send me at
    [email protected]

    use ole container
    initialize the container with the filename (doc or gif)
    Edited by: arshid on Feb 8, 2009 1:57 PM

  • Error in import table data using oracle datapump

    i am trying to import table data using oracle datapump
    CREATE TABLE emp_xt (
    ID NUMBER,
    NAME VARCHAR2(30)
    ORGANIZATION EXTERNAL (
    TYPE ORACLE_DATAPUMP
    DEFAULT DIRECTORY backup
    LOCATION ('a.dmp')
    it return the following error
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04084: The ORACLE_DATAPUMP access driver does not support the ROWID column.
    ORA-06512: at "SYS.ORACLE_DATAPUMP", line 19
    please help me

    .dmp file generated from exp command file not from oracle_datapump

  • Materialized view on a Partitioned Table (Data through Exchange Partition)

    Hello,
    We have a scenario to create a MV on a Partitioned Table which get data through Exchange Partition strategy. Obviously, with exchange partition snap shot logs are not updated and FAST refreshes are not possible. Also, this partitioned table being a 450 million rows, COMPLETE refresh is not an option for us.
    I would like to know the alternatives for this approach,
    Any suggestions would be appreciated,
    thank you

    From your post it seems that you are trying to create a fast refresh view (as you are creating MV log). There are limitations on fast refresh which is documented in the oracle documentation.
    http://docs.oracle.com/cd/B28359_01/server.111/b28313/basicmv.htm#i1007028
    If you are not planning to do a fast refresh then as already mentioned by Solomon it is a valid approach used in multiple scenarios.
    Thanks,
    Jayadeep

  • Error while posting AROI data through IDCO Acc Document

    Hi All,
    I am trying to post Accounts Receivable Open Items data through IDOC but i am getting below error.
    Error: REQUIRED FILED CURRENCY WAS NOT TRANSFERED IN PARAMETER ACCOUNTRECEIVABLE
    Tahnks & Regards,
    Balamurugan G

    Hi All,
    I am getting this error in Customer Item segment.
    Currency Segment working fine.
    Customer segment i mapped amount field to PYMT_AMT.
    I tired passing currency in 'ISO_CODE_CURRENCY’ and Payment currency filed. it dosent work.
    Please help... in the customer segment what are fileds are mandatory... also sample values.

  • How to get system date through forms 6i?

    Sir,
    I am trying to get system date in forms but i am getting some problem with it.
    My code is like this: I am using 6i forms with 10g database.
    SELECT SYSDATE INTO :VAR FROM DUAL;
    At the compilation it is giving error like
    ORA-00600 internal error argements
    can you help me please

    you can make this code instead of what you write in forms
    :VAR :=Sysdate;
    and make var variable of type date
    concern the error try to close the forms builder and open it again and recompile your form.
    hope this will help you

  • Edit table data through multiple forms

    Hi everyone,
    I have a report page with records from a table. I want to edit the records through multiple forms: one form holds half of the columns to edit, another form holds the rest.
    I'm not sure how to create the connections between the pages with the forms and the report page with the record to edit.
    Any help would be greatly appreciated!
    Thank you!

    Ways you could go about this:
    1. Manually create the items on each page, then on the final page have your own process with the code: insert into <table> (1,2,3,4,5) values (:p1_item, :p1_item2, :p1_item3, :p2_item1, :p2_item2);
    2. Have a DML process on each page, only with the columns you want to insert - of course, the items on the pages after the first form page would have to be nullable (which isn't really a good idea imo, unless of course it follows the business rules), otherwise you wouldn't be able to do the initial insert on the first form page - then after create have a branch to the next form page, passing in the primary key to the next page, so its just updating the row when you hit apply changes.
    3. APEX_COLLECTION?
    Trent

  • XML load error - when moving table data after upgrade

    Greetings:
    Background:
    Previously in our 2.2 instance, we would use the Data Load/Unload feature of APEX to move data in the form of XML from instance 1 to instance 2. This woks well because it moves images also (BLOB)
    What Changed:
    Recently we did the upgrade to APEX 3.0. The tool is working well, but we are having issues uploading XML data in the same manner we used to. The process wizard works up until time for execution.. the following error message is seen.
    XML load error.
    Return to application.
    Assumption:
    I do not believe this is an XML file issues because the file I am testing the process with is from the EMP table, and is from the UNLOAD option on the same DB and SCHEMA.. (testing is unloading the data, than re-loading the same data to the same place)
    Internally some permissions or something internal must be missing.
    Assistance or suggestions on where to look is greatly appreciated.
    Regards,
    Tim

    Tim,
    Sorry for the delay - that silly day job keeps getting in the way.
    Here is a small procedure you could use to take the XML data file format exported from Application Express and import into your table. This uses the Java-dependent DBMS_XMLSAVE package, which avoids the issue mentioned above.
    create or replace procedure load_xml(
        p_clob   in clob,
        p_schema in varchar2,
        p_table  in varchar2 )
    is
        l_insCtx dbms_xmlsave.ctxType;
        l_rows   number;
    begin
        l_insCtx := dbms_xmlsave.newContext(p_schema || '.' || p_table);
        dbms_xmlsave.setDateFormat(l_insCtx,'yyyy-MM-dd''T''HH:mm:ss.SSS');
        l_rows := dbms_xmlsave.insertXML( l_insCtx, p_clob);
        dbms_xmlsave.closeContext(l_insCtx);
    end load_xml;I then ran the following quick test on apex.oracle.com just for verification.
    declare
        l_xml varchar2(32000);
    begin
        l_xml := '<?xml version="1.0"?>
    <ROWSET>
    <ROW>
      <ID>11645117496276327</ID>
      <FLOW_ID>30072</FLOW_ID>
      <NAME>F11645117496276327/no_image_found.gif</NAME>
      <FILENAME>no_image_found.gif</FILENAME>
      <MIME_TYPE>image/gif</MIME_TYPE>
      <CREATED_BY>JOEL</CREATED_BY>
      <CREATED_ON>2007-03-14T05:06:38.000</CREATED_ON> 
      <BLOB_CONTENT>474946383961C800...(data removed for this example)...41000003B</BLOB_CONTENT>
    </ROW>
    </ROWSET>';
        load_xml( l_xml, 'MY_DB_USER', 'MY_APEX_FILES' );
    end;It's now simply a matter of how you get your XML file(s) into a CLOB to call this procedure. The options include:
    1) Just pass in a VARCHAR2 as I did in the example above, which would limit you to roughly 32K.
    2) You could use DBMS_LOB.LOADCLOBFROMFILE to read it from the database server filesystem.
    3) You could upload the file via an APEX application (or some other means within APEX), you could convert the BLOB to a CLOB, and then call this procedure. If you need help with this method, let me know.
    Don't forget - as yet another alternative, you could always contact Oracle Support to see what could be done about that underlying database bug.
    I hope this helps.
    Joel

  • Send table data through mail in oracle 10g

    Hi ,
    I am trying to send a mail through oracle 10g .
    I can send mail through utl_mail .
    The text that I need to send is data from a table .
    The table contains information about all the employees .
    Table name is person . If the employee is absent on any day without any reason there would be a row of this employee in the table person.
    There is also a column named email in this table .
    I need to write a stored procedure which will send the data about each particular employee to their respective email for all the employees in the person table .
    Can anyone please help me on this .
    Thank you.

    Try this forum thread first:
    Re: send email by procedure
    There are lots of articles on how to accomplish this taks on the web:
    -- utl_smtp example
    http://it.toolbox.com/wiki/index.php/Send_email_from_Oracle_Database
    http://www.databasejournal.com/features/oracle/article.php/3423431/Sending-e-mail-from-within-Oracle.htm
    -- From Application Express product
    http://www.oracle.com/technology/products/database/application_express/howtos/howto_workflow.html
    HTH -- Mark D Powell --

  • Error when transferring table data to a CSV format file.

    Hi
    I am getting an error when I am passing the parameter value for the file name from the selection screen. If i hard code the path and name it works fine. can any one help me please. here is my code:
    PARAMETERS: OUTFILE LIKE dxfile-filename
                           DEFAULT 'C:\Apositivepay.txt',
          RUNDATE LIKE PAYR-LAUFD,
          Bank LIKE T012K-HBKID.     "List of Possible Banks
    type-pools:TRUXS.
    DATA: BEGIN OF OUTPUT_REC OCCURS 0,  "Output file for USBANK
          ACCT(12),           "bank account no
          Payee2(40) type c,         "payee 2
          END OF OUTPUT_REC.
    data:  itab1 type TRUXS_T_TEXT_DATA.
      CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'
        EXPORTING
             I_FIELD_SEPERATOR          = ','
         TABLES
             I_TAB_SAP_DATA             = OUTPUT_REC
         CHANGING
             I_TAB_CONVERTED_DATA       =  itab1
         EXCEPTIONS
              CONVERSION_FAILED          = 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.
    CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
            filename = OUTFILE  "This doesn't work
            filename = 'C:\Apositivepay.txt' "This works
         TABLES
              DATA_TAB            = itab1
         EXCEPTIONS
              FILE_OPEN_ERROR     = 1
              FILE_WRITE_ERROR    = 2
              INVALID_FILESIZE    = 3
              INVALID_TABLE_WIDTH = 4
              INVALID_TYPE        = 5
              NO_BATCH            = 6
              UNKNOWN_ERROR       = 7
              OTHERS              = 8.
    Message was edited by: Anwarul Kabir

    hi,
    use this code and save that file in CSV format it will work
    OPEN DATASET P_IFILE FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF SY-SUBRC NE 0.
        MESSAGE E000 WITH 'Problem in opening Application Server file'.
      ELSE.
        DO.
          READ DATASET P_IFILE INTO IT_UPLOAD.
          IF SY-SUBRC NE 0.
            EXIT.
          ELSE.
            APPEND IT_UPLOAD.
            CLEAR IT_UPLOAD.
          ENDIF.
        ENDDO.
        CLOSE DATASET P_IFILE.
      ENDIF.
      IF IT_UPLOAD[] IS INITIAL.
        MESSAGE E000 WITH 'NO data in the file/upload problem'.
      ENDIF.
      LOOP AT IT_UPLOAD.
        SPLIT IT_UPLOAD AT ','
                         INTO
                         IT_FDATA-MATNR
                         IT_FDATA-WERKS.
                        IT_FDATA-SLGORT.
        APPEND IT_FDATA.
        CLEAR  IT_FDATA.
      ENDLOOP.
       IT_TOTAL1[] = IT_FDATA[].

  • Error while updating customer data through IDOC.

    hi all,
    I am using the function module "IDOC_INPUT_DEBITOR" to update the customer master data but i was getting an error "editing was terminated".Please help to solve this problem.
    regards,
    Suresh.

    <Font Color='Red'>Valid Values for PlanningSystem
    </Font>
    bop_MRP
    bop_None
    <Font Color='Red'>Valid Values for ProcurementMethod
    </Font>
    bom_Buy
    Bom_Make
    <Font Color='Red'>Valid Values for GLMethod
    </Font>
    glm_WH
    glm_ItemClass
    glm_ItemLevel
    <Font Color='Red'>Valid Values for ItemType
    </Font>
    it_Items
    it_Labor
    it_Travel
    Valuation Method would be defined in the System Init > Company Details ....Basic Initialization TAB
    Default Valuation Method drop down
    Suda

Maybe you are looking for

  • How much RAM can my computer support?

    This computer has four memory slots but I don't want to buy memory that I don't need. Also I am currently running SDRAM-PC133-333, but most sites say that this model computer should run PC120, or 100, or something like that..........will I be ok runn

  • File Making Directories Problem. java.io.FileNotFoundException

    When ever I run my program it is SUPPOSED to make the directories, instead it tells me the file doesn't exist and fails. Here is my Code: * To change this template, choose Tools | Templates * and open the template in the editor. package passworddatam

  • How do I Get songs to download off the cloud when that isn't an option?

    there are various songs listed in my library that are greyed out. Some of them have the opition next to them to download them off from the cloud and most of them don't. How can I get those songs onto my library and be able to play?

  • Extreme slow upload speed in Dallas area

    Hello Something happened to my upload speed last Thursday, it has dropped considerably connecting to most servers making many sites very sluggish. I have the hardest time just attaching a file in Gmail and the gmail chat keeps saying 'unable to conne

  • Pulling Free text into BW

    Hi, We need to get Free text into BW which has length greater than 60 characters and also display it in BEx reports.. I am aware of the 60 char length limitation.. Anyone of you out there have figured out a way top overcome this.. Ashish..