I want to join the table vbrk,vbrp,konv but konv is cluster table .

Hi
   konv is the cluster table . so   I  want to join the table vbrk,vbrp,konv and fields are vbeln, knumv is possible .
if it isn't possible. what is the another method output is doc. no.(vbrp-vbeln) condition doc. no.(vbrk-knumv) , condition(konv-kschl), tax rate(konv-mwsk1), quantitty(vbrp-fkimg) .reply pls... as soon as possible..

hi
good
1) Open
    Select
           Mard~matnr
           Makt~maktx
      From Makt
      Inner Join Mard
      on    Maktmatnr = Mardmatnr
      Where Makt~Spras = SY-LANGU
2) Native Oracle
      SELECT Mard.matnr,
             Makt.maktx
      From Makt, Mard
      Where Makt.mandt = Mard.mandt
        And Makt.matnr = Mard.matnr
        And Makt.mandt = :SY-MANDT
        And Makt.spras = :SY-LANGU
3) KONV is Cluster - BAD LUCK!
    Select VBRK~VBELN
           VBRP~POSNR
           KONV~KSCHL
           KONV~KWERT    
      From ( VBRK Inner Join VBRP
             On VBRKVBELN = VBRPVBELN )
           Inner Join KONV
             On  VBRKKNUMV = KONVKNUMV
             And VBRPPOSNR = KONVKPOSN
4) KONV is Cluster - BAD LUCK!
    Select KONV~KNUMV
           KONV~KPOSN
           KONV~KSCHL
           KONV~KWERT    
      From KONV
      Where KONV~KNUMV in (
           Select VBRK~KNUMV
             From VBRK Inner Join VBRP
             On VBRKVBELN = VBRPVBELN
            Where VBRKKNUMV = KONVKNUMV
              And VBRPPOSNR = KONVKPOSN
5) Open
         Select VBRP~MATNR
                Sum( VBRP~NETWR )
          From VBRP
          Group By VBRP~MATNR 
6) Native Oracle        
         Select VBRP.MATNR ,
                Sum( VBRP.NETWR )
          From VBRP
          Where mandt = :sy-mandt
          Group By VBRP.MATNR         
7) Native Oracle
         Select VBRP.MATNR ,
                Count( VBRP.NETWR ),
                Sum( VBRP.NETWR )
          From VBRP
          Where mandt = :sy-mandt
          Group By VBRP.MATNR    
8) Open
         Select VBRP~MATNR
                makt~maktx
                Sum( VBRP~NETWR )
          From VBRP inner Join MAKT
            On VBRPMATNR = MAKTMATNR
          Where MAKT~SPRAS = SY-LANGU
          Group By VBRPMATNR maktmaktx      
9) Native Oracle         
         Select VBRP.MANDT,
                VBRP.MATNR,
                MAKT.MAKTX,
                Sum( VBRP.NETWR )
          From VBRP , MAKT
         Where  VBRP.MANDT = MAKT.MANDT
           And  VBRP.MATNR = MAKT.MATNR
           And  MAKT.SPRAS = :SY-LANGU
          Group By VBRP.MANDT, VBRP.MATNR, MAKT.MAKTX   
10) Open          
     SELECT EKET~EBELN 
            EKET~EINDT 
            EKET~WAMNG 
            EKET~WEMNG 
      From  ( ekko INNER JOIN ekpo
              ON  ekkomandt = ekpomandt
              AND ekkoebeln = ekpoebeln
            INNER JOIN eket
            ON  ekpomandt = eketmandt
            AND ekpoebeln = eketebeln
            AND ekpoebelp = eketebelp
            AND EKET~WAMNG > 0
            AND EKETWAMNG <> EKETWEMNG
     Where EKPO~MATNR = 'NB220'
       And EKPO~WERKS  In ('P001', 'P004', 'L004')
       And EKKO~BSTYP = 'F'
       And EKKO~BSART = 'UB'
       And EKPO~ELIKZ <> 'X'
       And EKKO~LOEKZ <> 'X'     
11) Native Oracle      
     SELECT EKET.EBELN, 
            EKET.EINDT, 
            EKET.WAMNG, 
            EKET.WEMNG 
      FROM  ( ekko INNER JOIN ekpo
              ON  ekko.mandt = ekpo.mandt
              AND ekko.ebeln = ekpo.ebeln
            INNER JOIN eket
            ON  ekpo.mandt = eket.mandt
            AND ekpo.ebeln = eket.ebeln
            AND ekpo.ebelp = eket.ebelp
            AND EKET.WAMNG > 0
            AND EKET.WAMNG <> EKET.WEMNG
     Where EKPO.MATNR = 'NB220'
       And EKPO.WERKS  In ('P001', 'P004', 'L004')
       And EKKO.BSTYP = 'F'
       And EKKO.BSART = 'UB'
       And EKPO.ELIKZ <> 'X'
       And EKKO.LOEKZ <> 'X'
thanks
mrutyun^

Similar Messages

Maybe you are looking for

  • I want to do this with my own image

    I want to create something like this with my own selected image. I have tried several things including live trace then change the colors and even tried hand tracing.  Obviously that will take a long time. Hope someone can help me out.  The sooner the

  • Dynamic Buttons in Action Sheet?

    Once an action sheet is initialized and configured, I cannot seem to find a way to remove/disable buttons for that action sheet depending on the context. I see that you can add buttons and change titles but nothing to remove or disable buttons. Is th

  • How can I turn off Spotlight search on the iPhone6?

    I know how to switch off various search options but I want the whole Spotlight search facility disabled. The iPhone 6 is so big that whenever I am swiping between screens I manage to activate the Spotlight search screen. I want it disabled

  • Disable Send AS

    Hi there, Hoping anyone can help me out with this one.  We are currently having an issue where user A can send and Email to user C using the email address of user B, using "Send From" under Message options. We would like to disable this scenario. As

  • How do I deactivate PPro on one computer?

    A little hlp pls.... I need to deactivate so I can shift to a better computer. How do I "deactivate" when "Help dropdown" does not have "Deactivate" option (as was shown in the FAQ)?