Data not getting inserted into table Hxt_Add_Assign_Info_F

Hi,
Can any one tell me as to when data is inserted into the table Hxt_Add_Assign_Info_F.
Lately this table has not been getting updated.
Thanks
Zicky

Hi Sharath,
Thanks alot for the info, it seems that data had not been entered for certain employees in that form and hence the problem.
Even then, I guess it will be a day or 2 before they will be able to see their in/out timings.
Regards
Zicky

Similar Messages

  • Data not getting inserted into oracle with theAutoCommitEnabled not checked

    Hello Experts
    I have a proxy to JDBC scenario.I have 3 SQL statements and the Format is
    <DeleteStatement>
    <InsertStatement>
    <CallStoredProcStatement>.
    While excecuting with the AutoCommitEnabled box checked, the insert statement is excecuting and the data is getting updated in the oracle database..But the CallStoredProcStatement is not excecuting.
    If the AutoCommitEnabled box not checked,the data is not getting updated in the database .but in RWB log all the SQL statements are getting executed successfully.
    Are there any other configurations still to be made in the JDBC adapter.

    Hi,
    Why you not using single SP to handle all the queries?
    BTW, have you used the parameter "logSQLStatement = true" in JDBC receiver channel? It will show in audit log what query is being executed.
    Regards,
    Neetesh

  • Data not getting inserted in R/3 System from Webdynpro

    Hi,
    We were trying to insert some data into r/3 z-table using a Custom BAPI using RFC.
    But the data is not getting inserted.
    Through I commit is being performed explicity.
    Please help:
    Below is the code :
    Controllor code :
    public void wdDoInit()
        //@@begin wdDoInit()
         try{
            Z_Bapi_Rfq_Test_Input objStatus = new Z_Bapi_Rfq_Test_Input();
            wdContext.nodeZ_bapi_rfq_test().bind(objStatus);
    //        Create a new element in node Bapi_Transaction_Commit_Input
          Bapi_Transaction_Commit_Input inputCommit =
          new Bapi_Transaction_Commit_Input();
          wdContext.nodeBAPI_TRANSACTION_COMMIT()
          .bind(inputCommit);
            //Bapi_Transaction_Commit_Input obj;
           // wdContext.nodeZ_Bapi_Quo_Salesrep_Status_Input().invalidate();
            //wdContext.nodeOutput().invalidate();
            //wdContext.nodeRfq_Status().invalidate();
              } catch(Exception rfqException){
                        wdComponentAPI.getMessageManager().reportException("rfqException="+rfqException.getMessage(),true);
        //@@end
    public void executeBapi( )
        //@@begin executeBapi()
         try{
                   Z_Bapi_Rfq_Test_Input  obj = wdContext.currentZ_bapi_rfq_testElement().modelObject();
                   AbstractList   objAbBapiPartner = new Bapiparnr.Bapiparnr_List();
                   Bapiparnr objBapiPartner = new Bapiparnr();
                   objBapiPartner.setPartn_Numb("0000001046");
                   objBapiPartner.setPartn_Role("AG");
                   //obj.addPartner(objBapiPartner);
                   objAbBapiPartner.add(objBapiPartner);
                  obj.setPartner(objAbBapiPartner);
                  Bapisdhd1 objBapisdhd1 = new Bapisdhd1();
                   objBapisdhd1.setSales_Org("2500");
                   objBapisdhd1.setDistr_Chan("30");
                   objBapisdhd1.setDivision("20");
                   objBapisdhd1.setDoc_Type("ZRFQ");
                 obj.setHeader(objBapisdhd1);
                 obj.execute();
    //             Synchronise the data in the context with the data in the model
                   wdContext.nodeZ_bapi_rfq_test().invalidate();
              wdContext.nodePartner().invalidate();
                   wdContext.nodeHeader().invalidate();
                   wdContext.nodeOutput().invalidate();
                   wdContext.nodeReturn().invalidate();
    //               Z_Bapi_Quo_Salesrep_Status_Output outPut= obj.getOutput();
    //               if(outPut!=null){
    //                    List materialList=outPut.getRfq_Status();
    //                    if(materialList!=null){
    //                      wdComponentAPI.getMessageManager().reportSuccess("materialList="+materialList.size());
              } catch(Exception rfqException){
                   wdComponentAPI.getMessageManager().reportException("rfqException="+ rfqException.toString(),true);
        //@@end
    public void executeBapi_Commit( )
        //@@begin executeBapi_Commit()
         try {
    //       Calls remote function module BAPI_Transaction_Commit
         wdContext.currentBAPI_TRANSACTION_COMMITElement().modelObject().execute();
         wdContext.nodeBAPI_TRANSACTION_COMMIT().invalidate();
         wdContext.nodeOutput1().invalidate();
         wdContext.nodeReturn().invalidate();
         wdContext.nodeReturn1().invalidate();
         } catch (WDDynamicRFCExecuteException ce) {
              wdComponentAPI.getMessageManager().reportException(ce.getMessage(), false);
        //@@end
    View Controlloer Code:
    public void wdDoInit()
        //@@begin wdDoInit()
         wdThis.wdGetCControllerController().executeBapi();
         wdThis.wdGetCControllerController().executeBapi_Commit();
                 IWDApplication wedDynApplication=wdComponentAPI.getApplication();
                 IWDApplicationInfo applicationInfo=wedDynApplication.getApplicationInfo();
                 Collection collection=applicationInfo.getApplicationProperties();
        //@@end

    Hi Gareth,
    I was not getting enough time to reply, so replying late.
    Actaully the problem was with r/3 BAPI Code itself.
    There was condition in the begining of the code to check the data in the workare of R/3, so this condition was failing here.
    But when we try to invoke that bapi from r/3 workbench it works fine because the data first comes to R/3 workarea then to R/3 Tables.
    But when we insert data from Webdynpro framework , the data directly goes to R/3 Tables rather than the R/3 Workarea. So in Bapi the first condition was failing and no data was getting inserted.
    So this was the problem, and we solved it.
    Thanks,
    Regards,
    Aditya metukul

  • BADI for MIGO update - Data not getting saved in table sometimes

    Hi,
    This is regarding automatic update of material document number to our Z Table for Gate entry in MM.
    Steps for Generating  GR throu2019 MIGO:-
    1) the user has to key in the gate entry number and plant,
    2) then after giving i/p values the user has to click the save button,
    3) MIGO number is generated by the system which is updated in gate entry header table.
    For updating the MIGO number BADI is used . But some time the system is not updating the GR number in gate entry header table.
    Can we use COMMIT WORK statement in BADI? Hope its not advisable to use it.
    What else can we do if data is not getting stored in table while updating throu2019 BADI?
    Inside the Method : IF_EX_MB_MIGO_BADI~POST_DOCUMENT the below code is written,
    Instead Of Updating The Gate Entry Item Table Now
    Update The Gate Entry Header Table. Update The
    Value Of The Field MBLNR With Current Document Number
    Generated Updating the header table ZMM_GATE_ENTRY
        SELECT SINGLE *
          FROM ZMM_GATE_ENTRY
          INTO WA_ZMM_GATE_ENTRY
         WHERE GATEENTRYNO EQ GS_EXDATA_HEADER-GATEENTRYNO
           AND WERKS       EQ GS_EXDATA_HEADER-WERKS
           AND GYEAR       EQ GS_EXDATA_HEADER-ENTRY_DATE+0(4).
    Check To Ensure That Once A Gate Entry Number
    Is Associated With A GR It Cannot Be Reused
        IF WA_ZMM_GATE_ENTRY-GR_NUMBER IS INITIAL.
          WA_ZMM_GATE_ENTRY-REFERENCE = GS_EXDATA_HEADER-REFERENCE.
          WA_ZMM_GATE_ENTRY-REFWERKS  = GS_EXDATA_HEADER-WERKS.
          WA_ZMM_GATE_ENTRY-GR_NUMBER = IS_MKPF-MBLNR.
          WA_ZMM_GATE_ENTRY-GR_YEAR   = IS_MKPF-MJAHR.
    MODIFY ZMM_GATE_ENTRY FROM WA_ZMM_GATE_ENTRY .u201Dupdating the workarea
    u201CThe above modify stmt updates data sometimes and does not updates the data sometimes
        ELSE.
          MESSAGE E901(ZMM) WITH GS_EXDATA_HEADER-GATEENTRYNO WA_ZMM_GATE_ENTRY-GR_NUMBER.
        ENDIF.
    Plz suggest some soln?
    Regards,
    P.S.Chitra

    Hi,
    This is regarding automatic update of material document number to our Z Table for Gate entry in MM.
    Steps for Generating  GR throu2019 MIGO:-
    1) the user has to key in the gate entry number and plant,
    2) then after giving i/p values the user has to click the save button,
    3) MIGO number is generated by the system which is updated in gate entry header table.
    For updating the MIGO number BADI is used . But some time the system is not updating the GR number in gate entry header table.
    Can we use COMMIT WORK statement in BADI? Hope its not advisable to use it.
    What else can we do if data is not getting stored in table while updating throu2019 BADI?
    Inside the Method : IF_EX_MB_MIGO_BADI~POST_DOCUMENT the below code is written,
    MODIFY ZMM_GATE_ENTRY FROM WA_ZMM_GATE_ENTRY .u201Dupdating the workarea
    u201CThe above modify stmt in code updates data sometimes and does not updates the data sometimes
    Moderator message: duplicate post locked.
    Edited by: Thomas Zloch on Aug 10, 2010 11:33 AM

  • Record not getting inserted into R/3 table.

    Hi Experts,
    I am trying to save some information in R/3 using BAPI. I have written codes like as shown below:
    Code in View
    public void onActionInsertRecord(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionInsertRecord(ServerEvent)
        try {          wdThis.wdGetTimesheetCompController().executeBapi_Catimesheetmgr_Insert_Input();
                   wdThis.wdGetTimesheetCompController().executeBapi_Transaction_Commit_Input();
        } catch (Exception ex)
        {wdComponentAPI.getMessageManager().reportException(ex.getMessage(), false);
        //@@end
    Code in Component Controller
    public void executeBapi_Catimesheetmgr_Insert_Input( )
        //@@begin executeBapi_Catimesheetmgr_Insert_Input()
        IWDMessageManager manager = wdComponentAPI.getMessageManager();
        try
        {   Bapicats1 xx = new Bapicats1();
           xx.setWbs_Element(wdContext.currentWorklistElement().getRec_Wbs());
           xx.setEmployeenumber(wdContext.currentZbapi_Cat_Stech00_Getdetail_InputElement().getEmployeenumber());
           xx.setCatshours(new BigDecimal ("1"));
           xx.setWorkdate(wdContext.currentOutputElement().getDate_From());
           wdContext.currentBapi_Catimesheetmgr_Insert_InputElement().setProfile(wdContext.currentZbapi_Cat_Stech00_Getdetail_InputElement().getProfile());
              wdContext.currentBapi_Catimesheetmgr_Insert_InputElement().modelObject().execute();
              wdContext.nodeOutputnew().invalidate();
        catch(WDDynamicRFCExecuteException e)
          manager.reportException(e.getMessage(), false);
        //@@end
    My records are  not getting saved in R/3 tables. Can you please let me know what is going wrong here. The BAPI input parameters values are correctly getting populated in Component Controller.
    I have also created error message table in View. This error message table is mapped to output of Bapi_Catimesheetmgr_Insert. This table is not getting populated.
    Due to this reason, I believe that the values of input parameters of BAPI are not getting passed to R/3. However, I am not sure where the problem lies. Can you please help me in resolving the issue?
    Regards,
    Brian

    Hi Sumit,
    I am not getting any exception. Using SE37, I can save the transaction. Can you please let me know what is going wrong here.
    Regards,
    Sumit

  • Date pblem while inserting into table

    hi
    i have table with fields
    USERID VARCHAR2(20)
    TIMEEMTRY DATE
    EVENTID VARCHAR2(20)
    TERMINALSN VARCHAR2(20)
    FSHIFTIN DATE
    while i try to insert using the following statment
    INSERT INTO TEmPATT VALUES ('16',to_date('19/04/2007 7:47:26 PM','DD/MM/YYYY HH:MM:SS AM'),'OUT','00111DA02C14',NULL)
    it shows fomat codeappears twice
    but when i eleminate the time part then it inserts ie
    INSERT INTO TMEPATT VALUES ('16',to_date('19/04/2007','DD/MM/YYYY'),'OUT','00111DA02C14',NULL)
    without using to_date it shows invalid month
    please suggest a solution
    Thanks and regards

    The format for minutes is MI not MM.

  • Workforce planning data not getting copied into the CATs

    Dear all,
    I am doing the activity confirmation in the project by transferring the data from CATs. However in order to maintain the data in CAT2 we have to copy the data from workforce planning.
    currently it is not happening. The data is not getting copied in CAT2.
    regards,
    sudhir

    Hi,
       how about with worklist, these are the options required to transfer the data from PS to worklist.
    refer to the period which you have planned in CAT2?
    Rgds
    Sudhir reddy

  • How to check if data is being inserted into table?

    Oracle 10.2.0.1.0
    I have a long running transaction, an insert based on select running from SQLPLUS. It is running for more than 2 hours as the volume of data is extremely high ( more than 2 million records ).
    How do I check:
    1) The volume of data that is already inserted?.
    This is to make sure the session is not "hung", but is actually inserting records into the table.
    Thanks

    I have a long running transaction, an insert based on select running from SQLPLUS. It is running for more than 2 hours as the volume of data is extremely high ( more than 2 million records ).
    How do I check:
    1) The volume of data that is already inserted?.If there is a commit statement then you can directly query the table for number of rows inserted.
    This is to make sure the session is not "hung", but is actually inserting records into the table.To confirm if it is running or not you can query dba view like dba_extents for that objects you can look into bytes or blocks which should increase if you query is running.
    Hope this helps
    Virendra

  • Data not getting fetched into Flex from SAP backend

    Hello....
    I have tried fetching data from SAP into Flex for simple BAPIs. For Ex; there would be 2 to 3 fields and we enter some values in it and these values are wrapped into an object and sent to SAP to fetch the details. This works fine.
    But now, my problem is, I want to pass a list of data, as the one of the table parameter in the BAPI is mandatory to be passed. For this I created a arraycollection with same field names as in SAP:
    <mx:ArrayCollection id="sel">
         <mx:Array>
              <mx:Object FIELD_NAME="RENTAL_OBJECT" SIGN="I" OPTION="EQ" FIELD_VALUE_LOW="1" FIELD_VALUE_HIGH="9999999"/>
         </mx:Array>
    </mx:ArrayCollection>
    var inp:Object = new Object();
    inp.SELOPTION = sel.source; //parameter name in SAP is SELOPTION
    operation.arguments = inp;
    operation.send();
    I get the result back with this. But it will have only the table\structure names. It is not fetching any records, as it does in SAP when BAPI is executed.
    You can have a look at the screen shot of it here:
    This is the result that I'm getting in Flex:
    http://img43.imageshack.us/img43/1477/screenshotgp.jpg
    This is the result I get in SAP when I execute the BAPI directly:
    http://img340.imageshack.us/img340/3796/screenshot2wa.jpg
    Can someone who have come across this please help me out?
    Thanx.
    Deepak

    Hi Deepak,
    To send multiple entries to a table your code should be like this only.
    var dateRangeRow:Object = new Object();
    input.DATE_RANGE = new Array();
    dateRangeRow.SIGN = "I";
    dateRangeRow.OPTION = "EQ";
    dateRangeRow.LOW = "2002-12-20";
    dateRangeRow.HIGH = "";
    input.DATE_RANGE.push(dateRangeRow);
    Check the below link for details.
    http://blog.danmcweeney.com/57
    Regards
    Basheer

  • BDC-Not getting inserted  when run in 'Display errors- (E)' mode

    Hi,
    I am doing a BDC for FS00 transaction through Call transaction method. The data is getting inserted into the table when i run the BDC program screen by screen through 'Display all screens - (A)' mode and is not getting inserted into the table when i run the BDC program through 'Display errors- (E)' mode.
    What could be the reason for it?

    If you have defined a non-existing screen or field, and error will rise and the transaction will be stoped....
    When your working on 'A' mode, you need to perform an extra "Enter" button press to get rid of that problem....So you better check your Batch catalog and add some "Enter's" when need it -;)
    Greetings,
    Blag.

  • If Records of different list items are entered, then the data is not getting inserted in the table.

    Hi Everyone,
    A Very Very Happy, Fun-filled, Awesome New Year to You All.
    Now coming to the discussion of my problem in Oracle Forms 6i:
    I have created a form in which the data is entered & saved in the database.
    CREATE TABLE MATURED_FD_DTL
      ACCT_FD_NO    VARCHAR2(17 BYTE)               NOT NULL,
      CUST_CODE     NUMBER(9),
      FD_AMT        NUMBER(15),
      FD_INT_BAL    NUMBER(15),
      TDS           NUMBER(15),
      CHQ_NO        NUMBER(10),
      CREATED_DATE  DATE,
      CREATED_BY    VARCHAR2(15 BYTE),
      PREV_YR_TDS   NUMBER(15),
      ADD_FD_AMT    NUMBER(15),
      DESCRIPTION   VARCHAR2(100 BYTE),
      P_SAP_CODE    NUMBER(10),
      P_TYPE        VARCHAR2(1 BYTE)
    The form looks like below:
    ENTER_QUERY     EXECUTE_QUERY     SAVE     CLEAR     EXIT
    ACCT_FD_NO
    CUST_CODE
    FD_AMT
    FD_INT_BAL
    PREV_YR_TDS
    TDS
    ADD_FD_AMT
    P_SAP_CODE
    P_TYPE
    CHQ_NO
    DESCRIPTION
    R
    W
    P
    List Item
    There are 5 push buttons namely ENTER_QUERY, EXECUTE_QUERY, SAVE, CLEAR, EXIT.
    The table above is same as in the form. All the fields are text_item, except the P_TYPE which is a List_Item ( Elements in List Item are R, W & P).
    The user will enter the data & save it.
    So all this will get updated in the table MATURED_FD_DTL .
    I am updating one column in another table named as KEC_FDACCT_MSTR.
    and
    I want this details to get updated in another table named as KEC_FDACCT_DTL only if the P_TYPE='P'
    CREATE TABLE KEC_FDACCT_DTL
      FD_SR_NO                NUMBER(8)             NOT NULL,
      FD_DTL_SL_NO            NUMBER(5),
      ACCT_FD_NO              VARCHAR2(17 BYTE)     NOT NULL,
      FD_AMT                  NUMBER(15,2),
      INT_RATE                NUMBER(15,2),
      SAP_GLCODE              NUMBER(10),
      CATOGY_NAME             VARCHAR2(30 BYTE),
      PROCESS_YR_MON          NUMBER(6),
      INT_AMT                 NUMBER(16,2),
      QUTERLY_FD_AMT          NUMBER(16,2),
      ITAX                    NUMBER(9,2),
      MATURITY_DT             DATE,
      FDR_STAUS               VARCHAR2(2 BYTE),
      PAY_ACC_CODE            VARCHAR2(85 BYTE),
      BANK_CODE               VARCHAR2(150 BYTE),
      NET_AMOUNT_PAYABLE      NUMBER,
      QUATERLY_PAY_DT         DATE,
      CHEQUE_ON               VARCHAR2(150 BYTE),
      CHEQUE_NUMBER           VARCHAR2(10 BYTE),
      CHEQUE_DATE             DATE,
      MICR_NUMBER             VARCHAR2(10 BYTE),
      PAY_TYPE                VARCHAR2(3 BYTE),
      ADD_INT_AMT             NUMBER(16,2),
      ADD_QUTERLY_FD_AMT      NUMBER(16,2),
      ADD_ITAX                NUMBER(16,2),
      ECS_ADD_INT_AMT         NUMBER(16),
      ECS_ADD_QUTERLY_FD_AMT  NUMBER(16),
      ECS_ADD_ITAX            NUMBER(16)
    So for the push button 'Save' , i have put in the following code in the Trigger : WHEN BUTTON PRESSED,
    BEGIN
         Commit_form;
              UPDATE KEC_FDACCT_MSTR SET PAY_STATUS='P' WHERE ACCT_FD_NO IN (SELECT ACCT_FD_NO FROM MATURED_FD_DTL);
              UPDATE MATURED_FD_DTL SET CREATED_DATE=sysdate, CREATED_BY = :GLOBAL.USER_ID WHERE ACCT_FD_NO = :acct_fd_NO;
    IF :P_TYPE='P' THEN
         INSERT INTO KEC_FDACCT_DTL
              SELECT FD_SR_NO, NULL, MATURED_FD_DTL.ACCT_FD_NO, FD_AMT, INT_RATE, P_SAP_CODE,
                   GROUP_TYPE, (TO_CHAR(SYSDATE, 'YYYYMM'))PROCESS_YR_MON,
                   FD_INT_BAL, (FD_INT_BAL-MATURED_FD_DTL.TDS)QUTERLY_FD_AMT , MATURED_FD_DTL.TDS,
                   MATURITY_DATE, P_TYPE, NULL, NULL, (FD_INT_BAL-MATURED_FD_DTL.TDS)NET_AMOUNT_PAYABLE,
                   NULL, NULL, CHQ_NO, SYSDATE, NULL, 'CHQ', NULL, NULL, NULL, NULL, NULL, NULL
              FROM MATURED_FD_DTL, KEC_FDACCT_MSTR
         WHERE KEC_FDACCT_MSTR.ACCT_FD_NO=MATURED_FD_DTL.ACCT_FD_NO;
    END IF;
    COMMIT;
         MESSAGE('RECORD HAS BEEN UPDATED AS PAID');
         MESSAGE(' ',no_acknowledge);
    END;
    If P_TYPE='P' , then the data must get saved in KEC_FDACCT_DTL table.
    The problem what is happening is,
    If i enter the details with all the records as 'P' , the record gets inserted into the table KEC_FDACCT_DTL
    If i enter the details with records of 'P' and 'R' , then nothing gets inserted into the table KEC_FDACCT_DTL.
    Even the records with 'P' is not getting updated.
    I want the records of 'P' , to be inserted into table KEC_FDACCT_DTL, even when multiple records of all types of 'P_Type' (R, w & P) are entered.
    So, can you please help me with this.
    Thank You.
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    Oracle Forms Builder 6i.

    Its not working properly.
    At Form_level_Trigger: POST_INSERT, I have put in the following code.
    IF :P_TYPE='P'THEN
      INSERT INTO KEC_FDACCT_DTL
      SELECT FD_SR_NO, NULL, MATURED_FD_DTL.ACCT_FD_NO, FD_AMT, INT_RATE, P_SAP_CODE,
      GROUP_TYPE, (TO_CHAR(SYSDATE, 'YYYYMM'))PROCESS_YR_MON,
      FD_INT_BAL, (FD_INT_BAL-MATURED_FD_DTL.TDS)QUTERLY_FD_AMT , MATURED_FD_DTL.TDS,
      MATURITY_DATE, P_TYPE, NULL, NULL, (FD_INT_BAL-MATURED_FD_DTL.TDS)NET_AMOUNT_PAYABLE,
      NULL, NULL, CHQ_NO, SYSDATE, NULL, 'CHQ', NULL, NULL, NULL, NULL, NULL, NULL
      FROM MATURED_FD_DTL, KEC_FDACCT_MSTR
      WHERE KEC_FDACCT_MSTR.ACCT_FD_NO=MATURED_FD_DTL.ACCT_FD_NO;
      END IF;
    MESSAGE('RECORD HAS BEEN UPDATED AS PAID');
    MESSAGE(' ',no_acknowledge);
    It worked properly when i executed first time, but second time , in database duplicate values were stored.
    Example: First I entered the following in the form & saved it.
    ACCT_FD_NO
    CUST_CODE
    FD_AMT
    FD_INT_BAL
    PREV_YR_TDS
    TDS
    ADD_FD_AMT
    P_SAP_CODE
    P_TYPE
    CHQ_NO
    DESCRIPTION
    250398
    52
    50000
    6000
    0
    600
    0
    45415
    P
    5678
    int1
    320107
    56
    100000
    22478
    3456
    2247
    0
    45215
    R
    456
    320108
    87
    50000
    6500
    0
    650
    0
    21545
    W
    0
    In the database, in table KEC_FDACCT_DTL, the ACCT_FD_NO:250398 with P_TYPE='P' record was inserted.
    ACCT_FD_NO
    P_TYPE
    250398
    P
    But second time, when i entered the following in the form & saved.
    ACCT_FD_NO
    CUST_CODE
    FD_AMT
    FD_INT_BAL
    PREV_YR_TDS
    TDS
    ADD_FD_AMT
    P_SAP_CODE
    P_TYPE
    CHQ_NO
    DESCRIPTION
    260189
    82
    50000
    6000
    0
    600
    0
    45415
    P
    5678
    interest567
    120011
    46
    200000
    44478
    0
    4447
    0
    45215
    R
    456
    30191
    86
    50000
    6500
    0
    650
    0
    21545
    W
    56
    In the database, in the table KEC_FDACCT_DTL, the following rows were inserted.
    ACCT_FD_NO
    P_TYPE
    250398
    P
    250398
    P
    260189
    P
    320107
    R
    320108
    W
    There was duplicate of 250398 which i dint enter in the form second time,
    All the other P_TYPE was also inserted , but i want only the P_TYPE='P' to be inserted into the database.
    I want only those records to be inserted into the form where P_TYPE='P' and duplicate rows must not be entered.
    How do i do this???

  • Data is not inserting into table

    Hi Team,
    I am inserting data into a custom table.
    but my records are not inserting into table
    //CO File
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("createEmployee");
    // am.invokeMethod("init");
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("Apply") != null)
    OAViewObject vo = (OAViewObject)am.findViewObject("TestEmpVO1");
    String NAME = (String)vo.getCurrentRow().getAttribute("Name");
    Number employeeNumber = (Number)vo.getCurrentRow().getAttribute("Num");
    String NUM = String.valueOf(employeeNumber.intValue());
    am.invokeMethod("apply");
    MessageToken[] tokens = { new MessageToken("EMP_NAME", NAME),
    new MessageToken("EMP_NUMBER", NUM) };
    OAException confirmMessage = new OAException("AK", "FWK_TBX_T_EMP_CREATE_CONFIRM", tokens,
    OAException.CONFIRMATION, null);
    pageContext.putDialogMessage(confirmMessage);
    else if (pageContext.getParameter("Cancel") != null)
    am.invokeMethod("rollbackEmployee");
    TransactionUnitHelper.endTransactionUnit(pageContext, "empCreateTxn");
    // End CO
    //AMImpl
    package oracle.apps.fnd.framework.toolbox.labsolutions.server;
    import oracle.jbo.Row;
    import oracle.jbo.Transaction;
    import oracle.jbo.RowSetIterator;
    import oracle.jbo.domain.Number;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.OARow;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.server.OAViewObjectImpl;
    // --- File generated by Oracle Business Components for Java.
    public class TestEmpAMImpl extends EmployeeAMImpl
    * This is the default constructor (do not remove)
    public TestEmpAMImpl()
    * Container's getter for TestEmpVO1
    public TestEmpVOImpl getTestEmpVO1()
    return (TestEmpVOImpl)findViewObject("TestEmpVO1");
    * Creates a new employee.
    public void createEmployee()
    OAViewObject vo = (OAViewObject)getTestEmpVO1();
    // Per the coding standards, this is the proper way to initialize a
    // VO that is used for both inserts and queries. See View Objects
    // in Detail in the Developer's Guide for additional information.
    if (!vo.isPreparedForExecution())
    vo.executeQuery();
    Row row = vo.createRow();
    vo.insertRow(row);
    // Required per OA Framework Model Coding Standard M69
    row.setNewRowState(Row.STATUS_INITIALIZED);
    } // end createEmployee()
    public void apply()
    getDBTransaction().commit();
    * Sample main for debugging Business Components code using the tester.
    public static void main(String[] args)
    launchTester("oracle.apps.fnd.framework.toolbox.labsolutions.server", "TestEmpAMLocal");
    //End AmImpl
    Please suggest.
    Thanks,
    Ajit

    Ajit,
    Its always a good idea to close the thread with an explanation. It will help others whenever they are into similar situation.
    --Shiv                                                                                                                                                                                                                                                                                               

  • Data should get inserted in all tables if i enter the form field only once

    Hi, I have a new question again.
    There are 5 tables in a database, that is t1, t2, t3, t4 & t5. the first 4 table has one common column, known as lc_no. I have build the form using the form builder. In that form, there is a 1 text field for lc_no. I have not started to code anything as yet in the form because everything with respect to it is working fine and even the data is getting inserted. But the problem is that, when i enter the data in the form, the lc_no gets loaded in only one table. I want the data to get inserted in all the tables. What should i code? How should i start off? I'm very new to this & don't exactly know how do i start with it ?
    Thank You. Can you help as i have not yet started to code in this form.
    Oracle9i Enterprise Edition Release 9.2.0.1.0.
    oracle forms 6i.

    Let us say table one have lc_no, other columen
    Table 2 have LC-no , other columsn
    Table 3 have lc-no , other column,
    Now in form(which has table1 as base table)
    In PRe-Insert write like below
    Insert into table2 (lc_no) values (:table1.lc_no) here tabel1 should be block name in form.
    Insert into table3 (lc_no) values (:table1.lc_no)
    ................and so on .. to other table.
    So, now when user commits the form, the lc_no will be available in all the other tables..

  • System getting hanged whilst using Insert into table select * from table

    I have a peculiar problem.
    I am using the below statements:
    Query 1:
    insert into table ppms.erin_out@ppms_dblink select * from erin_out;
    Query 2:
    insert into table ppms.erin_out@ppms_dblink values(23,'dffgg',12',dfdfdgg,dfdfdg);
    I am in 'interfaces' schema (testing server) and executing above statements. We have testing server and development server, both are identical, i.e one is clone of the other.
    ppms_dblink is created in interfaces schema. ppms_dblink points to different database server which has two schemas 'clarity' and 'ppms'. ppms_dblink is create through authentication details of clarity schema.
    erin_out table is created on ppms schema on the same dababase server pointed by ppms_dblink.
    Question is :
    TOAD hangs while running query 1.
    Query 2 is working perfectly.
    As I have pl/sql script which is using query 1. I want to know why query 1 is creating problem.
    If I use query 2 in my pl/sql query then it may create performance issue as i have to use cursor then.
    On clarity schema, I have insert, update, select, modify rights on ppms.erin_out.
    I have tried same queries from another database server.
    That is I tried queries from 'interfaces' schema of development server ( clone of the testing server ). Its working perfectly.
    Message was edited by:
    user484158

    Dhanchik:
    The table from which I select rows, to insert into table on dblink, is having only one record. It may contatin maximum 100 rows at a time because I am scheduling the procedure through daemon process. Anyway transaction is not more than 100 records. I am trying with just 1 record for testing.
    So 1) Problem is not about the cost, TOAD is getting hanged ( to insert 1 record, cost does not mean much)
    2) there is no large amount of data, so no question of deteriorated performance
    Aron Tunzi:
    I think that should not be problem, because I am able to insert a record through query 2.
    Warren Tolentino :
    I am testing with 1 record only. Its not performance issue.
    Message was edited by:
    &#2352;&#2330;&#2367;&#2340;

  • XML DATA INSERTION INTO TABLE

    I have xml data in this format and need to store in the lineitem table by generating three new values for each row ie line identifier(sys_guid),begin_date and end_date.
    <LineItems>
    <LineItem>
    <BASE_TYPE>SRV</BASE_TYPE>
    <ORDER_NUM>124089304</ORDER_NUM>
    <WIP_STATUS>S</WIP_STATUS>
    <WIP_STATUS_DATE>8/1/2006 8:44:55 PM</WIP_STATUS_DATE>
    <order_date>6/21/2006 12:00:00 AM</order_date>
    <IP_DATE>6/21/2006 12:00:00 AM</IP_DATE>
    </LineItem>
    <LineItem>
    <BASE_TYPE>SRV</BASE_TYPE>
    <ORDER_NUM>124089304</ORDER_NUM>
    <WIP_STATUS>S</WIP_STATUS>
    <WIP_STATUS_DATE>8/1/2006 8:44:55 PM</WIP_STATUS_DATE>
    <order_date>6/21/2006 12:00:00 AM</order_date>
    <IP_DATE>6/21/2006 12:00:00 AM</IP_DATE>
    </LineItem>
    </LineItems>
    and using this method to insert
    SELECT EXTRACTVALUE(VALUE(T), 'LineItem/BASE_TYPE'),
    EXTRACTVALUE(VALUE(T), 'LineItem/ORDER_NUM'),
    EXTRACTVALUE(VALUE(T), 'LineItem/WIP_STATUS'),
    EXTRACTVALUE(VALUE(T), 'LineItem/WIP_STATUS_DATE')),
    EXTRACTVALUE(VALUE(T), 'LineItem/ORDER_DATE')),
    EXTRACTVALUE(VALUE(T), 'LineItem/IP_DATE')),
    EXTRACTVALUE(VALUE(T), 'LineItem/SHIP_BY_DATE')),
    EXTRACTVALUE(VALUE(T), 'LineItem/CUSTOMER_SRC'),
    EXTRACTVALUE(VALUE(T), 'LineItem/CUSTOMER_LOC'),
    EXTRACTVALUE(VALUE(T), 'LineItem/CUSTOMER_NUM'),
    EXTRACTVALUE(VALUE(T), 'LineItem/ACCOUNT_TYPE'),
    EXTRACTVALUE(VALUE(T), 'LineItem/OVERPACK_FLAG'),
    EXTRACTVALUE(VALUE(T), 'LineItem/INTERNATIONAL_FLAG'),
    EXTRACTVALUE(VALUE(T), 'LineItem/MULTIPLE_SYSTEM_TIES'),
    EXTRACTVALUE(VALUE(T), 'LineItem/ORDER_TIE_NUM'),
    EXTRACTVALUE(VALUE(T), 'LineItem/TIE_STATUS'),
    EXTRACTVALUE(VALUE(T), 'LineItem/PK_GEN'),
    EXTRACTVALUE(VALUE(T), 'LineItem/QTY_REQD'),
    EXTRACTVALUE(VALUE(T), 'LineItem/WORKCENTER_ID'),
    EXTRACTVALUE(VALUE(T), 'LineItem/SI_NUMBER'),
    EXTRACTVALUE(VALUE(T), 'LineItem/MFG_SCHED_FACILITY_ID'),
    EXTRACTVALUE(VALUE(T), 'LineItem/MFG_FACILITY_ID'),
    EXTRACTVALUE(VALUE(T), 'LineItem/PILOT_NAME'),
    EXTRACTVALUE(VALUE(T), 'LineItem/ENG_HOLD_FLAG'),
    EXTRACTVALUE(VALUE(T), 'LineItem/SHORT_FLAG'),
    EXTRACTVALUE(VALUE(T), 'LineItem/OVR_SHORTAGE'),
    EXTRACTVALUE(VALUE(T), 'LineItem/USER_HOLD_FLAG'),
    EXTRACTVALUE(VALUE(T), 'LineItem/SHIP_TO_ADDRESS_SEQ_NUM'),
    EXTRACTVALUE(VALUE(T), 'LineItem/CALICO_REF_NUM'),
    EXTRACTVALUE(VALUE(T), 'LineItem/CONFIG_ID'),
    EXTRACTVALUE(VALUE(T), 'LineItem/TOTAL_UNITS_QTY'),
    EXTRACTVALUE(VALUE(T), 'LineItem/ORDER_TYPE'),
    EXTRACTVALUE(VALUE(T), 'LineItem/SKU'),
    EXTRACTVALUE(VALUE(T), 'LineItem/SUB_ASSEMBLY_NUMBER'),
    EXTRACTVALUE(VALUE(T), 'LineItem/BASE_ASM_FLAG'),
    EXTRACTVALUE(VALUE(T), 'LineItem/QTY_REQ'),
    EXTRACTVALUE(VALUE(T), 'LineItem/ORIGINAL_PART_NUMBER'),
    EXTRACTVALUE(VALUE(T), 'LineItem/SUBSTITUTE_PART_NUMBER'),
    EXTRACTVALUE(VALUE(T), 'LineItem/QTY_EXTENDED'),
    EXTRACTVALUE(VALUE(T), 'LineItem/ISSUE_CODE'),
    EXTRACTVALUE(VALUE(T), 'LineItem/ORIG_PART_DESC'),
    EXTRACTVALUE(VALUE(T), 'LineItem/ORIG_COMMODITY_CODE'),
    EXTRACTVALUE(VALUE(T), 'LineItem/ORIG_PRINT_ON_TRAVELER_FLAG'),
    EXTRACTVALUE(VALUE(T), 'LineItem/ORIG_BOX_CODE'),
    EXTRACTVALUE(VALUE(T), 'LineItem/SUBST_PART_DESC'),
    EXTRACTVALUE(VALUE(T), 'LineItem/SUBST_COMMODITY_CODE'),
    EXTRACTVALUE(VALUE(T), 'LineItem/SUBST_PRINT_ON_TRAVELER_FLAG'),
    EXTRACTVALUE(VALUE(T), 'LineItem/SUBST_BOX_CODE')
         BULK COLLECT INTO
    V_BASE_TYPE,
    V_ORDER_NUM,
    V_WIP_STATUS,
    V_WIP_STATUS_DATE,
    V_ORDER_DATE,
    V_IP_DATE,
    V_SHIP_BY_DATE,
    V_CUSTOMER_SRC,
    V_CUSTOMER_LOC,
    V_CUSTOMER_NUM,
    V_ACCOUNT_TYPE,
    V_OVERPACK_FLAG,
    V_INTERNATIONAL_FLAG,
    V_MULTIPLE_SYSTEM_TIES,
    V_ORDER_TIE_NUM,
    V_TIE_STATUS,
    V_PK_GEN,
    V_QTY_REQD,
    V_WORKCENTER_ID,
    V_SI_NUMBER,
    V_MFG_SCHED_FACILITY_ID,
    V_MFG_FACILITY_ID,
    V_PILOT_NAME,
    V_ENG_HOLD_FLAG,
    V_SHORT_FLAG,
    V_OVR_SHORTAGE,
    V_USER_HOLD_FLAG,
    V_SHIP_TO_ADDRESS_SEQ_NUM,
    V_CALICO_REF_NUM,
    V_CONFIG_ID,
    V_TOTAL_UNITS_QTY,
    V_ORDER_TYPE,
    V_SKU#,
    V_SUB_ASSEMBLY_NUMBER,
    V_BASE_ASM_FLAG,
    V_QTY_REQ,
    V_ORIGINAL_PART_NUMBER,
    V_SUBSTITUTE_PART_NUMBER,
    V_QTY_EXTENDED,
    V_ISSUE_CODE,
    V_ORIG_PART_DESC,
    V_ORIG_COMMODITY_CODE,
    V_ORIG_PRINT_ON_TRAVELER_FLAG,
    V_ORIG_BOX_CODE,
    V_SUBST_PART_DESC,
    V_SUBST_COMMODITY_CODE,
    V_SUBST_PRINT_ON_TRAVELER_FLAG,
    V_SUBST_BOX_CODE
    FROM TABLE(XMLSEQUENCE(EXTRACT(P_PODETAILS_XML, '/LineItems/LineItem'))) T
    but getting performace problem. I'm able to insert 100 lines items in 3 sec but requirement is further less.
    Any help..... ????
    thanks in adavance..

    hi..
    me too having same type of XML data to be inserted into oracle table
    i've to write procedure for this
    can u help me plz.....

Maybe you are looking for

  • Unable to unzip files , unable to move apps into the app foldercant update

    I cannot unzip files. Also if i try to install a new app by dragging it to the applications folder it says "that files already exists". also if i try to update with software update it gives an error. i tried running verify disk permissions and repair

  • IPad is extremely slow almost nonfunctioning online.

    iPad is extremely slow and Internet access could almost be considered non-functioning. I have tried double clicking and closing apps, I have plenty of memory, and use a cellular package don't rely on wifi. I have also turned it off and tried shutting

  • Getting Error code.

    I installed AVG Internet security trial. Upon setup, it had me download and run a program by AVG to configure and run for speeding up pc. I did all the recomended things it recomended and then my laptop (Sonny Vaio) win 7 home premium vaio is a quad

  • Query to show BP, Check Num, and INVs paid

    I need a query for my customer who is being audited. They need a report for the BP, ck num, amt, date of chk, bank code, bank name, and  a list of invoices paid and the amounts for each invoice. Does anyone have a query ?

  • Automatic Mantenace order creation

    Gurus, I have created the plan in IP02.In the Maint Plan Scheduling Parameters i have given call horizon 100% & schedule period 365. I want the system to generate maintenace (IE-1 order for 1 day.)Is the parameter maintained correct?