Group by in reports using Datalink

I have following queries
Q-1 select a1, a2, Amount1 from table1 ,table 2, table 3 where some condidtions
group by a1, a2
Q-2 select a1, a2, amount 2 from table 1, table 2, table3 where some condition
group by a1, a2
In my report have display the colums
a1 a2 ( Amount1+amount2)
But my problem Q-2 does't return any value most of the time
how to handle this
Thanks
NSankuratri
Message was edited by:
Sankuratri

But my problem Q-2 does't return any value most of
the time
how to handle thisYour question is not clear. What do you want to handle, why Q-2 doesn't return value most of the time?

Similar Messages

  • Change account group for GR55 report using GS02

    Hi All,
    How do I change the account group at GS03? My account group is PESB_1050 for Facilities Costs and I can display the G/L fot that group using GS03. I need to add new G/L for account group PESB_1050 (for report GR55). I've tried to change from GS02 but the account group is not exist because it not set ID. Kindly advice..
    Thanks in advance

    Hi Eli,
    I've tried to change at GS02, but I got this error mssg 'Set PESB_1050 does not exist'.
    At GS03, I keyed in PESB_1050 at Set ID field and <enter> then I can see the value (GL acnt) inside the PESB_1050. Account group is PESB_1050. Any idea how to change (delete/add GL) the value for that account group?
    Thanks in advance

  • First group heading below displays below column headings using Template 23 Classic Report using Repeat Headings on Break

    Hello,
    I am migrating an application from APEX 3 to APEX 4.2 on one thing I notice with the classic reports when I bring them into Template 23 is that the first break section has the break row display below the column headers for that section while the remaining rows correctly have it display above the headers on subsequent group sections.
    When I look a the code in firebug I can seen that the all tables but the first, the break row is being included as the last row of the previous table so I can see how this would not work for the break since.
    I have tow questions.
    1. Is this really intentional because it doesn't seem  terribly elegant and my users zeroed in on it right away as a perceived bug.
    2. Is there a reasonable work around that still uses Repeat Headings on Break? I have multiple reports on the same page in places so changing over to interactive reports is not a silver bullet for me in this case.
    Example of issue can be seen at apex.oracle.com at  Home
    Thanks,
    Brad

    Roadling wrote:
    Hello,
    I am migrating an application from APEX 3 to APEX 4.2 on one thing I notice with the classic reports when I bring them into Template 23 is that the first break section has the break row display below the column headers for that section while the remaining rows correctly have it display above the headers on subsequent group sections.
    1. Is this really intentional because it doesn't seem  terribly elegant and my users zeroed in on it right away as a perceived bug.
    The Standard report template definition in theme 23 contains thead and tbody elements:
    Before Column Heading
    <thead>
    Column Heading Template
    <th #ALIGNMENT# id="#COLUMN_HEADER_NAME#">#COLUMN_HEADER#</th>
    After Column Heading
    </thead>
    <tbody>
    After Rows
    </tbody>
    </table>
    </td>
    </tr>
    </tbody>
    <tbody class="uReportPagination">
    #PAGINATION#
    </tbody>
    </table>
    <div class="uReportDownloadLinks">#EXTERNAL_LINK##CSV_LINK#</div>
    This is intentional, following best practice for marking up HTML tables. What is not intended is the problem that arises when this template is used with the Repeat Headings on Break break formatting option. The repeated headings result in the table consisting of tag soup containing multiple incorrectly constructed tbody and thead elements, which is invalid.
    2. Is there a reasonable work around that still uses Repeat Headings on Break? I have multiple reports on the same page in places so changing over to interactive reports is not a silver bullet for me in this case.
    Create a copy of the Standard report template as Standard (break formatting) for use with break reports, remove the thead and tbody tags from the template definitions, and change the break reports to use the new template. (Or, if you primarily have break reports using the Standard template, keep the tags in the copy and remove them from the original to minimize the number of reports you have to edit.)
    Personally I'd create a custom row report template for complex break reports in order to be able to have complete control over the structure and presentation.

  • How to create a Group Above report using APEX

    I want to create a Group above report with more that one group using APEX. Is it possible to generate such a report using APEX. If so kindly let me know how to go about creating a Group above report with more than one group.

    Hello Srini,
    Thank you very much for the reply but I'm not into OBIEE... I want the required query to be processed and the output to be shown in xml layout to load into RTF document. The rest I can manage.. but please let me know how to get the .xml output with out using the report builder or the apps environment(concurrent prg submission)..
    Please let me know if any... urgent
    Thanks in advance
    Krishna

  • How to design Group Left Report using RTF method ( XML Publisher )

    Hi,
    I need to design Group Left Report using basic RTF method. I am able to design basic simple report and Group Above Report but I am not getting Group Left Report. Can anyone help me out.
    Thx N Regs,
    Khan.

    Group Left report can be done using table consisting of 1 row and 2 columns. Group header goes to the column 1, group details go to the second column. Group details can be also designed using table, in this case you get table within table cell. "for-each.." statement for the upper level group to be placed in the left column before the group header data. "end for-each.." to be placed in the second column after the detail data.

  • Grouping of Shopping Carts using the report  BBP_SC_TRANSFER_GROUPED

    Hi Experts,
    I am a new SRM consultant and have been asked to investigate an issue regarding grouping of Shopping Carts using the report  BBP_SC_TRANSFER_GROUPED.
    The wanted scenario:
    For one specific vendor we wish to pool/group request coming from various shopping carts into one PO e.g. once a day. The shopping carts for that vendor can be destinguished by one specific product category.
    We are on classic scenario hence the PO will be created in our ECC system.                                                                               
    Settings we have done to accomplish what we want:
    1. We have set up the transfer for grouping on the specific product category in the sourcing area in the IMG structure
    2. We have run the report BBP_SC_TRANSFER_GROUPED (grouping takes place according to the product category)
    This approach works, the shopping carts gets grouped into one PO in ECC. however the line items from the Shopping Carts are mixed in the PO eg SC1: Item A, Item B, Item C, Item D SC2: Item 1, Item 2, Item 3, Item 4 PO (Current result) Item A, Item 1, Item B, Item 2, Item C, Item 3, Item D, Item 4.
    This seems quite strange, as there are no logic reason for this split. It would be understandable if it was a matter of delivery dates of the goods, but they are not in any order i.e. first coming delivery date first.
    Does anyone know how to correct this or can anyone clarify why this sequence mix happens?
    For me it seems like a program errror.
    Hope you can help me solve this issues
    Cheers Christian
    Edited by: Christian Gjellerup on Aug 6, 2010 3:34 PM
    Edited by: Christian Gjellerup on Aug 6, 2010 3:35 PM

    Hi,
    In SRM -Product categories = Purchasing group in SAP R/3.
    During the transfer of P.R   from R/3 you have enter the Purchasing group in R/3.
    In SRM in the PPOMA_BBP in the extended attribute you can enter the exact product categories
    or else enter * in the product categoies and the backend logical system
    in SPRO --define objects in backend system --- in this enter the purchasing group and category Id
    check your default settings in the SRM web browser
    Regards
    G.Ganesh Kumar

  • Production Report using Product groups.

    Hi PP Gurus,
    We want to develop one Production report that will include Product group.
    We are using single level Product groups. Say PG= XYZ and PG members are A, B, C, & D. Since REM without RP and with daily confirmation being used we'll sort the results through MSEG table after passing MBLNR and MJHR from table MKPF using Movement types 131 (that will exclude Reversal quantity i.e through Movement type 132).
    My requirement is to bring Product group in production report that will club above mentioned materials.
    If anybody already worked on such requirement, please help me out.
    Thanks & Regards,
    Abu Arbab

    Hi Rajesha,
    Thanks for reply.
    Since REM without RP I'm using no need of AFKO table.
    Used logic as below:
    Taking BLPK-BUDAT as input:
    1. Select PGMI-PRGR, PGMI-WERKS to get PGMI-NRMIT.
    PGMI-NRMIT = BLPK-MATNR to get BLPK-PRTNR.
    BLPK-PRTNR = BLPP-PRTNR to get BLPP-MBLNR.
    BLPP-MBLNR = MSEG-MBLNR, MSEG=MJHAR to get MSEG=ERFMG
    Sort through MSEG-BWART = 131 negative 132.
    2. Select PGMI-PRGRP, PGMI-WERKS to get PGMI-NRMIT.
    PGMI-NRMIT = BLPK-MATNR to get BLPK-MENGE.
    Sort through BLPK-VAART (B) negative BLPK-VAART (S); donu2019t select BLPK-VAART (BS).
    Addition of BLPK-MATNR corresponding to BLPK-BUDAT entered.
    Both logic are working.
    Anyways thanks for help.
    Kind Regards,
    Abu Arbab

  • BAM report using Tab Group - is there a limit to the number of tabs?

    When building a BAM report using a Tab Group report view - is there a limit to the number of tabs that can be created?

    Hi Robert,
    Based on my test, the issue cannot reproduce in a simple report. Please modify the Variable with a new expression to check if the issue is persist.
    If the issue is persist, could you please send the .rdl file and the dataset with sample data to us by the following E-mail address.
    E-mail: [email protected]
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • How to create a report using XML data source from Crystal Report Designer

    Hi,
    Iu2019m having Crystal Report Designer XI R2 SP4. Iu2019m trying to create a report using XML data source stored on disk. This is a customer order report and the xml is structured in such a way that it has an order details header part (master) and then it has several order lines (detail). One order line can have several order line characteristics (detail-detail). So what I need to know is now I can design this layout from the designer. If this was done using views I can do it with sub-reports but using xml data this seems to be different. Can you help me to design this layout? I have included the xml and xsd as well.
    Thank you in advance.
    Regards,
    Chanaka
    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <CUSTOMER_ORDER_CONF_REP_REQUEST xmlns:xsi="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep">
        <CUSTOMER_ORDER_CONF_REP>
            <ORDER_NO>D555809</ORDER_NO>
            <PRINTED_DATE>2009-03-26T08:52:54</PRINTED_DATE>
            <AUTHORIZE_NAME>Chanaka</AUTHORIZE_NAME>
            <CUSTOMER_NO>CU-1473-INV</CUSTOMER_NO>
            <CUST_NAME>Mr.Johan Matts</CUST_NAME>
            <SHIP_ADDR_1>93,Main Street</SHIP_ADDR_1>
            <SHIP_ADDR_2>Negambo Road</SHIP_ADDR_2>
            <SHIP_ADDR_3>Watthala</SHIP_ADDR_3>
            <SHIP_ADDR_4>SRI LANKA</SHIP_ADDR_4>
            <BILL_ADDR_1>93,Main Street</BILL_ADDR_1>
            <BILL_ADDR_2>Negambo Road</BILL_ADDR_2>
            <BILL_ADDR_3>Watthala</BILL_ADDR_3>
            <BILL_ADDR_4>SRI LANKA</BILL_ADDR_4>
            <CUSTOMER_PO_NO>112984638</CUSTOMER_PO_NO>
            <CUSTOMER_FAX>112984639</CUSTOMER_FAX>
            <CUSTOMER_EMAIL>abcbababab</CUSTOMER_EMAIL>
            <ORDER_LINES>
                <ORDER_LINE>
                    <LINE_NO>1</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP11</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>iPod</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1200</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1200</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID xsi:nil="1"/>
                            <CHARACTERISTIC_VALUE xsi:nil="1"/>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>2</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP24</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>XGA Projector</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>500</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1500</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>3</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free Instalation</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>3</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP02</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Sony DVD Player</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1000</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1000</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free 5 DVDs</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>4</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP99</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Flatscreen TV</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1500</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1350</PRICE_TOTAL>
                    <DISCOUNT>10</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free Delivery</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>1 year additional warranty</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>5</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP56</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Sony MP3 Player</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>200</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>400</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>2</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free carry belt</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free promotional 4GB memory bar</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>3</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>No warranty on memory bar</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
            </ORDER_LINES>
        </CUSTOMER_ORDER_CONF_REP>
    </CUSTOMER_ORDER_CONF_REP_REQUEST>
    XSD
    <?xml version="1.0" encoding="UTF-8"?>
    <?report  module="ORDER" package="CUSTOMER_ORDER_CONF_REP" ?>
    <xs:schema targetNamespace="urn:ifsworld-com:customer_order_conf_rep" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:element name="CUSTOMER_ORDER_CONF_REP_REQUEST">
    <xs:complexType>
    <xs:all minOccurs="1" maxOccurs="1">
    <xs:element name="CUSTOMER_ORDER_CONF_REP">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="50">
    <xs:element name="ORDER_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="PRINTED_DATE" type="xs:dateTime" nillable="true" minOccurs="0"/>
    <xs:element name="AUTHORIZE_NAME" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_PO_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUST_NAME" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_1" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_2" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_3" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_4" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_1" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_2" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_3" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_4" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_FAX" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_EMAIL" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="ORDER_LINES" nillable="true" minOccurs="0">
    <xs:complexType>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="ORDER_LINE">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="39">
    <xs:element name="LINE_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SALE_UNIT_PRICE" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="PRICE_TOTAL" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="DISCOUNT" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="PRICE_QTY" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="CUSTOMER_PART_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_PART_DESC" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="ORDER_LINE_CHARACTERSTICS" nillable="true" minOccurs="0">
    <xs:complexType>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="CHARACTERISTIC_ITEM">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="6">
    <xs:element name="CHARACTERISTIC_ID" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CHARACTERISTIC_VALUE" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:all>
    </xs:complexType>
    </xs:element>
    </xs:schema>

    Hi Sourashree,
    Thank you for the response and ideas you have given me so far. I can get the fetch the data from the data source without any problem. That is I do the following,
    1.     New Report
    2.     From Create New Connection-> XML
    3.     Provide the u201CLocal XML Fileu201D and have u201CSpecify Schema Fileu201D checked -> Next
    4.     Provide the u201CLocal Schema Fileu201D  -> Finish
    Then I can see the following under XML
    + CUSTOMER_ORDER_CONF_REP_REQUEST
            CUSTOMER_ORDER_CONF_REP_REQUEST
         CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
    And from here if I add the following three I can get all the fields I need to the report
         CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
    Then I come to the Linking section. Here I canu2019t link anything. There is a common field called u201CInternal_IDu201D but I canu2019t link using it. So I get a message when I click Next. From here I add all the fields.
    For this point onwards only I need help. How do I group, add fields and design the layout so I can get an report output as follows.
    Date
    Order number                                   Authorized code
    Customer No
    Name
    Phone
    Fax email
    Shipping address 1                              Billing Address 1
    Shipping address 2                              Billing Address 2
    Shipping address 3                              Billing Address 3
    Shipping address 4                              Billing Address 4
    Order Line 1 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026                      LINE_NO     CUSTOMER_PART_NO          CUSTOMER_PART_DESC     SALE_UNIT_PRICE     PRICE_QTY     DISCOUNT     PRICE_TOTAL
    Characteristic details belonging to Order line 1       CHARACTERISTIC_ID 1  CHARACTERISTIC_VALUE1
                                           CHARACTERISTIC_ID 2  CHARACTERISTIC_VALUE2
                                           CHARACTERISTIC_ID 3  CHARACTERISTIC_VALUE3
    Order Line 2 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 2
    Order Line 3 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 3
    Order Line 4 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 4
    Order Line 5 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 5
    How can I achieve this kind of a layout using the give xml and xsd? Should I use grouping if so how should I do the grouping?
    I have included the full xml and xsd in the first mail I posted but I canu2019t see it now. I can include that again if you want.
    Regards,
    Chanaka

  • Report using Tabular Model and Measures based on Distinct Counts

    Hello,
    I am creating a report that should present something like this:
    YEAR-1 | MONTH-1 | MONTH-2 | MONTH-3... | YEAR | MONTH-1 | MONTH-2 | MONTH-3...
    My problem is that when designing the dataset to support this layout I drag the Year, Month and Distinct count Measure, but on the report when I want the value for the YEAR level I don't have it and I cannot sum the months value...
    What is the best aproach to solve this? Do I really have to go to advanced mode and customize my MDX or DAX? Can't basic users do something like this that seems so trivial and needed?
    Thank you
    Luis Simões

    Hi Luis,
    According to your description, you create a Reporting Services report using Analysis Service Tabular Model as the datasource, now what you want is sum the months value on year level, right?
    In your scenario, you can add the Month field to column group, add a parent group using Year Field and then add a Total on Month group. In this case, Reporting Services will sum the months value on Year level. I have tested it on my local environment, the
    screenshot below is for you reference.
    Reference:Lesson 6: Adding Grouping and Totals (Reporting Services)
    If this is not what you want, please describe your dataset structure, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Report using logical data base

    Hello friends,
    please give me a sample report program using logical database with explanation where logical databse used and how it works?

    See the program given below, it uses logical database PNP.
    DESCRIPTION : TO GENERATE SIMPLE REPORT USING HR ABAP
                   LOGICAl DATABASE- PNP .
    REPORT Zdemop_HR_prog_1
    LINE-SIZE 200 .
    *Database Table
    TABLES: PERNR,           " Pernr structure for Logical database
           PA0001,           " Actions
           PA0002.           " Personnel Info
    *Infotypes
    INFOTYPES: 0001,         " Actions
               0002.         " personnel info
    *Variable Declaration
    DATA: FORM_NAM LIKE P0001-ENAME,
          V_AGE(5) TYPE C,       "variable for calculating age in days
          V_CTR1 TYPE I VALUE 0, "counter
          V_CTR2 TYPE I VALUE 0, "counter
          VAR(5) TYPE C ,        " variable to store btrtl
          VAR1(5) TYPE C  .      " variable to store werks
    *Internal Table Decalartion
    DATA: BEGIN OF I_TAB1 OCCURS 0,
           WERKS LIKE PA0001-WERKS,  "personnel area
           BTRTL LIKE PA0001-BTRTL,  "personnel sub area
           PERNR LIKE PA0001-PERNR,  "employee number
           ENAME LIKE PA0001-ENAME,  "employee name
           BEGDA LIKE PA0002-BEGDA,  "employee join date
           PERSG LIKE PA0001-PERSG,  "employee group
           PERSK LIKE PA0001-PERSK,  "employee sub-group
           PLANS LIKE PA0001-PLANS,  "position
           GBDAT LIKE P0002-GBDAT,   "date of birth
         END OF I_TAB1.
    *START-OF-SELECTION
    START-OF-SELECTION .
    GET PERNR .                    
      RP-PROVIDE-FROM-LAST P0001 SPACE PN-BEGDA PN-ENDDA .   " Macro for IFT-0001
      RP-PROVIDE-FROM-LAST P0002 SPACE PN-BEGDA PN-ENDDA .   " Macro for IFT-0002
    **--> Populate internal table
      MOVE P0001-WERKS TO I_TAB1-WERKS .
      MOVE P0001-BTRTL TO I_TAB1-BTRTL .
      MOVE P0001-PERNR TO I_TAB1-PERNR .
      MOVE P0001-ENAME TO I_TAB1-ENAME .
      MOVE P0002-BEGDA TO I_TAB1-BEGDA .
      MOVE P0001-PERSG TO I_TAB1-PERSG .
      MOVE P0001-PERSK TO I_TAB1-PERSK .
      MOVE P0001-PLANS TO I_TAB1-PLANS .
      MOVE P0002-GBDAT TO I_TAB1-GBDAT .
    **--> Append data to internal table
      APPEND I_TAB1 .
      CLEAR I_TAB1 .                                       " Clear header I_TAB1
    *END-OF-SELECTION
    END-OF-SELECTION.
    *****sorting the internal table on Personnel Area & Personnel Sub-Area
      SORT I_TAB1 BY WERKS BTRTL.
    *TOP_OF_PAGE
      PERFORM TOP_OF_PAGE.
    *Output Display
      LOOP AT I_TAB1.
    *for calculating the age in days
        V_AGE = SY-DATUM - I_TAB1-GBDAT.
    *control break on Personal Sub Area
        AT NEW BTRTL .
          IF SY-TABIX NE 1.
            FORMAT COLOR COL_NORMAL ON.
            WRITE:/5 'Total Number of Employees for personnel Sub-Area:',
            VAR  , 'is ',
            V_CTR1.
            CLEAR V_CTR1.
            FORMAT COLOR OFF.
          ENDIF.
        ENDAT .
    **Control Break on personnel Area
        AT NEW WERKS.
          IF SY-TABIX NE 1.
            FORMAT COLOR COL_TOTAL ON.
            WRITE:/5 'Total Number of Employees for Personal Area: ',
             VAR1 ,'is    ', V_CTR2. "color col_total.
            CLEAR V_CTR2.
            SKIP 1.
            FORMAT COLOR OFF.
          ENDIF.
        ENDAT .
        WRITE:/5 I_TAB1-PERNR,   "personnel number
              16 I_TAB1-ENAME,   "emp name
              47 I_TAB1-BEGDA,   "join date
              60  V_AGE,         "age in days
              74  I_TAB1-WERKS,  "P area
              84  I_TAB1-BTRTL,  "P sub Area
              94  I_TAB1-PERSG,  "emp group
              104  I_TAB1-PERSK, "emp sub group
              114  I_TAB1-PLANS. "position
        V_CTR1 = V_CTR1 + 1.
        V_CTR2 = V_CTR2 + 1.
        VAR = I_TAB1-BTRTL .
        VAR1 = I_TAB1-WERKS .
      ENDLOOP.
    *&      Form  top_of_page
          Header Output
    FORM TOP_OF_PAGE.
      FORMAT COLOR COL_HEADING ON.
      WRITE:/5 'Employee',
            16 'Employee',
            47 'Join Date',
            62 'Age',
            74 'Personal',
            84 'Personal',
            94 'Employee',
            104 'Employee',
            114 'Position ',
          /5 'Number',
          16 'Name',
          60 '(In Days)',
          74 'Area',
          84 'Sub-Area',
          94 'Group',
          104 'Sub-Group'.
      FORMAT COLOR OFF.
      SKIP 1.
    ENDFORM.                    " top_of_page
    Regards,
    Joy.

  • End of Page event in ALV report using SALV class[cl_salv_hierseq_table]

    Hi ,
    have been working on a ALV report using the class SALV cl_salv_hierseq_table
    I am facing few issues pertaining to two things:
    1. Displaying some subtotal text along with the subtotals.
    Example refer the standard demo example: SALV_DEMO_HIERSEQ_FORM_EVENTS
    Now instead of A 17 and A26 I would like to show text like Subtotal for the Carrid.for subtotals and grand totals
    Like   Subtotal for A 17 is :      XXXXXXX
              GrandTotal is         :      YYYYYY
    2. We have a page break and a new page for every purchasing group as in the standard example SALV_DEMO_HIERSEQ_FORM_EVENTS for CARRID.
    I need to display some variable values as number of documents ,total number of records etc at the end of each CARRID group before a new page starts for the next CARRID.Please note i do not want it on every page.it should only be diaplyed at the end of page whose next page would be for next CARRID.[basically at end of every carrid]Example:after displaying all details for AA need to display the number of records for that carrid at the end of the page[as page break is based on CARRID]/
    Thanks
    Jyotsna

    at end of page event, for CL_SALV_EVENTS_HIERSEQ, has some useful parameters allowing to know where you are at the time of event
    parameter VALUE is of type CL_SALV_FORM which contains public attribute IF_SALV_FORM~ACCDESCRIPTION; you can slo get contents of it
    about text of total/subtotal, this is normally set in the layout

  • Error in Report Using XMLP without report builder

    Hi,
    Recently I came to know about the building the report using the XMLPublisher instead of Report Builder.
    So i tried it But ended with error Please help me where I went wrong.
    I have Created the Concurrent program with the Executable Type as 'XDODTEXE' and of Output type as 'XML'.
    And
    I have define the data definitions and uploaded XML file in Data template.
    The XML file has the below,
    "<?xml version = '1.0' encoding = 'UTF-8'?>
    <dataTemplate name="Invoice" description="This report gives the invoice details" version="1.0">
    <parameters>
    <parameter name = "P_INVOICE_ID" dataType = "NUMBER" defaultValue=""/>
    </parameters>
    <dataQuery>
    <sqlStatement name="Q_Invoice">
    <![CDATA[
                  select ai.Invoice_id invoice_id
                 ,ai.Invoice_amount invoice_amount
                 ,ai.vendor_id vendor_id
                 ,ai.amount_paid amount_paid
              ,ai.invoice_date invoice_date
              ,ail.line_number line_number
              ,aid.distribution_line_number distribution_line_number
    from ap_invoices_all ai, ap_invoice_lines_all ail,ap_invoice_distributions_all aid
    where ai.invoice_id = ail.invoice_id
    and ai.org_id = ail.org_id
    and ail.line_number = aid.invoice_line_number
    and aid.invoice_id  = ail.invoice_id
    and ai.invoice_id = nvl(:P_INVOICE_ID,ai.invoice_id);
         ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_Invoice" source="Q_Invoice">
    <element name="invoice_id" value="invoice_id"/>
    <element name="invoice_amount" value="invoice_amount"/>
    <element name="vendor_id" value="vendor_id"/>
    <element name="amount_paid" value="amount_paid"/>
    <element name="invoice_date" value="invoice_date"/>
    <element name="line_number" value="line_number"/>
    <element name="distribution_line_number" value="distribution_line_number"/>
    </group>
    </dataStructure>
    </dataTemplate>
    When I ran the report The ended up with the following Error,
    "TEST_INVOICE_DETAILS module: Test_invoice_details
    +---------------------------------------------------------------------------+
    Current system time is 18-APR-2013 18:17:37
    +---------------------------------------------------------------------------+
    XDO Data Engine Version No: 5.6.3
    Resp: 20707
    Org ID : 5186
    Request ID: 9102277
    All Parameters: P_INVOICE_ID=145072
    Data Template Code: TEST_INVOICE_DETAILS
    Data Template Application Short Name: PO
    Debug Flag: N
    {P_INVOICE_ID=145072}
    Calling XDO Data Engine...
    --SQLException
    java.sql.SQLSyntaxErrorException: ORA-00911: invalid character
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:205)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:861)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1145)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1267)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3449)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3493)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
         at oracle.apps.xdo.dataengine.XMLPGEN.processQuery(XMLPGEN.java:1947)
         at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:501)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:445)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:308)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:334)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:294)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    Executing request completion options...
    Output file size:
    103
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed
    Current system time is 18-APR-2013 18:17:43
    +---------------------------------------------------------------------------+
    I know I made you tried to read such a big thing. Since I want to make you clear So I did.
    Thanks in advance.
    Regards
    Uva.
    Edited by: Uva on Apr 18, 2013 6:54 AM

    check result of
    >
    select ai.Invoice_id invoice_id
    ,ai.Invoice_amount invoice_amount
    ,ai.vendor_id vendor_id
    ,ai.amount_paid amount_paid
    ,ai.invoice_date invoice_date
    ,ail.line_number line_number
    ,aid.distribution_line_number distribution_line_number
    from ap_invoices_all ai, ap_invoice_lines_all ail,ap_invoice_distributions_all aid
    where ai.invoice_id = ail.invoice_id
    and ai.org_id = ail.org_id
    and ail.line_number = aid.invoice_line_number
    and aid.invoice_id = ail.invoice_id
    and ai.invoice_id = nvl(:P_INVOICE_ID,ai.invoice_id);
    >
    is there any spec symbol like < > ...
    ?

  • Unable to modify Report using JRC alone

    Hi
    I am trying to modify the report generated thru Crystal reports 2008 programmatically using JRC.
    I dont see any API in com.crystaldecisions.reports.sdk.DataDefController to modify filters,groups,parameters,sort objects and summaries.
    I could find Controller API to modify the above in com.crystaldecisions.sdk.occa.report.application package part of RAS SDK which requires RAS to be installed.
    WIll it be possible to modify report using JRC alone?
    because when i use com.crystaldecisions.sdk.occa.report.application.ReportClientDocument class to open a report, it thorws
    ReportSDKServerException: There is no server specified exception.
    and i am not sure what need to set for ReportClientDocument.setReportAppServer()
    Pls help me .

    Hi,
    Thanks for your help.
    I am getting the below  exception when I am trying to open a report programmatically using  com.crystaldecisions.reports.sdk.ReportClientDocument.
    oReportClientDocument.open(reportName, 0);
    I am not sure how to resolve this issue.
    I have even created a new rpt file. I am getting the same exception/
    I could open this report directly thru Crystal Reports.
    12/16/10 16:19:57:376 IST] 10c3f2a6 WebGroup      E SRVE0026E: [Servlet Error]-[The document is being opened.]: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: The document is being opened.---- Error code:-2147215349 Error code name:docNotReady
    Error code:-2147215349 Error code name:docNotReady
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
         at com.crystaldecisions.client.helper.ObjectState.a(Unknown Source)
         at com.crystaldecisions.client.helper.ObjectState.if(Unknown Source)
         at com.crystaldecisions.client.helper.ObjectState.stopping(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.close(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.close(Unknown Source)
         at com.crystaldecisions.reports.sdk.ReportClientDocument.close(Unknown Source)
         at org.apache.jsp._CrystalReportViewer._jspService(_CrystalReportViewer.java:389)
         at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:662)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(
    Pls help me.
    Edited by: D.Sangeetha on Dec 16, 2010 12:33 PM

  • How to get the image in docking control  in a report using doc management

    HI All
    My question is that is that i am storing one image using documents in jha2n.
    Now I want to get that image in report using Document management.
    Pls guide how to proceed as I am new and dont know anything about document management.
    Thanks
    Pooja

    Hi,
    Please kindly refer to the online help link below:
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/7a/973035624811d1949000a0c92f024a/frameset.htm|http://help.sap.com/saphelp_erp60_sp/helpdata/en/7a/973035624811d1949000a0c92f024a/frameset.htm]
    And for handling the DMS document, you may check the BAPIs in SAP Note: 504692
    Function group: CVBAPI
    BAPI_DOCUMENT_GETDETAIL2
    BAPI_DOCUMENT_CREATE2
    BAPI_DOCUMENT_CHANGE2
    BAPI_DOCUMENT_DELETE
    For display image in the docking control, pleae kindly refer to the SAP DEMO: RSDEMO_DOCKING_CONTROL
    Cheers,

Maybe you are looking for

  • How to Include Warnings/Error messages in Return Service Data Object

    Hello All, I am using Jdeveloper 11.1.1.3.0, ADF BC. and want to publish Service-Enabled application modules, specifically I want to publish a custome method in the application module as a web service. While going through Enable support for Service I

  • Error in SQL results

    Hi , I am executing below statement in SQLplus. select 'feed', count(d.d) , count(d1.d)from (select 1 d from dual) d, (select 1 d from dual where 1=2) d1 The output should be like Feed 1 0 However, it is Feed 0 0 Could anyone please let me know why i

  • Validation on Header text

    in my scenario i need to validate on header text while creating VA01 in header text if user is entering text it should be in number if he is entering any character means i need to pass a message . Regards., mohd.

  • In error console i'm getting this error document.all.languagelist undefined

    When I have loaded a website some of the submit buttons do not work. i.e selecting a search field then if submit is pressed nothing happens on the scree but in the error console the following appears document.all.languagelist undefined

  • Trouble Comiling in MSDOS

    I downloaded the SDK and use the IDE to do all my programming, but when I tried to compile or execute a program through MSDOS (so as to allow me to enter command line arguments) I received the following error: Failed reading value of registry key: So