Using XSQL to insert rows in more then one table

I tried to insert rows in one table and it works fine but does anyone know is it possiblle to insert row in two tables using one XML file.

Alem,
Could u please let me know how u achieved this ? I am using xsql servlet too and would be interested in the same. If u have been able to insert/update into more than one table using insert-request let me too know how u did it.
Thanks in advance,
Shanthi

Similar Messages

  • Using more then one table/view in same Report

    Hi,
    I am using Discoverer Plus Version 9.0.4.43.15.
    Is it possible to use more then one table/view in a report without the tables/views being joined in any way? It would be like using two different datasets in the same report without the datasets having anything to do with one another. Right now when I select items from the available tab I can only pick tables that relate to one another in some way.
    Or is it possible to use more the one table in the same report? Each table using a different query/view/table.
    Thanks

    Spence,
    try following type of query using set operator UNION / UNION ALL:
    select col1,col2
    from t1
    union all
    select col1,col2
    from t2
    If you don't have restrictions then this is the best way.

  • Updating more then one table

    Is it possible to update more then one table (just out of curiousity)?
    Something like (I know the following doesn't actually work but that's the basic logic):
    UPDATE ps_vchr_hdr_stg a, ps_vchr_line_stg b
    SET a.voucher_style = 'ADJ', b.po_id = ' '
    WHERE a.key1 = b.key1
    AND a.key2= b.key2
    and a.gross_amt < 0

    Hi, I don't think it is possible:
    UPDATE {table_reference | [THE] (subquery1)} [alias]
    SET
    {column_name = {sql_expression | (subquery2)}
    | (column_name [, column_name]...) = (subquery3)}
    [, {column_name = {sql_expression | (subquery2)}
        | (column_name [, column_name]...) = (subquery3)}]...
    [WHERE {search_condition | CURRENT_OF cursor_name}] [RETURNING]
    [row_expression [, row_expression]... INTO
    {variable_name | :host_variable_name}
    [, {variable_name | :host_variable_name}]...];If you need to perform 2 or more operations put it into procedure or function as separate statements.
    Regards,
    Tomas

  • Using SQL developer, how to show more then 1 table at at time ?

    Hi, everybody
    I am able to open more then 1 procedures/functions for editing.
    However i am not able to open more then 1 table for seeing the data and columns.
    1) how do i open more then 1 table tab in sql developer or i am not allow to do so ?
    2) is it possible to see what column is the foreign key of a table in sql developer ?
    thanks once again :)

    use freeze view button
    and drop table below from tabs
    http://www.oracle.com/technology/products/database/sql_developer/files/viewlets.html
    watch this viewlet
    Useful Features of SQL Developer (July '07)
    it can show u how u can see more than one table at a time

  • Updation of more then one table at a time

    Hi,
    Can we Update more than one table at a time with a single query????
    and pl Note my server is : SQL Server

    pls note that you are in a Oracle forum (FYI Oracle is not a MS product).
    Alos I'm sure that there are plenty of MS SQL Server forums on the WWW where you ll find an answer to your question.

  • Printing salesinvoices, is it possible to do it for more then one invoice?

    Is there a method to use VF03 with a selection for more then one sales invoices?
    I want to print them as pdf file, so I have to fill in the field billingdocument, but I need it for more then one invoice at the same time.
    I tried but it seems not to work. Is it not possible? Or is there another solution to print more then one invoices at the same time?

    Hi,
    check in the Commnication method of your Output type whether In the NUMBER OF MESSAGES field was maintained as 4
    No of messages field will control the Number of invocies to print
    check this and revert
    thanks
    santosh

  • How to use 'BAPI_GOODSMVT_CREATE'  for more then one row selected ???

    Hi,
    I am using bapi , BAPI_GOODSMVT_CREATE  ,  my requirement is that first perform ALV display with check boxes & then user can selsct any number of rows  & then on clicking execute button  this bapi is triggered , now my ques is that  if i am selecting rows one by one & executing , then am able to post data successfully, but if am selecting  more then one row at a time then its giving me error
    " exactly one serial no must be selected  (instead of more then two / three ) ."
    plz help me .
    this is how i am filling data in BAPi & bapi call
    FORM FILL_BAPIDATA .
      wa_GOODSMVT_HEADER-PSTNG_DATE = sy-datum.
      wa_GOODSMVT_HEADER-doc_DATE = sy-datum.
      wa_goodsmvt_code-gm_code = c_gmcode.
      LOOP AT it_final INTO wa_final.
        wa_GOODSMVT_ITEM-MOVE_TYPE = c_movtype.                 " '313'.
        wa_GOODSMVT_ITEM-material =  WA_final-MATNR.
        wa_GOODSMVT_ITEM-ENTRY_QNT = wa_final-verme.
        wa_GOODSMVT_ITEM-plant =  WA_final-WERKS.               "'DB10'.
        wa_GOODSMVT_ITEM-STGE_LOC =  WA_final-LGORT.
        wa_GOODSMVT_ITEM-BATCH = WA_final-CHARG.
    wa_GOODSMVT_ITEM-BATCH = l_charg.
        append wa_GOODSMVT_ITEM to IT_GOODSMVT_ITEM.
        clear: wa_GOODSMVT_ITEM.
      ENDLOOP.
      LOOP AT it_final INTO wa_final.
        wa_serialnumber-SERIALNO = wa_final-sernr.
        APPEND wa_serialnumber to it_serialnumber.
        CLEAR wa_serialnumber.
      ENDLOOP.
      LOOP AT it_position2 INTO wa_position2.
        wa_serialnumber-MATDOC_ITM = wa_position2-wepos .
        MODIFY it_serialnumber INDEX sy-tabix from wa_serialnumber TRANSPORTING MATDOC_ITM .
      ENDLOOP.,
    data: begin of mthead.
            include structure bapi2017_gm_head_ret.
    data: end of mthead.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          GOODSMVT_HEADER               = wa_GOODSMVT_HEADER
          GOODSMVT_CODE                 = wa_GOODSMVT_CODE
       IMPORTING
          GOODSMVT_HEADRET              = mthead
        MATERIALDOCUMENT              = w_MATERIALDOCUMENT
        MATDOCUMENTYEAR               = w_MATDOCUMENTYEAR
        TABLES
          GOODSMVT_ITEM                 = IT_GOODSMVT_ITEM
          GOODSMVT_SERIALNUMBER         = IT_SERIALNUMBER
          RETURN                        = IT_RETURN
      GOODSMVT_SERV_PART_DATA       =
      EXTENSIONIN                   =
    APPEND w_MATERIALDOCUMENT to it_GOODSMVT1 .
    IF sy-subrc = 0 .
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    *MESSAGE text-016 TYPE 'I'.
    PERFORM msg_log  .
    ENDIF.

    Hi,
    Did u check the serial numbers table before calling the BAPI. Might be the case tht same serial number is assigned for all items, in this case the goods movement may be possible with same serial number for all items.
    Reagrds,
    Aditya
    Edited by: aditya on Aug 11, 2009 11:46 AM

  • Same variable "used in more then one InfoObject"

    I want to use the same user entered value as part of the definition of two different restricted key figures, restricting on two different characteristics.  Basically the user will enter a date, and one key figure includes only those with a "Calendar date" < the entered date, the other will have "Date1" less then the entered date and "Date2" greater the entered date.  When I try that, I get the error "Variable Select Date used in more then one infoObject".  How can I either use the same variable for more then one characteristic, or create a new variable that takes the value of the "Select Date" variable without prompting the user to enter the same date multiple times.
    thanks
    Val

    Hi Val,
    Hereunder an example of a routine extracting year from month, month inserted manually (year = anno in Italian):
    DATA: loc_var_range LIKE rrrangeexit.
    DATA: l_s_range TYPE rsr_s_rangesid. 
    DATA: v_anno(4) TYPE c.
    CASE i_vnam.
      WHEN 'VCE_ANNO'.
        IF i_step = 2.
          CLEAR l_s_range.
          LOOP AT i_t_var_range INTO loc_var_range
                  WHERE vnam = '0PCALMON'.
            CLEAR v_anno.
            v_anno = loc_var_range-low(4).
            l_s_range-low      = v_anno.
          L_S_RANGE-HIGH     =
            l_s_range-sign     = 'I'.
            l_s_range-opt      = 'EQ'.
          ENDLOOP.
          APPEND l_s_range TO e_t_range.
        ENDIF.
    endcase.
    Ciao.
    Riccardo.

  • Insert more then one record on a Form in a Data Block

    Hi,
    How can I Insert more then one record in the DataBlock of a Form in a WHEN_BUTTON_PRESSED trigger. In the Trigger I have given "commit" but it just saves the record once regardlessly how many times you press the button.
    Thanks in advance
    Khawar

    Hi,
    You said
    "**In the Trigger I have given (commit) but it just saves the record once regardlessly how many times you press the button.**"
    I think u want to batch mode insertion if m not wrong?
    1- Use Insert statment instead of commit and then next record.
    Begin
    Insert into <table> values (:Blk.Val1,:Blk.Val2,:Blk.Val3,:Blk.Val4);
    Create_record;
    End;
    2-Use another object say button for commit record.
    Acknowledege me
    Best regards
    Khurram Siddiqui

  • HOW DO I USE MORE THEN ONE ITUNES WITH MY IPHONE WITHOUT ERASING MY MUSIC?

    I have two different laptops with iTunes on it. I use both of them but my iPhone only works with one iTunes. I plug it into the computer and it says that my iPhone cannot use more then one iTunes. Is there a way I can use both or no?
    YES I AM CLICKING MANUELLY ADD SONGS TO MY iPhone.
    I just bought my iPhone about a week or so ago.
    Please help ASAP.

    I clone my library to a portable drive using SyncToy 2.1, a free tool from MS. I run this both at home & work so that I essentially have three identical copies of my library for backup redundacy, any of which I can use to update my iPods and my iPhone. I use iTunes Folder Watch occasionaly in case I've managed to download, for example, a podcast at one location but overwrite the library with a newer copy updated at the other. It can be done but you need to take considerable care...
    tt2

  • Can I use more then one apple ID on my computer/osx app store

    Hi,
    I use my MBP/iMac/ipad/iphone for both business and home.  Right now everything is setup to my home apple id (and I have made quite a few purchases with that).  With the release of the osx app store and FCPX,  my company wants to buy these for my computers.  But they want to do this on their apple id.  Can I run more then one id on a mac?  How can I make this work as I know they will want me to start getting more apps as they are released.

    You can have apps from multiple Apple IDs on one Mac. The issue will be that to update Mac apps bought with A ID #1 will require signing into A ID #1 in the MAS. And later when apps bought with A ID #2 need an update you will need to sign into A ID #2 in the MAS to update them. If you can keep that straight and can abide that requirement, there should be no issues.
    The same will be true to update iOS apps, but using iTunes.

  • Select more then one row in value help (multi selecting)

    Hi Everybody,
    how is it possible to configure a value help, so that the user can choose more then one row?
    regards
    Sid
    Edited by: sid_mopo on Mar 6, 2009 11:54 AM

    Hi Lekha,
    i have a textedit UI-Field with a value help on it. After clicking on the value help there appears a value help table. At this point the user shold have the possibility to choose/mark more then one row. How can i give the user the possibilty to choose more then one row.
    At this time only one row can be selected by a user.
    regards,
    Sid

  • Insert more then one animation into dreamweaver

    how do I insert more then one adobe edge animation into dreamweaver via html code?

    Hi, bullydog2009-
    You should be able to insert multiple iframes into your HTML document.  Try this post for syntax:
    http://forums.adobe.com/message/4741310
    Hope that helps!
    -Elaine

  • More then one repositry could be used at same time?

    please anybody can told what we can use more then one repository at same time? as i have two reposities as sh,paint.what these two could be enable in nsq file .
    Edited by: shakeel khan on Jan 4, 2010 5:03 AM

    yes you can..
    check the following links
    http://rnm1978.wordpress.com/2009/08/25/multiple-rpds-on-one-server-part-1-the-bi-server/
    http://rnm1978.wordpress.com/2009/08/25/multiple-rpds-on-one-server-part-2-presentation-services/
    Regards,
    Raghu

  • Fetching The more then One Company ID by using PLSQL Table on Block B1(FORM

    I have two blocks in Form (Forms 10g) .On the Block B2 I have populated the Company Id by using the PLSQL Table.Now I selected more than two company ID from that Block ...I just want to keep the Company ID in the Temp Field on the Block B1.which I have selected on the Block B2.Any idea how can I assign more then one Company ID to That Temp Field on B1.

    This doesn't appear to have any connection to JMS or indeed to Java. Wrong forum. Locking.

Maybe you are looking for

  • IPhone 3GS Camera Crashes iOS 4.3 When Device Used In Cold Weather

    I was in Chicago today where the weather was in the low 40's (high 20s with the windchill). As I was sightseeing and using my iPhone to shoot casual snapshots, the OS completely crashed when I was trying to take the picture. My iPhone has never crash

  • Sending Alerts from PC

    Hello All, I am working on sending alerts from PC, I followed below steps. 1. Go to ALRTCATDEF 2. Select classification "Process Chains" 3. Click on display/change 4. Double-click on "error in a process of a process chain" 5. Click on "fixed recipien

  • Tomcat error while ant deploy (via manager)

    I am getting the following error whenever I deploy or undeploy my jsp application using ant. The error is : Jun 30, 2007 1:18:50 PM org.apache.catalina.connector.CoyoteAdapter service SEVERE: An exception or error occurred in the container during the

  • AIR and full-text search in SQLite

    Hi, can I use full-text indexing capabilities of SQLite with my AIR app? I've created a virtual table in database using fts3 module (via command line of sqlite.exe). But when I try to insert a row into this table, I get an error message like ...SQLEr

  • Open a view for EDIT

    In SSMS I can right click on a table or view and select EDIT TOP 200. Is there a way to open a table or view in this EDIT mode using a TSQL script? Jim Brown