Generating multiple recordset names

Hi All,
I am doing a scenario which is File to IDOC.
I am reading a file which is of variable structure , so in FCC i have used the RecordSet Sequence : Variable
after reading the file i have the structure as
example:
- <RecordSet>
- <W6>
  <WE601 />
  <W602 />
  <W603 />
  <W604 />
  <W605>D</W605>
  </W6>
- <N1>
  <N101>ST</N101>
  <N102>ZZ</N102>
  <N103></N103>
  <N104></N104>
  <N105>R</N105>
  <N106 />
  </N1>
- <N4>
  <N401>ST</N401>
  <N402></N402>
  <N403>SD</N403>
  <N404></N404>
  <N405>US</N405>
  </N4>
- <N1>
  <N101>WH</N101>
  <N102>ZZ</N102>
  <N103>2070</N103>
  <N104> SCS</N104>
  <N105 />
  <N106 />
  </N1>
- <N4>
  <N401>WH</N401>
  <N402></N402>
  <N403></N403>
  <N404></N404>
  <N405>US</N405>
  </N4>
  </RecordSet>
But i have to get the recordset name <RecordSet> twice as given below after mapping
- <RecordSet>
- <W6>
  <WE601 />
  <W602 />
  <W603 />
  <W604 />
  <W605>D</W605>
  </W6>
- <N1>
  <N101>ST</N101>
  <N102>ZZ</N102>
  <N103></N103>
  <N104></N104>
  <N105>R</N105>
  <N106 />
  </N1>
- <N4>
  <N401>ST</N401>
  <N402></N402>
  <N403>SD</N403>
  <N404></N404>
  <N405>US</N405>
  </N4>
  </RecordSet>
- <RecordSet>
- <W6>
  <WE601 />
  <W602 />
  <W603 />
  <W604 />
  <W605>D</W605>
  </W6>
- <N1>
  <N101>WH</N101>
  <N102>ZZ</N102>
  <N103>2070</N103>
  <N104> SCS</N104>
  <N105 />
  <N106 />
  </N1>
- <N4>
  <N401>WH</N401>
  <N402></N402>
  <N403></N403>
  <N404></N404>
  <N405>US</N405>
  </N4>
  </RecordSet>
i.e., i am getting 1 recordset after FCC and then after mapping i need to generate 2 recordsets and pass 2 IDOCS.
Please suggest me how can i generate  multiple recordsets.
Thanks
Sai_SHA

Hi All,
sorry the requirement is a different one
I am reading a file which is of variable structure , so in FCC i have used the RecordSet Sequence : Variable
after reading the file i have the structure as
- <RecordSet>
- <W6>
<WE601 />
<W602 />
<W603 />
<W604 />
<W605>D</W605>
</W6>
- <N1>
<N101>ST</N101>
<N102>ZZ</N102>
<N103></N103>
<N104></N104>
<N105>R</N105>
<N106 />
</N1>
- <N4>
<N401>ST</N401>
<N402></N402>
<N403>SD</N403>
<N404></N404>
<N405>US</N405>
</N4>
- <N1>
<N101>WH</N101>
<N102>ZZ</N102>
<N103>2070</N103>
<N104> SCS</N104>
<N105 />
<N106 />
</N1>
- <N4>
<N401>WH</N401>
<N402></N402>
<N403></N403>
<N404></N404>
<N405>US</N405>
</N4>
- <W6>
<WE601 />
<W602 />
<W603 />
<W604 />
<W605>D</W605>
</W6>
- <N1>
<N101>WH</N101>
<N102>ZZ</N102>
<N103>2070</N103>
<N104> SCS</N104>
<N105 />
<N106 />
</N1>
- <N4>
<N401>WH</N401>
<N402></N402>
<N403></N403>
<N404></N404>
<N405>US</N405>
</N4>
</RecordSet>
But i have to get the recordset name <RecordSet> twice , as the file is of variable structure i cannot go for RecordSet Sequence : Ascending .
- <RecordSet>
- <W6>
<WE601 />
<W602 />
<W603 />
<W604 />
<W605>D</W605>
</W6>
- <N1>
<N101>ST</N101>
<N102>ZZ</N102>
<N103></N103>
<N104></N104>
<N105>R</N105>
<N106 />
</N1>
- <N4>
<N401>ST</N401>
<N402></N402>
<N403>SD</N403>
<N404></N404>
<N405>US</N405>
</N4>
- <N1>
<N101>WH</N101>
<N102>ZZ</N102>
<N103>2070</N103>
<N104> SCS</N104>
<N105 />
<N106 />
</N1>
- <N4>
<N401>WH</N401>
<N402></N402>
<N403></N403>
<N404></N404>
<N405>US</N405>
</N4>
</RecordSet>
- <RecordSet>
- <W6>
<WE601 />
<W602 />
<W603 />
<W604 />
<W605>D</W605>
</W6>
- <N1>
<N101>WH</N101>
<N102>ZZ</N102>
<N103>2070</N103>
<N104> SCS</N104>
<N105 />
<N106 />
</N1>
- <N4>
<N401>WH</N401>
<N402></N402>
<N403></N403>
<N404></N404>
<N405>US</N405>
</N4>
</RecordSet>
i am getting 1 recordset after FCC but i need to get 2 recordsets.
Please suggest me how can i generate multiple recordsets and pass and pass mutilple IDOCS.
Thanks
Sai_SHA.

Similar Messages

  • Multiple Recordset names in File conversion

    Dear All
    I have a complex file format that I am trying to convert into XML using the File Adapter.
    - the file as a header in line 1. The header has fields
    - then there are a variable number of message each message has a header, body and trailer each of them have a number of fields
    - the file is concluded by a file trailer.
    I am thinking that there is a need of 3 recordset names. 
    Can anybody advise the how can I do this?
    e.g.
    FileHeader
          ID, date, File name
    MessageHead
                        ID,name,type
    MessageContent
                        ID,username,userlastname
    MessageTrailer
                        ID,messageSequence
    MessageHead
                        ID,name,type
    MessageContent
                        ID,username,userlastname
    MessageTrailer
                        ID,messageSequence
      Filetrailer
                       ID,numberOfMessages
    In XML the structure will be something as below which will require more than one Recordset Name.
    < MessageType>
                  <RecordSet_HEAD>
                           <Fileheader>
                              <value1>value</value1>
                               <value2>value</value2>
                            </Fileheader>
                    <RecordSet_HEAD> 
                    <RecordSet_MESSAGE>
                            <MessageHead>
                                <value1>value</value1>
                               <value2>value</value2>
                             </ MessageHead>
                           <MessageContent>
                                <value1>value</value1>
                               <value2>value</value2>
                             </ MessageContent>
                           <MessageTrailer>
                                <value1>value</value1>
                               <value2>value</value2>
                            </ MessageTrailer>
                            <MessageHead>
                                <value1>value</value1>
                               <value2>value</value2>
                             </ MessageHead>
                           <MessageContent>
                                <value1>value</value1>
                               <value2>value</value2>
                             </ MessageContent>
                           <MessageTrailer>
                                <value1>value</value1>
                               <value2>value</value2>
                            </ MessageTrailer>
                  <RecordSet_TRAILER>
                           <FileTrailer>
                              <value1>value</value1>
                               <value2>value</value2>
                            </FileTeader>
                    <RecordSet_TRAILER> 
    < /MessageType>
    Edited by: Haik Nazarian on May 1, 2008 7:16 AM

    Thanks for the answer. It sheds some light on the issue.
    Based on the answer it is not possible to do a complex conversion at the adapter level. I am trying to convert an incoming Plan file.
    Therefore I need to convert it on the sender file adapter i.e PlainTo XMLConversion. If it is not possible to do that than if I understand correctly it won't be possible to do the message mapping.
    Is there a work around?
    On teh other hand The File Head and file trailer are not that vital. I might even try to ignore them during the conversion.
    It is easy to ignore the file head with the "Document Offset" option but I couldnt find a way to ignore the file Trailer.
    Any ideas?
    thank you

  • Need to generate multiple error files with rule file names during parallel data load

    Hi,
    Is there a way that MAXL could generate multiple error files during parallel data load?
    import database AsoSamp.Sample data
      connect as TBC identified by 'password'
      using multiple rules_file 'rule1' , 'rule2'
      to load_buffer_block starting with buffer_id 100
      on error write to "error.txt";
    I want to get error files as this -  rule1.err, rule2.err (Error files with rule file name included). Is this possible in MAXL? 
    I even faced a situation , If i hard code the error file name like above, its giving me error file names as error1.err and error2.err. Is there any solution for this?
    Thanks,
    DS

    Are you saying that if you specify the error file as "error.txt" Essbase actually produces multiple error files and appends a number?
    Tim. 
    Yes its appending the way i said.
    Out of interest, though - why do you want to do this?  The load rules must be set up to select different 'chunks' of input data; is it impossible to tell which rule an error record came from if they are all in the same file?
    I have like 6 - 7 rule files using which the data will be pulled from SQL and loaded into Essbase. I dont say its impossible to track the error record.
    Regardless, the only way I can think of to have total control of the error file name is to use the 'manual' parallel load approach.  Set up a script to call multiple instances of MaxL, each performing a single load to a different buffer.  Then commit them all together.  This gives you most of the parallel load benefit, albeit with more complex scripting.
    Even i had the same thought of calling multiple instances of a Maxl using a shell script.  Could you please elaborate on this process? What sort of complexity is involved in this approach.? Did anyone tried it before?
    Thanks,
    DS

  • Not able to generate multiple lines for headers in report

    Hi,
    I am new to BI publisher and not able to generate multiple lines for headers. Please help me to resolve.
    I am using RTF template, data source as PS Query and XML file (system generated from the data source)
    When I am using system generated 'First XML' file, I am getting output in the follwoing format.
    TEAM_MEMBER, PROJECT_ID, NAME, START_DT
    e.g.
    EMP1 , 71000, Sample, 01-Jan-2010
    EMP1 , 72000, Sample, 01-Feb-2010
    EMP1 , 73000, Sample, 01-March-2010
    But I want the report to be generate with multiple projects for one employee like below format , for that I used 'Second XML' file but I am getting blank report.
    In short if there is one to many case, how to show in reports??? Please correct if I am going wrong.
    TEAM_MEMBER
    PROJECT_ID, NAME, START_DT
    PROJECT_ID, NAME, START_DT
    PROJECT_ID, NAME, START_DT
    e.g.
    EMP1
    71000, Sample, 01-Jan-2010
    72000, Sample, 01-Feb-2010
    73000, Sample, 01-March-2010
    **********First XML**************System generated XML ****************************
    <?xml version="1.0"?>
    <query numrows="2" queryname="SY_EMP_PROJECT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="">
    <row rownumber="1">
    <TEAM_MEMBER>TEAM_MEMBER </TEAM_MEMBER>
    <PROJECT_ID>PROJECT_ID samp</PROJECT_ID>
    <NAME>NAME sample data</NAME>
    <START_DT>2010-08-25</START_DT>
    </row>
    <row rownumber="2">
    <TEAM_MEMBER>TEAM_MEMBER</TEAM_MEMBER>
    <PROJECT_ID>PROJECT_ID samp</PROJECT_ID>
    <NAME>NAME sample data</NAME>
    <START_DT>2010-08-25</START_DT>
    </row>
    </query>
    **********Second XML**************Manually created XML and using to show multiple projects for one employee****************
    <?xml version="1.0"?>
    <TEST numrows="2" queryname="SY_EMP_PROJECT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="">
    <TEAM_MEMBER rownumber="1">
    <TEAM_MEMBER>1</TEAM_MEMBER>
    <EMPLOYEE_NAME>SAMPLE</EMPLOYEE_NAME>
    <PROJECT>
    <PROJECT_ID>1111</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01012010</START_DATE>
    </PROJECT>
    <PROJECT>
    <PROJECT_ID>1112</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01022010</START_DATE>
    </PROJECT>
    </TEAM_MEMBER>
    <TEAM_MEMBER rownumber="2">
    <TEAM_MEMBER>2</TEAM_MEMBER>
    <EMPLOYEE_NAME>SAMPLEC</EMPLOYEE_NAME>
    <PROJECT>
    <PROJECT_ID>1111</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01012010</START_DATE>
    </PROJECT>
    <PROJECT>
    <PROJECT_ID>1112</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01022010</START_DATE>
    </PROJECT>
    </TEAM_MEMBER>
    </TEST>
    Edited by: ganeshtw on Aug 25, 2010 12:14 AM

    Hi,
    With your first xml you can print like
    EMP1
    71000, Sample, 01-Jan-2010
    72000, Sample, 01-Feb-2010
    73000, Sample, 01-March-2010While creating the RTF template you can use the Group by option.
    <?for-each-group:ROW;./columnname> then print the column name
    <?columnname?>
    --Then your table format
    71000, Sample, 01-Jan-2010
    72000, Sample, 01-Feb-2010
    73000, Sample, 01-March-2010
    <?end for-each-group?>
    Thanks.

  • Creating CSR with multiple common names in a single CSR

    Hello Gurus,
    We are configuring SSL for which we were in the process of generating CSR from Oracle HTTP server. But we want to use multiple URL's for a server. For example
    domain.example.com will be our primary URL and domain2.example.com would be our secondary URL.
    Following are the questions/doubts that I have -
    1. Can we mention multiple Common Name [CN] in the single CSR.
    2. IF we mention our primary URL in the Common Name field , while generating the certificate can we mention secondary URL in the Subject Alternative Field[SAN]?
    3. If we can mention the secondary URL in SAN, will it create Certificate import error while we import the generated certificate in OHS.Any help will be highly appreciated and if that really helps will be marked as helpful/correct.
    Thanks
    Saurabh

    Hello,
    If you are certain then what does this line mean
    Please note that in FMW 11g. regardless of how the Wallet is created or the Wallet type used, use of Wildcard Certificates e.g ".domain" are not supported as Oracle deems them insecure.*
    This line is from My Oracle Support *Understanding Wallets and Keystores in Fusion Middleware 11g [ID 1218603.1]*
    Edited by: hyperEPM on Jun 8, 2012 5:04 PM

  • Error while trying to process multiple Recordsets in Flat file.

    Hi All,
    I am working on Flat File to Flat File scenario and my structure is as follows.
    Recordset
         Record1
              Field1
              Field2
         Record2
              Field3
              Field4
         |
         Record9
              Field5
              Field6
         I am going to receiver multiple Recordsets from my input and need to pass them as output flat file after doing some manipulations in mapping(I am using Java mapping).
         In Moni I am able to see multiple Recordset XMLs created but the message is failing in receiver communication channel with error
    "Failed to process message content. Reason: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure '' found in document', probably configuration error in file adapter (XML parser error)' (Software version: 3.0.1)"
         When I am trying to pass Single Recordset I am able to see the output, but when I am trying with multiple Recordsets it is throwing error.
         Can anybody help me in finding the root cause to this problem.
         My Receiver channel Content conversion is as follows.
         RecordsetStructure: Record1,Record2, -- - - ,Record9
              Record1.fieldFixedLengths     
              Record1.fieldNames
              Record1.endSeparator so on till Record9
    Regards,
    Jayaram.G

    You might want to check the following things
    Are u specifying field names,separators for Record1,Record2..Record9.
    Is you occurence repeats after record1..record9 again?
    Change your  structure occurence as per the runtime data you provide..
    See whether your java mapping modifies the structure that does not match with fcc configuration. You might want to pay attention over there too.

  • Problem - Multiple recordsets in one page

    Hi,
    Is it possible to use more than 1 recordset in a single page?
    Dreamweaver acts like there should be no problem, but when I upload
    & test the page I just get an error message saying there's a
    problem processing the requested URL. Each table and field has a
    unique name. I'm using ASP VBScript on Win2000 with Access DB.
    Please help!
    Ian

    The simple answer is yes, multiple recordsets are OK. I'd
    suggest re-posting - explaining what you're trying to do, what the
    errors say and supplying code or a URL so people can see what
    you're doing.

  • Why does Flash generate invalid class names for library items?

    I imported a bunch of bitmaps (PNGs).  The library symbol names all included the full file name and its extension.  When I check "export for actionscript" it generates a class name based on the symbol name, and it includes the ".png", even though that's invalid in a class name.
    When I select multiple bitmaps and choose properties and export for actionscript, it has a note saying that classnames will be automatically generated for all items, but it does the same thing... including the ".png" in all the class names.  Is this a problem?  Wouldn't it save time if Flash would automatically strip the file extension from the instance name of bitmap library symbols when generating class names?

    Thank you Nipun.  That is exactly the behavior I would expect, and I can confirm that in the trial of Flash CC it generates valid class names by removing the file extension.  For example, a file named "3ball.test.png" will receive an auto-generated class name of "_3ball_test", so it really does ensure the class name is valid (meeting AS3 class name syntax)
    kglad, what I'm saying is that an image file name like "ball.png" is not a valid "class name", because it contains a period, which is reserved as a package delimiter.  I know the runtime can handle it as a valid "fully-qualified class name", but it's misleading because it's actually creating a class named "png" in package "ball", BUT it's understood that the auto-generated name is not supposed to be specifying any package, hence the misleading specification.  The class would have to be instantiated like this: "import ball.png; var bd:BitmapData = new png();" or "import ball.*; var bd:BitmapData = new png();"  You would also then have to import every single class individually and always use their fully qualified names, because you'd technically have a bunch of classes all named "png" inside a hundred different packages.  It's just not acceptable.
    The other problem that occurred in CS6 is if you loaded a bunch of files whose names started with numbers, then when you select them all, choose properties, and use the batch properties window to export them for actionscript, I noticed that such images would be auto-assigned generic names like "Class4" as it would realize the default auto-generated class name would be invalid.  This problem has been fixed beautifully in Flash CC.
    Nipun, it would actually be very helpful to have a little more control over the class naming conventions.  For example, if I wanted all my BitmapData classes to exist in an "images" folder or package, it would be helpful if in the batch properties window I could specify a package name for all the auto-generated class names.  When importing hundreds of images, it's very tedius to have to edit them individually and I don't always have time to write a JSFL script.  There's room in that window to add a text field for a package name.  Thanks!

  • Generate multiple PDFs using FOP

    Hello,
    please take a look to the following code snipplet it is intended for the generation of a PDF document. The PDF-content is written to an OutputStream which works quite well.
    The problem is that I want to append some more PDF content to the OutpuStream, but these seams to be impossible. Is there anybody who merged several PDF-Streams to one "big OutputStream" ?
    try
    driver.setOutputStream(pdf);
    //Setup XSLT
    TransformerFactory factory = TransformerFactory.newInstance();
    Transformer transformer = factory.newTransformer(new StreamSource(xslt));
    //Setup input for XSLT transformation
    Source src = new StreamSource(xml);
    //Resulting SAX events (the generated FO) must be piped through to FOP
    Result res = new SAXResult(driver.getContentHandler());
    //Start XSLT transformation and FOP processing
    transformer.transform(src, res);
    System.out.println("first transformation...");
    finally
    pdf.close();
    }

    Hang on, your thread title suggests you want to generate multiple PDF documents from a single xml source, but the text is talking about combining pdf content.
    I'm not sure which one you really want so I'll the first one.
    I've recently had to generate multiple pdf documents from a single xml source. I used the following (hoping the tags render okay):
                   <xsl:result-document href="{$filename}" format="html">
                        <!-- document root here -->
                        <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
                             <xsl:call-template name="masterSet"/>
                             <!-- Apply the ID template to this instance of the ID element -->
                             <xsl:apply-templates select="."/>
                        </fo:root>
                   </xsl:result-document>I used the Saxon engine to split the xml into multiple .fo documents and then ran FOP over each of these.
    The 'xsl:result-document href="{$filename}" format="html"' element does the splitting. Obviously, the filename variable defines the path to the outpute file. You'll no doubt define that within some kind of for-each loop.

  • Filtering multiple recordset.

    I have posted 2 more discussions on the forum so i do aplogise but i am unsure the best way to describe what i am looking for
    i have a product page. with links to individual products
    <a href="product-description.php?ID=<?php echo $row_Recordset1['ID']; ?>"><img src="../images/AW/thumbs/<?php echo $row_Recordset1['imageSmall']; ?>"/></a>
    on the product page i need to call in other tables based on the catagory of the product and sizes of the product,
    i have created multiple recordsets joining the table but need help with the filtering of the information
    i have a recordset showing the product information (basics - name, size, price)
    $colname_Recordset1 = "-1";
    if (isset($_GET['ID'])) {
      $colname_Recordset1 = $_GET['ID'];
    mysql_select_db($database_beau, $beau);
    $query_Recordset1 = sprintf("SELECT * FROM beauProd WHERE ID = %s", GetSQLValueString($colname_Recordset1, "int"));
    $Recordset1 = mysql_query($query_Recordset1, $beau) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    i have a recordset to join the size table with the product table
    $colname_Recordset2 = "-1";
    if (isset($_GET['SizeProdID'])) {
      $colname_Recordset2 = $_GET['SizeProdID'];
    mysql_select_db($database_beau, $beau);
    $query_Recordset2 = sprintf("SELECT * FROM beauProd, beauSizes WHERE beauSizes.SizeProdID = beauProd.SizeProdID AND beauProd.SizeProdID = %s", GetSQLValueString($colname_Recordset2, "int"));
    $Recordset2 = mysql_query($query_Recordset2, $beau) or die(mysql_error());
    $row_Recordset2 = mysql_fetch_assoc($Recordset2);
    $totalRows_Recordset2 = mysql_num_rows($Recordset2);
    in the body i have a select list that needs to display the records of all the products in that catagory
    <form id="FormName" action="" method="get" name="FormName">
                <table width="300">
                  <tr>
                    <td><select name="name" class="text" id="selectName">
                      <option value="Select Design">Select Design</option>
                      <?php
    do {
    ?>
                      <option value="<?php echo $row_Recordset1['ID']; ?>"><?php echo $row_Recordset1['name']; ?></option>
                      <?php
    } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
      $rows = mysql_num_rows($Recordset1);
      if($rows > 0) {
          mysql_data_seek($Recordset1, 0);
                $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    ?>
                    </select></td>
                    <td><div align="right">
                      <input type="submit" name="button" id="button" value="select" />
                    </div></td>
                  </tr>
                </table>
              </form>
    and a select list that needs to show the sizes of each product
    <select name="os0" class="text" id="Cos0">
        <option value="select Category">Select Size</option>
        <?php
    do {
    ?>
        <option value="<?php echo $row_Recordset2['SizeProdID']; ?>"><?php echo $row_Recordset2['from'] . " - " . $row_Recordset2['to'] ; ?></option>
        <?php
    } while ($row_Recordset2 = mysql_fetch_assoc($Recordset2));
      $rows = mysql_num_rows($Recordset1);
      if($rows > 0) {
          mysql_data_seek($Recordset2, 0);
                $row_Recordset2 = mysql_fetch_assoc($Recordset2);
    ?>
      </select>
    the way i have it at the moment i cant get either select list to work. CAN ANYONE ADIVSE PLEASE
    thanks in advance

    Jonathan Fortis wrote:
    can these all go into one field?
    No. One field should hold one piece of information.
    Sizes table
    size_id
    size
    1
    0-3 months
    2
    3-6 months
    3
    6-12 months
    4
    12-24 months
    5
    small
    6
    medium
    7
    large
    8
    2 years
    9
    3 years
    10
    4 years
    Categories table
    cat_id
    category
    1
    baby
    2
    toddler
    3
    child
    Products table
    prod_id
    cat_id
    product
    1
    1
    Baby-gro
    2
    1
    Bib
    3
    2
    T-shirt
    Stock table
    prod_id
    size_id
    stock
    1
    1
    50
    1
    2
    0
    3
    3
    35
    3
    4
    20
    3
    8
    23
    3
    9
    0
    3
    10
    15
    In the stock table, prod_id and size_id must be declared as a joint primary key. This ensures that only one record can be created for each combination of product and size.
    There are 50 Baby-gros for 0-3 months in stock. Baby-gros for 3-6 months are normally available, but currently out of stock.
    T-shirts for 6-12 months, 12-24 months, and ages 2-4 are normally available. There is stock for all except age 3.
    [Edited to correct the prod_id values in the stock table]

  • Generate Multiple Invoices in One PDF

    Hi,
    I have requirement whereby I need to generate multiple invoices in one PDF file. I am using Oracle BI Publisher with Oracle APEX 4.0.2
    If there is only one invoice that needs to be generated in one PDF file then I already have the solution whereby I print the APEX page item session state values on Invoice Header and get the invoice line items from a SQL Query in my RTF template.
    However how to the do the same when multiple invoice needs to be generated in one single PDF file ?
    Any pointers will highly appreciated.
    Thanks & Regards,
    Ashish

    asagarwal wrote:
    However how to the do the same when multiple invoice needs to be generated in one single PDF file ?It should be pretty straight forward.
    Once you've got the query returning multiple rows, then just add a repeating group to your report (if an existing report, just select the section of the document that will repeat -> add-ins menu -> insert repeating group...; or right click selection -> BI Publisher -> Create group...), wherein the column values exist. You can even specify a page break at the end.
    By the way, this question is probably more suited for the {forum:id=245} forum.
    Ta,
    Trent

  • How to generate multiple output pdf's from one oracle reports

    how to generate multiple output pdf's from one oracle reports.
    I have a report where I have to generate more than one output files from the same report based on a parameter.
    Each output file is for each parameter.
    Is this possible in oracle reports, is so how ?

    You can better post your question in the reports forum instead of this pl/sql forum.

  • How Can i specify multiple server names in rwservlet.properties  file?

    How Can i specify multiple server names in rwservlet.properties file without clustering?
    I am using oracle 10g Application server. we have 3 servers Repsvr1, RepSvr2 and RepSvr3. Now i need to configure rwservlet.properties file to point to these servers based on any running report. i got 3 keymap files with reports info.
    Sample entry in the key map file is:
    key1: server=Repsvr1 userid=xxx/yyy@dbname report=D:\Web\path1\path2\reports\Report1.rdf destype=cache desformat=PDF %*
    key2: server=Repsvr2 userid=xxx/yyy@dbname report=D:\Web\path1\path3\reports\Report2.rdf destype=cache desformat=PDF %*
    rwservlet.properties file letting me to enter only one servername. Even though i merged all 3 keymap files into 1, still i have the server name issue. If i leave the server to the default name still i am getting the below error.
    REP-51002: Bind to Reports Server Repsvr1 failed. However, i know the default rep_<servername> would be used incase we dont have SERVER=<value> parameter in the rwservlet.properties file.
    If i specify the servername in the rwservlet.properties file then only Repsvr1 reports are working fine and other 2 server reports are giving the same error like
    REP-51002: Bind to Reports Server <<Server Name>> failed.
    how can i configure the info which will work all 3 reports. 2 Port servers are invoking using oracle forms and report server is invoking using ASP pages.
    If i specify Server name & Key map file in rwservlet.properties one at a time, all the reports are working without any error, whenever i am trying to integrate all 3 to workable i am getting binding error. if i exclude the server from rwservlet.properties still i am getting the same error.

    My RELOAD_KEYMAP setting is YES only.As i said If i specify Server name & Key map file in rwservlet.properties one at a time, all the reports are working without any error.
    keymap file entries
    key1: server=Repsvr1 userid=xxx/yyy@dbname report=D:\Web\path1\path2\reports\Report1.rdf destype=cache desformat=PDF %*
    key2: server=Repsvr2 userid=xxx/yyy@dbname report=D:\Web\path1\path3\reports\Report2.rdf destype=cache desformat=PDF %*
    If i use http://server.domain:port/reports/rwservlet? cmdkey = key1 should bring the report from Repsvr1 and http://server.domain:port/reports/rwservlet? cmdkey = key2 should bring the report from Repsvr2, but i am getting an error from Repsvr2 saying that REP-51002: Bind to Reports Server repsvr2 failed.
    Only Servername Repsvr1 is in rwservlet.properties file. Now what is the best option to by pass the server from rwservlet.properties file and should be from keymap file. if i comment server name in rwservlet.properties file still i am getting REP-51002: Bind to Reports Server <<Server Name>> failed error for both keys.

  • How to generate multiple idoc's from single appl document

    All,
    Iam looking for a way to generate multiple idoc's from single appl document (sales order). Based on the plant details on line items in the sales order i have to generate multiple idocs, i.e., send one idoc to each plant entered in sales order line items. any help will be appreciated.
    Thanks

    Hi,
    You can create a Z-program and call Function Module  <b>MASTER_IDOC_DISTRIBUTE</b>.
    You can make a call to this FM to send the Idoc as many times as u have plants in your Sales Order.
    You can call FM <b>IDOC_OUTPUT_ORDRSP</b> to fill the IDoc structure.
    Then u can keep the materials of only that plant for which u want to pass on the information.
    Thanks,
    Utsah Garg.

  • How to confiture virtual hosts with multiple domain names

    hello,
    I've read through some of the postings here on virtual hosts, but I thought I'd better solicit advice before I actually try some of the things I've read about.
    In a nutshell, I've purchased multiple domain names that I'd like to alias to a new site (currently it is just a subfolder in the main site directory) on my OS 10.3.x server. There is only the one main site configured right now on the box, so I know I need to set up a second "virtual site" pointing to the files in this subfolder to make it function as its own site.
    I've dabbled around with the sites settings in the GUI, but I'd probably be most comfortable setting all this up in the httpd.conf by hand if I could. But I'm weary of this because I know it might be better to use the GUI because of OS X Server's flavor of WebObjects and Apache (sigh).
    So, I have two main questions:
    1) How would I set up this second site using the GUI in server settings? Do I need to first move the subfolder out of the main folder before it can be designated its own site? Or can I just point to it in the GUI? Can I use one of my purchased domain names in the domain field?
    2) Currently, I have URL Forwarding set with my multiple domain names, but I'm thinking there might be a better way to do this? For SEO I'd rather use some type of redirect rather than being penalized by search engines for having what looks to be multiple domains pointing to the same site.I'm thinking I should create virtual sites for each domain name I've purchased with a hard redirect back to the main site?
    Any suggestions would be appreciated.
    Thanks
    G4 Mac OS X (10.3.9) 10.3.9 Server
    G4 Mac OS X (10.3.9) 10.3.9 Server

    thank you for your reply.
    > You can create each site as a new Site in Server
    Admin. When you do this you can choose any
    directory on disk as the document root for each
    site.This means you can move the sites' folders out of
    /Library/WebServer/Documents if you like - you could
    create /Library/WebServer/site1,
    /Library/WebServer/site2, etc. (or even be outside of
    /Library/WebServer if you want).
    so, are you are saying that I could designate one site to be
    /Library/WebServer/Documents/site1
    and another to be
    /Library/WebServer/Documents/site1/directory1
    even though directory1 is contained within site1's structure? I'm not advancing this as a good idea, necessarily. I'm just wondering if Apache would complain.
    > Each site should have the domain name set as per your
    registered domains. Apache will need this to
    determine the correct site to serve for each
    request.
    Well, after some additional research I'm thinking I'm missing a critical piece of the puzzle. That being access to the DNS host server that manages the context of my server. I have purchased domain names through an outside registrar that point to my site and I can create virtual hosts on my server, but I don't have the ability to add the new virtual host names into the DNS server that manages my box. If that makes sense. Or maybe I'm missing something?
    >
    I'm not sure why you're using URL forwarding at all.
    Without that piece of information it's impossible to
    tell you whether you should continue using them or
    not - in general there's no need to use URL
    forwarding if you have multiple Virtual Hosts setup,
    but it sounds like you have multiple hostnames
    pointing to the same content, so your needs may be
    different.
    I'm using forwarding for the reason I list above. I didn't purchase hosting with the registrar where I purchased my domain names, so they are parked on the registrar's name server with URL forwarding to my server. The DNS server that manages my box resides in a different location and I don't have the ability to add DNS entries pointing to virtual hosts that I want to set up. Am I stuck?
    G4 Mac OS X (10.3.9) 10.3.9 Server

Maybe you are looking for