CUKD_API_DEP_MAINTAIN  -  Append new rows in existing Dependency

Hello,
I would like to know if ther's any way to append new rows within an existing dependency
without having to reload all pre-existing rows.
I'm already using function CUKD_API_DEP_MAINTAIN but I haven't found the way to
append only new rows.
This problem is due to the fact that my dependencies are reaching more than 9.999 rows
and the dependency index used by the function ( DEPSOURCE-LINE_NO ) is a NUMC 4 
Does anyone know if there is a different function I can use or how to work it around
function CUKD_API_DEP_MAINTAIN?

Hello Pradeep,
Could you tell me why we are passing parameter FL_SYNCH to blank  ? I got similar issue.
Many Thanks,
Jitendra

Similar Messages

  • How to append new rows in a table with Javascript ?

    Hi ,
    I'd like to append new rows in a table dynamically using javascript?
    Do some of you have already done this before ?

    Rui's answer will create copies of the entire table.  There may be times where thsi is what you want, but you asked about creating new rows.  If your new row is a copy of one of your existing rows, then you could use
    _RowName.addInstance(1);
    (the underscore at the beginning invokes the instance manager).  Is this what you're looking for?

  • How to append new row in rowset with parameter?

    Hi,
    In the data input page in prerender method I have this code to filter rowset with non existing id in the table to show empty table on the page:
    try {           
                getSessionBean1().getKoordinatesRowSet().setObject(1, non_existing_id);
            } catch (Exception e) {
                error("klaida koord " + e);
            }After this I have empty table and I want with a button on the page append one or more rows, fill them and save to my db. I try with this code:
    public String addBtn_action() {       
            try {           
                RowKey rk = koordinatesDataProvider.appendRow();           
                koordinatesDataProvider.setCursorRow(rk);                           
            } catch (Exception ex) {
                log("Negaliu prideti eilutes ", ex);
                error(ex.getMessage());
            return null;
        }But new row does not appear. When I remove parameter in RowSet and remove code from prerender method all works fine, but I see all data from the table that was entered before. Like I said - I want to have an empty table and be able to append one or more new rows, fills them and save to my db. How can I resolve this?

    Rui's answer will create copies of the entire table.  There may be times where thsi is what you want, but you asked about creating new rows.  If your new row is a copy of one of your existing rows, then you could use
    _RowName.addInstance(1);
    (the underscore at the beginning invokes the instance manager).  Is this what you're looking for?

  • How I can append new node in existing  XML file

    I've just begun learning DOM XML , so I'm currently at a very beginner level.
    I have an existing XML file that I would like to add an additional node to before saving it to another variable.
    how I can append new node in this file.
    now this code is overwrite new data over old data
    The code looks like this:
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.transform.Result;
    import javax.xml.transform.Source;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.TransformerFactoryConfigurationError;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Attr;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    public class VerbXMLWriter
        static String EVerb3;
        static String englishTranslate3;
        public void VerbXMLWriter(String EVerb, String englishTranslate )
             EVerb3 = EVerb;
             englishTranslate3=englishTranslate;
        File xmlFile = new File("VerbDB.xml");
        DocumentBuilderFactory factory =  DocumentBuilderFactory.newInstance();
        try
         DocumentBuilder builder = factory.newDocumentBuilder();
         Document document = builder.newDocument();
        Element root = document.createElement("Verb");
         document.appendChild(root);
         Element verb = document.createElement(EVerb3);
         verb.setAttribute("EnglishTranslate",englishTranslate3);
         root.appendChild(verb);
         Source xmlSource = new DOMSource( document );
         Result result = new StreamResult( new FileOutputStream(xmlFile) );
        TransformerFactory transformerFactory = TransformerFactory.newInstance();
        Transformer transformer =
        transformerFactory.newTransformer();
        transformer.setOutputProperty( "indent", "yes" );
         transformer.transform( xmlSource, result );
      catch(TransformerFactoryConfigurationError factoryError )
        factoryError.printStackTrace();
       catch (ParserConfigurationException pc)
           pc.printStackTrace();
       catch (IOException io)
          io.printStackTrace();
       catch(Exception excep )
           excep.printStackTrace();
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <Verb>
    <Play EnglishTranslate="playing" />
    </Verb>Edited by: itb402 on Mar 9, 2008 6:05 AM

    in your code you are already appending new nodes to the root node. so what exactly is your problem? The following steps are usually taken for appending a new node:
    1. Read the XML document
    2. Build a DOM tree
    3. Navigate to the node under which you want to insert the new node
    4. Create a new node.
    5. Insert the new node to the node selected in point #3.
    ~Debopam

  • Append new row to the tableview...

    Hello All,
             I have a tableview with 3 columns.
    But out of these 3 only the 2nd column is editable.
    Now if I want to append one more row then an empty row is created with the 1rst and 3rd columns as non-editable.
    But I want all the fields as editable when i append a new record to the table view.
    Is it possible ? if yes can anyone guide me ????????
    Regards,
    Deepu.K

    Hello Raja,
               I have gone thru ur code.
    But in my case I can't get the rowindex  bcoz I donot know the row number.
    I'll tell u my scenario.
    I have a page which contains :-
    1,  Input fields,
    2,  Table view.
    3, SAVE Button ( when pressed it should update the internal table of the table view and the respective database tables ).
    Now initially when the application is executed all the input fields and the Tableview are filled in the INITIALIZATION  accordingly.
    Now if the user wants to change he will make the changes and press the SAVE Button.
    But,as mentioned above since the tableview is already filled with entries say 2 records are already there with 3 columns.For these 2 records I made the 1rst and the 3rd column as non-editable in the iterator .
    Then if the user wants to create one more record he will press the APPEND button and this creates a blank record in the internal table and the same is passed to the table view.
    SO, now we have the new row with null values.
    Here is the problem ...............*************************************
    When appending a new row since in the iterator we mentioned that the 1rst column and the 3rd column as non-editable the newly appended row also has the 1rst and the 3rd columns as non-editable. (which should not happen ).
              Now as per ur code u said that
    <b>" if p_row_index = <row no. you want to make it editable> "</b>
    Now how do i know which row no. should i render ?
    I thought in this way :-
    if I get the internal table in this iterator method then i will check the value for the 1rst column .
    If it is null then i want to make it as editable else non-editable.
    But to implement this i don't have the internal table here.
    Can I get the internal table with the newly appended row / rows in the iterator method .
    If so can u tell me how ?
    Plz help me Raja...(:
    Regards,
    Deepu.K

  • Editable ALV Grid: Append new rows

    Hi All,
    I have developed a report which will displays output in editable ALV grid list. Users can modify the values in output and save. These values will be stored in one custom table.
    My requirement is whenever user clicks on '+' mark (Create entries or Append or Copy: Standard toolbar) report should allow to enter new entries and save. How do I capture the selected function code? why becuase i need to display one value from the custom table in that added new row...
    Regards,
    Ramesh.

    Hi Ramesh,
    please check changed data event.....
    please go through the reference link......
    https://wiki.sdn.sap.com/wiki/display/Snippets/UpdatingtheInternalTable-AfterEditinALVusingFunctionModules
    Regards,
    Venkat

  • Acrobat 9 Std-how to append new pages to existed/opened pdf file

    i am using Acrobat 9 standard version.
    when i used the scanner to create a pdf, but the file had many pages so i could not finish it before lunch. Therefore, i had to append new pages to the opened file.
    In past, 7 standard i could choose append to the opened file but 9 standard i don't have this function. Finally, i found the
    DOCUMENT / SCAN TO PDF / CUSTOM SCAN / TICK THE APPEND TO .....
    But, only 1 scan is allowed , what can i do now ????

    You can scan to different files, the you should be able to insert the
    second group of files into the first file using Documtent->Insert Pages.
    Mike

  • How to create the new row with existing values

    Hi all,
    first of all i create a row,
    i opened that in edit mode,
    suppose i want to edit any one of the value in that recordd,
    that time compulsory create a new row with those valuess.
    how can i create a new row with those valuess.

    Hi Anusha,
    This code correct for your requirement, only thing is you are not able to modify it as per your requirement.
    What you have to do is:
    1. Copy queried row into into new row, change primary key values(but don't commit your changes here).
    2. Now you have two rows in your VO(OLD as well as New)
    3. Make any changes if you want using User Interface.
    4. At the save button first compare OLD and NEW row, if any value is differing then commit the chnages(it will insert new row in corresponding database table), if no changes are there I mean to say OLD value and NEW rows are same then rollback(it will remove copied row from VO and no row will be inserted in database.)
    While comparing rows please note that Primary keys will not be same so don't compare Primary keys while comparing rows.
    I hope it will help you.
    Regards,
    Reetesh Sharma

  • Append new data with existing one.

    Hi,
    In sql * loader if i want to append the existing data with new one what can be done?
    Shall i use external tables to get the data or is there something i can use.
    plz do suggest me.
    thanks,
    Mandar.

    Thanks for your reply.
    let me elaborate my problem.
    1)load data 2)append 3)into table STATUS_FILE
    me using this syntax.
    I want to add values which are already from other file and just append into this status_file(status_file table doesnt have these fields) what should be done..
    thst why i wrote external tables and i got this hint.
    The EXTERNAL_TABLE=EXECUTE qualifier tells SQL*Loader to create an external table that can be used to load data and then execute the INSERT statement to load the data.
    is it the way to append the already existing data with the new in table status_file.
    Thanks,
    Mandar.

  • Appending new TextLine into existing file

    I tried to add new text lines into an existing txt file. The problem is my method add new Strings on the same line (to see it you need to open the output file with notepad).
    The method invoked is:
    public static void addText( String arg0, String path ) {
              long pos;          
              try {
                   raf = new RandomAccessFile( path , "rw" );
                   pos = raf.length();
                   raf.seek( pos ); //mi sposto alla fine del file
                   raf.writeBytes( "\n" ); // new line
                   raf.writeBytes(arg0); //
                   raf.close();
              } catch (FileNotFoundException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         }

    To make your app system-independent use:
      String lineSeparator = System.getProperty("line.separator");as line separator
    []

  • Append rows to existing xls file

    Hello Friends,
    I have a problem with gui_download. I am working on ECC6.0.
    I need to append some rows to existing xls file. I am using gui_download but it not working properly.
    I am giving append = 'X' also it is not appending rows it is overwriting the existing rows.
    Please help in the regard.
    Thanks in advance.
    Krishna Yerram.

    Hi,
    BOOK2 is laready existed excel file
    Please make sure that X is captail
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename                        = C:\BOOK2.XLS
       FILETYPE                        = 'ASC'
       APPEND                          = 'X'
      tables
        data_tab                        = data_tab
    EXCEPTIONS
       FILE_WRITE_ERROR                = 1
       NO_BATCH                        = 2
       GUI_REFUSE_FILETRANSFER         = 3
       INVALID_TYPE                    = 4
       NO_AUTHORITY                    = 5
       UNKNOWN_ERROR                   = 6
       HEADER_NOT_ALLOWED              = 7
       SEPARATOR_NOT_ALLOWED           = 8
       FILESIZE_NOT_ALLOWED            = 9
       HEADER_TOO_LONG                 = 10
       DP_ERROR_CREATE                 = 11
       DP_ERROR_SEND                   = 12
       DP_ERROR_WRITE                  = 13
       UNKNOWN_DP_ERROR                = 14
       ACCESS_DENIED                   = 15
       DP_OUT_OF_MEMORY                = 16
       DISK_FULL                       = 17
       DP_TIMEOUT                      = 18
       FILE_NOT_FOUND                  = 19
       DATAPROVIDER_EXCEPTION          = 20
       CONTROL_FLUSH_ERROR             = 21
       OTHERS                          = 22
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards
    jana

  • Commiting 3 new rows - only 2 exist after

    Hi OTN,
    in my ADF BC application I have a bounded taskflow for creating new rows.
    It contains CreateInsert operations for VO1 and VO2 (VO2 is a child of VO1 and a child of another VO which is not touched by the taskflow). I've put postChanges between those operations so no temporary keys are there - the keys are generated via DB triggers.
    After those operations another bounded taskflow is called which contains CreateInsert for VO3 (VO3 is a child of VO1) and a form where Commit is called.
    After Commit I navigate to a test page which shows three forms representing VO1, VO2 and VO3. The page shows me that each of three new rows was created - I see them (with the real key valyes) in the forms.
    But in database only two new rows appeared. VO1 and VO3 (tables) have new rows, but no new row appeared in VO2 table. The form on a test page showed me a VO2 row which really didn't exist.
    Why is there no new row in one of tables?
    I use only one ApplicationModule.
    VO2 is a standard VO based on an entity. It is updatable.
    No errors in logfile.
    I how absolutely NO idea, why does it happen.
    Would love to hear an advice.
    Thanks.
    JDev 11.1.1.3

    Hi,
    if VO2 is dependent on VO1, when you create a new row in VO how to do you ensure its getting committe before VO2 gets committed ? Did you set the composite flag on the association between the two ? Another solution to handle this synchronization - to avoid constraint validations - is documented in the Fusion developer guide
    Frank

  • How to add new row and update existing rows at a time form the upload file

    hi
    How to add new row and update existing rows at a time form the upload file
    example:ztable(existing table)
    bcent                      smh            nsmh         valid date
    0001112465      7.4                       26.06.2007
    0001112466      7.5                       26.06.2007
    000111801                      7.6                       26.06.2007
    1982                      7.8                       26.06.2007
    Flat file structure
    bcent                       nsmh         valid date
    0001112465     7.8     26.06.2007  ( update into above table in nsmh)
    0001112466     7.9     26.06.2007  ( update into above table in nsmh) 
    000111801                     7.6      26.06.2007 ( update into above table in nsmh
    1985                      11              26.06.2007   new row it should insert in table
    thanks,
    Sivagopal R

    Hi,
    First upload the file into an internal table. If you are using a file that is on application server. Use open dataset and close dataset.
    Then :
    Loop at it.
    *insert or modify as per your requirement.
    Endloop.
    Regards,
    Srilatha.

  • How to copy  existing  row  value into new row  with a trigger. Same table

    Oracle guru,
    I am looking for a before or after trigger statement that will copy existing values inserted in the previous row into columns A & B. Then insert those values in a new row into column A & B if null? Same table. Hopefully my question is clear enough.
    -Oracle 10g express
    -I have an existing " before insert trigger" that insert id and timestamps when a new row is created.
    -Table is composed of column like id,timestamps,A,B and more.
    Thanks in advance
    Pierre

    957911 wrote:
    Oracle guru,
    I am looking for a before or after trigger statement that will copy existing values inserted in the previous row into columns A & B. Then insert those values in a new row into column A & B if null? Same table. Hopefully my question is clear enough.
    -Oracle 10g express
    -I have an existing " before insert trigger" that insert id and timestamps when a new row is created.
    -Table is composed of column like id,timestamps,A,B and more.
    Thanks in advance
    PierreI will call it a very Wrong design.
    It is a wrong Table Design. You are duplicating the data in table and not complying with the Database Normalization rules.
    How about Verifying if Column A & B are NULL before inserting and inserting another row and avoiding it in Triggers?
    If you are bent to achieve this, below code might be helpful. However, I would never go with this approach. If you would care about explaining the reason for going ahead with such a data model, people could suggest better alternative that might conform with Normalization rules.
    create or replace trigger trg_test_table
    after insert on test_table
    for each row
    declare
      pragma autonomous_transaction;
    begin
      if :new.col_a is null and :new.col_b is null then
        insert into test_table
        select 2, systimestamp, col_a, col_b
          from test_table
         where pk_col = (select max(pk_col) from test_table b where b.pk_col < :new.pk_col);
      end if;
      commit;
    end trg_test_table;Read SQL and PL/SQL FAQ and post the mentioned details.
    Do not forget to mention output from
    select * from v$version;

  • Inserting a new row in a child table referencing an already existing parent

    I have two tables PARENT & CHILD (one to many), both of which are populated at different times.
    In our toplink mappings, parent contains a collection of child Domain Objects, & and child Domain object contains a one - one to parent.
    How can I insert a new row in a child table with reference to an already existing row in parent?
    When I fetch the parent Domain object and try to set it in the child Domain Object and use the unitOfWork.registerObject() it goes into a circular loop of selecting from 2 other tables.
    Please suggest.

    Odd, have you disabled caching and indirection? (NoIdentityMap, dontUseIndirection, or alwaysRefresh/disableCacheHits). If so, then this could be the issue.
    Otherwise please include the sample code you use to perform this, and verify that you do not have any unusual code in your set/get methods or in descriptor events. Also turn TopLink logging on and include a sample. Also ensure that you do not modify your objects until after registering them in the unit of work, and only modify the unit of work clones.

Maybe you are looking for

  • Java Development BI Publisher Desktop 10.1.3.2 vs. XMLP562 library

    Hi, I've created an RTF template with BI Publisher Desktop, that's working quite fine running the preview. In this template I've charts and cross tables. Using this RTF template in JDeveloper with the API of XMLP562 I'm getting errors: It seems that

  • About loading multiple swfs

    Hello folks... I have some serious problem with loading multiple swfs in a swfLoader whithin an application... The problem is that... every time I load another swf in a swfloader, the memory that the Internet Explorer uses justs keeps going up and up

  • Com addins in outlook 2010 on terminal server are getting disabled

    i have an outlook 2010 addin that i installed on terminal server, i have installed in the past this addin on a diffrent computers with no problems. this time the addin is geting disabled (also addins in excel and word) once a day ( i have to run it m

  • Need Assistance - iRecruitment Link "Search Open Positions at Oracle"

    I am a frequent user of the iRecruitment site to search for open Oracle Positions and have successfully accessed the site in the past. I am using Internet Explorer 8. When I access the link "Open Positions at Oracle (Please use Internet Explorer), a

  • TS1363 trying to sync all items to new iphone

    Hello, I recently damaged my new iphone with water damage. Another phone replaced this phone from my insusrance. so now I am trying to put everthing from my library on my computer to the new iphone.