Help on large grouping in DataTemplate

Hi Guro
I need som help on BI Publisher 10.1.3.2.1.
The following sql works. The join works. The select works seperatly in DataTemplates, but when put together it seems to large!
The Opera browser have the most informative error:
XML parsing failed: syntax error (Line: 1, Character: 0)
Error:missing root element
The DataTemplete works (without the proper grouping) until I add <group name="G_WPO2" source="WPO">
What to do?
How do I find the real causing error?
Any suggestions on runtimeparameters like cache and size?
Expected filesize on xlmoutput is only 100kb
Any hint will be appreciated. Thanks.
I'm using a DataTemplate as follows.
<dataTemplate name="CP1-template" dataSourceRef="MinEupa_pdf" description="test" version="1.0">
<parameters>
<parameter name="p_ip" dataType="character" defaultValue="123.7"/>
<parameter name="p_up" dataType="character" defaultValue="-99"/>
<parameter name="p_dp" dataType="character" defaultValue="2"/>
<parameter name="p_ec" dataType="character" defaultValue=""/>
</parameters>
<dataQuery>
<sqlStatement name="OB">
     select * from mineupa.xml_ob
     where OB_DP_ID = to_number(:p_dp)
</sqlStatement>
<sqlStatement name="WP">
select * from mineupa.xml_wp
     where WP_DP_ID = to_number(:p_dp)
     and WP_OB_ID = :OB_ID
</sqlStatement>
<sqlStatement name="WPO">
select * from mineupa.xml_wpo
where WPO_DP_ID = :p_dp
and WPO_WP_ID=:WP_ID
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="G_OB" source="OB">
<element name="OB_ID" value="OB_ID"/>
<element name="OB_NO" value="OB_NO"/>
<element name="OB_NO_S" value="OB_NO_S"/>
<element name="OB_TITLE" value="OB_TITLE"/>
<element name="OB_DESC" value="OB_DESC"/>
<element name="CALC_OB_CC" value="CALC_OB_CC"/>
<group name="G_WP" source="WP">
<element name="WP_ID" value="WP_ID"/>
<element name="WP_OB_ID" value="WP_OB_ID"/>
<element name="WP_NO_S" value="WP_NO_S"/>
<element name="WP_TI" value="WP_TI"/>
<element name="WP_LE" value="WP_LE"/>
<element name="WP_LE_UPP_SHORT" value="WP_LE_UPP_SHORT"/>
<element name="CALC_WP_PNO" value="CALC_WP_PNO"/>
<element name="WP_DES_FUL" value="WP_DES_FUL"/>
<element name="WP_DES_18" value="WP_DES_18"/>
<element name="WP_ANIM" value="WP_ANIM"/>
<element name="WP_F_ANIM" value="WP_F_ANIM"/>
<element name="CALC_WP_CC" value="CALC_WP_CC"/>
<element name="WP_SPM_FUL" value="WP_SPM_FUL"/>
<element name="WP_SSTA_M" value="WP_SSTA_M"/>
<element name="WP_SDUE_M" value="WP_SDUE_M"/>
<element name="CALC_WP_EFA" value="CALC_WP_EFA"/>
<element name="CALC_WP_PST" value="CALC_WP_PST"/>
<element name="CALC_WP_PDU" value="CALC_WP_PDU"/>
<element name="WP_ACT_TY" value="WP_ACT_TY"/>
<group name="G_WPO2" source="WPO">
<element name="WPO_ID" value="WPO_ID"/>
<element name="WPO_WP_ID" value="WPO_WP_ID"/>
<element name="WPO_NO_S" value="WPO_NO_S"/>
<element name="WPO_TITLE" value="WPO_TITLE"/>
<element name="WPO_RESP_NR" value="WPO_RESP_NR"/>
<element name="CALC_WPO_PNO" value="CALC_WPO_PNO"/>
<element name="CALC_WPO_CC" value="CALC_WPO_CC"/>
<element name="WPO_DES_FUL" value="WPO_DES_FUL"/>
<element name="WPO_SSTA_M" value="WPO_SSTA_M"/>
<element name="WPO_SDUE_M" value="WPO_SDUE_M"/>
<element name="CALC_WPO_PSTA" value="CALC_WPO_PSTA"/>
<element name="CALC_WPO_PDUE" value="CALC_WPO_PDUE"/>
<element name="CALC_WPO_EFA" value="CALC_WPO_EFA"/>
</group>
</group>
</group>
</dataStructure>
</dataTemplate>

Hi Iceman
Thanks for your tip. Im trying with CDATA then:
<dataTemplate name="CP1-template" dataSourceRef="MinEupa_pdf" description="test">
     <parameters>
          <parameter name="p_ip" dataType="character" defaultValue="123.7"/>
          <parameter name="p_up" dataType="character" defaultValue="-99"/>
          <parameter name="p_dp" dataType="character" defaultValue="2"/>
          <parameter name="p_ec" dataType="character" defaultValue=""/>
     </parameters>
     <dataQuery>
          <sqlStatement name="OB"><![CDATA[
     select * from mineupa.xml_ob
     where OB_DP_ID = to_number(:p_dp)
]]></sqlStatement>
          <sqlStatement name="WP"><![CDATA[
     select * from xml_wp
     where WP_DP_ID = :p_dp
     and WP_OB_ID = :OB_ID
]]></sqlStatement>
          <sqlStatement name="WPO"><![CDATA[
     select * from mineupa.xml_wpo
     where WPO_DP_ID = :p_dp
]]></sqlStatement>
          <sqlStatement name="DL"><![CDATA[
     select * from mineupa.xml_deliverable
     where DL_DP_ID = :p_dp
]]></sqlStatement>
     </dataQuery>
     <dataStructure>
          <group name="G_OB" source="OB">
               <element name="OB_ID" value="OB_ID"/>
               <group name="G_WP" source="WP">
                    <element name="WP_ID" value="WP_ID"/>
                    <element name="WP_OB_ID" value="WP_OB_ID"/>
                         <element name="WPO_ID" value="WPO_ID"/>
                         <element name="WPO_WP_ID" value="WPO_WP_ID"/>
                              <element name="DL_ID" value="DL_ID"/>
               </group>
          </group>
     </dataStructure>
</dataTemplate>
Works by returning:
<?xml version="1.0" encoding="UTF-8" ?>
- <CP1-TEMPLATE>
<p_dp>2</p_dp>
- <LIST_G_OB>
- <G_OB>
<OB_ID>1001</OB_ID>
</G_OB>
- <G_OB>
<OB_ID>2</OB_ID>
- <LIST_G_WP>
- <G_WP>
<WP_ID>1003</WP_ID>
<WP_OB_ID>2</WP_OB_ID>
<WPO_ID />
<WPO_WP_ID />
<DL_ID />
</G_WP>
- <G_WP>
<WP_ID>1000</WP_ID>
<WP_OB_ID>2</WP_OB_ID>
<WPO_ID />
<WPO_WP_ID />
<DL_ID />
</G_WP>
</LIST_G_WP>
</G_OB>
- <G_OB>
<OB_ID>3</OB_ID>
But still when trying to merge like this it fails:
<dataTemplate name="CP1-template" dataSourceRef="MinEupa_pdf" description="test">
     <parameters>
          <parameter name="p_ip" dataType="character" defaultValue="123.7"/>
          <parameter name="p_up" dataType="character" defaultValue="-99"/>
          <parameter name="p_dp" dataType="character" defaultValue="2"/>
          <parameter name="p_ec" dataType="character" defaultValue=""/>
     </parameters>
     <dataQuery>
          <sqlStatement name="OB"><![CDATA[
     select * from mineupa.xml_ob
     where OB_DP_ID = to_number(:p_dp)
]]></sqlStatement>
          <sqlStatement name="WP"><![CDATA[
     select * from xml_wp
     where WP_DP_ID = :p_dp
     and WP_OB_ID = :OB_ID
]]></sqlStatement>
          <sqlStatement name="WPO"><![CDATA[
     select * from mineupa.xml_wpo
     where WPO_DP_ID = :p_dp
     and WPO_WP_ID=:WP_ID
]]></sqlStatement>
          <sqlStatement name="DL"><![CDATA[
     select * from mineupa.xml_deliverable
     where DL_DP_ID = :p_dp
     and DL_WPO_ID=:WPO_ID
]]></sqlStatement>
     </dataQuery>
     <dataStructure>
          <group name="G_OB" source="OB">
               <element name="OB_ID" value="OB_ID"/>
               <group name="G_WP" source="WP">
                    <element name="WP_ID" value="WP_ID"/>
                    <element name="WP_OB_ID" value="WP_OB_ID"/>
                    <group name="G_WPO" source="WPO">
                         <element name="WPO_ID" value="WPO_ID"/>
                         <element name="WPO_WP_ID" value="WPO_WP_ID"/>
                         <group name="G_DL" source="DL">
                              <element name="DL_ID" value="DL_ID"/>
                         </group>
                    </group>
               </group>
          </group>
     </dataStructure>
</dataTemplate>
Regards Thomas

Similar Messages

  • Large group mailout problem...

    I am trying to send a mail to a large group from mail v 2.0.5 but it will not send. I have tried various accounts but it will not go from any. I constantly get a message saying that it cannot be sent with that server after a very long wait.
    Can anyone help with this?
    Is there a maximum amount of people that you can send a group message to?

    I had already tried that, my isp says it has a limit of 200 recipients for any single mail, i have therefore changed one big group to blocks of 150 recipients per group.
    This still does not work! I have tried every account i own & still no joy, i have also tried every other fix i can find on this forum but none seem to work.
    i have uncovered another much longer thread than this with a few other people reporting similar problems so this leads me to believe it is a mail/ osx issue that needs resolving.
    Come on apple, listen to your users here, this is ridiculous! no other mail app has this sort of problem !
    any other workarounds that people may have would be gladly tried!

  • How can I export a large group of emails from my Macbook Pro to a flash drive?

    How do I export a large group of emails from my Macbook Pro to a flash drive?

    Mailbox > Export Mailbox...

  • Sending mail to a large group

    I have a large group in my address book and tried to mail a message to the group - it appears to have crashed it. Is there a limit? Is it about my internet connection?

    Your email provider limits the number of email addresses you can send to at once, so it's likely you exceeded that limit, thus causing their server to hang. Check with them to find out that limit, then try reducing the number of recipients your sending to in that group to that number or less.

  • Chatting Best Practices with Large Groups

    We have a large group (125) people who are involved in a 4-hour training each month.  What best practices would you suggest for managing chatting with this large of group.  Perhaps layout options, polling options, any best practices would be appreciated.

    I would leave chat alone with a group that large. You can provide that functionality to have an open communication between participants and possibly presenters/hosts for quick exchanges, but don't rely on it for question and answer functionality. The Q & A pod will queue up all the questions that are asked in it and you (or other presenters/hosts) can answer them while keeping the answers associated with the question and have the ability to reply publicly or privately. All questions are asked privately and are not seen by other participants, so duplicate or inappropriate questions can be easily removed or ignored.
    Polling is also good to keep the responses in a controlled evironment.

  • Address Book's Large Groups

    I need to create a very large group on Address Book (sync'd with iCloud).
    Now I've reached 1792 entries and it's impossible to add even a single entry more.
    Did i reach a limit of entries that the Address Book's groups support??
    Thanks for reply!

    I have similar problem with Mawerkicks. Did you find some solution since you posted your question in 2011?
    Thanks
    APe

  • Search help for purchase group in redistribute workload

    HI:
         I want to redistribute SC to other purchase group, when I logon on the SRM with language ZH, the search help for pur group does not work, but if I logon on with EN,everything is fine.
         could anyone tell me why?
    Message was edited by:
            hong pan

    Hi Arun,
    I didn't find Purchase order field in selection-screen of MB51. Please check from your end and let us know exact problem.
    Regards,
    Shravan Kumar N

  • Skype Incredibly Slow with Large Group Chats

    I was invited to a very large group chat (170 memebers, 100s of posts a say, active for years) and every time i attempt to read it skype grinds to a halt. It can take minutes to load new messages, during which the entire application is unresponsive. Skype is basically always using < 200MB ram during this, but it does seem to use a substantial amount (~1GB) of virtual memory.
    It is very frustrating. Is there anything I can do to at least improve the situation?
    Im using 7.2 (412) on Yosemite on a Mac Book Air

    http://heartbeat.skype.com/

  • Ldapmodify large group - Operations error

    I'm still trying to import a large group using ldapmodify. I'm getting a different error now.
    ldap_add: Operations error ldif_record() = 1
    I'm also getting some useful info in Error.log:
    libdb: Lock table is out of available object entries.
    idl_store: ... returns 12 Cannot allocate memory.
    etc.
    add attempt to index 205419 failed.
    Any idea what attribute I can modify to fix this problem?
    Thanks and Happy Holidays.

    Sun needs to fix the database code to increase the db lock parameters.

  • I can't sent an email to a large group of people. The sending email surface on every time I turn on my computer MAC PRO. How can I delete it? Why it happens? How to prevent it to happen again? Thank you. Danielson

    I can't sent an email to a large group of people. The sending email surface on every time I turn on my computer MAC PRO. How can I delete it? Why it happens? How to prevent it to happen again? Thank you. Danielson (Danicolenira)

    What do yo mean by " The sending email surface on every time"?

  • Problems with emailing to a large group

    Has Apple changed something recently?  I used to be able to send an email to a large group of people attaching one or two photos.  Now, everytime I try to do this my email completely craps itself.  The emails go into my sent box, but aren't actually sent to anyone.  Or if they are sent, they are complete gibberish.
    What on earth is going on?  Why is Apple making sending an email so bloody difficult!

    Yep, I'm using the Apple Mail app.  I think the problem may be as a consequence of the latest OS update because I've only just started to have this problem.
    The emails are definitely going into my sent box so I think they have been successfully sent, which is extremely frustrating. 
    This morning I tried to send the emails to smaller groups in case that was the problem.  I received a reply which showed that the email had pages of letters and symbols instead of the text of the email and attached photos.  But at least one person successfully received the email. 
    It is just very frustrating because I used to be able to send these emails without any problems.  Now I don't know if they are being sent, received, or received in an unreadable form!
    I'm going to try creating a pdf document to circulate and see if that works. 

  • Problem sending mail to large group

    I've got problems sending an email to a large group of recepients using 'Mail'. The mailserver rejects the mail. How should it be done to send a mail to a large group?

    What are you calling a "large group"? Servers usually have limits on the number of emails you can send per hour. Try sending to just a small group of 50 or 100 addresses and see if that works.

  • Cannot send large group emails.

    My mail program will not send emails to large groups. I get the message: Cannot send message using the server mail.insightbb.com. It will send them to small groups (5 or 6 names). This has only happened over the last week or so. Before that, I had no problem with these same large group emails.
    I have contacted my ISP (Insight Cable), and they said they couldn't find any problem with their settings and that it sounded like an Apple problem.
    Can anyone advise me?
    iMac G5   Mac OS X (10.3)  

    I have solved the problem for one of my large group e-mails. By subdividing the listing into small groups and sending out test messages, I identified one address that kept being rejected. I discovered that one was missing the .com extension. When I corrected that address, the entire group could be sent. I wish the rejection message would have identified the 1 out of 45 addresses that was causing the problem. So far, however, I can't find anything wrong with an address in the other problem group. I guess I'll have to carry out the same sort of test--but there are 200 names in that group!

  • Need Help with Photomerge Group Shot

    I'm trying to photomerge a group shot and having trouble with it.  The person I'm trying to cut out of the source photo gets plopped into the middle of the final photo and I can't line her up with in final shot.  Is there a way I can relocate the section that gets pasted into the final photo?   I'm also have trouble with aligning the photo--how do you know what points to select in the fist and second photo?  I've been playing with it, but the photos get terribly distorted.
    Appreciate any help.  I was expecting Photoshop Elements 10 to make this easy, and so far, it hasn't impressed me.
    Thanks,
       Terri

    OK, here we go:
    Make a selection (in the main image) of the area you want to be replaced:
    Open your other image, select the head to use, and copy it to the Clipboard.  (I simply used another one of the heads in this photo.)
    Back in the main image, use Edit...Paste into Selection:
    Change to the Move Tool and move the pasted-in image to where it looks best:
    You already know what to do next with the Clone Tool.   (Probably have to use Layer...Flatten Image to get rid of all the selections and layers so the Clone Tool can do its work....)
    Ken
    P.S.,  Looks like you did a real good job with the girl on the left.
    P.P.S.,  The image is a bit too small for us to do precision work (but it's OK for this example).  Next time you can try something about 2 or 3 times larger and see if the forum software accepts it.

  • Reconnect a large group of tracks

    I've read several different approaches to reconnecting a library to itunes. I have about 600 out of a few thousand to reconnect to dead tracks, and not lose playlists, equalizer, ratings, etc. I tried an Applescript "Fix Broken Tracks" with no success ("A descriptor type mismatch occurred."). What other method is there to have a group reconnect with original files, except one by one?

    Hi
    I am facing a similar problem and wondered if you managed to find a solution?
    I've got an external hard drive for my iTunes library, but since I moved to a new laptop (& new external hard drive) a large number of tracks have a shriek even though I can see them. Like yourself, there are far too many to manually reconnect and Doug Adams usually reliable scripts didn't help me.
    Any thoughts gratefully appreciated.
    Graeme

Maybe you are looking for

  • Updating interactive PDFs from InDesign 6

    I designed a form in InDesign 6 and exported it as an interactive PDF. Can I revise the Indesign version and export it again without losing the additional formatting that I originally did in Acrobat Pro? For example, I altered the size of some boxes

  • 'SERVERNAME' failed to perform the operation. The virtual machine is not in a valid state to perform the operation. (Virtual machine ID "GUID")

    DPM 2012 R2 Server 2012 R2 and Server 2012 (R1). Both CSV volumes and Hyper-V hosts with non clustered volumes. ISCSI Attached Storage. (Nimble SAN) Every time a VM backup is made this error message occurs: "'SERVERNAME' failed to perform the operati

  • Shooting video for the web

    I am shooting a spot for a client that is requesting an 18fps deliverable for use on the web and the spot needs to play in real time. I have never heard of this and I can't seam to find any information on it. Does anyone know how this works and what

  • HTMLDB / oracle fax capability

    Does anyone know if HTMLDB ( or the oracle db 10g ) has any built into fax capability ? ex: the user presses button and a blob or text can be sent to a fax number - any help is appreciated ! Thanks Bill

  • Address Book Changes Main Account Name . . .

    Hello, Lately I have been noticing a very strange behavior in Address Book/iChat/Mail (they all reflect the problem once it happens). I have my first name as "XYZ" (for example), and my last name is left blank. Then, out of nowhere, it fills in the f