Multiple record upsert - Merge operation problem using DB Adapter

Hi,
I am trying to insert/update multiple records using Invoke activity of BPEL and DB Adapter Merge operation.
I am facing 0036 - Missing expression error. When i try with single record, the operation is working fine.
Tried setting DB Adapter log level to 32 Finest. Could not find much info in the logs.
SOA Version - 11.1.1.7

Hi,
I believe NVARCHAR is an unsupported type...
The following document lists the supported data types for SQL Server stored procedures and functions... NVARCHAR is not in the list... :-(
http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_db.htm#CHDEBEEE
Hope this helps...
Cheers,
Vlad

Similar Messages

  • How can I do a multiple record data merge, but specify that a specific text frame with variable data only merges on the first record?

    I'm doing a multiple record data merge, I have 2 frames both with variable data placed inside.
    I would like to specify that one of the text frames only merges once(first record) and the other frame multiple times for each record in the data file.
    Is it possible?
    I thought that perhaps if I place the text frame that must merge once on the master page, it would work.  But you are not allowed to place variable text on the master and on the document page.
    I'm going to try it through scripting next, but thought that perhaps there is an easier way that I'm not aware of.
    Thanks,
    Suzanne

    Suzanne,
    If you were trying to post a screen shot, you would need to return to the forum and post it using the "camera" icon at the top of the post editing windows.
    I use a plug-in from Em Software called InData. One of the benefits for what I do is there are no individual frames on a page to deal with post-merge. Individual frames are great for simple merges (address labels, post cards, etc.). But I typically do more other types of merges.
    That said, there is a drawback--one needs to come to an understanding of writing expressions that actually parse the incoming data. So in the spice price list example, that looks like:
    It's reasonably easy once one does it a few times. And it can be far more complicated. The above is from Em Software's samples that has been tweaked. The best thing I can recommend would be to download the trial and see for yourself. They are good at responding to specific questions if you get stumped.
    I imagine this all could be scripted somehow in ID. But I have no idea how and the plug-in just lets me keep working.
    Mike

  • Is it possible to do a multiple-records data merge that doesn't generate multiple text boxes?

    Is it possible to do a multiple-records data merge that doesn't generate multiple text boxes? And if so, how?
    For publications such as a directory with contact information, it would be easier to manage the layout by merging multiple records into one text box. However, it seems like the only option in InDesign is to merge the records into each of their own text boxes.

    No, but it's possible to stitch the frames together after the merge, then reflow.  See Adobe Community: Multiple record data merge into paragraph styles-applies the wrong style

  • Multiple Records Data Merge issue

    Hi all, could really use some help here, I've been trying to solve this for hours now:
    Made 3 different designs for labels that I'm printing based off of Avery label templates for InDesign. When I go ahead to do my data merge on any of them, I select "Multiple Records" under Records per Document Page, but the preview and the actual creation just spit out a single unique label onto each new page. For example, I'm using 2x4" labels on 2 of these, so it should print 10 per page, but instead of putting 10 unique labels on a page, it puts each new label on a new page. Therefore, instead of 100 pages for the 1,000 labels I'm printing, I end up with 1,000 pages.
    I know to double check the size constraints on the text box and make sure it fits when duplicated, and to my understanding, that is looking like it's fine. I'm also fairly certain that the CSV files I'm using are in the right format, too. I'm pretty stuck at this point as to what I need to do to fix this problem, any guidance would be awesome. Below are screenshots of what I'm looking at, please let me know if there's anything else I can provide that would help diagnose the problem.

    I thinnk the easiest way to deal with this would be to make sure all the template information from Avery is on the master page. Leave it active while you do the layout in the upper left position ON THE DOCUMENT PAGE, then assign the None master to leave nothing showing but your placholders and added art.
    Reassign the template master after the merge.

  • Multiple record data merge into paragraph styles-applies the wrong style

    Hi, I've been working on this project for sometime and everytime I manage to get one part of the workflow to work another seems to break. My agency publishes catalogs in multiple formats: large-print, audio, braille, and HTML. I've been trying to redesing our work process so that the catalogs will be laid out from merged data out of comma-separated file. The data merges have worked fairly well in Word, but InDesign is a challenge. I'm merging multiple records on a page, like a mailing label. The paragraphs need to be formatted and I'm trying to apply a paragraph style to them. After much work, I think I've finally got the data merge to work correctly, but the wrong paragraph styles are applied. I'm going to apply a new master page to the data once the data is merge that uses the paragraph styles for text variable running headers and I need to build a table of contents based on the paragraph styles so I need this to work. Attached are some screenshots.
    Master page set up for data merge with paragraph styles:
    Here is the merged document with the wrong paragraph styles applied:
    I have only a few weeks to get this process ironed out to keep to our rigorous production schedule. If anyone can help I would really appreciate it.
    thanks,
    Lina

    I don't remember this happening in past versions. But I mainly use XML. And a quicky test converting your file to XML worked fine (and besides, it ends up all in continuous text frames...).
    I don't do much GREP. But you can do this via a Find/Replace.
    First, in your main document, you can delete the tags--but do this on a second copy of your working file!
    Change your Content Placement options to not remove blank lines (these are in the Datamerge panel).
    Then after the merge, change the format of the two blank lines at the beginning of the records without the two lines of data:
    Note the Change Format style is changing those two paragraphs to Title.
    Then rerun the find to remove the two blank paragraphs.
    I suspect this can be done easier. I am sitting awaiting an appointment and cannot go much further than this for now, sorry.

  • Indesign Cs4 Multiple record data merge

    I am trying to create a response card.
    The sizing is such that they lie three on a letter sized page, and fit into Number 9 envelopes.  I've
    data merged onto the one page (so three target/data boxes in each of the response cards) but when i select expo
    rt and multiple records it doesnt work right.  It generates three on a page of all the same
    record, and then a page of three for each record.  i need each record only once and i'd like to print them three to a page and then cut them.
    advice?  i am not very advanced with indesign, so specific steps would be much appreciated.
    is there a way to print if i make just one card?  it seems you can only do 2 or 4 to a page, not three

    You set your fields three times on the page right?, delete instances 2 & 3.
    Repeat - Set the first instance of all your design, eliminate everything else.
    From the Create Merged Document panel, select "Multiple Fields" in Records per Document and adjust spacing on the Multiple Record Layout tab. (Hint, turn on preview)

  • How to store multiple records for one master reocrd using sequnce

    dear,
    my question is in one form i have master block f and detail block.
    my question is i created one sequence and assign to master table. but i dont know how to assign that sequence to multiple record in detail table for that particular master record. i got lots of answer previously but i m not getting exactly.pls tell me full procedure otherwise gv me one demo application
    NOTe: the sequnce is created after master record commiting to database.
    PLS pls help me
    Thanks
    damby

    i did not get answer pls help me.

  • Inserting multiple records in to database table using webdynpro abap

    Hi all,
    I have created a username inputfield,a button and a table
    with one coloumn.
    If i enter  names in the input field then the values should be
    displayed in that table.
    Even i have got the answer i am not able to insert
    the values in to database(ztable) table.
    i.e. only one value(1st) was inserted the second value was
    not inserted ....
    so kindly send me the coding to insert multiple records
    into the database table......
    by,
    ranjith

    hi Ranjith,
    If you want to insert multiple records from the webdynpro view table to database table then try the following code.
    DATA lo_nd_tablenode TYPE REF TO if_wd_context_node.
      DATA lo_el_tablenode TYPE REF TO if_wd_context_element.
      DATA ls_tablenode TYPE wd_this->element_tablenode.
      DATA it_tablenode LIKE STANDARD TABLE OF ls_tablenode.
      navigate from <CONTEXT> to <tablenode> via lead selection
      lo_nd_tablenode = wd_context->get_child_node( name = wd_this->wdctx_tablenode ).
      get element via lead selection
      lo_el_tablenode = lo_nd_tablenode->get_element(  ).
      get all declared attributes
      lo_nd_tablenode->get_static_attributes_table(
      IMPORTING
        table = it_tablenode ).
    MODIFY databasetablename FROM TABLE  it_tablenode.
    here it_tablenode is the internal table which holds the value from webdynpro view..
    Regards,
    Shamila.

  • Multiple messages enqueuing into one table using Database Adapter

    Hi All,
    I am trying to fetch records from one table and insert into another table in the same database using two DB adapters each for one function.When trying for one record,it is working fine.But for more than one records using for-each loop I am unable to insert the records into the table.Can anyone suggest any solution.
    For DB Adapter 1 and 2 I am selecting "Perform an operation on a Table".
    Options being selected in case of both adapters:-
    DB Adapter1-'select' and DB Adapter2- 'Insert'
    Regards,
    Niva Das

    Do not know the exact implementation how you have done but this is what you can do to narrow down the issue.
    you can check out the instance to know whether you are able to fetch multiple records from the first table.
    If that works fine then you can check the transformation whether  the data is getting transformed in to correct format.
    If that too works fine check out whether the invocation to second db adapter is fine or not.

  • How to handle the failed records from the table when using DB Adapter

    Hi,
    I am reading some records from table using DB Adapter inside my synchronous BPEL process. Say like reading 100 records from table in between after successful reading of 90 records an error occured in 91st record due some various reasons(like DB down, Connection interrupted etc.). Then how to handle this situation, whether i have to read all the records from the begining and is there any option to continue from where it stopped reading.
    Can please anybody help me out in the regard?
    Thanks in advance
    Regards,
    Aejaz

    we had the same requirement some time ago and had two option:
    1. ask the R/3 development team add a deletion indicator in the table (and thus not actually deleting the record). this deletion indicator could then be used like for any other standard datasource
    this option was however refused, due to huge data volume after a while
    2. at the end of the load we copied the ZTABLE1 to ZTABLE2. then in the begin of the load (day after) we compare the data of table1 to table2. entries available in table2 but not in table1 are deleted, and we put a 'D'. in deletion indicator; as we only keep the deleted entries for one day, the volume of the new table is acceptable.
    M.

  • Problem in retrieving multiple records SAP xMII from SAP using BAPIS

    Hi friends,
             In SAP xMII i called BAPI_USER_GETLIST by passing import parameters 10 and y.In r/3 BAPI returned 10 rows but In xMII it was returned only one Record.
    i want to display 10 records in sap xmii
    1) I created to connection ECC5 in Dataservices-->SAPSERVERConfiguration
    2)In BLS we placed JCO Interface inside Sequence
    3)In BLS I used ECC5 connectrion(using JCO Interface) and called  BAPI_USER_GELLIST
    4)In Links-->Transaction created two input values for "maxnoofrows","withusername" and output value is "userid".
    Input what i mapped 
    Transaction>"maxnoofrows" =====SAPJCOINTERFACE->Request>BAPI_USER_GETLIST>INPUT-->MAX_ROWS
    Transaction>"withusername" =====SAPJCOINTERFACE->Request>BAPI_USER_GETLIST>INPUT-->WITH_USERNAME
    Output what i mapped 
    SAPJCOINTERFACE->Response>BAPI_USER_GETLIST>TABELS>USERLITS >ITEM>USERNAME=====Transaction-->userid
    5)Saved the Transaction.
    6)In Query Template -->xactuateQuery selected
    7)In Datasource Query mode was selected ,Inputrarams i passed 10 and y as parameters.
    It was returned one user id from R/3 inSAP xMII
    please help me to retrive all  10 rows from r/3
    Regards
    Srikanth

    hi,
    What is the data type of Transaction output (userid)?
    Make this as XML type.
    The format which BAPI returns the result does not match with xMII XML format.
    Create a xMII XML document and configure with column name as userid. and by using repeater and XML row add all tho values to the document. Then assign whole doument to transaction output.
    Hope this will help to resolve the issue.
    Regards,
    Kishore

  • How to loop and add multiple records from db in .pdf using cfdocument

    I have a query that pulls a users information (Id, FirstName,
    LastName, Title,etc). I then use cfdocument to output a person's
    biography into a pdf. This is great, because we no longer have to
    manually create bios, as they are now all dynamically generated.
    The problem I have now is that we want to be able to select
    multiple users and create a .pdf with each of their bios included
    in the one pdf.
    How do I loop thru records from a sql database in a
    cfdocument that includes a header and footer in cfdocument items,
    and ensure that one persons bio doesn't continue on the page with
    anothers.
    Here's the code I have so far for the cfdocument:

    Put the query around just the body of your cfdocument not
    around the whole cfdocument tag. Also, move any query information
    out of the header and put that in the body of the document. Lastly,
    put a cfdocumentitem pagebreak after each bio...you will need to
    check the recordcount of the query against the row you are on so
    that you don't add an empty page break at the end.

  • Problem using the adaptive firewall :  "Firewall management disabled"

    I am facing a problem that Google and man pages cannot solve : it seems that af is disabled; I don't know why and cannot enable it.
    In /var/log/system.log, I can see entries like this :
    Aug 19 08:07:14 arda emond[14295]: Host at 202.99.122.136 will be blocked for at least 15.00 minutes
    Aug 19 08:07:14 arda emond[21852]: DoRunAction (child): setting the uid/gid to 0/0
    But ipfw tells me otherwise :
    $ ipfw list
    00001 allow udp from any 626 to any dst-port 626
    01000 allow ip from any to any via lo0
    01010 deny log ip from any to 127.0.0.0/8
    01020 deny log ip from 224.0.0.0/4 to any in
    01030 deny log tcp from any to 224.0.0.0/4 in
    01040 allow udp from 192.168.0.0/16 to 192.168.0.0/16 dst-port 514 in
    01050 allow udp from 212.27.38.253 to 192.168.0.0/16 in
    01060 allow tcp from any to 192.168.0.0/16 dst-port 6881-6889 in
    12300 allow ip from any to any
    12301 allow tcp from 192.168.0.0/16 to any dst-port 25
    12301 allow udp from 192.168.0.0/16 to any dst-port 25
    65534 deny log ip from any to any
    65535 allow ip from any to any
    afctl refuses to run, giving an explicit message that i cannot find anywhere on the web :
    $ /usr/libexec/afctl -v 1 -a 202.99.122.136
    Tue Aug 19 08:09:53 arda.private afctl[22253] <Notice>: Firewall management disabled
    And of course, no new rules added in ipfw.
    Do you have any idea on what is wrong ? afctl is loaded durong boot (I didn(t change anything), but not working :
    $ launchctl list | grep afctl
    - 0 com.apple.afctl

    OK, thanks. Situation is getting better.
    Now af is enabled, and I can add IP to black and white list. I had also to enable the rule set with the -e option (not sure it will stay after reboot; man page is silent on this).
    The rules set 17 appears in ipfw list, but it seems there is still some problem for automatic blacklisting.
    I will continue to investigate the situation, but Apple provides very little documentation on this.

  • Problem Using File adapter(Urgent)

    Hi,
    I have a simple ESB service where I have one Read File adapter for reading a file and other Write file adapter to write the same file to a folder.
    I was able to deploy it to ESB instance successfully.
    But when I put a file to read ESB is throwing
    "OracleASjms/ESBDeferredTopic" error.
    Can any one please help me.
    Thanks
    Rao.

    We would be able to help you better if you provided the full error stack as this is very generic.
    Generally the most common issue with the file adapter is permissions, make sure the SOA suite owner is able to read and write on the directory and the file.
    otherwise post the error stack which may identify the real cause.
    cheers
    James

  • Insert multiple records into Oracle using Java

    Hi,
    Has anyone tried to insert multiple records into an Oracle table from Java? I have my data in a Java collection.Can I send a Java Collection to an Oracle Package as a PL/SQL Table Type? My problem is I dont want to instantiate a CallableStatement object everytime I do an insert. Instead I want to do that only once and then insert multiple records in one operation.
    Any suggestions will be appreciated,
    Thanks,
    Alex

    Hi Mensa,
    I went thru the code example in your book in chapter 8 (downloaded it from OTN). It looks like the java code for "public class myPLSQLIndexTab" might be a java stored procedure stored in the oracle database?
    Pardon my ignorance because I've never worked on java code in the oracle database itself but how would I call such a program outside the oracle database? For example say I have a batch job that downloads data from a webservice and that batch job is written in java and its sitting on a batch server somewhere on the network. But the java program that inserts data into the database is sitting in the oracle database (also somewhere in the same network). How can the java code sitting on the batch server talk to the java code sitting on the oracle server? Is it the same as calling a pl/sql package using CallableStatement?
    Thanks
    Alex

Maybe you are looking for

  • How do I find my iTunes Library on my iPhone 4S?

    From my PC, I purchased a movie.  It is in my iTunes Library and I can play the movie on my computer.  I can't find my iTunes Library on my iPhone.  Can anyone help?  I'm a brand new user.

  • List Of Value in search forms

    Hello, I am using ADF 11g I am trying to prepare a custom search form (not af:query component). I dragged and dropped a view object in data control to create a select one choice component. It is working good. But i am not able to have the LOV to have

  • How to use JNI in an Applet?

    Can a native method can be invoken in an Applet?If it can,which knowledge of Java should be used and how to use it?

  • HR custom authorization issues/BADI to be used for some customization

    We can develop custom authorization object in HR and run RPUACG00 to generate include MPAUTCON.Is it possible to include some customizations to the MPAUTCON program to accomplish some of our requirements. If not can you please suggest me a BADI/User

  • Officejet 6700 print booklet

    I am trying to print a Word document in booklet form.  It prints fine on a Ricoh printer.  But it won't print correctly on the HP OfficeJet 6700.  When I go into the Properties of the 6700 I click on the "booklet" box.  Also Print on both sides - Lon