Top 20 (details) for top 20 (summary)

I have a query whose structure is somewhat like:
select distinct c,t, cu, s, somenumber, all
from
(-- outermost
    SELECT 
    t, c, cu,somenumber,all,c_cd, cname
    FROM ...
    where ...
    and c_cd in 
                   (--1st
                    select c_cd from
                        (--2nd
                        select c_cd, name,somenumber,ALL
                        from
                        (-- 3rd
                           SELECT c_cdc cname,
                           ...m,
                            sum(o) ALL
                            FROM
                            where
                            group by c_cd, cname
                            ORDER BY somenumber desc
                        )-- 3rd
where rownum <=20
                        )-- 2nd
                        )-- 1st                    
group by t,cu, c_cd, cname
order by somenumber desc
)-- outermost
where rownum <=20 -- this wont return top 20 per c_cd because no group by. How can I get top 20 details (outer query) for top 20 summary c_cd's (summary inner query)
order by somenumber desc what I am trying to do here is:
the inner query returns 20 c_cd's. The outer (main) query returns to 20 details (by somenumber) for that 10 cd_s.
However I am not able to say that give me the top 10 details for the give 20 c_cd's.
It is like give me top 20 based on somenumber group by the given top 20 c_cd's.
Any idea how can I modify my query and get the results?

Is there some reason you can't accomplish what you want, far more easily, using analytic functions?
http://tahiti.oracle.com
http://asktom.oracle.com
http://www.psoug.org/library.html

Similar Messages

  • I Need interactive report to list the purchase orders details for a vendor

    I Need interactive report to list the purchase orders details for a vendor that has    interactive drill down options to give the detail of vendor from vendor master.

    Hi
    see this sample report
    this is Customer wise sales orders
    just make similar report just using LFA1, EKKO and EKPO tables instead of KNA1,VBAK,VBAP
    REPORT ZTEJ_INTAB1 LINE-SIZE 103 LINE-COUNT 35(5) NO STANDARD PAGE
    HEADING.
    *TABLES DECLARATION
    TABLES : KNA1, VBAK, VBAP.
    *SELECT OPTIONS
    SELECT-OPTIONS: CUST_NO FOR KNA1-KUNNR.
    *INITIALIZATION
    INITIALIZATION.
    CUST_NO-LOW = '01'.
    CUST_NO-HIGH = '5000'.
    CUST_NO-SIGN = 'I'.
    CUST_NO-OPTION = 'BT'.
    APPEND CUST_NO.
    *SELECTION SCREEN VALIDATION
    AT SELECTION-SCREEN ON CUST_NO.
    LOOP AT SCREEN.
    IF CUST_NO-LOW < 1 OR CUST_NO-HIGH > 5000.
    MESSAGE E001(ZTJ1).
    ENDIF.
    ENDLOOP.
    *BASIC LIST SELECTION
    START-OF-SELECTION.
    SELECT KUNNR NAME1 ORT01 LAND1 INTO
    (KNA1-KUNNR, KNA1-NAME1,KNA1-ORT01,KNA1-LAND1)
    FROM KNA1
    WHERE KUNNR IN CUST_NO.
    WRITE:/1 SY-VLINE,
    KNA1-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
    16 SY-VLINE,
    KNA1-NAME1 UNDER 'NAME',
    61 SY-VLINE,
    KNA1-ORT01 UNDER 'CITY',
    86 SY-VLINE,
    KNA1-LAND1 UNDER 'COUNTRY',
    103 SY-VLINE.
    HIDE: KNA1-KUNNR.
    ENDSELECT.
    ULINE.
    *SECONDARY LIST ACCESS
    AT user-command.
    IF SY-UCOMM = 'IONE'.
    PERFORM SALES_ORD.
    ENDIF.
    IF SY-UCOMM = 'ITWO'.
    PERFORM ITEM_DET.
    ENDIF.
    *TOP OF PAGE
    TOP-OF-PAGE.
    FORMAT COLOR 1.
    WRITE : 'CUSTOMER DETAILS'.
    FORMAT COLOR 1 OFF.
    ULINE.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'CUSTOMER NO.',
    16 SY-VLINE,
    18 'NAME',
    61 SY-VLINE,
    63 'CITY',
    86 SY-VLINE,
    88 'COUNTRY',
    103 SY-VLINE.
    ULINE.
    FORMAT COLOR 3 OFF.
    *TOP OF PAGE FOR SECONDARY LISTS
    TOP-OF-PAGE DURING LINE-SELECTION.
    *TOP OF PAGE FOR 1ST SECONDARY LIST
    IF SY-UCOMM = 'IONE'.
    ULINE.
    FORMAT COLOR 1.
    WRITE : 'SALES ORDER DETAILS'.
    ULINE.
    FORMAT COLOR 1 OFF.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'CUSTOMER NO.',
    16 SY-VLINE,
    18 'SALES ORDER NO.',
    40 SY-VLINE,
    42 'DATE',
    60 SY-VLINE,
    62 'CREATOR',
    85 SY-VLINE,
    87 'DOC DATE',
    103 SY-VLINE.
    ULINE.
    ENDIF.
    FORMAT COLOR 3 OFF.
    *TOP OF PAGE FOR 2ND SECONDARY LIST
    IF SY-UCOMM = 'ITWO'.
    ULINE.
    FORMAT COLOR 1.
    WRITE : 'ITEM DETAILS'.
    ULINE.
    FORMAT COLOR 1 OFF.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'SALES ORDER NO.',
    40 SY-VLINE,
    42 'SALES ITEM NO.',
    60 SY-VLINE,
    62 'ORDER QUANTITY',
    103 SY-VLINE.
    ULINE.
    ENDIF.
    FORMAT COLOR 3 OFF.
    *END OF PAGE
    END-OF-PAGE.
    ULINE.
    WRITE :'USER :',SY-UNAME,/,'DATE :', SY-DATUM, 85 'END OF PAGE:',
    SY-PAGNO.
    SKIP.
    *& Form SALES_ORD
    *& FIRST SECONDARY LIST FORM
    FORM SALES_ORD .
    SELECT KUNNR VBELN ERDAT ERNAM AUDAT INTO
    (VBAK-KUNNR, VBAK-VBELN, VBAK-ERDAT, VBAK-ERNAM, VBAK-AUDAT)
    FROM VBAK
    WHERE KUNNR = KNA1-KUNNR.
    WRITE:/1 SY-VLINE,
    VBAK-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
    16 SY-VLINE,
    VBAK-VBELN UNDER 'SALES ORDER NO.' HOTSPOT ON,
    40 SY-VLINE,
    VBAK-ERDAT UNDER 'DATE',
    60 SY-VLINE,
    VBAK-ERNAM UNDER 'CREATOR',
    85 SY-VLINE,
    VBAK-AUDAT UNDER 'DOC DATE',
    103 SY-VLINE.
    HIDE : VBAK-VBELN.
    ENDSELECT.
    ULINE.
    ENDFORM. " SALES_ORD
    *& Form ITEM_DET
    *& SECOND SECONDARY LIST FORM
    FORM ITEM_DET .
    SELECT VBELN POSNR KWMENG INTO
    (VBAP-VBELN, VBAP-POSNR, VBAP-KWMENG)
    FROM VBAP
    WHERE VBELN = VBAK-VBELN.
    WRITE : /1 SY-VLINE,
    VBAP-VBELN UNDER 'SALES ORDER NO.',
    40 SY-VLINE,
    VBAP-POSNR UNDER 'SALES ITEM NO.',
    60 SY-VLINE,
    VBAP-KWMENG UNDER 'ORDER QUANTITY',
    103 SY-VLINE.
    ENDSELECT.
    ULINE.
    ENDFORM. " ITEM_DET
    REPORT demo_list_at_pf.
    START-OF-SELECTION.
    WRITE 'Basic List, Press PF5, PF6, PF7, or PF8'.
    AT pf5.
    PERFORM out.
    AT pf6.
    PERFORM out.
    AT pf7.
    PERFORM out.
    AT pf8.
    PERFORM out.
    FORM out.
    WRITE: 'Secondary List by PF-Key Selection',
    / 'SY-LSIND =', sy-lsind,
    / 'SY-UCOMM =', sy-ucomm.
    ENDFORM.
    After executing the program, the system displays the basic list. The user can press the function keys F5 , F6 , F7 , and F8 to create secondary lists. If, for example, the 14th key the user presses is F6 , the output on the displayed secondary list looks as follows:
    Secondary List by PF-Key Selection
    SY-LSIND = 14
    SY-UCOMM = PF06
    Example for AT USER-COMMAND.
    REPORT demo_list_at_user_command NO STANDARD PAGE HEADING.
    START-OF-SELECTION.
    WRITE: 'Basic List',
    / 'SY-LSIND:', sy-lsind.
    TOP-OF-PAGE.
    WRITE 'Top-of-Page'.
    ULINE.
    TOP-OF-PAGE DURING LINE-SELECTION.
    CASE sy-pfkey.
    WHEN 'TEST'.
    WRITE 'Self-defined GUI for Function Codes'.
    ULINE.
    ENDCASE.
    AT LINE-SELECTION.
    SET PF-STATUS 'TEST' EXCLUDING 'PICK'.
    PERFORM out.
    sy-lsind = sy-lsind - 1.
    AT USER-COMMAND.
    CASE sy-ucomm.
    WHEN 'FC1'.
    PERFORM out.
    WRITE / 'Button FUN 1 was pressed'.
    WHEN 'FC2'.
    PERFORM out.
    WRITE / 'Button FUN 2 was pressed'.
    WHEN 'FC3'.
    PERFORM out.
    WRITE / 'Button FUN 3 was pressed'.
    WHEN 'FC4'.
    PERFORM out.
    WRITE / 'Button FUN 4 was pressed'.
    WHEN 'FC5'.
    PERFORM out.
    WRITE / 'Button FUN 5 was pressed'.
    ENDCASE.
    sy-lsind = sy-lsind - 1.
    FORM out.
    WRITE: 'Secondary List',
    / 'SY-LSIND:', sy-lsind,
    / 'SY-PFKEY:', sy-pfkey.
    ENDFORM.
    When you run the program, the system displays the following basic list with a the page header defined in the program:
    You can trigger the AT LINE-SELECTION event by double-clicking a line. The system sets the status TEST and deactivates the function code PICK. The status TEST contains function codes FC1 to FC5. These are assigned to pushbuttons in the application toolbar. The page header of the detail list depends on the status.
    Here, double-clicking a line no longer triggers an event. However, there is now an application toolbar containing five user-defined pushbuttons. You can use these to trigger the AT USER-COMMAND event. The CASE statement contains a different reaction for each pushbutton.
    For each interactive event, the system decreases the SY-LSIND system field by one, thus canceling out the automatic increase. All detail lists now have the same level as the basic list and thus overwrite it. While the detail list is being created, SY-LSIND still has the value 1.
    Regards
    Anji

  • Hi experts . how can we know the stock details for a perticular plant?

    hi experts . how can we know the stock details for a perticular plant

    check this code
    REPORT  YSG_MATSTK_REP    LINE-SIZE 220
                              LINE-COUNT 50(5).
    *&                       DATA DECLARATION                              *
    TABLES: MARA,              "GENERAL MASTER DATA
            MARC,              "PLANT DATA FOR MATERIAL
            MARD,              "STORAGE LOCATION DATA FOR MATERIAL
            MBEW,              "MATERIAL VALUATION
            MVKE,              "SALES DATA FOR MATERIAL
            MAKT.              "MATERIAL DESCRIPTION
    DATA: BEGIN OF I_MARA OCCURS 0,
               MATNR LIKE MARA-MATNR,"MATERIAL NUMBER
               MBRSH LIKE MARA-MBRSH,"INDUSTRY SECTOR
               MEINS LIKE MARA-MEINS,"BASE UNIT OF MEASURE
          END OF I_MARA.
    DATA: BEGIN OF I_MARC OCCURS 0,
              MATNR LIKE MARC-MATNR,"MATERIAL NUMBER
              WERKS LIKE MARC-WERKS,"PLANT
              LVORM LIKE MARC-LVORM,"FLAG MATERIAL FOR DELETION AT PLANT
                                    "LEVEL
              PSTAT LIKE MARC-PSTAT,"MAINTENANCE STATUS
              DISPO LIKE MARC-DISPO,"MRP CONTROLLER
          END OF I_MARC.
    DATA: BEGIN OF I_MAKT OCCURS 0,
               MATNR LIKE MAKT-MATNR,"MATERIAL NUMBER
               MAKTX LIKE MAKT-MAKTX,"MATERIAL DESCRIPTION
          END OF I_MAKT.
    DATA: BEGIN OF I_MVKE OCCURS 0,
               MATNR LIKE MVKE-MATNR,"MATERIAL NUMBER
               VKORG LIKE MVKE-VKORG,"SALES ORGANIZATION
               VTWEG LIKE MVKE-VTWEG,"DISTRIBUTION CHANNEL
          END OF I_MVKE.
    DATA: BEGIN OF I_MARD OCCURS 0,
               MATNR LIKE MARD-MATNR,"MATERIAL NUMBER
               LGORT LIKE MARD-LGORT,"STORAGE LOCATION
               LABST LIKE MARD-LABST,"VALUATED STOCK WITH UNRESTRICTED USE
          END OF I_MARD.
    DATA: BEGIN OF I_OUT OCCURS 0,
            MATNR LIKE MARC-MATNR,
            WERKS LIKE MARC-WERKS,
            LVORM LIKE MARC-LVORM,
            PSTAT LIKE MARC-PSTAT,
            DISPO LIKE MARC-DISPO,
            MBRSH LIKE MARA-MBRSH,
            MEINS LIKE MARA-MEINS,
            MAKTX LIKE MAKT-MAKTX,
            VKORG LIKE MVKE-VKORG,
            VTWEG LIKE MVKE-VTWEG,
            LGORT LIKE MARD-LGORT,
            LABST LIKE MARD-LABST,
          END OF I_OUT.
    DATA : TOT TYPE I. " TOT - TOTAL TO PRINT STOCK
    *&                   S E L E C T I O N - S C R E E N                   *
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-100.
    SELECT-OPTIONS: S_MATNR FOR MARA-MATNR OBLIGATORY.
    PARAMETERS: P_WERKS LIKE MARC-WERKS OBLIGATORY.
    SELECT-OPTIONS: S_LGORT FOR MARD-LGORT,
                    S_DISPO FOR MARC-DISPO.
    SELECTION-SCREEN END OF BLOCK B1.
    *&                  I N I T I A L I Z A T I O N                      *
    INITIALIZATION.
      S_MATNR-SIGN = 'I'.
      S_MATNR-OPTION = 'EQ'.
      S_MATNR-LOW = 'M-14'.
      S_MATNR-HIGH = 'M-18'.
      P_WERKS = '3000'.
      S_LGORT-SIGN = 'I'.
      S_LGORT-OPTION = 'EQ'.
      S_LGORT-LOW = '0001'.
      S_LGORT-HIGH = '0004'.
      S_DISPO-SIGN = 'I'.
      S_DISPO-OPTION = 'EQ'.
      S_DISPO-LOW = '001'.
      S_DISPO-HIGH = '002'.
      APPEND S_DISPO.
      APPEND S_LGORT.
      APPEND S_MATNR.
      CLEAR S_DISPO.
      CLEAR S_LGORT.
      CLEAR S_MATNR.
    *&             S T A R T - O F - S E L E C T I O N                     *
    START-OF-SELECTION.
      SELECT MATNR WERKS LVORM DISPO FROM MARC
      INTO CORRESPONDING FIELDS OF TABLE I_MARC
                          WHERE WERKS EQ P_WERKS
                          AND MATNR IN S_MATNR
                          AND DISPO IN S_DISPO
                          AND WERKS = P_WERKS.
      IF I_MARC[] IS INITIAL.
        WRITE:/ 'NO MATCHING DATA AVAILABLE FROM MARC'.
        EXIT.
      ENDIF.
      SELECT MATNR LGORT LABST FROM MARD INTO TABLE  I_MARD
                          FOR ALL ENTRIES IN I_MARC
                          WHERE MATNR = I_MARC-MATNR
                          AND WERKS EQ P_WERKS
                          AND LGORT IN S_LGORT.
      IF I_MARD[] IS INITIAL.
        WRITE:/ 'NO MATCHING DATA AVAILABLE FROM MARD'.
        EXIT.
      ENDIF.
      SELECT MATNR VKORG VTWEG FROM MVKE INTO TABLE I_MVKE
                          FOR ALL ENTRIES IN I_MARC
                          WHERE MATNR = I_MARC-MATNR.
    IF I_MVKE[] IS INITIAL.
        WRITE:/ 'NO MATCHING DATA AVAILABLE FROM MVKE'.
        EXIT.
      ENDIF.
      LOOP AT I_MARC.
        MOVE-CORRESPONDING I_MARC TO I_OUT.
        CLEAR MARC.
        SELECT SINGLE MATNR MBRSH MEINS FROM MARA
                         INTO CORRESPONDING FIELDS OF MARA
                         WHERE MATNR = I_OUT-MATNR.
        IF SY-SUBRC = 0.
          MOVE: MARA-MBRSH TO I_OUT-MBRSH,
                MARA-MEINS TO I_OUT-MEINS.
        ELSE.
          CONTINUE.
        ENDIF.
        SELECT SINGLE MATNR MAKTX FROM MAKT
                        INTO  CORRESPONDING FIELDS OF MAKT
                        WHERE  MATNR = I_OUT-MATNR.
        IF SY-SUBRC = 0.
          MOVE: MAKT-MAKTX TO I_OUT-MAKTX.
        ELSE.
          CONTINUE.
        ENDIF.
        LOOP AT I_MARD WHERE MATNR = I_MARC-MATNR.
          MOVE: I_MARD-LABST TO I_OUT-LABST,
                I_MARD-LGORT TO I_OUT-LGORT.
          APPEND I_OUT.
        ENDLOOP.
        LOOP AT I_MVKE WHERE MATNR = I_MARC-MATNR.
          MOVE: I_MVKE-VKORG TO I_OUT-VKORG,
                I_MVKE-VTWEG TO I_OUT-VTWEG.
          APPEND I_OUT.
        ENDLOOP.
        CLEAR I_OUT.
      ENDLOOP.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        FILENAME = 'C:\matstk.TXT'
       FILETYPE                        = 'ASC'
      TABLES
        DATA_TAB                        = I_OUT.
    *&                  T O P - O F - P A G E                              *
    TOP-OF-PAGE.
      WRITE:/ 'DATE:' ,SY-DATUM.
    *&                  E N D - O F - P A G E                              *
    END-OF-PAGE.
      WRITE: / SY-ULINE,
             /100 'PAGNO: ',SY-PAGNO,
             SY-ULINE.
    *&        E N D -- O F --  S E L E C T I O N                           *
    END-OF-SELECTION.
      LOOP AT I_OUT.
        AT FIRST.
          WRITE :/ 'MATERIAL EXTRACTION REPORT',
                   SY-ULINE.
        ENDAT.
        WRITE:/    SY-VLINE,
                   I_OUT-MATNR,SY-VLINE,
                   I_OUT-MEINS,SY-VLINE,
                   I_OUT-WERKS,SY-VLINE,
                   I_OUT-LVORM,SY-VLINE,
                   I_OUT-PSTAT,SY-VLINE,
                   I_OUT-DISPO,SY-VLINE,
                   I_OUT-MBRSH,SY-VLINE,
                   I_OUT-MAKTX,SY-VLINE,
                   I_OUT-VKORG,SY-VLINE,
                   I_OUT-VTWEG,SY-VLINE,
                   I_OUT-LGORT,SY-VLINE,
                   I_OUT-LABST,SY-VLINE.
        TOT = TOT + I_OUT-LABST.
        AT NEW MATNR.
          WRITE : 'NEW RECORD',
                   SY-VLINE.
        ENDAT.
        AT END OF LABST.
          WRITE : 'STOCK = ',
                   TOT,
                   SY-VLINE,
                   SY-ULINE.
        ENDAT.
        AT LAST.
          FORMAT COLOR 7 INTENSIFIED OFF.
          WRITE : /159 'TOTAL STOCK = ',
                     TOT.
        ENDAT.
      ENDLOOP.
        WRITE : /159 'TOTAL STOCK = ',
                     TOT.
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • Technical details for Trojan:DOS/Killhdd.G not available

    Hello,
    The technical details for Trojan:DOS/Killhdd.G
    has not been updated in the link
    http://www.microsoft.com/security/portal/threat/encyclopedia/entry.aspx?Name=Trojan%3ADOS%2FKillhdd.G#tab=2 .
    It says "The summary tab has all the available details for this threat".
    Can someone provide the technical details or can update in the link.
    Thanks,
    Tarani Mishra

    The malware encyclopedia entry hasn't been updated since first being published in 2006, so I'd say it's unlikely that any further information can/will be provided. However, you might have a better chance at a response by using the "Provide Feedback"
    button on the page you linked.

  • Error!! Can not find the delivery details for the delivery Id :

    hi all,
    I have a report which i need to burst in seven different reports wherein my delivery key is column "emp_id". Now when i schedule the report to burst then the report completes with a warning. I see that there are various delivery cycles for the report and for one of the cycles i get the following message
    Error!! Can not find the delivery details for the delivery Id :
    hence, what happens due to this is, even there are successful deliveries for other delivery ids but then i get only two rows of data in each of the seven bursted ouput xls files. wheareas the data runs in thousands of rows for each cycle.
    Hence whats happening is, that due to error /warning in one of the delivery cycles other reports are also not showing data.
    I am not sure whats causing the issue and why i am not getting complete bursted files out.
    Please suggest
    Thanks
    Ronny

    I guess, you are in 10.1.3.3.2 :),
    in the latest release 10.1.3.4.1, there are more enhancement wrto bursting and performance i believe.
    check th release notes
    can you send me the xml and bursting query you have, i can try simulating in my local.

  • I want to know that if i want to download facebook on my iphone 4 or any other apps then it ask me put my card details for payment. why is that. if they are free then why do i need to give my card details?please help me anyone.

    I want to know that if i want to download facebook on my iphone 4 or any other apps then it ask me put my card details for payment. why is that. if they are free then why do i need to give my card details?please help me anyone.

    Just select no credit card as outlined here:
    http://support.apple.com/kb/ht2534

  • Plant Stock details for a given date

    At present we are using MB52 for latest stock position of a plant. Is there any code for getting stock details for earlier date.
    As we are facing lot of problems while audits....

    Hi
    Please check the following link
    Re: No stock showing in Inventory on date stock report
    Cheers
    Chandra

  • Displaying/Printing Sub-group Details for Each Parent Group

    My question is based on the example code provided under the "Creating an RTF Template" chapter of the Oracle Business Intelligence Publisher Report Designer's Guide, Release 10.1.3.4, Part Number E12187-01. I modified that example as follows:
    <?xml version="1.0" encoding="WINDOWS-1252" ?>
    - <VENDOR_REPORT> -
    - <LIST_G_VENDOR_NAME>
    - <G_VENDOR_NAME>
    <VENDOR_NAME>COMPANY A</VENDOR_NAME>
    - <LIST_G_INVOICE_NUM>
    - <G_INVOICE_NUM> --TRANS_TYPE
    <SET_OF_BOOKS_ID>124</SET_OF_BOOKS_ID>
    <GL_DATE>10-NOV-03</GL_DATE>
    <INV_TYPE>Standard</INV_TYPE>
    <INVOICE_NUM>031110</INVOICE_NUM>
    <INVOICE_DATE>10-NOV-03</INVOICE_DATE>
    <INVOICE_CURRENCY_CODE>EUR</INVOICE_CURRENCY_CODE>
    <LIST_G_LINE_ITEM>
    - <G_LINE_ITEM>
    <LINE_ITEM_NUM>01</LINE_ITEM_NUM>
    <LINE_ITEM_DESC>WIDGETS</LINE_ITEM_DESC>
    <DATE>10-NOV-03</DATE>
    <PROD_ID>882P</PROD_ID>
    <QTY>50</QTY>
    <UNIT PRICE>3.0</UNIT_PRICE>
    <TOT_AMT>150</TOT_AMT>
    </G_LINE_ITEM>
    - <G_LINE_ITEM>
    <LINE_ITEM_NUM>01</LINE_ITEM_NUM>
    <LINE_ITEM_DESC>STUFF</LINE_ITEM_DESC>
    <DATE>10-NOV-05</DATE>
    <PROD_ID>725P</PROD_ID>
    <QTY>20</QTY>
    <UNIT PRICE>5.0</UNIT_PRICE>
    <TOT_AMT>100</TOT_AMT>
    </G_LINE_ITEM>
    - <G_LINE_ITEM>
    <LINE_ITEM_NUM>01</LINE_ITEM_NUM>
    <LINE_ITEM_DESC>WIDGETS</LINE_ITEM_DESC>
    <DATE>10-DEC-05</DATE>
    <PROD_ID>882P</PROD_ID>
    <QTY>5</QTY>
    <UNIT PRICE>4.0</UNIT_PRICE>
    <TOT_AMT>20</TOT_AMT>
    </G_LINE_ITEM> </LIST_G_LINE_ITEM>
    <ENT_AMT>122</ENT_AMT>
    <ACCTD_AMT>122</ACCTD_AMT>
    <VAT_CODE>VAT22%</VAT_CODE>
    </G_INVOICE_NUM>
    <G_INVOICE_NUM> --TRANS_TYPE
    <SET_OF_BOOKS_ID>124</SET_OF_BOOKS_ID>
    <GL_DATE>10-NOV-03</GL_DATE>
    <INV_TYPE>Standard</INV_TYPE>
    <INVOICE_NUM>031110</INVOICE_NUM>
    <INVOICE_DATE>10-NOV-03</INVOICE_DATE>
    <INVOICE_CURRENCY_CODE>EUR</INVOICE_CURRENCY_CODE>
    <ENT_AMT>122</ENT_AMT>
    <ACCTD_AMT>122</ACCTD_AMT>
    <VAT_CODE>VAT22%</VAT_CODE>
    </G_INVOICE_NUM>
    </LIST_G_INVOICE_NUM>
    <ENT_SUM_VENDOR>1000.00</ENT_SUM_VENDOR>
    <ACCTD_SUM_VENDOR>1000.00</ACCTD_SUM_VENDOR>
    </G_VENDOR_NAME>
    </LIST_G_VENDOR_NAME>
    <ACCTD_SUM_REP>108763.68</ACCTD_SUM_REP>
    <ENT_SUM_REP>122039</ENT_SUM_REP>
    </VENDOR_REPORT>
    In my XML file example there are multiple invoices for each vendor as subgroups under the <G_VENDOR_NAME> group. So that multiple <G_INVOICE_NUM> subgroups maybe embedded under the <G_VENDOR_NAME> group element. I would like to create a schedule (table) displaying line item details for each vendor and invoice number. Using the simplified syntax, I'm having problems displaying the line item details for each invoice. Instead I’m only able to display a single line item for each invoice. Unfortunately my example report cannot be uploaded and "Thread" text does not seem to accurately retain blank spaces. So descriptively the report would have a line for vendor name, separate line for group number, and lne item details displaying consectively by line to the right
    COMPANY A: Vendor Number: ##
    Invoice Number LINE_ITEM_DETAILS
    LINE_ITEM_DETAILS
    LINE_ITEM_DETAILS
    Invoice Number LINE_ITEM_DETAILS
    LINE_ITEM_DETAILS
    LINE_ITEM_DETAILS
    Please ignore the data details of my example report. The values do not exactly match the XML data example above. Based on my XML example, please provide a RTF template marked with the XLS or simplified syntax approach to get my results.
    Thanks.

    Make 2 contacts with an email address each rather than 1 contact with 2 addresses.

  • Can't update credit card details for recurring pay...

    I'm trying to update my grandma's Skype credit card details to the new credit card details (same numbers just new expiry date) for her recurring payments on Skype. I follow all the prompts but the final step requires Mastercard to verify the card with an online bank account which she doesn't have and has no intention of getting which means there is no way to update her credit card details for the recurring payments. How do we solve this problem? Thanks

    Hi JW2230
    It looks like the payment details are being rejected.  Please check this with your card issuer before trying to update them again.  The phone number for Australia is 1800 614 863.
    Thanks
    Bev

  • Is there a way to get the details for each hit in the portal database WCR_WEBCONTENTSTAT?

    Hi,
    I need to get the details for each user hit.
    Apparently, this table has the IMPRESSIONS column which returns the total number of hitcounts and VISITS which counts the number of unique user who accesses the portal. What I am trying to look for is to get all the details per hitcount. I need to find out how many time a specific user accessed a specific page or iview.
    I also used the table WCR_USERPAGEUSAGE, which I get the information of the users counted in the VISITS column in the first table.
    I could not get the specific user per hit.
    Please enlighten me if this is possible and how to do this?
    Thanks!

    Hi Catherine,
    Why not use the portal activity report iView?
    In the portal activity report iView the 3rd option allows you to choose a page for example and see
    the user who accessed it and how many times.
    Thanks and BR,
    Saar

  • Add Suppporting Details for more than one periods at the same time for the same Account in Planning.

    As we know, in planning form, we can add supporting details to one cell for the level 0 members intersections.
    But can we do that as below:
    add supporting details for more than one cells at the same time?
    I tried to do that in workspace and smartview, neither is working.(my workspace version 11.1.2.2.300.20)
    I wonder if i am not with the right version, because i don't know how to get the below.
    Can any one explain?
    Thank you.

    Hi,
    I have tried in Smartview for a simple form where my period dimension was in columns and accounts in rows.
    You need to select multiple period and select supporting details, it will show those selected period for which you can add the supporting details.
    You can add these details and then submit the data in the form.
    Regards,
    Sourabh

  • Delete bank details for a BP in CRM 5.0, it doesn't get deleted from R/3

    Hi,
    When I delete bank details for a business partner in CRM, it doesn't get deleted form R/3.
    Although I can see a green bdoc with confirmed status, with no errors. Any clue?
    Regards,
    Kaushal

    Yes, when I add a new bank detail, it gets properly reflected in R/3. The problem is only during deletion.
    I think I've reached the solution - notes 1016909 and 941660.
    Regards,
    Kaushal

  • How to get customer / sales order details for VBBS table?

    Hi Friends,
    I have a requirement to create a report that will give the details of sales order ( VBELN ) and customer ( KUNNR) details from the sales requirement totals record table ( VBBS )
    Currently we have a report that just gives out the VBBS table entries for plant and material combination. As you are aware, the VBBS table contains the sales / deliveries requirements as displayed in MD04 transaction.
    Now there is a requirement to have the customer ( KUNNR ) and sales order (VBELN )  detail for each individual requirement totals.
    I checked the VBBE table ( sales requrirement : individual records ) but I cannot find any relationship between VBBS and VBBE. If there is a material / plant in VBBS , the same entry does not exist in VBBE.
    Please suggest if there is any other table to get this detail.
    Thanks
    Satya

    Tables are related.
    MATNR
    WERKS
    MBDAT
    LGORT
    CHARG
    etc fields are common in both VBBS and VBBE.
    May be you can generate a condition a fetch data using this.
    I hope it helps.
    thanks

  • Details for 'Is Web service security available?'

    Hi i am working on scenario rfc to webservice.Its as secued webserivce i need to do ssl configuration.
    In component monitoring..for the integration engine its in yellow...
    Details for 'Is Web service security available?'
    Communication error Proxy calls on the sender or receiver side are not permitted on the IS (client)
    can any one please help me out..
    Thanks
    sriram

    I have already installed certificates on the j2ee engine & i have given the paramaters for keystore entry & keystore value.Still i have the same error
    In component monitoring
    For integration engine
    Details for 'Is Web service security available?'
    Communication error Proxy calls on the sender or receiver side are not permitted on the IS (client) 
    In message monitoring
    Audit Log for Message: f614df00-e9e0-11da-95ef-0004ac577b32
    Time Stamp Status Description
    2006-05-22 15:18:58 Success The message was successfully received by the messaging system. Profile: XI URL: http://saptst01:51000/MessagingSystem/receive/AFW/XI
    2006-05-22 15:18:58 Success Using connection AFW. Trying to put the message into the request queue.
    2006-05-22 15:18:58 Success Message successfully put into the queue.
    2006-05-22 15:18:58 Success The message was successfully retrieved from the request queue.
    2006-05-22 15:18:58 Success The message status set to DLNG.
    2006-05-22 15:18:58 Success Delivering to channel: ZCH_VERISIGNPPGR
    2006-05-22 15:18:58 Success SOAP: request message entering the adapter
    2006-05-22 15:18:58 Success SOAP: call failed
    2006-05-22 15:18:58 Error SOAP: error occured: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: illegal parameter
    2006-05-22 15:18:58 Error Exception caught by adapter framework: Peer sent alert: Alert Fatal: illegal parameter
    Can any one please help me out.
    Thanks
    sriram

  • AS2 adpater-- Configuration details for both SND and RCV.

    Hi All,
    I need some details for both AS2 sender and receiver adapter.
    Sender AS2 adapter :
    1. Use Proxy
          Use Authentication
    Which one we need to use? 
    2. what is this Proxy Realm or Authentication Realm??
    3. Whether we need to enable Hostname check & HTTP keep alive? what is the purpose of these settings?
    4. what is this Message subject ?? the content of this comes from the file name or file data?
    5. Server certificate and private key authentication?? do we need to get these from partner system??
    Receiver AS2 adapter :
    1. Here also  the same question when we need to use Proxy settings and when we need to use Authentication settings.
    2. Dynamic attributes??
         Use dynamic attributes
         Use non-empty attributes.    
    What are the information we need to ask partner system to get the connection??
    Please reply if anyone worked on these AS2 settings.
    Thank You.
    Regards
    Krupakar.

    hi..
    Sender Adapter..
    1.You can use both use proxy and use authentication.depends upon the requirement.
    when you use proxy you have to give proxy server name and all parameters.That means proxy server acts like your actual server.To pass this data through  the AS2 apdapter U hv to specify th following parameters.
    Proxy Server : Your proxy server.
    Proxy Port :The port of the proxy server.
    Proxy User: User for optional authentication.
    Proxy Password: Password for optional authentication.
    Proxy Realm: Realm for optional authentication.
    2. REALM
    A realm is a part of Yanel which has its own configuration and repository. This allows you to run several subsites (which are independent of one another) in a single Yanel instance. For example, each department in your company can have its own realm. This allows one department to use its database as a content repository and another to use the filesystem to provide the content to Yanel
    So proxy realm means u r authorized to use the proxy server
    You use Use Authentication for -
    >Used to enable/disable basic authentication.
    Use Authentication Used to enable/disable basic authentication.
    User: User for basic authentication.
    Password: Password for basic authentication.
    Realm: Realm for basic authentication.
    3. if u check these options for the following purpose.
    SSL Hostname Check: Validate common name with server name.
    HTTP Timeout:Timeout in seconds for waiting for server
    response.
    4.Message Subject: This subject will be compared with the subject in the received message. This is used to find the
    correct channel for the inbound message. Wildcards are allowed.Its the file data.
    5. Your partne rwill provide u these details.
    Receiver Adapter:
    1.If u use the same in sender side then u hv to verify it again in the receiver system. Then only the communication is established.
    3.u must have the AS2ID and the certificates.
    THAnks
    MAnas
    reward points if helpful.

Maybe you are looking for

  • Yamaha rxv 2700 using ethernet cable- is it possible

    i have a yam rxv 2700 amp that has network capability ive connected from the old type express using the ethernet port on both but the amp doesn't find any thing and itunes says no speakers connected. is there a way around the problem. or do i have to

  • IGS: Vulnerability (security hole in level 3 was found)

    Hi! We are using SAP ERP 6.0 system with an ingetrated IGS 7.0 We already changed IGS according to sap note 896400 to the version 7.00 (Patch 15) When we run scan on demand we get the following information:  A security hole in level 3 was found at se

  • JavaFX image does not load in Netbeans 7.2

    Image does not show when following program runs in Netbeans 7.2 unless absolute path of the file on the system is specified. The file is in the same directory as the main program. The image shows when program runs using the following java command but

  • Assignment Server Component (AsgnSrvr) goes to unavailable state

    Our AsgnSrvr component goes to unavailable state frequently almost 2-3 times a day. In component log, we can see "SBL-SVR-09016: Failed to get task instance: task number 35651599.  The task may have exited or does not exist". Our enterprise is on 8.0

  • Portal ultrasearch login

    I am trying to configure ultra search. Every time tha i try to login, i get this message after try to login: Invalid Oracle URL specified I have created a user and granted them connect, resource, and wkuser. I can't even login with the wksys user tha