Output group issue

Hi I have a small problem wit my cfoutput group
if you look at
http://www.northsydneycc.com.au/EditMatchResult.cfm
you will see the output is grouped by season but this is
being duplicted for some reason
i have this query below, if i take out the second inner join
then it displays correctly, but i need this to show the teamname
any ideas how to sort this out
<CFQUERY datasource="Cricket" Name="GetResults">
SELECT MS.MatchDate, MS.Opponent, ST.SeasonYear, TN.TeamName
FROM matchresults MS
INNER JOIN seasontable ST
ON MS.Season = ST.SeasonID
INNER JOIN teamnames TN
ON MS.TeamID = TN.ID
ORDER By MS.MatchDate, MS.TeamID
</cfquery>

Have you checked your data to make sure there aren't
duplicate rows?
Adam

Similar Messages

  • Report with grouping issue

    I have a report which have year(2008), Category(0-1,2-3, ALL), product(0,1,2,3,4..), % sales. I group by all the category elements and called it as All, I am not getting the right percentage sales for the Category ALL other wise for 0-1,2-3 i am getting it right. Please advise where i am doing it wrong. please find the blog for a screen shot of my issue.
    http://ravibiblog.blogspot.com/2012/04/report-with-grouping-issue.html
    Thanks,
    RC

    Pl post details of OS, database and EBS versions. Pl see if these MOS Docs can help
    FARXPBSH Failing With "Program was terminated by signal 11" or "Program was terminated by signal 10"          (Doc ID 742729.1)
    Publishing RXAPPYAC: The FARXPBSH Ends With 'Signal 11' Error          (Doc ID 432797.1)
    RXi RX Reports Failing With Program Was Terminated By Signal 10 or 11 Errors After FA Rollup Patch 6          (Doc ID 737963.1)
    Program was Terminated by Signal 11 when Running Rxi Reports          (Doc ID 559425.1)
    HTH
    Srini

  • Sorting /Grouping Issue: Single Artist Compilation Album Doesn't Group

    iTunes 8 Sorting / Grouping Issue
    EXAMPLE
    • Album: Essential Willie Nelson
    • There are 22 songs on this Disc
    • 19 of them are labelled "Willie Nelson" in the artist field
    • 3 of them are lebelled "Willie Nelson Feat. Waylon Jennings" in the artist field
    PROBLEM
    • Album will not stay grouped together when in the standard "Sort by Artist" in Grid View. A very legitimate expectation to be able to have Willie's name listed along with his pals in the artist field and have them grouped together in one album within Willie's albums section. 19 songs group within one album in the Willie Nelson section and the other 3 are placed separately either in the compilation section or as separate albums within the regular artists grid view.
    I've read most if not all postings that suggest solutions but no matter what... they don't work. The only way that I know to work is to strip out all other names and leave only "Willie Nelson" in the Artist field. All other sorting and grouping options don't work for this issue... I've tied every combination. My opinion is that this is just a limitation at this time and there is no solution until future updates. I don't want a cheezy work-around either, that's very "unApple like". I assume it to be fixed in future updates.
    Bueller... Bueller?
    Anyone?

    There's a few other "goodies" I have found also but haven't had time to check out.
    If you have songs not in iTunes that you want to add to iTunes in a different format than the song is in...
    (This is carried over from at least 7.4)
    Set the Importing prefs to what you want the new file to be.
    Hold the Option key and go to menu Advanced and select *Convert selection to* AAC (or whatever is in the Import prefs}.
    This will add it to iTunes in the new format.
    Previously, you had to Import the file, change the prefs, go to Advanced - *Convert selection to*, convert the file, then delete the original from iTunes.
    This is new...
    In iTunes 8, go to to File - > *Show duplicates*. (moved from View menu).
    Now hold Option and go to to File and it now displays *Show exact duplicates*.
    Don't know what it means by *exact duplicate* though.

  • Output routine fails but still output is issued....Urgent

    I have an output routine attached to a output type which generates IDOC. There are different conditions placed in the routine under which SY-SUBRC is made either 4 or 0.
    In one of the cases Sy-subrc is 4 but still output is issued and IDOC is generated...
    My question is even though output routine is not fulfilled is there a chance of output getting issued on the document ???
    Need you help urgently..........

    Hi,
    Yes the IDOC will be triggered with the different status.
    Regards,
    Sharath

  • How to enable "Billing Document- Issue Output To- Issue output to" in VF03

    Plz let me know how to Enable "Billing Document --> Issue Output To --> Issue output to" in the VF03 transaction (2nd screen).
    After entering the billing doc no. n then pressing enter items will be displayed. Then in the menu bar under "Billing Document" there will be "Issue Output To" option will be there.
    Under that again " Issue Output To " & " Screen" options will be there, which by default displayed in disable mode. Is there any option to enable them.

    Hi
    U need to customize a message type for the billing by  trx NACE

  • Outputting group headers without info

    Hello,
    I'm interested in finding a way to output group headers even
    if there is no corresponding group information.
    For example, if you have the letters of the alphabet as your
    headers, and then under each header list the Title of the movie
    that starts with the group header. Well if this is database driven,
    and there are some letters missing, like lets say there's no movie
    that starts with X and none that starts with V. If you output the
    query and put the first letter of the movie as the group header,
    the X and the V headers would never show up.
    But what if I want those headers to show up, in order to show
    the user that this category is blank? I know there is a way in SQL
    to do this. I can create a reference table with all letters of the
    alphabet and do a left join onto the table with the movies, then
    output the query and all letters of the alphabet would show up. I
    can do this with a regular table or a temp table.
    But I'd like to know if there is a way to do this in CF.
    Maybe somehow create a structure with all letters of the alphabet,
    and somehow pull the movie titles from the query into the
    structure, then output the structure.
    Any input appreciated, but please no crazy CF subqueries
    (querying the database multiple times within an outer query).
    Hopefully this can be done in 1 query, and as few outputs of that
    query as possible.
    Peter

    Hi Simon,
    Yes, I know the SQL solution is quicker and preferable, which
    I did mention in my first post to this thread.
    This question was posted more as curiosity than anything
    else. There are times when I'm asked such questions, and even
    though I would never bother to use such a solution, it's nice to
    know the answer.
    BTW, if you have the T-SQL or PL/SQL that would pull the
    categories into a single column, then join onto a details table,
    could you please post? Would you use temp tables or derived tables,
    (ie join two queries?)
    Thanks,
    Peter

  • Group Issue

    HI Gurus,
    My client is following this scenario.It has make to Order scenario and so many subcontracting process is done by the client.
    The scenario is like,multiple work Orders are sent to Subcontract Vendor through single Group Issue.
    For Example: 5 different work orders have the same processing work and has to be carried out by SC vendor X.
    What they are doing, they donot issue the materials to the same SC vendor 5 times instead they make a group of the work Orders and issue the materials to SC at a time.
    How can we map this into SAP????????
    Thanks & Regards
    Pranaya

    Hi
    In MB1B , you can club all the PO's & issue the Goods to the SC vendor.
    Goto MB1B, enter movemnt type 541, Click on To Purchase order & enter the PO & item details. Now adopt the details & issue the Goods to SC vendor.
    Thanks & Regards
    Kishore

  • Output Determination Issue

    Hi All,
    Pls go through below scenario.
    My output type access sequence is as mentioned below.
    Sales Org / Bill Type / Customer group (Email - ZC)
    Sales Org / Bill Type / Customer group (Email - BP)
    Sales Org / Bill Type (Print)
    Routined 901 & 903 are assigned to first 2 sequences. 
    Purpose of routines 901 & 903:
    Rountine 901 will check whether email ID is maintained against ZC partner fucntion or not. If it is maintained, then output type will be determined against ZC partner fucntion & Email will be send.
    Else it will go next access sequence.
    Rountine 903 will check whether email ID is maintained against BP partner fucntion or not. If it is maintained, then output type will be determined against BP partner fucntion & Email will be send.
    Else
    It will go for Print option.
    Issue:
    When I create the billing document in VF01 & go to output area , the output type is getting determined properly.
    But if I don't go to output area in VF01 transaction, the output type is getting determined automatically.
    Again I have to go to VF02 & save the billing document to determine the output type.
    What might be the issue with scenario?
    Rgds,
    Senni.B

    Hi All,
    We found the problem.
    Problem was with Routine logic.
    Partner functions are checked after saving the billing document means with VBRK - VBELN & VBPA table we were written the logic where it suppose to be during run time.
    Current logic is:
    u2022     Select partner number of ZE partner function from dynamic run time table MSG_PART.
    u2022     Pass partner number to KNVK-PARNR and select KNVK-PRSNR.
    u2022     Pass KNVK-PRSNR to ADR6- PERSNUMBER and select ADR6 - SMTP_ADDR.
    u2022     If ADR6 - SMTP_ADDR is not equal to null value means allow to access the condition records.
    Earlier logic was:
    u2022     Pass the value of VBRK u2013 VBELN to VBPA u2013 VBELN along with VBPA- PARVW = u201CZEu201D.
    u2022     Pass VBPA - PARNR to KNVK-PARNR and select KNVK-PRSNR.
    u2022     Pass KNVK-PRSNR to ADR6- PERSNUMBER and select ADR6 - SMTP_ADDR.
    u2022     If ADR6 - SMTP_ADDR is not equal to null value means allow to access the condition records.
    Thanks for your information
    Rgds,
    Senni.B

  • Purchasing group issue

    Hi,
    I am trying to assign an output type for PO printing to a P.Grp using T.Code MN04.I already assigned it but the output is not getting determined in PO.Where as, if I do the same thing for any other P.Grp. its easily getting determined.
    The issue is only with one P.Grp.
    Can you please suggest what can be the problem?
    Ashish

    Hi
    Check, if you have created the Output determination using the Txn MN04, If you try to create the same combination again in MN04 it should not allow you. Check the condition Recodr details in MN05 in the second screen enter the Doc. tyep /Purchase orgn/vendor which you have already created and execute you should be able to view the detailsinside if not then the condition is not there.
    mean whil how did you create an output type condition record based upon Purchasing Group ?  The existing Key combination does not contain any Pur grp. reference but Only Purchase Organisation only
    for two of the selections.
    Regards

  • EXCEL output logo issues in  XML Publisher

    Hi,
    We are using XML Publisher API to generate PDF,EXCEL outputs using Template. While adding image to the template its showing in the pdf output. But not showing in the Excel output. Then i added url:{/Image} in the alt text of the image in template and submitted the report again now able to see the image in excel output. Can you please tell me why its not showing the image in excel by default which is right happening in case of PDF. Iam getting the same issue for HTML outputs generation also. Please tell me what i can do to get the image by default same as the way i am getting in PDF.
    Thanks
    Satya

    Hi Alex,
    Thanks for your suggession.
    I have two OAF versions and i found the xml publisher version from the below java file
    $OA_JAVA/oracle/apps/xdo/common/MetaInfo.class
    in both 11.5.10 and 12.1.1 OAF versions i am seeing the below line of code
    public static final String VERSION = "Oracle XML Publisher 5.6.3";
    when i login to the application and went to the About this page option available there
    in 11.5.10 i got to see that the version
    is XML Oracle XDK Java 9.0.4.0.0 Production
    in 12.1.1 version
    XML Oracle XML Developers Kit 10.1.3.130 - Production
    But as per your seggession from the MOS document 736897.1, i came to know that it is an issue in 5.6.3
    Can you please tell me how to find out my xml publisher version in different EBS versions.
    I am using Office 2007.
    Finally,
    in the document i can see that
    Applies to:
    *BI Publisher (formerly XML Publisher) - Version 11.5 to 12.1 [Release 11.5 to 12.1]*
    Information in this document applies to any platform.
    Means this issue is not fixed even in 12.1.3.
    To resolve this issue,do we need to do the manual image setup like the way menioned in the document 736897.1?
    Thanks
    Satya

  • VL02N Output type issue.

    Hi,
    When I execute the tcode VL02N for any output type (ZEU5) for print preview and external mail then it is giving error that "Output could not be issued".
    I have also checked the config of NACE , it seems to be ok.
    So what are the other possibilities of this error.
    Thanking you in advance,
    Regards,
    Vikram

    Configuration of NACE does not make all the difference. The only way to come to the solution is to debug from point when button is clicked for print preview or etc.
    Possible reasons may be there calling program before making a call to script or smartform encountering a problem. It may be that program is not able to get the desired data correctly from the tables or some other problem(Mainly due to subrc not coming to be 0).
    Apart from this even if call is made successfully to the form but inside there could be problem like using command in smartform.
    Thanks,
    Mark

  • Multiple output types issue

    Hello,
    I configured two output types (Bill of lading & Packing list) for the application V7-transaportation. I am able to get both the outputs. Now, I am able to get a print for BOL and also a print preview. For Packing list I am able to see the screen view(print preview), but when I try to print it directly it gives me an error " output could not be issued" . When I go to Output-> screen it is showing me the output.
    I have maintained all the required print parameters and assigned the print profiles to the output types.Is there a problem with my configuration? can't I print two output types simultaneously?

    Hi,
    Is there a printer defaulted to your output types?  You can issue multiple outputs at the same time.
    If the output types have been determined in your document, then nothing wrong with the determination process.
    If the output can be previewed, nothing wrong with the SAPScript or Smartform.
    So maybe something to do with compatibility with the printer chosen.
    Phyllis.

  • Grouping issue vouchers items in an invoice

    Hi all
    I'm developing an inventory and sales system , I have a master detail form for issue vouchers issued to customers, the master block contains the columns voch_no (issue voucher no) and the customer_no from issheads table and the detail block contains voch_no, stock_code,quantity and price colums from isslines table.
    Each customer may have more than one issue voucher, and each issue voucher may have more than one item.
    I have another form, the invoice form (also a master detail just like the issue voucher).
    What i hope to do is when the user creates a new invoice for a specific customer, he shouldn't create the invoice items himeself, but he should select some issue vouchers that belong to that customer (better to be multi select), then the invoice items will be created automatically to get the sum(quantity) grouping a line for each item by stock_code,price.
    The issue voucher numbers related to each invoice should be saved in a table for later updating.
    my question is :
    1-Should i create a new table that contains all the nmbers of the issue vouchers related to the invoice no ?
    2- how can i handle this in forms builder ?, should i create a new form, or can i achieve this in the invoice form itself and how?
    Please help

    Thank you!
    You're probably right, I might be talking about a feature of the sistem I'm using. Actually I'm not sure if I have access to database but probably not, I work at Xerox in Brasil and would like to know a little bit more about Oracle, with out have to ask my boss all the time. I work with record receipts of different species have lost much time trying to find repeating items on invoices. Sometimes we have interface issues, some items don't go to WIS (warehouse information system) after it registers on Oracle, so we have the physical part but it's not in the report storage
    My boss once told me he would teach me a way to see items of an invoice (repeting or not) after it registers on Oracle, but he is too busy, so I'm trying to find out by myself. If it helps, the systems responsability is Oracle applications - OSPD and my security group is standart.
    I'm sorry if my english is not that good I feel that my words seem a little confusing to you...
    Did you understand what I mean? Hope you did, and hope you can help.
    Thanks once again for your interest in helping me I really aprecciate it.
    Regards,
    Maria Carolina.

  • XSLT grouping issue

    Hi,
    We have SAP webAS 6.2.  I am trying to group the authors based on their name for each publisher. But I am getting wrong results. Can someone help me understand what I am doing wrong.
    Thanks,
    Suman
    Source XML
    <?xml version="1.0" encoding="utf-8"?>
    <PublisherList>
        <publisher>
            <name>Penguin</name>
            <books>
                <book>
                    <title>Title One</title>
                    <author>David</author>
                </book>
                <book>
                    <title>Title Two</title>
                    <author>John</author>
                </book>
                <book>
                    <title>Title Three</title>
                    <author>John</author>
                </book>
                <book>
                    <title>Title Four</title>
                    <author>David</author>
                </book>
            </books>
        </publisher>
        <publisher>
            <name>Wrox</name>
            <books>
                <book>
                    <title>Title Five</title>
                    <author>David</author>
                </book>
                <book>
                    <title>Title Six</title>
                    <author>John</author>
                </book>
                <book>
                    <title>Title Seven</title>
                    <author>John</author>
                </book>
                <book>
                    <title>Title Eight</title>
                    <author>David</author>
                </book>
            </books>
        </publisher>
    </PublisherList>
    Transformation xslt:
    <?xml version="1.0" encoding="utf-8"?>
    <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
      <xsl:output method="xml" indent="yes"/>
      <xsl:key name="Author" match="publisher/books/book" use="author"/>
      <xsl:template match="PublisherList">
        <List>
         <xsl:apply-templates select="publisher/books"/>
        </List>
      </xsl:template>
      <xsl:template match="books">
        <xsl:for-each select="book[generate-id(.) = generate-id(key('Author', author)[1])]">
          <xsl:sort select="author"/>
          <BookPublisher>
            <name>
              <xsl:value-of select="//parent::node()[name()='publisher']/name"/>
            </name>
            <BooksByAuthor>
              <AuthorName><xsl:value-of select="author"/></AuthorName>
             <xsl:for-each select="key('Author', author)">
              <title>
                <xsl:value-of select="title"/>
              </title>
            </xsl:for-each>
            </BooksByAuthor>
          </BookPublisher>
        </xsl:for-each>
      </xsl:template>
    </xsl:transform>
    Expected Result:
    <?xml version="1.0" encoding="UTF-8"?>
    <List>
        <BookPublisher>
            <name>Penguin</name>
            <BooksByAuthor>
                <AuthorName>David</AuthorName>
                <title>Title One</title>
                <title>Title Four</title>
            </BooksByAuthor>
            <BooksByAuthor>
                <AuthorName>John</AuthorName>
                <title>Title Two</title>
                <title>Title Three</title>
            </BooksByAuthor>
        </BookPublisher>
        <BookPublisher>
            <name>Wrox</name>
            <BooksByAuthor>
                <AuthorName>David</AuthorName>
                <title>Title Five</title>
                <title>Title Eight</title>
            </BooksByAuthor>
            <BooksByAuthor>
                <AuthorName>John</AuthorName>
                <title>Title Six</title>
                <title>Title Seven</title>
            </BooksByAuthor>
        </BookPublisher>
    </List>
    Actual Result from my xslt:
    <?xml version="1.0" encoding="UTF-8"?>
    <List>
        <BookPublisher>
            <name>Penguin</name>
            <BooksByAuthor>
                <AuthorName>David</AuthorName>
                <title>Title One</title>
                <title>Title Four</title>
                <title>Title Five</title>
                <title>Title Eight</title>
            </BooksByAuthor>
        </BookPublisher>
        <BookPublisher>
            <name>Penguin</name>
            <BooksByAuthor>
                <AuthorName>John</AuthorName>
                <title>Title Two</title>
                <title>Title Three</title>
                <title>Title Six</title>
                <title>Title Seven</title>
            </BooksByAuthor>
        </BookPublisher>
    </List>

    I got the answer from MSDN forum for this.
    Here is the code
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
          <xsl:output method="xml" indent="yes"/>
          <xsl:key name="Author" match="publisher/books/book" use="author"/>
          <xsl:template match="PublisherList">
                <List>
                      <xsl:apply-templates select="publisher"/>
                </List>
          </xsl:template>
          <xsl:template match="publisher">
          <BookPublisher>
                            <name>
                                  <xsl:value-of select="name"/>
                            </name>
                <xsl:for-each select= "books/book[generate-id(.)=generate-id(key('Author', author)[../../name = current()/name][1])]">
                      <xsl:sort select="author"/>
                             <BooksByAuthor>
                                  <AuthorName>
                                        <xsl:value-of select="author"/>
                                  </AuthorName>
                                  <xsl:for-each select= "key('Author', author)[../../name = current()/../../name]">
                                        <title>
                                              <xsl:value-of select="title"/>
                                        </title>
                                  </xsl:for-each>
                            </BooksByAuthor>
                           </xsl:for-each>
                 </BookPublisher>
          </xsl:template>
    </xsl:transform>

  • SD Document  Output Preview Issue

    Hi Respected SD Seniors
    Please help on this output issue.
    I am trying to print my sales documents through STD output types. 
    Want to issue the sales document output to the screen (Preview) or Local network printer.
    Please share with me the functional & technical config steps.
    For example I am using AN00 (STD Quotation Output) for printing the customized quotation document. Every thing is set and I am able to
    Trigger the output successfully. But I can’t see it on my screen and not able to print in my local printer.
    After quotation saved, I can see the AN00 is in YELLOW.  And 2 Output device are exists (LOCAL, LP01)
    Please advice me the printing setup.  Where should I do change to configure my print preview or connect my local network printer as a default SAP R/3. printer
    Please help
    Regards
    Priyan

    Hi Kishore
    Thanks For your Quick Response.
    According to the STD setup of AN00
    Medium: 1
    Dispatch Time: 1 (By Periodic Job)
    Partner Function: SP
    Storage Mode: Print Only
    Condition record has been maintained and the output was triggered correctly upon saving the quotation document. (Process Status: Yellow)
    Then i selected the output and changed Dispatch time to 4 (Immediate). The process status becomes RED once the document is saved.
    Processing log is as follows
    Line1: Object 0000560015
    Line2: Output type: Quotation
    Line3: Processing log for program /SMB40/RVADOR01 routine ENTRY
    Line4: Processing routine ENTRY in program /SMB40/RVADOR01 does not exist
    What is it meaning of Line4: Program is RVADOR01 exists in SE38
    And Form /SMB40/SDQUO_A is existing in the SMARTFORMS transaction.
    And to link the local print to SAP (As an output device), should i need to contact basis or any specific place that i need to setup.
    Please Clarify
    Regards
    Priyan

Maybe you are looking for