How to separate a single join into two separate join statement

select PA0002NACHN PA0002PERNR PA0002VORNA KNVPKUNNR KNVPPARVW KNVPPERNR KNVPSPART KNVPVKORG KNVPVTWEG VBAKAUART
       VBAKERDAT VBAKERNAM VBAKERZET VBAKFAKSK VBAKKUNNR VBAKLIFSK VBAKSPART VBAKVBELN VBAKVKORG VBAKVTWEG VBUK~CMGST
       VBUKVBELN TVLSLIFSP
into (PA0002-NACHN , PA0002-PERNR , PA0002-VORNA , KNVP-KUNNR , KNVP-PARVW , KNVP-PERNR , KNVP-SPART , KNVP-VKORG , KNVP-VTWEG
     , VBAK-AUART , VBAK-ERDAT , VBAK-ERNAM , VBAK-ERZET , VBAK-FAKSK , VBAK-KUNNR , VBAK-LIFSK , VBAK-SPART , VBAK-VBELN
     , VBAK-VKORG , VBAK-VTWEG , VBUK-CMGST , VBUK-VBELN , TVLS-LIFSP )
from ( PA0002
       inner join KNVP
       on KNVPPERNR = PA0002PERNR
       inner join VBAK
       on VBAKKUNNR = KNVPKUNNR
       and VBAKSPART = KNVPSPART
       and VBAKVKORG = KNVPVKORG
       and VBAKVTWEG = KNVPVTWEG
       inner join VBUK
       on VBUKVBELN = VBAKVBELN
       inner join TVLS
       on TVLSLIFSP = VBAKLIFSK )
       where PA0002~NACHN in SP$00003
         and PA0002~PERNR in SP$00001
         and KNVP~KUNNR in SP$00004
         and KNVP~PARVW in SP$00014
         and VBAK~AUART in SP$00005
         and VBAK~ERDAT in SP$00011
         and VBAK~ERNAM in SP$00013
         and VBAK~ERZET in SP$00012
         and VBAK~KUNNR in SP$00006
         and VBAK~SPART in SP$00009
         and VBAK~VBELN in SP$00010
         and VBAK~VKORG in SP$00007
         and VBAK~VTWEG in SP$00008.

Hi,
1.Dont use joins.
2.Create separate internal table and write select statement.
Regards,
Billa

Similar Messages

  • How do i combine single pages into documents with Adobe?

    How do i combine single pages into documents with Adobe?

    Hi zebideeplus,
    Using Reader, you need to purchase subscription for Adobe PDF Pack  to combine PDF files into single document.
    Refer: Acrobat.com Help | Adobe PDF Pack FAQ
    But, if you need to combine single pages, then it can be done with Adobe Acrobat only.
    Let me know if you have further queries.
    Regards,
    Anubha

  • How do I make one song into two separate songs?

    I have a song on my iTunes that I want to to split into two different songs, each with different names, and that can be played right after each other in the album. Is there an easy way to split up this song into two different parts, and if so, how? Thanks!

    ccreatvwhit wrote:
    How do I fade one song into another after only 1 minute or so of playing?
    That is a common capability of DJ programs, but cannot be done with iTunes.

  • How to split a video clip into two separate clips?

    Whenever i enter the key word to search for split, it always shows me how to do split edit, or split screen. I do not want that. I just need to know, how to cut a video/audio clip into two pieces, so that I can cut one of them out of the time line....
    Could somebody help....
    Thanks

    I have a sandwich. I have been searching how to split the sandwich but it seems you don't split a sandwich. Someone said look in a draw for a tool or something!
    Wow.
    There are lots of ways to do what you're asking besides what has been said. You can double click the clip in the Browser. Set In & Out points in the viewer and add the Clip to the sequence. No need to split or cut anything in the sequence.
    You really need to learn a bit more before you continue cause this is a pre-noob question. I don't really know how to categorise it.

  • How to split the AP invoice into two invoices

    Dear All..,
    Can you tell how can i split the AP vendor invoice which i was posted erlier..i want spil the invoice into two invoices to pay the partial payment to some amount..
    For ex : i have poste one invoice with 50000/- rs..and now i want to split this doc into two like 30000 and 20000, and i want to made the payment for through APP for 30000..
    Can you tell me the step how to do this..
    Advanced thanks
    Bhargav

    If you reverse the original vendor invoice ( credit memo), you can create a new vendor invoice by splitting the amounts with different payment methods. This way APP will pick up only required amount.
    Amount split in vendor invoice can be done by activating "Enable amount split" in OBY6 configuration. This will give you an additional tab "Amount split" in vendor invoice.
    Hope this helps
    Thanks,
    Kalyan

  • How to split a PE1 project into two smaller projects?

    I have a 1hr 36 min. project in PE1.  I want to split it into two different projects of about 48 min. each and burn two DVDs.  My intent is to get a better MPEG resolution for these smaller projects.
    Can I select half of the timeline, cut it and paste it into a new project?  Would the effects be preserved?  I have a week of work invested in this project and I don’t want to screw it up!
    Thanks
    Fred J.

    FredJ,
    Welcome to the forum.
    I agree with both Neale and Steve, though it might at first appear that they are saying two different things.
    The bit-rate in the Transcoding to MPEG-2 will be determined by the Duration of the Timeline and the capacity of the blank media, whether DVD-5, or DVD-9. In most versions of PrE, this bit-rate will be a function of the Quality Slider, but the ultimate bit-rate for the combined video and audio is set in the DVD-specs. One cannot exceed about 8 b/s.
    Now, with your Duration, there might be a very slight increase in the bit-rate, were you to take Neale's advice and break your Project into two parts, however, I think that his advice to study the result of your entire Timeline is good, as I doubt that one could tell the differences, unless you have a great deal of fast motion, of either the camera, or the subject, and then it's likely that the quality would appear to be the same to the human eye.
    Steve is correct in that the result will have to be within the DVD-specs, and will only be 720x480, at up to that max. bit-rate. That is as good as it gets.
    For the ultimate test, I would take Neale's suggestion on Burning to Folder one step further. Once that is done, you can first test your Project with a DVD software program on your computer. BUT, be aware that you are viewing on a higher-rez, progressive computer monitor, and its rez will exceed that of a TV and that of a DVD-Video disc. Thus, it is not a perfect test. To get an idea of how the DVD will look on a set-top player, hooked to a TV, you can either, also burn to a DVD RW (rewritable disc) to test on a set-top player, or you can use the free burning utility, ImgBurn, to burn to a DVD RW and test. The reason for the Rewritable media is so that you can reuse it for testing. You will NOT be using this disc for delivery, but just for testing. Now, if you feel that very slight decrease in bit-rate is noticed, you can go back to his suggestion on how to split the Project, and then produce a multi-disc. set for the Project.
    Also, the ultimate quality and also playability of the DVD-Video will be enhanced if you use quality blank media. I strongly recommend Verbatim, or Taiyo Yuden blank media. Brands like Memorex, TDK, recent Ritek and ALL "store-brands," are to be avoided. One is also best served by buying slower speed media, as PrE will measure the speed of the media and the speed of the drive and try to get you the fastest possible burn. It does not allow you to set the speed of the burn manually. Most people feel that stepping down from a max. burn speed produces a better DVD. I routinely will drop the burn speed (in other software) to about 1/2 of the max., and have had thousands of perfect DVD's. One can set the burn speed in the above mentioned ImgBurn utility.
    To distill the above: try it and see if your Project isn't perfect now, and if not, then break it apart into two segments. I doubt that you could tell the difference.
    Good luck,
    Hunt

  • How to split a "project" (movie) into two separate projects.

    After converting two Hi-eight tapes into digital format for use with iMovie 10.0.3 (?), I created a movie called "Japan 1994" , complete with titles, imported still photos, etc. But it was over 2 hours long. (My wife considers any movie longer than 29 minutes 59 seconds as cruel and unusual punishment under the U.S. constitution). So I went to Imovie "Help" .....Hah!!!, surfed the web with my problem, with further frustration. So, I devised my own method:
      1. Created two new (empty) movies, "Nihon 1" and "Nihon 2" (Nihon=Japan, in Japanese)
    2. In  "Japan 1994", found a convenient break point rougly half way through, shift selected several clips up to the half way point.
    3. copied all of these at one time (command C)
    4. Opened "Nihon 1" and pasted (command V) these clips into this project.
    5. Repeated steps 2, 3, 4 for the second "half" (into "Nihon 2")
    All of this produced two separate projects of around 1 hour each. Added appropriate titles at the beggining and end of each of the new movies.
    Worked like a charm.
    Hope this helps other users of iMoive 10. (whatever).
    lawrence268

    I have a sandwich. I have been searching how to split the sandwich but it seems you don't split a sandwich. Someone said look in a draw for a tool or something!
    Wow.
    There are lots of ways to do what you're asking besides what has been said. You can double click the clip in the Browser. Set In & Out points in the viewer and add the Clip to the sequence. No need to split or cut anything in the sequence.
    You really need to learn a bit more before you continue cause this is a pre-noob question. I don't really know how to categorise it.

  • How can i split a library into two.. i no longer want to sync all of my wifes songs and apps.. i have a separate account, but want to take my music and apps from hers so i now have my own and she has her own.. so that syncing is easier

    how can i split a library.. my wife and i used to share it, but now we have our own id's.. i want my music and apps off of hers so that i can sync my phone and only my music and apps will "come over"

    how do i share then? can she upload music if we share it somehow?
    If so how??
    i am also having the same problems now with IPhoto, she has all of her/our pics in my IPhoto library.
    I have told her that now i have bought her the Ipad she would have to log into her user, the only thing is there is no music in her itunes account nor photos in her I Photo library, i have spent all day trying to find a way to "share" but no luck,
    Please help i`m going mad!
    Surely we could just share these...?
    I need step by step instructions please someone send me a link on "how to share pics and music!"

  • How to Customize Report (presenting a single row into two rows)...?

    As of now my report presents the data in the following way:
    EMP ID EMP NAME EMP ADD EMP DEPT
    1 Mike NJ HR
    2 Peter LA Marketing
    I want to have the following pattern:
    EMP ID EMP NAME
    1 Mike
    EMP ADD EMP DEPT
    NJ HR
    EMP ID EMP NAME
    2 Peter
    EMP ADD EMP DEPT
    LA Marketing
    Do you think this is possible with HTML DB?
    Also how can I set the print format for a page....?
    Early help in this regard would be highly appreciated.

    As of now my report presents the data in the
    following way:
    EMP ID EMP NAME EMP ADD EMP DEPT
    1 Mike NJ HR
    2 Peter LA
    Marketing
    I want to have the following pattern:
    EMP ID EMP NAME
    1 Mike
    EMP ADD EMP DEPT
    NJ HR
    EMP ID EMP NAME
    2 Peter
    EMP ADD EMP DEPT
    LA Marketing
    Do you think this is possible with HTML DB?
    Also how can I set the print format for a page....?
    Early help in this regard would be highly appreciated.Take a look at the Tips/Tricks page of HTMLDB Studio. I just posted a tip on doing this with named column report formatting.
    Earl

  • Displaying the values from a single column into two columns???

    hi buddies.....I've a table "Stock" and its fields are:
    Date, Invoice#, prod_id, sal_qty, pur_qty, rate, status
    The "rate" column stores the rate value on which a product was sold or purchased and "status" column values are like "S" for Sale,"OP" for opening and "P" for purchase.
    The problem here to me is that I'm unable to pick the purchase & sale rate of a product based on the status either "S" or "P". Is it possible to pick the purchase rate of a product sold between a specified limit of dates??? and show both sale & purchase rates in two separate columns in the result sets for a given product in a specified duration. The resulte set format should be like this:
    Prod_id Sale_Rate Pur_Rate

    Dear Dmitri,
    Let me tell u my case more elaborately so that u can have a better insight on my problem. I've a Stock table to which I'm trying to use to calculate current stock quantity, its value and profit per sale transaction. It has following simple description.
    Stock_Table:
    Invoice#     Date     Product     Batch# Sale_QTY     Pur_QTY     Rate Status
    Pur-001     01/01/05     Asprin          AB123      0     100           10 OP --(Opening)
    Pur-002 02/01/05     Paracetamol CD456          0     150          15 OP
    Pur-002 03/01/05     Menthol XY333           0     80          7     OP
    Pur-003     01/01/05     Asprin          ZZ990           0     50          8     P ..(Purchase)
    Sale001 02/01/05     Asprin          AB123           10     0          2     S
    Sale001 02/01/05     Paracetamol      CD456           5     0          16     S ..(Sale)
    Sale002 04/01/05     Asprin          ZZ990           6     0          10     S
    Sale002 04/01/05     Paracetamol      CD456           7     0          20     S
    Sale002 04/01/05     Menthol      XY333          4     0          10     S
    From this design can u calulate the difference of sale & purchase rate of a product during a range of dates(which is the Profit)? i.e firstly pick a sale transaction and then minus the purchase rate of the product from the sale rate in that sale transaction by looking at the product name and its batch number.
    While solving this case, please keep in mind that I'm using Oracle 8.0 which doesn't support inlined Sub-Query(a query within FROM clause). So giving u a hint(although I'm not genious enough;), I tried the Self Join at Stock Table by picking the sale rows at first and then purchase rows afterwords by giving this table two different names. I also tried the following query by joining the Sale Table with Stock Table. Is it the right way I'm heading towards???
    SELECT S.Sale_Date, SD.Invoice#, SD.Product, SD.QTY, SD.Rate Sale_Rate,
    ST.Rate Pur_Rate, ST.Product
    FROM Invoice_Master S, Invoice_Detail SD, Stock ST
    WHERE S.Invoice# = SD.Invoice#
    AND ST.Status IN('OP','P')
    AND ST.Product = SD.Product
    AND S.Sale_Date BETWEEN :From_Date AND :To_Date
    AND SD.Product = P.Product
    ORDER BY S.Sale_Date

  • How do I pass single quotes into a string variable?

    Thanks for any help?
    Example
    Select xdat, yday
    from foo
    where
    xdat = to_char(sysdate, 'mm/dd/yyyy')
    How do I pass the single quoted stuff above into a string variable?

    Thank you but that is not the same thing. I am building a dynamic sql statement and need to pass the quoted material into a statement that is quoted Is that not what my example above shows?
    My example above has a quoted string inside a string. I think this is exactly what you were asking for.

  • How to cut a single track into seperate songs

    I am very new to Garage band and home recording in general. I recorded my band practice and want to pick the best songs into separate tracks to make a cd for everyone to practice with. I just used the computer mic and recorded a 2 hour practice as one track. Any help would be much appreciated!

    skim down through the tute on recording LPs, you'll see how to do it:
    http://www.bulletsandbones.com/GB/Tutorials.html#allabouttransferringlps

  • How to make a single recording into multiple songs garageband

    I recorded my band's gig the other night using my Zoom H2 recorder.  I want to take the single 1.5 hour recording (12songs) and make it into a CD with 12 individual tracks.  I would like to use garageband so i can edit out the deadtime between songs but I don't know how to make a CD.

    johndmalone wrote:
    I want to take the single 1.5 hour recording (12songs) and make it into a CD with 12 individual tracks
    http://www.bulletsandbones.com/GB/GBFAQ.html#chaptertocdtracks
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • How do I put single pictures into one folder and then give a name to folder

    I have imported some pictures from a memory stick.  They are in a single format and I want to make them into a folder and add a title to the folder.  What do I do to add it to my events?

    In iPhoto menu under "Events" then "Create Event."
    Once you have created and named the new Event you can drag and drop from "Last Import" under "Recents" in the pane on the left to the new event.

  • How do you split a column into two

    I have a huge list of names that ended up in one column. For example it says "John Smith" in one column. How do I put John in one column and smith in another without having to do each one manually?
    Your help is much appreciated. Thank you.

    PeterBreis0807 wrote:
    Copy all the text into TextEdit , Pages or any other texteditor.
    Select all the text and set up tabs on the ruler where you want the 2 columns to appear.
    Search on the space between the "John" and "Smith" and replace it with a tab.
    You can now copy and paste this into a Numbers table and it will fill the appropriate columns.
    And if the entry is John Broadus WATSON you will get an odd result !
    Yvan KOENIG (from FRANCE mercredi 15 juillet 2009 10:57:29)

  • How can i split my catalog into two

    I am using PSE 11 would like to take 31,000 files from the main catalog and put them in a separate catalog.  The files are all in a directory tree called Digital Scrapbooking which has 1,728 folders and 31,000 files. Is there a simple way of doing this?  Alternatively would putting these files into an album achieve a similar effect?
    Another problem I have is I would prefer the organiser to open with the directory tree showing as the default rather than the list of folders it shows at the moment.  Is that possible?
    Thanks in advance for any help or suggestions.

    Thanks for the input folks.  I do a lot (and I mean A LOT) of digital scrapbooking.  The files I want to put into another catalogue are all related to this.  They are digital papers, elements, backgrounds, textures, masks etc saved as layered .psd, .png, .jpg formats.  They are not photographs per se.  I did have them in a separate catalogue at one stage but combined them when PSE11 catalog would do it's own thing but now with >30K scrapbooking files and >25K of photographs the catalogue is just too cumbersome and time consuming to 1. load and then 2. change to the directory tree I prefer to work with.
    In case you haven't guessed I really dislike this version of the catalogue I much preferred version 9 and I don't want to go to version 12 and find I have similar or more problems.  If I could use PSE without involving the catalogue at all  I would but some things just have to be done through it which is a real pain in the butte.

Maybe you are looking for